Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: security-scan
on:
push:
branches:
- main
pull_request:
types:
- opened
- edited
- reopened
- synchronize

jobs:
secret-audit:
name: "Secrets Scan"
uses: YAtechnologies/cross-github-actions/.github/workflows/secrets-audit.yaml@main
secrets: inherit
with:
runs-on: self-hosted
defectdojo-product-type: pi-cloudops-squad
defectdojo-product: yassir-platform-cloud
defectdojo-engagement-name: pi-terraform-modules
project_id: ${{ vars.SEC_GCP_PROJECT_NAME }}
workload_identity_provider: ${{ vars.SEC_WIP_GCP_ARTIFACT_STORAGE }}
service_account: ${{ vars.SEC_WIP_GCP_ARTIFACT_STORAGE_SVC_ACCT }}
artifact_storage_bucket: ${{ vars.GCP_ARTIFACT_STORAGE_BUCKET }}
Security-Scan:
name: Security Scan
uses: YAtechnologies/cross-github-actions/.github/workflows/iac-scan.yaml@main
secrets: inherit
with:
runs-on: self-hosted
defectdojo-product-type: pi-cloudops-squad
defectdojo-product: yassir-platform-cloud
defectdojo-engagement-name: pi-terraform-modules
project_id: ${{ vars.SEC_GCP_PROJECT_NAME }}
workload_identity_provider: ${{ vars.SEC_WIP_GCP_ARTIFACT_STORAGE }}
service_account: ${{ vars.SEC_WIP_GCP_ARTIFACT_STORAGE_SVC_ACCT }}
artifact_storage_bucket: ${{ vars.GCP_ARTIFACT_STORAGE_BUCKET }}