Code42cli

Latest version: v1.18.0

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

Scan your dependencies

Page 4 of 9

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

1.8.0

Fixed

- Issue where `code42 devices bulk deactivate` and `code42 devices bulk reactivate` would
output incorrect Successes and Failures at the end of the process.

- Bug where `code42 audit-logs search` would fail to store checkpoints when timestamps included
nanoseconds.

- Issue where if an error occurred during `code42 audit-logs search` or `code42 audit-logs send-to`,
the user would get a stored checkpoint without having handled events.

Added

- New command `code42 users update` to update a single user.

- New command `code42 users bulk update` to update users in bulk.

- New command `code42 users move` to move a single user to a different organization.

- New command `code42 users bulk move` to move users in bulk.

Changed

- Now when a user is not found, the error message suggests that it might be because you don't
have the necessary permissions.

1.7.0

Added

- New command `code42 users add-role` to add a user role to a single user.

- New command `code42 users remove-role` to remove a user role from a single user.

- New command `code42 shell` that opens an IPython console with a pre-initialized py42 sdk.

Page 4 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.