remove_cs_target_association
指定した標準ターゲット・アソシエーションを削除します。
ノート: 標準がOracleによって提供されている場合、<std_name>は標準の内部名です。
書式
remove_cs_target_association -name="<std_name>" -version="<std_version>" -author="<author_name>" -target_list="<target_name>[,<target_name>]*" -target_list_file="<file_name>"
オプション
-
name
標準の名前。
-
version
標準のバージョン。
-
author
標準の作成者。
-
target_list
ターゲットの名前。少数のターゲットからコンプライアンス標準アソシエーションを削除する場合、このオプションを使用します。ターゲットはカンマで区切ります。グループ・ターゲットを指定する場合、:Groupを追加する必要があります。次に例を示します。
-target_list="slc0host" -target_list="slc0host,slc-host01" -target_list="slc0host,host_grps:Group"
-
target_list_file
ターゲットのリストが含まれるファイルの名前。ターゲットは、カンマ区切りの値であっても、ターゲットが個別行にリストされたファイル内にあってもかまいません。次に例を示します。
-target_list_file=slc0host,slc0host1,slc0host02 -target_list_file="slc0host.txt" Where slc0host.txt contains the following lines: slc0host slc0host01 slc0host02
ノート: target_listオプションまたはtarget_list_fileオプションを使用してください。
例
例1
次の例では、secure configuration for hostという名前の標準ターゲット・アソシエーションを削除し、target_listオプションを使用して、標準に関連付けられたターゲットを削除します。
emcli remove_cs_target_association -name="secure configuration for host" -version="1" -author="sysman" -target_list="host1,host2"
例2
次の例では、secure configuration for hostという名前の標準ターゲット・アソシエーションを削除し、target_list_fileオプションを使用して、標準に関連付けられたターゲットを削除します。ファイルにリストされているターゲットはカンマ区切りの値であるか、各ターゲットが個別行にリストされています。
emcli remove_cs_target_association -name="secure configuration for host" -version="1" -author="sysman" -target_list_file="file with target name list"