ホスト・スキャンの脆弱性のエクスポート
ホストの脆弱性のリストをCSV形式でコンパートメントにエクスポートします。
このタスクはコンソールを使用して実行できません。
oci vulnerability-scanning host vulnerability export-CSVコマンドおよび必須パラメータを使用して、ホストの脆弱性のリストをCSV形式でコンパートメントにエクスポートします:
export compartment_id=<substitute-value-of-compartment_id> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/vulnerability-scanning/host/vulnerability/export-csv.html#cmdoption-compartment-id export file=<substitute-value-of-file> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/vulnerability-scanning/host/vulnerability/export-csv.html#cmdoption-file export time_last_detected_greater_than_or_equal_to=<substitute-value-of-time_last_detected_greater_than_or_equal_to> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/vulnerability-scanning/host/vulnerability/export-csv.html#cmdoption-time-last-detected-greater-than-or-equal-to export time_last_detected_less_than_or_equal_to=<substitute-value-of-time_last_detected_less_than_or_equal_to> # https://docs.cloud.oracle.com/en-us/iaas/tools/oci-cli/latest/oci_cli_docs/cmdref/vulnerability-scanning/host/vulnerability/export-csv.html#cmdoption-time-last-detected-less-than-or-equal-to oci vulnerability-scanning host vulnerability export-csv --compartment-id $compartment_id --file $file --time-last-detected-greater-than-or-equal-to $time_last_detected_greater_than_or_equal_to --time-last-detected-less-than-or-equal-to $time_last_detected_less_than_or_equal_to
CLIコマンドのフラグおよび変数オプションの完全なリストは、コマンドライン・リファレンスを参照してください。
ExportHostVulnerabilityCsv操作を実行して、ホストの脆弱性のリストをCSV形式でコンパートメントにエクスポートします。