Skip to content

RHIDP-5654: Adding SNYK IaC Scanning #1

RHIDP-5654: Adding SNYK IaC Scanning

RHIDP-5654: Adding SNYK IaC Scanning #1

Workflow file for this run

name: SNYK
on: pull_request
jobs:
scan-iac:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.17.0
- name: Render Templates
run: helm template ./charts/backstage/ --output-dir ./output
- name: Run SNYK IaC Scan
continue-on-error: true
uses: snyk/actions/iac@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --report --org=${{ secrets.SNYK_ORG_ID }} --target-name=github-action-redhat-developer-rhdh-chart
file: ./output/