Read-only GitHub inventory for CloudSlash. It discovers repositories, branches, Actions workflows, Actions secret names (never values), deploy keys, webhooks, collaborators, and default-branch protection, then emits normalized CRNs and relationships to the core.
Use a dedicated read-only token. A classic token needs:
repo(repository metadata)read:orgread:user
A fine-grained token needs repository metadata, actions, and administration read access for the repositories you select. The plugin never writes.
Some endpoints (Actions secrets, branch protection) require admin visibility. If the token cannot read one, the scan records a warning and continues.
- Create the read-only token.
- Add a GitHub connection in CloudSlash with the token, or run
cs plugin host github --runand use the hosted connection form. - For GitHub Enterprise, set the API base URL (for example
https://github.example.com/api/v3).
The token is stored as a write-only secret by the connection layer.
cs plugin host github --run builds cmd/hosted, which serves the v3 source
over native gRPC and gRPC-Web. The CloudSlash CLI isolates the quick tunnel and
forces HTTP/2 so the transport works without a Cloudflare account. See
docs-site/docs/explanation/grpc-web-hosted-plugins.md.