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
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,6 +93,16 @@ $ scfw run poetry add git+https://github.com/DataDog/guarddog
93
93
94
94
For `pip install` commands, packages will be installed in the same environment (virtual or global) in which the command was run.
95
95
96
+
Several command-line options of the `run` subcommand are noteworthy:
97
+
98
+
*`--dry-run`: Verify any installation targets but do not run the package manager command. The exit code indicates whether there were findings of any severity
99
+
100
+
*`--allow-on-warning` and `--block-on-warning`: Non-interactively allow or block commands, respectively, with only warning-level findings. Setting the environment variable `SCFW_ON_WARNING` to `"ALLOW"` or `"BLOCK"` achieves the same effect, with the CLI options taking priority over the environment variable when both are used
101
+
102
+
*`--error-on-block`: Treat blocked commands as errors (useful for scripting)
103
+
104
+
Run `scfw run --help` to see all available command-line options.
105
+
96
106
### Audit installed packages
97
107
98
108
Supply-Chain Firewall can also use its verifiers to audit installed packages:
0 commit comments