Releases: code42/code42cli
Releases · code42/code42cli
v0.5.0
0.5.0 - 2020-04-24
Changed
securitydata
renamed tosecurity-data
.- From
security-data
related subcommands (such asprint
):--c42username
flag renamed to--c42-username
.--filename
flag renamed to--file-name
.--filepath
flag renamed to--file-path
.--processOwner
flag renamed to--process-owner
.
-b|--begin
and-e|--end
arguments 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 update
command.code42 profile create
command.code42 profile delete
command.code42 profile delete-all
command.code42 high-risk-employee
commands:bulk
with subcommands:add
: that takes a csv file of users.generate-template
: that creates the file template. And parameters:cmd
: with optionsadd
andremove
.path
remove
: that takes a list of users in a file.
add
that takes parameters:--username
,--cloud-alias
,--risk-factor
, and--notes
.remove
that takes a username.add-risk-tags
that takes a username and risk tags.remove-risk-tags
that takes a username and risk tags.
code42 departing-employee
commands:bulk
with subcommands:add
: that takes a csv file of users.generate-template
: that creates the file template. And parameters:cmd
: with optionsadd
andremove
.path
remove
: that takes a list of users in a file.
add
that takes parameters:--username
,--cloud-alias
,--departure-date
, and--notes
.remove
that takes a username.
Removed
code42 profile set
command. Usecode42 profile create
instead.
v0.4.3
v0.4.2
v0.4.1
0.4.1 - 2020-03-13
Fixed
- Bug where
profile reset-pw
did not work with the default profile. - Bug where
profile show
indicated 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
--profile
flag for:securitydata write-to
,print
, andsend-to
,profile show
,set
, andreset-pw
.
code42 profile use
command for changing the default profile.code42 profile list
command 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-to
command was not properly applied.
Changed
- Begin dates are no longer required for subsequent interactive
securitydata
commands. - When provided, begin dates are now ignored on subsequent interactive
securitydata
commands. --profile
arg 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 securitydata
commands. - 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
securitydata
print
,write-to
, andsend-to
commands.
Removed
- Removed
--show
flag fromcode42 profile set
command. Just usecode42 profile show
.
v0.2.0
0.2.0 - 2020-02-25
Removed
- Removed config file settings and
-c
CLI arg. Usecode42 profile set
. - Removed
--clear-password
CLI argument. Usecode42 profile set -p
. You will be prompted. - Removed top-level destination args. Use subcommands
write-to
.send-to
,print
off ofcode42 security data
.
Added
- Added ability to view your profile:
code42 profile show
. - Added
securitydata
subcommands:- Use
code42 securitydata write-to
to output to a file. - Use
code42 securitydata send-to
to output to a server. - Use
code42 securitydata print
to outputs to stdout. - Use
code42 securitydata clear-cursor
to 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
c42aed
tocode42
. - Moved CLI arguments
-s
,-u
, and--ignore-ssl-errors
tocode42 profile set
command. - Renamed and moved top-level
-r
flag.- Use
-i
on one of thesesecuritydata
subcommandswrite-to
.send-to
,print
.
- Use
- Moved search arguments to individual
securitydata
subcommandswrite-to
.send-to
,print
.