Skip to content

Commit

Permalink
ci: add security scan workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lengau committed Sep 25, 2024
1 parent 2c375fe commit 7eedfd4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/security-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Security scan
on:
pull_request:
push:
branches:
- main
- hotfix/*

jobs:
python-scans:
name: Scan Python project
uses: lengau/starflow/.github/workflows/scan-python.yaml@work/secscan
with:
packages: python-apt-dev
osv-extra-args: '--config=source/osv-scanner.toml'
trivy-extra-args: '--severity HIGH,CRITICAL --ignore-unfixed --skip-dirs "tests/spread/**"'
4 changes: 4 additions & 0 deletions osv-scanner.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[[IgnoredVulns]]
id = "CVE-2024-35195"
ignoreUntil = "2025-01-01T00:00:00Z"
reason = "Needed for requests-unixsocket, which we're replacing with requests-unixsocket2"

0 comments on commit 7eedfd4

Please sign in to comment.