You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `transitivedependency/pomxml` enricher is enabled by default but may
not be run, however there will still be warning on this which is a bit
confusing so this PR removes the warning message and probably do that in
enricher itself instead.
---------
Co-authored-by: Joey L <joeylauy@google.com>
Copy file name to clipboardExpand all lines: cmd/osv-scanner/__snapshots__/main_test.snap
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,6 @@ built at: n/a
61
61
Scanningdir ./testdata/locks-one-with-nested
62
62
Scanned <rootdir>/testdata/locks-one-with-nested/nested/composer.lock file and found 1 package
63
63
Scanned <rootdir>/testdata/locks-one-with-nested/yarn.lock file and found 1 package
64
-
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
65
64
66
65
No issues found
67
66
@@ -75,7 +74,6 @@ Warning: `scan` exists as both a subcommand of OSV-Scanner and as a file on the
75
74
[Test_run_SubCommands/with_no_subcommand - 1]
76
75
Scanning dir ./testdata/locks-many/composer.lock
77
76
Scanned <rootdir>/testdata/locks-many/composer.lock file and found 1 package
78
-
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
79
77
80
78
No issues found
81
79
@@ -88,7 +86,6 @@ No issues found
88
86
[Test_run_SubCommands/with_scan_subcommand - 1]
89
87
Scanning dir ./testdata/locks-many/composer.lock
90
88
Scanned <rootdir>/testdata/locks-many/composer.lock file and found 1 package
91
-
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
Guided remediation (the fix command) can be risky when run on untrusted projects. It may trigger the package manager to execute scripts or follow external registries specified in the project. Please ensure you trust the source code and artifacts before proceeding.
5263
-
Found 15 vulnerabilities matching the filter
5264
-
Can fix 8/15 matching vulnerabilities by changing 5 dependencies
5263
+
Found 16 vulnerabilities matching the filter
5264
+
Can fix 8/16 matching vulnerabilities by changing 5 dependencies
Guided remediation (the fix command) can be risky when run on untrusted projects. It may trigger the package manager to execute scripts or follow external registries specified in the project. Please ensure you trust the source code and artifacts before proceeding.
9578
-
Found 7 vulnerabilities matching the filter
9579
-
Can fix 3/7 matching vulnerabilities by changing 1 dependencies
9598
+
Found 8 vulnerabilities matching the filter
9599
+
Can fix 3/8 matching vulnerabilities by changing 1 dependencies
Guided remediation (the fix command) can be risky when run on untrusted projects. It may trigger the package manager to execute scripts or follow external registries specified in the project. Please ensure you trust the source code and artifacts before proceeding.
9611
-
Found 15 vulnerabilities matching the filter
9612
-
Can fix 8/15 matching vulnerabilities by changing 5 dependencies
9631
+
Found 16 vulnerabilities matching the filter
9632
+
Can fix 8/16 matching vulnerabilities by changing 5 dependencies
Guided remediation (the fix command) can be risky when run on untrusted projects. It may trigger the package manager to execute scripts or follow external registries specified in the project. Please ensure you trust the source code and artifacts before proceeding.
11430
-
Found 15 vulnerabilities matching the filter
11431
-
Can fix 8/15 matching vulnerabilities by changing 5 dependencies
11450
+
Found 16 vulnerabilities matching the filter
11451
+
Can fix 8/16 matching vulnerabilities by changing 5 dependencies
Guided remediation (the fix command) can be risky when run on untrusted projects. It may trigger the package manager to execute scripts or follow external registries specified in the project. Please ensure you trust the source code and artifacts before proceeding.
13173
-
Found 7 vulnerabilities matching the filter
13174
-
Can fix 3/7 matching vulnerabilities by changing 1 dependencies
13193
+
Found 8 vulnerabilities matching the filter
13194
+
Can fix 3/8 matching vulnerabilities by changing 1 dependencies
Copy file name to clipboardExpand all lines: cmd/osv-scanner/scan/__snapshots__/command_test.snap
-3Lines changed: 0 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,6 @@
3
3
Scanningdir ./testdata/locks-one-with-nested
4
4
Scanned <rootdir>/testdata/locks-one-with-nested/nested/composer.lock file and found 1 package
5
5
Scanned <rootdir>/testdata/locks-one-with-nested/yarn.lock file and found 1 package
6
-
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
7
6
8
7
No issues found
9
8
@@ -39,7 +38,6 @@ OPTIONS:
39
38
[TestCommand_SubCommands/with_no_subcommand - 1]
40
39
Scanning dir ./testdata/locks-many/composer.lock
41
40
Scanned <rootdir>/testdata/locks-many/composer.lock file and found 1 package
42
-
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
Scanned <rootdir>/testdata/locks-many/composer.lock file and found 1 package
55
-
Warning: plugin transitivedependency/pomxml can be risky when run on untrusted artifacts. Please ensure you trust the source code and artifacts before proceeding.
0 commit comments