Skip to content

Ato 656/merge remaining orch lambdas into staging #4688

Ato 656/merge remaining orch lambdas into staging

Ato 656/merge remaining orch lambdas into staging #4688

Workflow file for this run

name: checkov
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
jobs:
scan:
strategy:
matrix:
module:
- account-management
- delivery-receipts
- oidc
- shared
- test-services
- utils
permissions:
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/upload-sarif to upload SARIF results
actions: read # only required for a private repository by github/codeql-action/upload-sarif to get the Action run status
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkov GitHub Action
uses: bridgecrewio/checkov-action@v12
with:
directory: ci/terraform/${{ matrix.module }}
soft_fail: true
output_format: cli,sarif
output_file_path: console,results.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
category: ${{ matrix.module }}
scan-orch:
permissions:
actions: read
contents: read
security-events: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkov GitHub Action
uses: bridgecrewio/checkov-action@v12
with:
file: template.yaml
framework: cloudformation
quiet: true
output_format: cli,sarif
output_file_path: console,results.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
category: orch-sam