v2.3.0
Features
Allows to configure a polling of scan status. For this purpose, you should specify --polling
and --failure-on
parameters.
Where failure-on
is the predefined failure strategy that allows to finish process nexploit-cli with exit code 50
only after fulfilling the condition.
failure-on
accepts following values: first-issue
, first-medium-severity-issue
, first-high-severity-issue
.
$ nexploit-cli scan:run \
-f archive.har \
-K asvuesbe.dsfsdfjvnosd \
-n test_scan \
--polling --failure-on first-medium-severity-issue
nexploit-cli will run the scan and check its status most of the time. If the scan find at least of one medium severity issue, nexploit-cli will finish with exit code 50
.