v1.0.0
1.0.0 - 2020-08-31
Fixed
-
Bug where
code42 legal-hold showwould error when terminal was too small. -
Fixed bug in
departing_employee bulk addcommand that allowed invalid dates to be passed without validation.
Changed
-
The follow commands now print a nicer error message when trying to remove a user who is not on the list:
code42 departing-employee removecode42 high-risk-employee removecode42 alert-rules remove-user
-
-i(--incremental) has been removed, use-c(--use-checkpoint) with a string name for the checkpoint instead. -
The code42cli has been migrated to the click framework. This brings:
- BREAKING CHANGE: Commands that accept multiple values for the same option now must have the option flag provided before each value:
use--option value1 --option value2instead of--option value1 value2(which was previously possible). - Cosmetic changes to error messages, progress bars, and help message formatting.
- BREAKING CHANGE: Commands that accept multiple values for the same option now must have the option flag provided before each value:
-
The
printcommand on thesecurity-dataandalertscommand groups has been replaced with thesearchcommand.
This was a name change only, all other functionality remains the same. -
A profile created with the
--disable-ssl-errorsflag will now correctly not verify SSL certs when making requests. A warning message is printed
each time the CLI is run with a profile configured this way, as it is not recommended. -
The
pathpositional argument for bulkgenerate-templatecommands is now an option (--p/-p). -
Below
searchsubcommands accept argument--format/-fto display result in formatscsv,table,json,raw-json:- Default output format is changed to
tableformat fromraw-json, returns a paginated response.
All properties would be displayed by default except when using-f table.
Pass--include-allwhen usingtableto view all non-nested top-level properties. code42 alerts searchcode42 security-data searchcode42 security-data saved-search listcode42 legal-hold listcode42 alert-rules list
- Default output format is changed to
Added
-
--or-queryoption added tosecurity-data searchandalerts searchcommands which combines the provided filter arguments into an 'OR' query instead of the default 'AND' query. -
--passwordoption added toprofile createandprofile updatecommands, enabling creating profiles while bypassing the interactive password prompt. -
Profiles can now save multiple alert and file event checkpoints. The name of the checkpoint to be used for a given query should be passed to
-c(--use-checkpoint). -
-y/--assume-yesoption added toprofile deleteandprofile delete-allcommands to not require interactive prompt. -
Below subcommands accept argument
--format/-fto display result in formatscsv,table,json,formatted-json:code42 alert-rules listcode42 legal-hold listcode42 legal-hold showcode42 security-data saved-search list
Removed
- The
write-tocommand forsecurity-dataandalertscommand groups.