trusted-activities¶
Manage trusted activities and resources.
trusted-activities [OPTIONS] COMMAND [ARGS]...
bulk¶
Tools for executing bulk trusted activity actions.
trusted-activities bulk [OPTIONS] COMMAND [ARGS]...
create¶
Bulk create trusted activities using a CSV file with format: type,value,description.
Available type values are: DOMAIN|SLACK
trusted-activities bulk create [OPTIONS] CSV_FILE
Options
-
-d
,
--debug
¶
Turn on debug logging.
-
--totp
<totp>
¶ TOTP token for multi-factor authentication.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
CSV_FILE
¶
Required argument
generate-template¶
Generate the CSV template needed for bulk trusted-activities commands
trusted-activities bulk generate-template [OPTIONS] [create|update|remove]
Options
-
-p
,
--path
<path>
¶ Write template file to specific file path/name.
Arguments
-
CMD
¶
Required argument
remove¶
Bulk remove trusted activities using a CSV file with format: resource_id.
trusted-activities bulk remove [OPTIONS] CSV_FILE
Options
-
-d
,
--debug
¶
Turn on debug logging.
-
--totp
<totp>
¶ TOTP token for multi-factor authentication.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
CSV_FILE
¶
Required argument
update¶
Bulk update trusted activities using a CSV file with format: resource_id,value,description.
trusted-activities bulk update [OPTIONS] CSV_FILE
Options
-
-d
,
--debug
¶
Turn on debug logging.
-
--totp
<totp>
¶ TOTP token for multi-factor authentication.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
CSV_FILE
¶
Required argument
create¶
Create a trusted activity.
VALUE is the name of the domain or Slack workspace.
trusted-activities create [OPTIONS] [DOMAIN|SLACK] VALUE
Options
-
--description
<description>
¶ The description of the trusted activity.
-
-d
,
--debug
¶
Turn on debug logging.
-
--totp
<totp>
¶ TOTP token for multi-factor authentication.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
TYPE
¶
Required argument
-
VALUE
¶
Required argument
list¶
List all trusted activities.
trusted-activities list [OPTIONS]
Options
-
--type
<type>
¶ Options: DOMAIN|SLACK
-
-f
,
--format
<format>
¶ The output format of the result. Defaults to table format.
Options: TABLE|CSV|JSON|RAW-JSON
-
-d
,
--debug
¶
Turn on debug logging.
-
--totp
<totp>
¶ TOTP token for multi-factor authentication.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
remove¶
Remove a trusted activity. Requires the activity’s resource ID.
trusted-activities remove [OPTIONS] RESOURCE_ID
Options
-
-d
,
--debug
¶
Turn on debug logging.
-
--totp
<totp>
¶ TOTP token for multi-factor authentication.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
RESOURCE_ID
¶
Required argument
update¶
Update a trusted activity. Requires the activity’s resource ID.
trusted-activities update [OPTIONS] RESOURCE_ID
Options
-
--value
<value>
¶ The value of the trusted activity, such as the domain or Slack workspace name.
-
--description
<description>
¶ The description of the trusted activity.
-
-d
,
--debug
¶
Turn on debug logging.
-
--totp
<totp>
¶ TOTP token for multi-factor authentication.
-
--profile
<profile>
¶ The name of the Code42 CLI profile to use when executing this command.
Arguments
-
RESOURCE_ID
¶
Required argument