Add new ec2:DisableImageBlockPublicAccess to ResourceExposure #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: [ main ] | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
name: Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: GenerateFiles | |
run: | | |
curl -s https://raw.githubusercontent.com/iann0036/iam-dataset/main/iam_definition.json -o iam_definition.json | |
./scripts/annotate-list.py --output-yaml annotated.yaml --output-json annotated.json | |
for t in PrivEsc ResourceExposure CredentialExposure DataAccess ALL ; do | |
./scripts/policy-generation.py --risk $t --action-file actions.yaml --policy-file policies/$t.json | |
done | |
- name: Commit files | |
run: | | |
git config --global user.name 'GitHubAction' | |
git config --global user.email '[email protected]' | |
git add . | |
git commit -am "Automated file generation" | |
git push |