{"Name":"github","ID":"go.mondoo.com/cnquery/v9/providers/github","Version":"13.0.7","ConnectionTypes":["github"],"CrossProviderTypes":null,"Connectors":[{"Name":"github","Use":"github","Short":"a GitHub organization or repository","Long":"Use the github provider to query resources within GitHub organizations and repositories.\n\nAvailable commands:\n  org                       GitHub organization\n  repo                      GitHub repo\n\nExamples:\n  cnspec scan github org \u003cORG_NAME\u003e --discover organization\n  cnspec scan github org \u003cORG_NAME\u003e --repos \"\u003cREPO1\u003e,\u003cREPO2\u003e\"\n  cnspec shell github org \u003cORG_NAME\u003e\n  cnspec shell github org \u003cYOUR-GITHUB-ORG\u003e --app-id \u003cYOUR-GITHUB-APP-ID\u003e --app-installation-id \u003cYOUR-GITHUB-APP-INSTALL-ID\u003e --app-private-key \u003cPATH-TO-PEM-FILE\u003e\n\nNotes:\n  Mondoo needs a personal access token to scan a GitHub organization, public repo, or private repo. The token's level of access determines how much information Mondoo can retrieve. Supply your personal access token to Mondoo by setting the GITHUB_TOKEN environment variable. To learn how, read https://mondoo.com/docs/cnspec/saas/github/.\n\n\tIf you have very large GitHub organizations, consider giving Mondoo access using custom GitHub app credentials. To learn how, read https://mondoo.com/docs/cnspec/saas/gh-app/.\n\n\tIf you have a GitHub Enterprise Server account, you must provide the URL for the account using the --enterprise-url flag.\n","MinArgs":2,"MaxArgs":2,"Flags":[{"Long":"token","Desc":"GitHub personal access token","Type":3},{"Long":"repos-exclude","Desc":"Filter out repositories matching these names","Type":3},{"Long":"repos","Desc":"Only include repositories matching these names","Type":3},{"Long":"app-id","Desc":"GitHub App ID","Type":3},{"Long":"app-installation-id","Desc":"GitHub App installation ID","Type":3},{"Long":"app-private-key","Desc":"GitHub App private key file path","Type":3},{"Long":"enterprise-url","Desc":"GitHub Enterprise Server URL","Type":3}],"Discovery":["repos","users","organization","terraform","k8s-manifests"]}],"AssetUrlTrees":[{"path_segments":["technology=saas","provider=github"],"key":"organization","values":{"organization":{"key":"organization","values":{"*":{"key":"repository","values":{"*":null},"title":"Repository"},"organization":null},"title":"Organization"},"user":{"key":"user","values":{"*":null},"title":"User"}},"title":"Organization"}]}