oci_data_safe_set_security_assessment_baseline

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

Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type ‘SAVED’.

Example Usage

resource "oci_data_safe_set_security_assessment_baseline" "test_set_security_assessment_baseline" {
	#Required
	security_assessment_id = oci_data_safe_security_assessment.test_security_assessment.id

	#Optional
	assessment_ids = var.set_security_assessment_baseline_assessment_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 Set Security Assessment Baseline * update - (Defaults to 20 minutes), when updating the Set Security Assessment Baseline * delete - (Defaults to 20 minutes), when destroying the Set Security Assessment Baseline

Import

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

$ terraform import oci_data_safe_set_security_assessment_baseline.test_set_security_assessment_baseline "id"