Data Source: oci_dblm_vulnerability_resources
This data source provides the list of Vulnerability Resources in Oracle Cloud Infrastructure Dblm service.
Lists the summary of vulnerable and clean resourcees
Example Usage
data "oci_dblm_vulnerability_resources" "test_vulnerability_resources" {
#Required
compartment_id = var.compartment_id
#Optional
cve_id = oci_dblm_cve.test_cve.id
database_release = var.vulnerability_resource_database_release
display_name = var.vulnerability_resource_display_name
patch_recommendation = var.vulnerability_resource_patch_recommendation
severity_type = var.vulnerability_resource_severity_type
state = var.vulnerability_resource_state
}
Argument Reference
The following arguments are supported:
compartment_id
- (Required) The required ID of the compartment in which to list resources.cve_id
- (Optional) The id of a CVE.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.patch_recommendation
- (Optional) Filter by one or more severity types. Possible values are upToDate, patchAvailableseverity_type
- (Optional) Filter by one or more severity types. Possible values are critical, high, medium, low, info and none.state
- (Optional) A filter to return only resources their lifecycleState matches the given lifecycleState.
Attributes Reference
The following attributes are exported:
vulnerability_resource_collection
- The list of vulnerability_resource_collection.
VulnerabilityResource Reference
The following attributes are exported:
items
- Collection of assessed resourceschild_pdbs
- PDBs for a CDB.last_changed_by
- Last changed byname
- Name fo the pluggable database.open_mode
- Open modepdb_id
- Identifier for the pluggable database.recovery_status
- Recovery statusrestricted
- Restricted
id
- The resource ID for this resource.image_id
- Identifier for the resource is subscribed to.metric_errors
- Metric errors.content_type
- Content typedata
- Dataerror_type
- Error typelevel
- Levelsubject
- Subjecttime_generated
- Time the error record was generated
name
- The name of the resource.patch_recommendations_details
- List of the patch recommendations for databasesabstract_text
- Description of the patch recommendation.classification_name
- Classification of the patch recommendation.has_fix_for_cve
- If the patch has a fix for a CVE.patch_name
- Name of the patch recommendation.time_evaluated
- Evaluation date for the patch recommendation.time_released
- Release date for the patch.
patch_recommendations_summary
- Summary of the patch recommendations for databases.platform
- A string representing the platform of the resource.release
- A string representing the release of the resource.subscribed_image
- Image the resource is subscribed to.time_config_collected
- Time when the latest configuration collection happened.time_scan_ended
- Time when the latest scan happened for the resource.version
- A string representing the version of the resource.vulnerabilities_summary
- Summary of the resources that are registered and may or may not have vulnerabilities.