Refactor IAM policy permissions and add missing dependencies #3
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
name: IaC Security Control | |
on: | |
push: | |
branches: [ main ] | |
env: | |
SPECTRAL_DSN: ${{ secrets.SPECTRAL_DSN }} | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install and run Spectral CI | |
uses: spectralops/spectral-github-action@v2 | |
with: | |
spectral-dsn: ${{ env.SPECTRAL_DSN }} | |
spectral-args: scan --ok --engines secrets,iac --include-tags base,audit,iac |