Listing Resource Vulnerabilities
View the vulnerabilities that resources have by searching by vulnerability type and risk level.
For a complete list of flags and variable options for CLI commands, see the Command Line Reference.
Resources
Use the oci cloud-guard resource get command and required parameters to get the details for a specific resource:
oci cloud-guard resource get --resource-id <resource_ocid> [OPTIONS]
Use the oci cloud-guard resource list command and required parameters to list all available resources in a compartment:
oci cloud-guard resource list --compartment-id, -c <compartment_ocid> [OPTIONS]
Resource Port Collection
Use the oci cloud-guard resource-port-collection list-resource-ports command and required parameters to list ports for a specific resource:
oci cloud-guard resource-port-collection list-resource-ports --resource-id <resource_ocid> [OPTIONS]
Resource Vulnerability
Use the oci cloud-guard resource-vulnerability get command and required parameters to get vulnerability details for a specific resource:
oci cloud-guard resource-vulnerability get --resource-id <resource_ocid> [OPTIONS]
Resource Vulnerability Collection
Use the oci cloud-guard resource-vulnerability-collection list-resource-vulnerabilities command and required parameters to list all vulnerabilities for a specific resource:
oci cloud-guard resource-vulnerability-collection list-resource-vulnerabilities --resource-id <resource_ocid> [OPTIONS]
Resources
Run the GetResource operation to get the details for a specific resource.
Run the ListResources operation to list all available resources in a compartment.
Resource PortC ollection
Run the ListResourcePorts operation to list ports for a specific resource.
Resource Vulnerability
Run the GetResourceVulnerability operation to get vulnerability details for a specific resource.
Resource Vulnerability Collection
Run the ListResourceVulnerabilities operation to list all vulnerabilities for a specific resource.
What's Next
- To view the open ports for a resource, see Listing Resource Open Ports.
- To view problems for a resource, see Listing Resource Problems.