Skip to content

Commit cc40b8a

Browse files
lindycoderclaude
andcommitted
BST-18082 Add tests for trivy-fs and trivy-sbom scanners
Migrated test targets from boost-sandbox/module-tests-trivy to the new test harness. Converted SSH URLs to HTTPS format. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 94705f2 commit cc40b8a

File tree

3 files changed

+44
-2
lines changed

3 files changed

+44
-2
lines changed

scanners/boostsecurityio/trivy-fs/tests.yaml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,20 @@ tests:
33
- name: "gitleaks"
44
type: "source-code"
55
source:
6-
url: "git@github.com:gitleaks/gitleaks.git"
6+
url: "https://github.com/gitleaks/gitleaks.git"
77
ref: "v8.15.2"
88
- name: "osv-scanner"
99
type: "source-code"
1010
source:
11-
url: "git@github.com:google/osv-scanner.git"
11+
url: "https://github.com/google/osv-scanner.git"
1212
ref: "main"
13+
- name: "rclone"
14+
type: "source-code"
15+
source:
16+
url: "https://github.com/rclone/rclone.git"
17+
ref: "v1.65.2"
18+
- name: "kubeaudit"
19+
type: "source-code"
20+
source:
21+
url: "https://github.com/Shopify/kubeaudit.git"
22+
ref: "v0.18.0"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
version: "1.0"
2+
tests:
3+
- name: "Image scanning"
4+
type: "container-image"
5+
source:
6+
url: "https://github.com/martin-boost-dev/boost-poc-registry-testing-trivy"
7+
ref: "main"
8+
scan_paths:
9+
- "rclone"
10+
- "osv-scanner"
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
version: "1.0"
2+
tests:
3+
- name: "gitleaks"
4+
type: "source-code"
5+
source:
6+
url: "https://github.com/gitleaks/gitleaks.git"
7+
ref: "v8.15.2"
8+
- name: "osv-scanner"
9+
type: "source-code"
10+
source:
11+
url: "https://github.com/google/osv-scanner.git"
12+
ref: "main"
13+
- name: "rclone"
14+
type: "source-code"
15+
source:
16+
url: "https://github.com/rclone/rclone.git"
17+
ref: "v1.65.2"
18+
- name: "kubeaudit"
19+
type: "source-code"
20+
source:
21+
url: "https://github.com/Shopify/kubeaudit.git"
22+
ref: "v0.18.0"

0 commit comments

Comments
 (0)