Deleting a Host Scan
Delete old reports that you no longer need.
To quickly delete all types of scanning reports in a compartment, see the sample script in Troubleshooting.
- Open the navigation menu and click Identity & Security. Under Scanning, click Scanning Reports.
- Select the compartment in which you created the target.
- Click the Hosts tab.
- Click the name of the scan.
- Click Delete.
- Confirm the deletion.
Use the oci vulnerability-scanning host scan result agent delete command and required parameters to delete the host agent scan result identified by the host agent scan ID:
oci vulnerability-scanning host scan result agent delete --host-agent-scan-result-id <agent_scan_ocid>
For example:
oci vulnerability-scanning host scan result agent delete --host-agent-scan-result-id ocid1.vsshostscanresult.oc1..exampleuniqueID
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the DeleteHostAgentScanResult operation to delete the host agent scan result identified by the host agent scan ID.