Policy as Code Permissions #56
GeekMasher
started this conversation in
General
Replies: 2 comments
-
The Pull Request comment functionality with the |
Beta Was this translation helpful? Give feedback.
0 replies
-
fyi - the table above says |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running the
policy-as-code
as an GitHub Action or a CLI, you will need to make sure you have setup the correct permissions of your Access Token (Personal Access Token / PAT or GitHub App Token) for each application.Here is a table which defines which permissions you'll need to get the data and alerts from GitHub.
security_events
security_events
contents
security_events
contents
security_events
Actions
In the case of Actions, you'll need to add the following:
Personal Access Token or GitHub App
When using a GitHub PAT or App, you'll need to make sure the following permissions are set:
This is a fine-grain PAT
Beta Was this translation helpful? Give feedback.
All reactions