oci_data_safe_user_assessment

This resource provides the User Assessment resource in Oracle Cloud Infrastructure Data Safe service.

Creates a new saved user assessment for one or multiple targets in a compartment. It saves the latest assessments in the specified compartment. If a scheduled is passed in, this operation persists the latest assessments that exist at the defined date and time, in the format defined by RFC3339.

Example Usage

resource "oci_data_safe_user_assessment" "test_user_assessment" {
	#Required
	compartment_id = var.compartment_id
	target_id = oci_cloud_guard_target.test_target.id

	#Optional
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.user_assessment_description
	display_name = var.user_assessment_display_name
	freeform_tags = {"Department"= "Finance"}
	is_assessment_scheduled = var.user_assessment_is_assessment_scheduled
	schedule = var.user_assessment_schedule
}

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

Import

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

$ terraform import oci_data_safe_user_assessment.test_user_assessment "id"