Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the ability to audit installed GitHub apps #23

Open
tarkatronic opened this issue Feb 9, 2021 · 0 comments · May be fixed by #27
Open

Add the ability to audit installed GitHub apps #23

tarkatronic opened this issue Feb 9, 2021 · 0 comments · May be fixed by #27
Labels
checkers Related to one or more of the checkers enhancement New feature or request help wanted Extra attention is needed

Comments

@tarkatronic
Copy link
Contributor

We need the ability to verify that certain applications are installed and configured at the org level. For example, ensuring that Codecov or WhiteSource is installed, and stays installed.

I think this would be best handled with an array of tables, similar to [[teams]]. That way we can more easily lay out any configuration specific to that application. So an example might look something like:

[[applications]]
target_type = "Organization"
target_id = 1234  # This is the "database id" of the org
app_id = "5678"  # The "database id" of the app
app_slug = "foo-bar"

[applications.permissions]
deployments = "write"
metadata = "read"
pull_requests = "read"
statuses = "read"

Note that I cannot find anything for this in the GraphQL API yet, so it looks like this one will have to operate on the REST API.
https://docs.github.com/en/rest/reference/orgs#list-app-installations-for-an-organization

@tarkatronic tarkatronic added enhancement New feature or request help wanted Extra attention is needed checkers Related to one or more of the checkers labels Feb 9, 2021
@tarkatronic tarkatronic linked a pull request Feb 23, 2021 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
checkers Related to one or more of the checkers enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant