Deleting a Port 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.
- On the Scanning reports list page, select the scan that you want to work with. If you need help finding the list page or the scan, see Listing Port Scans.
- From the select Delete.
- When prompted, confirm the deletion.
Use the oci vulnerability-scanning host scan result port delete command and required parameters to delete the host port scan result identified by the host port scan ID:
oci vulnerability-scanning host scan result port delete --host-port-scan-result-id <port_scan_ocid>
For example:
oci vulnerability-scanning host scan result port delete --host-port-scan-result-id ocid1.vssportscanresult.oc1..exampleuniqueID
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Run the DeleteHostPortScanResult operation to delete the host port scan result identified by the host port scan ID.