Skip to content

Releases: code42/code42cli

v0.7.2

12 Jun 13:30
c192228
Compare
Choose a tag to compare

0.7.2 - 2020-06-11

Fixed

  • Fixed bug that caused alert-rules list to error due to page size restrictions on backing service.

v0.7.1

10 Jun 17:41
7b9b232
Compare
Choose a tag to compare

0.7.1 - 2020-06-10

Fixed

  • Issue that prevented alerts from being retrieved successfully via code42 alerts commands due to a change in its backing API.

v0.7.0

08 Jun 18:01
6619fdf
Compare
Choose a tag to compare

0.7.0 - 2020-06-08

Changed

  • code42cli no longer supports python 2.7.

  • code42 profile create now uses required --name, --server and --username flags instead of positional arguments.

  • code42 high-risk-employee add-risk-tags now uses required --username and --tag flags instead of positional arguments.

  • code42 high-risk-employee remove-risk-tags now uses required --username and --tag flags instead of positional arguments.

Added

  • code42 high-risk-employee bulk supports add-risk-tags and remove-risk-tags.

    • code42 high-risk-employee bulk generate-template <cmd> options add-risk-tags and remove-risk-tags.
      • add-risk-tags that takes a csv file with username and space separated risk tags.
      • remove-risk-tags that 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:
      • print to output to stdout.
      • write-to to output to a file.
      • send-to to output to server via UDP or TCP.
  • code42 alert-rules commands:

    • add-user with parameters --rule-id and --username.
    • remove-user that takes a rule ID and optionally --username.
    • list.
    • show takes a rule ID.
    • bulk with subcommands:
      • add: that takes a csv file with rule IDs and usernames.
      • generate-template: that creates the file template. And parameters:
        • cmd: with options add and remove.
        • path
      • remove: that takes a csv file with rule IDs and usernames.
  • code42 legal-hold commands:

    • add-user with parameters --matter-id/-m and --username/-u.
    • remove-user with parameters --matter-id/-m and --username/-u.
    • list prints out existing active legal hold matters.
    • show takes a matter_id and prints details of the matter.
      • optional argument --include-inactive additionally prints matter memberships that are no longer active.
      • optional argument --include-policy additionally prints out the matter's backup preservation policy in json form.
    • bulk with 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 options add and remove.
        • path
  • Success messages for profile delete and profile 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 -u added for code42 high-risk-employee add-risk-tags and remove-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

02 Jun 15:40
7d52e47
Compare
Choose a tag to compare
v0.6.0b2 Pre-release
Pre-release
bump (#92)

v0.6.0b1

14 May 13:48
5532753
Compare
Choose a tag to compare
v0.6.0b1 Pre-release
Pre-release
prep for prerelease (#59)

v0.5.3

04 May 19:22
68d38e9
Compare
Choose a tag to compare

0.5.3 - 2020-05-04

Fixed

  • Issue introduced in py42 v1.1.0 that prevented high-risk-employee and departing-employee commands from working properly.

v0.5.2

29 Apr 20:49
2ce9518
Compare
Choose a tag to compare

0.5.2 - 2020-04-29

Fixed

  • Issue that prevented bulk csv loading.

v0.5.1

27 Apr 19:21
0624a09
Compare
Choose a tag to compare

0.5.1 - 2020-04-27

Fixed

  • Issue that prevented version 0.5.0 from updating its dependencies properly.

  • Issue that prevented the add and bulk add functionality of departing-employee and high-risk-employee from successfully adding users to lists when specifying optional fields.

v0.5.0

24 Apr 18:23
38067f2
Compare
Choose a tag to compare

0.5.0 - 2020-04-24

Changed

  • securitydata renamed to security-data.
  • From security-data related subcommands (such as print):
    • --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 options add and remove.
        • 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 options add and remove.
        • 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. Use code42 profile create instead.

v0.4.3

17 Mar 12:38
231cf93
Compare
Choose a tag to compare

0.4.3 - 2020-03-17

Added

  • Support for storing passwords when keying is not available.