Skip to content

Commit

Permalink
Update and rename veracode-container-security.yml to veracode-iac-sec…
Browse files Browse the repository at this point in the history
…rets-scan.yml
  • Loading branch information
julz0815 authored Jul 21, 2023
1 parent 06fe8b9 commit 2069f75
Showing 1 changed file with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
name: Veracode Container Security EA
name: Veracode IaC/Secrets Scanning

run-name: Container Security - ${{ github.event.client_payload.repository.name }}
run-name: Veracode IaC/Secrets Scanning - ${{ github.event.client_payload.repository.name }}

on:
repository_dispatch:
types: [veracode-container-security-scan]
types: [veracode-iac-secrets-scan]

jobs:
register:
Expand All @@ -21,21 +21,25 @@ jobs:
event_type: ${{ github.event.client_payload.event_type }}
enforce: true

veracode-container-security:
veracode-iac-secrets-scan:
needs: [register]
runs-on: ubuntu-latest
name: Veracode Container Security
name: Veracode IaC/Secrets Scanning

steps:
- uses: actions/checkout@v3
with:
repository: ${{ github.event.client_payload.repository.full_name }}
ref: ${{ github.event.client_payload.sha }}
token: ${{ github.event.client_payload.token }}
- name: Run Veracode SCA
env:
SRCCLR_API_TOKEN: ${{ secrets.SRCCLR_API_TOKEN }}
uses: veracode/veracode-sca@v2.1.6
- name: Run Veracode IaC/Secrets Scanning
uses: veracode/container_iac_secrets_scanning@v1.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
create-issues: false
vid: ${{ secrets.API_ID }}
vkey: ${{ secrets.API_KEY }}
command: "scan"
type: "directory"
source: "./"
format: "json"
debug: false
fail_build: true

0 comments on commit 2069f75

Please sign in to comment.