Created
February 28, 2021 05:47
-
-
Save tomarv2/8b2cc2036e3dc41f8f92b4e0a07fa6f5 to your computer and use it in GitHub Desktop.
GitHub Actions for security scan of Lambda using BridgeCrew
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: Security Scans | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| paths-ignore: | |
| - 'README.md' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| - '**.md' | |
| pull_request: | |
| paths-ignore: | |
| - 'README.md' | |
| - 'LICENSE' | |
| - '.gitignore' | |
| - '**.md' | |
| jobs: | |
| go-tests: | |
| name: Security Scans | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Security Scan | |
| id: Bridgecrew | |
| uses: bridgecrewio/bridgecrew-action@master | |
| with: | |
| api-key: ${{ secrets.BRIDGECREW_API_KEY }} | |
| directory: "." | |
| soft_fail: false | |
| # BC: "check_name": "X-ray tracing is enabled for Lambda" - disabled | |
| skip_check: CKV_AWS_50 | |
| output_format: json |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment