oci_dblm_vulnerability_scan

This resource provides the Vulnerability Scan resource in Oracle Cloud Infrastructure Dblm service.

!> WARNING: End of Life: Database Lifecycle Management is deprecated and will reach end of life in January 2027. DBLM Terraform resources and data sources will no longer be supported after that date.

Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/

Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dblm

Creates a VulnerabilityScan.

Example Usage

resource "oci_dblm_vulnerability_scan" "test_vulnerability_scan" {
	#Required
	compartment_id = var.compartment_id
	vulnerability_scan_type = var.vulnerability_scan_vulnerability_scan_type
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Vulnerability Scan * update - (Defaults to 20 minutes), when updating the Vulnerability Scan * delete - (Defaults to 20 minutes), when destroying the Vulnerability Scan

Import

VulnerabilityScans can be imported using the id, e.g.

$ terraform import oci_dblm_vulnerability_scan.test_vulnerability_scan "id"