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

Update GitHub token with admin read #82

Open
LilaKelland opened this issue Dec 13, 2023 · 3 comments
Open

Update GitHub token with admin read #82

LilaKelland opened this issue Dec 13, 2023 · 3 comments

Comments

@LilaKelland
Copy link
Collaborator

LilaKelland commented Dec 13, 2023

In order to scan private repos, and have visibility into vulnerability GitHub scanning, we need to update the GitHub token with admin read privileges for select options.

@LilaKelland LilaKelland changed the title Update GitHub token Update GitHub token with admin read Dec 13, 2023
@LilaKelland
Copy link
Collaborator Author

Actually, that failed - going through this https://docs.github.com/en/rest/authentication/permissions-required-for-fine-grained-personal-access-tokens to determine what is needed for each request.

@LilaKelland
Copy link
Collaborator Author

image

@LilaKelland
Copy link
Collaborator Author

Update - the required read access seems to be denied, but my classic token, with only the required reads clicked does seem to work (so leaving that for now). The only thing it doesn't work for is security_analysis for repos that I don't own. Though, keeping this issue open as using a personal access token may not be the best option in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant