Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Adding ProdSec consolidated workflow files #96

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
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
33 changes: 33 additions & 0 deletions .github/workflows/Prodsec_Workflow.yml
Original file line number Diff line number Diff line change
@@ -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
21 changes: 21 additions & 0 deletions .github/workflows/cve2epss.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# CVE2EPSS Alert Parser
# Tool to open and close Dependabot alerts based on EPSS score
---
name: CVE2EPSS

'on':
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'

jobs:
cve2epss:
runs-on: ubuntu-latest

steps:
- name: CVE2EPSS
uses: HealthByRo/prodsec-tools/actions/cve2Epss@main
with:
TOKEN: ${{ secrets.GHAS_GITHUB_TOKEN }}
EPSS_SCORE: '0.003'
REPO: ${{ github.repository }}