(DEPRECATED) Manage Detection List Users
Note
Detection Lists have been replaced by Watchlists.
Functionality for adding users to Departing Employee and High Risk Employee categories has been migrated to the code42 watchlists
command group.
Functionality for listing and managing User Risk Profiles (e.g. adding Cloud Aliases, Notes, and Start/End dates to a user profile) has been migrated to the code42 users
command group.
Use the departing-employee
commands to add employees to or remove employees from the Departing Employees list. Use the high-risk-employee
commands to add employees to or remove employees from the High Risk list, or update risk tags for those users.
To see a list of all the users currently in your organization:
Export a list from the Users action menu.
Use the CLI users commands.
Get CSV template
To add multiple users to the Departing Employees list:
Generate a CSV template. Below is an example command for generating a template to use to add employees to the Departing Employees list. Once generated, the CSV file is saved to your current working directory.
code42 departing-employee bulk generate-template add
Use the CSV template to enter the employees’ information. Only the Code42 username is required. If added, the departure date must be in yyyy-MM-dd format. Note: you are only able to add departure dates during the
add
operation. If you don’t include--departure-date
, you can only add one later by removing and then re-adding the employee.Save the CSV file.
Add users to the Departing Employees list
Once you have entered the employees’ information in the CSV file, use the bulk add
command with the CSV file path to
add multiple users at once. For example:
code42 departing-employee bulk add /Users/astrid.ludwig/add_departing_employee.csv
Remove users
You can remove one or more users from the High Risk Employees list. Use code42 departing-employee remove
to remove a
single user.
To remove multiple users at once:
Create a CSV file with one username per line.
Save the file to your current working directory.
Use the
bulk remove
command. For example:
code42 high-risk-employee bulk remove /Users/matt.allen/remove_high_risk_employee.csv
Learn more about the Departing Employee and High Risk Employee commands.