Releases: NeuraLegion/bright-cli
v2.4.0
Features
Provides the ability to split nexmock into multiply HAR files. For this purpose, you should specify -s
, --split
parameter, that accepts the number of chunks.
$ nexploit-cli archive:generate \
-m .nexmock \
-f archive.har \
-t https://example.com/ \
-s 4
That's it, nexploit-cli will create 4 HAR files which comply with following pattern: <basename>(_<number>)?.<extension>
. E.g. archive.har
, archive_2.har
and etc.
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
.