add support for all partitions (#102) #248
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
| name: sast | |
| on: | |
| push: | |
| jobs: | |
| cfn-nag: | |
| name: Run cfn-nag scan | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Run cfn-nag | |
| uses: stelligent/cfn_nag@master | |
| with: | |
| input_path: ./ | |
| checkov: | |
| name: checkov | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - uses: grolston/cfn-security@v2 | |
| with: | |
| cloudformation_directory: './' | |
| scanner: "checkov" | |
| cfn-lint: | |
| name: cfn-lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Setup Cloud Formation Linter with Latest Version | |
| uses: scottbrenner/cfn-lint-action@v2 | |
| - name: Print the Cloud Formation Linter Version & run Linter. | |
| run: | | |
| shopt -s globstar # enable globbing | |
| cfn-lint --version | |
| cfn-lint |