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

chore: Set permissions for GitHub actions #2952

Merged
merged 1 commit into from
Sep 16, 2022

Conversation

naveensrinivasan
Copy link
Contributor

Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests

Signed-off-by: naveen [email protected]

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <[email protected]>
@ghost
Copy link

ghost commented May 18, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented May 25, 2022

@Azure/aks-pm issue needs labels

15 similar comments
@ghost
Copy link

ghost commented Jun 1, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Jun 8, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Jun 15, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Jun 22, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Jun 29, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Jul 6, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Jul 13, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Jul 20, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Jul 27, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Aug 3, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Aug 10, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Aug 17, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Aug 24, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Aug 31, 2022

@Azure/aks-pm issue needs labels

@ghost
Copy link

ghost commented Sep 7, 2022

@Azure/aks-pm issue needs labels

@palma21 palma21 merged commit 7a1a0ef into Azure:master Sep 16, 2022
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

Successfully merging this pull request may close these issues.

None yet

3 participants