Code42cli

Latest version: v1.19.0

Safety actively analyzes 724607 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 9

1.12.0

Fixed
- Bug where device settings were unable to be serialized to json.

Added
- `--columns` option to `security-data search` and `security-data send-to` commands which reduces output to only the specified colums/json keys. Accepts a comma-separated list of column names (case-insensitive).

Changed
- Improved accuracy of checkpointing for `security-data search` (checkpoints every row as it is printed to stdout instead of just the last event of the search response).

1.11.1

Changed
- Updated minimum version of py42 to `1.19.3` to provide access to updated URI paths for new standardized versioning scheme.

1.11.0

Fixed

- Incorrect column title on `code42 trusted-activities bulk create` command help text.
- `code42 devices list` will now process `--exclude-most-recently-connected` prior to `--last-connected-before` instead of after.
- The minimum required version of Python for code42cli is now correctly set as 3.6.2.

Added

- New bulk commands to manage user roles
- `code42 users bulk add-roles`
- `code42 users bulk remove-roles`

- New option `--include-roles` on `code42 users list` that includes the roles for all users.

- New command `code42 users show <username>` that prints all the details of that user.

- New commands to view orgs
- `code42 users orgs list`
- `code42 users orgs show <org-uid>`

1.10.0

Added

- New option `--include-legal-hold-membership` on command `code42 users list` that includes the legal hold matter name and ID for any user on legal hold.

- New commands for deactivating/reactivating Code42 user accounts:
- `code42 users deactivate`
- `code42 users reactivate`
- `code42 users bulk deactivate`
- `code42 users bulk reactivate`

- `code42 profile use` now prompts you to select a profile when not given a profile name argument.

- New `trusted-activities` commands for managing trusted activities and resources:
- `code42 trusted-activities create` to create a trusted activity.
- `code42 trusted-activities update` to update a trusted activity.
- `code42 trusted-activities remove` to remove a trusted activity.
- `code42 trusted-activities list` to print the details of all trusted activities.
- `code42 trusted-activities bulk create` to bulk create trusted activities from a CSV file.
- `code42 trusted-activities bulk update` to bulk update trusted activities from a CSV file.
- `code42 trusted-activities bulk remove` to bulk remove trusted activities from a CSV file.

Fixed

- Bug where `audit-logs search` with `--use-checkpoint` option was causing output formatting problems.
- Improve error message for `code42 users list`, `code42 devices list`, `code42 devices list-backup-sets`

1.9.0

Added

- `code42 profile` commands that validate passwords (`create`, `update`, `reset-pw`) now have the `--debug` option available, and `create` and `update` can now also pass in `--totp` as an option.

- New command options for `code42 security-data search`
- `--risk-indicator` to filter events by risk indicators.
- `--risk-severity` to filter events by risk severity.

Changed

- A TOTP token is now required on `code42 profile` commands that check for password validity when a user has MFA enabled.

- Updated minimum version of py42 to `1.18.0` to provide access to `FIRST_DESTINATION_USE` and `RARE_DESTINATION_USE` search filters.

Fixed

- `code42 profile delete` command now prints a clear error message when deletion target doesn't exist.

1.8.1

Fixed

- The `chardet` library is now an explicit dependency, resolving dependency issues for fresh installations using latest `requests` v.2.26.0

Page 4 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.