Skip to content

You are not authorized to read security events #5

Open

Description

@ChrisMedicom

Hello, we are getting the following error when running the action:

image

Our yml file is setup like this with the github-security-report-action after the codeql action.
image

The secret being used currently is a PAT token with all the boxes checked (including the "repo" and "security_events" boxes)

Thank you for any help that can be provided!

Activity

  1. peter-murray commented on Jun 2, 2021

    @peter-murray
    Owner

    That error would seem to indicate that the token in use does not have the required permissions... That error message will be coming directly from the Octokit REST library and is the message presented from the GitHub APIs.

    I just ran a test to validate the necessary settings on the token to ensure nothing has changed and with these permissions on a PAT that I just generated, it works without an error;

    Screenshot 2021-06-02 at 17 37 42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions