Releases: code42/code42cli
v1.0.0b1
1.0.0b1 - 2020-07-14
Changed
-
-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.
Added
- Profile 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).
Removed
- The
write-toandsend-tocommands onsecurity-dataandalertscommand groups.
v0.7.3
v0.7.2
v0.7.1
v0.7.0
0.7.0 - 2020-06-08
Changed
-
code42clino longer supports python 2.7. -
code42 profile createnow uses required--name,--serverand--usernameflags instead of positional arguments. -
code42 high-risk-employee add-risk-tagsnow uses required--usernameand--tagflags instead of positional arguments. -
code42 high-risk-employee remove-risk-tagsnow uses required--usernameand--tagflags instead of positional arguments.
Added
-
code42 high-risk-employee bulksupportsadd-risk-tagsandremove-risk-tags.code42 high-risk-employee bulk generate-template <cmd>optionsadd-risk-tagsandremove-risk-tags.add-risk-tagsthat takes a csv file with username and space separated risk tags.remove-risk-tagsthat takes a csv file with username and space separated risk tags.
-
Display,
Fuzzy suggestions, valid keywords matching mistyped commands or arguments. -
code42 alerts:- Ability to search/poll for alerts with checkpointing using one of the following commands:
printto output to stdout.write-toto output to a file.send-toto output to server via UDP or TCP.
- Ability to search/poll for alerts with checkpointing using one of the following commands:
-
code42 alert-rulescommands:add-userwith parameters--rule-idand--username.remove-userthat takes a rule ID and optionally--username.list.showtakes a rule ID.bulkwith subcommands:add: that takes a csv file with rule IDs and usernames.generate-template: that creates the file template. And parameters:cmd: with optionsaddandremove.path
remove: that takes a csv file with rule IDs and usernames.
-
code42 legal-holdcommands:add-userwith parameters--matter-id/-mand--username/-u.remove-userwith parameters--matter-id/-mand--username/-u.listprints out existing active legal hold matters.showtakes amatter_idand prints details of the matter.- optional argument
--include-inactiveadditionally prints matter memberships that are no longer active. - optional argument
--include-policyadditionally prints out the matter's backup preservation policy in json form.
- optional argument
bulkwith subcommands:add-user: that takes a csv file with matter IDs and usernames.remove-user: that takes a csv file with matter IDs and usernames.generate-template: that creates the file templates.cmd: with optionsaddandremove.path
-
Success messages for
profile deleteandprofile update. -
Additional information in the error log file:
- The full command path for the command that errored.
- User-facing error messages you see during adhoc sessions.
-
A custom error in the error log when you try adding unknown risk tags to user.
-
A custom error in the error log when you try adding a user to a detection list who is already added.
-
Graceful handling of keyboard interrupts (ctrl-c) so stack traces aren't printed to console.
-
Warning message printed when ctrl-c is encountered in the middle of an operation that could cause incorrect checkpoint
state, a second ctrl-c is required to quit while that operation is ongoing. -
A progress bar that displays during bulk commands.
-
Short option
-uadded forcode42 high-risk-employee add-risk-tagsandremove-risk-tags.
Fixed
- Fixed bug in bulk commands where value-less fields in csv files were treated as empty strings instead of None.
- Fixed anomaly where the path to the error log on Windows contained mixed slashes.
v0.6.0b2
v0.6.0b1
v0.5.3
v0.5.2
v0.5.1
0.5.1 - 2020-04-27
Fixed
-
Issue that prevented version 0.5.0 from updating its dependencies properly.
-
Issue that prevented the
addandbulk addfunctionality ofdeparting-employeeandhigh-risk-employeefrom successfully adding users to lists when specifying optional fields.