Releases: code42/code42cli
Releases · code42/code42cli
v0.5.0
0.5.0 - 2020-04-24
Changed
securitydatarenamed tosecurity-data.- From
security-datarelated subcommands (such asprint):--c42usernameflag renamed to--c42-username.--filenameflag renamed to--file-name.--filepathflag renamed to--file-path.--processOwnerflag renamed to--process-owner.
-b|--beginand-e|--endarguments now accept shorthand date-range strings for days, hours, and minute intervals going back from the current time (e.g.30d,24h,15m).- Default profile validation logic added to prevent confusing error states.
Added
code42 profile updatecommand.code42 profile createcommand.code42 profile deletecommand.code42 profile delete-allcommand.code42 high-risk-employeecommands:bulkwith subcommands:add: that takes a csv file of users.generate-template: that creates the file template. And parameters:cmd: with optionsaddandremove.path
remove: that takes a list of users in a file.
addthat takes parameters:--username,--cloud-alias,--risk-factor, and--notes.removethat takes a username.add-risk-tagsthat takes a username and risk tags.remove-risk-tagsthat takes a username and risk tags.
code42 departing-employeecommands:bulkwith subcommands:add: that takes a csv file of users.generate-template: that creates the file template. And parameters:cmd: with optionsaddandremove.path
remove: that takes a list of users in a file.
addthat takes parameters:--username,--cloud-alias,--departure-date, and--notes.removethat takes a username.
Removed
code42 profile setcommand. Usecode42 profile createinstead.
v0.4.3
v0.4.2
v0.4.1
0.4.1 - 2020-03-13
Fixed
- Bug where
profile reset-pwdid not work with the default profile. - Bug where
profile showindicated a password was set for a different profile. - We now validate credentials when setting a password.
Changed
- Date inputs are now required to be in quotes when they include a time.
v0.4.0
0.4.0 - 2020-03-12
Added
- Support for multiple profiles:
- Optional
--profileflag for:securitydata write-to,print, andsend-to,profile show,set, andreset-pw.
code42 profile usecommand for changing the default profile.code42 profile listcommand for listing all the available profiles.
- Optional
- The following search args can now take multiple values:
--c42username,--actor,--md5,--sha256,--filename,--filepath,--processOwner,--tabURL
Fixed
- Fixed bug where port attached to
securitydata send-tocommand was not properly applied.
Changed
- Begin dates are no longer required for subsequent interactive
securitydatacommands. - When provided, begin dates are now ignored on subsequent interactive
securitydatacommands. --profilearg is now required the first time setting up a profile.
v0.3.0
0.3.0 - 2020-03-04
Added
- Begin and end date now support specifying time:
code42 securitydata print -b 2020-02-02 12:00:00. - If running interactively and errors occur, you will be told them at the end of
code42 securitydatacommands. - New search arguments for
print,write-to, andsend-to:--c42username--actor--md5--sha256--source--filename--filepath--processOwner--tabURL--include-non-exposure
Changed
- It is no longer required to store your password in your profile,
and you will be prompted to enter your password at runtime if you don't. - You will be asked if you would like to set a password after using
code42cli profile set. - Begin date is now required for
securitydataprint,write-to, andsend-tocommands.
Removed
- Removed
--showflag fromcode42 profile setcommand. Just usecode42 profile show.
v0.2.0
0.2.0 - 2020-02-25
Removed
- Removed config file settings and
-cCLI arg. Usecode42 profile set. - Removed
--clear-passwordCLI argument. Usecode42 profile set -p. You will be prompted. - Removed top-level destination args. Use subcommands
write-to.send-to,printoff ofcode42 security data.
Added
- Added ability to view your profile:
code42 profile show. - Added
securitydatasubcommands:- Use
code42 securitydata write-toto output to a file. - Use
code42 securitydata send-toto output to a server. - Use
code42 securitydata printto outputs to stdout. - Use
code42 securitydata clear-cursorto remove the stored cursor for 'incremental' mode.
- Use
- Added support for raw JSON queries via
code42 securitydata [subcommand] --advanced-query [JSON].
Changed
- Renamed base command
c42aedtocode42. - Moved CLI arguments
-s,-u, and--ignore-ssl-errorstocode42 profile setcommand. - Renamed and moved top-level
-rflag.- Use
-ion one of thesesecuritydatasubcommandswrite-to.send-to,print.
- Use
- Moved search arguments to individual
securitydatasubcommandswrite-to.send-to,print.