associate_cs_targets
Associates the specified standard with the listed targets.
Note: When the standard is provided by Oracle, the <std_name> is the standard internal name.
Format
associate_cs_targets -name="<std_name>" -version="<std_version>" -author="<author_name>" -target_list="<target_name>[,<target_name>,<group_name>:Group]*" -target_list_file="<file_name>" [ ] indicates that this option is optional
Options
- 
                        name Name of the standard. 
- 
                        version Version of the standard. 
- 
                        author Author of the standard. When the standard is provided by Oracle, the <std_name> is the standard internal name, for example, sysman. 
- 
                        target_list Name of the target. This option is useful when a compliance standard is to be associated with one or 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 specifies the target_list.
emcli associate_cs_targets -name="secure configuration for host" -version="1" -author="sysman" -target_list="host1,host2,group1:Group"
Example 2
The following example specifies the target_list_file.
emcli associate_cs_targets -name="secure configuration for host" -version="1" -author="sysman" -target_list_file="file with target name list"