Skip to content

Commit bb5f82e

Browse files
committed
Add Dependabot config and OSV-Scanner workflow for vulnerability scanning
1 parent 945e805 commit bb5f82e

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

.github/dependabot.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "pip"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
reviewers:
8+
- "v1r3n"
9+
- "c4lm"
10+
- package-ecosystem: "github-actions"
11+
directory: "/"
12+
schedule:
13+
interval: "weekly"

.github/workflows/osv-scanner.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: OSV-Scanner Vulnerability Scan
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
push:
7+
branches: [main]
8+
schedule:
9+
- cron: '0 6 * * 1' # Weekly Monday 6am UTC
10+
workflow_dispatch:
11+
12+
permissions:
13+
contents: read
14+
security-events: write
15+
16+
jobs:
17+
osv-scan:
18+
runs-on: ubuntu-latest
19+
steps:
20+
- uses: actions/checkout@v4
21+
22+
- name: Run OSV-Scanner
23+
uses: google/osv-scanner-action/osv-scanner-action@v2
24+
with:
25+
scan-args: |-
26+
--recursive
27+
./
28+
29+
- name: Upload SARIF
30+
if: always()
31+
uses: github/codeql-action/upload-sarif@v3
32+
with:
33+
sarif_file: results.sarif

0 commit comments

Comments
 (0)