Skip to content

feat(secrets-scan): wire Gitleaks SARIF to GitHub Code Scanning #98

feat(secrets-scan): wire Gitleaks SARIF to GitHub Code Scanning

feat(secrets-scan): wire Gitleaks SARIF to GitHub Code Scanning #98

name: Pipeline Orchestrator
on:
pull_request:
branches: [main]
permissions:
contents: read
jobs:
pipeline-scan:
uses: ./.github/workflows/pipeline-scan.yml
permissions:
security-events: write
contents: read
actions: read
code-scan:
needs: pipeline-scan
uses: ./.github/workflows/code-scan.yml
permissions:
security-events: write
contents: read
actions: read
secrets-scan:
needs: pipeline-scan
uses: ./.github/workflows/secrets-scan.yml
permissions:
security-events: write
contents: read
actions: read
iac-scan:
needs: pipeline-scan
uses: ./.github/workflows/iac-scan.yml
ai-review:
needs: pipeline-scan
uses: ./.github/workflows/ai-review.yml
permissions:
contents: read
pull-requests: write
secrets:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
build-and-container-scan:
needs: [code-scan, secrets-scan]
permissions:
contents: read
security-events: write
actions: read
uses: ./.github/workflows/build-and-container-scan.yml
deploy-infrastructure:
needs: iac-scan
uses: ./.github/workflows/deploy-infrastructure.yml
deploy-application:
needs: [build-and-container-scan, deploy-infrastructure]
uses: ./.github/workflows/deploy-application.yml
runtime-infra-scan:
needs: deploy-application
uses: ./.github/workflows/runtime-infra-scan.yml
with:
environment: ${{ github.ref_name }}
app-url: https://workshop-app-${{ github.ref_name }}.example.com
permissions:
id-token: write
contents: read
secrets:
AWS_IAM_ROLE_ARN: ${{ secrets.AWS_IAM_ROLE_ARN }}
dast:
needs: deploy-application
uses: ./.github/workflows/dast.yml
with:
environment: ${{ github.ref_name }}
app-url: https://workshop-app-${{ github.ref_name }}.example.com
integration-test:
needs: deploy-application
uses: ./.github/workflows/integration-test.yml
with:
environment: ${{ github.ref_name }}
app-url: https://workshop-app-${{ github.ref_name }}.example.com