remove_cs_target_association
Removes the specified standard target associations.
Note: When the standard is provided by Oracle, the <std_name> is the standard internal name.
Format
remove_cs_target_association -name="<std_name>" -version="<std_version>" -author="<author_name>" -target_list="<target_name>[,<target_name>]*" -target_list_file="<file_name>"
Options
-
name
Name of the standard.
-
version
Version of the standard.
-
author
Author of the standard.
-
target_list
Name of the targets. Use this option when removing the compliance standard association from a small number of targets. Targets are separated by commas. When providing a group target, it should be appended with ":Group". Examples are:
-target_list="slc0host" -target_list="slc0host,slc-host01" -target_list="slc0host,host_grps:Group"
-
target_list_file
Name of the file that contains the list of targets. The targets can be either comma-separated values or in a file where the targets are listed on separate lines. Examples are:
-target_list_file=slc0host,slc0host1,slc0host02 -target_list_file="slc0host.txt" Where slc0host.txt contains the following lines: slc0host slc0host01 slc0host02
Note: Use either the target_list option or the target_list_file option.
Examples
Example 1
The following example removes the standard target association named "secure configuration for host" and uses the target_list option to remove the targets associated with the standard.
emcli remove_cs_target_association -name="secure configuration for host" -version="1" -author="sysman" -target_list="host1,host2"
Example 2
The following example removes the standard target association named "secure configuration for host" and uses the target_list_file option to remove the targets associated with the standard. The targets listed in the file are either comma separated values or each target is listed on a separate line.
emcli remove_cs_target_association -name="secure configuration for host" -version="1" -author="sysman" -target_list_file="file with target name list"