oci_data_safe_unset_security_assessment_baseline

This resource provides the Unset Security Assessment Baseline resource in Oracle Cloud Infrastructure Data Safe service.

Removes the baseline setting for the saved security assessment associated with the targetId passed via body. If no body or empty body is passed then the baseline settings of all the saved security assessments pertaining to the baseline assessment OCID provided in the path will be removed. Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource.

Example Usage

resource "oci_data_safe_unset_security_assessment_baseline" "test_unset_security_assessment_baseline" {
	#Required
	security_assessment_id = oci_data_safe_security_assessment.test_security_assessment.id

	#Optional
	target_ids = var.unset_security_assessment_baseline_target_ids
}

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 Unset Security Assessment Baseline * update - (Defaults to 20 minutes), when updating the Unset Security Assessment Baseline * delete - (Defaults to 20 minutes), when destroying the Unset Security Assessment Baseline

Import

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

$ terraform import oci_data_safe_unset_security_assessment_baseline.test_unset_security_assessment_baseline "id"