Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ProdSec consolidated workflow files #91

Closed
wants to merge 2 commits into from
Closed
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: '["Python"]'
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 }}
Loading