Merge pull request #75 from aws-samples/dependabot/pip/assets/contain… #76
This file contains hidden or 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
# The cfn-nag tool looks for patterns in CloudFormation templates that may indicate insecure infrastructure. Roughly speaking, it will look for: | |
# - IAM rules that are too permissive (wildcards) | |
# - Security group rules that are too permissive (wildcards) | |
# - Access logs that aren't enabled | |
# - Encryption that isn't enabled | |
# - Password literals | |
# See https://github.com/stelligent/cfn_nag for more information | |
name: cfn-nag | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
cfn-lint: | |
permissions: | |
contents: read # for actions/checkout to fetch code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: cfn_nag Scan | |
uses: stelligent/cfn_nag@master | |
with: | |
input_path: build/cloudformation |