From 2eb9b1f336be283bbe9c0c7387bcc4ce4b90f9eb Mon Sep 17 00:00:00 2001 From: arencro <109680198+arencro@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:05:09 -0600 Subject: [PATCH] Adding ProdSec consolidated workflow files --- .github/workflows/Prodsec_Workflow.yml | 33 ++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/Prodsec_Workflow.yml diff --git a/.github/workflows/Prodsec_Workflow.yml b/.github/workflows/Prodsec_Workflow.yml new file mode 100644 index 0000000..8496b6a --- /dev/null +++ b/.github/workflows/Prodsec_Workflow.yml @@ -0,0 +1,33 @@ +# Product Security tooling +# Runs Manifest SBOM generation and Dependency Check Scanning +--- +name: Product Security Tooling + +'on': + pull_request: + release: + types: + - created + +jobs: + sbom_generator: + if: github.event_name == 'release' + uses: HealthByRo/ro-github-actions/.github/workflows/manifest_sbom.yml@main + with: + languages: '["JavaScript"]' + secrets: + ssh_key: ${{ secrets.SSH_RO_CI_DEPLOY }} + manifest_key: ${{ secrets.MANIFEST_SBOM }} + + dependency-check: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - name: Checkout repository + uses: actions/checkout@v4 + - name: Dependency Check + uses: actions/dependency-review-action@v3 + with: + fail-on-severity: critical + license-check: false