Data Source: oci_dblm_vulnerability_vulnerabilities
This data source provides the list of Vulnerability Vulnerabilities in Oracle Cloud Infrastructure Dblm service.
Gets the vulnerabilities summary list
Example Usage
data "oci_dblm_vulnerability_vulnerabilities" "test_vulnerability_vulnerabilities" {
#Required
compartment_id = var.compartment_id
#Optional
database_release = var.vulnerability_vulnerability_database_release
display_name = var.vulnerability_vulnerability_display_name
resource_id = oci_cloud_guard_resource.test_resource.id
search_by = var.vulnerability_vulnerability_search_by
severity_type = var.vulnerability_vulnerability_severity_type
state = var.vulnerability_vulnerability_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Optional) The ID of the compartment in which to list resources.database_release
- (Optional) A filter to return only database that match the given release version.display_name
- (Optional) A filter to return only resources that match the entire display name given.resource_id
- (Optional) A filter to return only resources that match the given resource id.search_by
- (Optional) The search input for filter cve id and cve description.severity_type
- (Optional) Filter by one or more severity types. Possible values are critical, high, medium, low, info.state
- (Optional) A filter to return only resources their lifecycleState matches the given lifecycleState.
Attributes Reference
The following attributes are exported:
vulnerability_collection
- The list of vulnerability_collection.
VulnerabilityVulnerability Reference
The following attributes are exported:
items
- Collection of vulnerability summary items.cve_id
- CVE vulnerability IDdescription
- Vulnerability descriptionrisk_level
- Risk level enumerationscore
- Vulnerability scorevulnerable_resources_count
- Number of vulnerable resources