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

Bug "Ensure top-level permissions are not set to write-all" #120

Open
wjohnston-sfdc opened this issue Mar 25, 2024 · 0 comments
Open

Bug "Ensure top-level permissions are not set to write-all" #120

wjohnston-sfdc opened this issue Mar 25, 2024 · 0 comments

Comments

@wjohnston-sfdc
Copy link

Hi, I ran your code through checkov https://www.checkov.io/5.Policy%20Index/github_actions.html.

Command

/dist/checkov -d ./ --framework github_actions

Check: CKV2_GHA_1: "Ensure top-level permissions are not set to write-all"
        FAILED for resource: on(ci)
        File: /.github/workflows/ci.yml:43-44

Are you able to add permissions: read to .github/workflows/ci.yml:43-44

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