Difference between revisions of "Safety"

From wikieduonline
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
[[pip install safety]]
+
https://pypi.org/project/safety/
[[safety check]]
+
* Installation:
[[safety review]]
+
** <code>[[pip install safety]]</code>
[[safety validate]]
+
** <code>[[pip install safety==1.*</code>
 +
* <code>[[safety --help]]</code>
 +
* <code>[[safety --version]]</code>
  
safety --version
+
== Examples ==
safety, version 2.0.0
+
* <code>[[safety check]]</code>
 
+
* <code>[[safety review]]</code>
<pre>
+
* <code>[[safety validate]]</code>
safety --help
 
Usage: safety [OPTIONS] COMMAND [ARGS]...
 
 
 
  Safety checks Python dependencies for known security vulnerabilities and
 
  suggests the proper remediations for vulnerabilities detected. Safety can be
 
  run on developer machines, in CI/CD pipelines and on production systems.
 
 
 
Options:
 
  --debug / --no-debug
 
  --telemetry / --disable-telemetry
 
  --version                      Show the version and exit.
 
  --help                          Show this message and exit.
 
 
 
Commands:
 
  check    Find vulnerabilities in Python dependencies at the target...
 
  generate  Create a boilerplate supported file type.
 
  license  Find the open source licenses used by your Python dependencies.
 
  review    Show an output from a previous exported JSON report.
 
  validate Verify the validity of a supported file type.
 
</pre>
 
  
 
== See also ==
 
== See also ==
 
* {{safety}}
 
* {{safety}}
 +
* {{Auditing}}
  
 
[[Category:Safety]]
 
[[Category:Safety]]

Latest revision as of 08:18, 1 November 2022

Advertising: