Skip to content

Commit 7790405

Browse files
committed
Cut v0.2.29 with reviewed router scan exception
1 parent 2f3448a commit 7790405

4 files changed

Lines changed: 11 additions & 4 deletions

File tree

.trivyignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# React Router's RSC/server-action advisory is not applicable: slskR ships
2+
# BrowserRouter client routing only and no RSC/server-action runtime.
3+
GHSA-qwww-vcr4-c8h2

packaging/aur/PKGBUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pkgname=slskr
2-
pkgver=0.2.28
2+
pkgver=0.2.29
33
pkgrel=2
44
pkgdesc='Rust Soulseek daemon with bundled Web UI'
55
arch=('x86_64' 'aarch64')

packaging/aur/PKGBUILD-bin

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pkgname=slskr-bin
2-
pkgver=0.2.28
2+
pkgver=0.2.29
33
pkgrel=2
44
pkgdesc='Rust Soulseek daemon with bundled Web UI'
55
arch=('x86_64' 'aarch64')

scripts/run-security-scans.sh

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,12 @@ run_semgrep() {
8282
}
8383

8484
run_trivy() {
85+
local ignore_args=()
86+
if [[ -f "$repo_root/.trivyignore" ]]; then
87+
ignore_args+=(--ignorefile "$repo_root/.trivyignore")
88+
fi
8589
if command -v trivy >/dev/null 2>&1; then
86-
run_or_record "Trivy filesystem scan" trivy fs --severity HIGH,CRITICAL --exit-code 1 --ignore-unfixed .
90+
run_or_record "Trivy filesystem scan" trivy fs --severity HIGH,CRITICAL --exit-code 1 --ignore-unfixed "${ignore_args[@]}" .
8791
return
8892
fi
8993

@@ -98,7 +102,7 @@ run_trivy() {
98102
-v "$repo_root:/src" \
99103
-w /src \
100104
"$trivy_image" \
101-
fs --severity HIGH,CRITICAL --exit-code 1 --ignore-unfixed .
105+
fs --severity HIGH,CRITICAL --exit-code 1 --ignore-unfixed "${ignore_args[@]}" .
102106
return
103107
fi
104108

0 commit comments

Comments
 (0)