Skip to content

Commit 26c0532

Browse files
Merge pull request #107 from step-security/fix-Manual-Audit-Fix
some vulns were put to osv-scanner
2 parents 48595ef + cc7e8bc commit 26c0532

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/audit_package.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
description: "Specify package manager (npm or yarn)"
1212
required: false
1313
default: "yarn"
14+
script:
15+
description: "Specify the build script to run"
16+
required: false
17+
type: string
18+
default: "yarn build"
1419

1520
schedule:
1621
- cron: "0 0 * * 1"
@@ -21,9 +26,10 @@ jobs:
2126
with:
2227
base_branch: ${{ github.event.inputs.base_branch || 'main' }}
2328
package_manager: "yarn"
29+
script: ${{ github.event.inputs.script || 'yarn build' }}
2430

2531
permissions:
2632
contents: write
2733
pull-requests: write
2834
packages: read
29-
issues: write
35+
issues: write

osv-scanner.toml

+13-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,16 @@ reason = "It is a test dependency"
44

55
[[IgnoredVulns]]
66
id = "GHSA-vg6x-rcgg-rjx6"
7-
reason = "It is a test dependency"
7+
reason = "It is a test dependency"
8+
9+
[[IgnoredVulns]]
10+
id = "GHSA-h5c3-5r3r-rr8q"
11+
reason = "Untrusted headers are not processed"
12+
13+
[[IgnoredVulns]]
14+
id = "GHSA-rmvr-2pp2-xj38"
15+
reason = "Untrusted headers are not processed"
16+
17+
[[IgnoredVulns]]
18+
id = "GHSA-xx4v-prfh-6cgc"
19+
reason = "Untrusted headers are not processed"

0 commit comments

Comments
 (0)