oci_data_safe_sensitive_type

This resource provides the Sensitive Type resource in Oracle Cloud Infrastructure Data Safe service.

Creates a new sensitive type, which can be a basic sensitive type with regular expressions or a sensitive category. While sensitive types are used for data discovery, sensitive categories are used for logically grouping the related or similar sensitive types.

Example Usage

resource "oci_data_safe_sensitive_type" "test_sensitive_type" {
	#Required
	compartment_id = var.compartment_id
	entity_type = var.sensitive_type_entity_type

	#Optional
	comment_pattern = var.sensitive_type_comment_pattern
	data_pattern = var.sensitive_type_data_pattern
	default_masking_format_id = oci_data_safe_default_masking_format.test_default_masking_format.id
	defined_tags = {"Operations.CostCenter"= "42"}
	description = var.sensitive_type_description
	display_name = var.sensitive_type_display_name
	freeform_tags = {"Department"= "Finance"}
	name_pattern = var.sensitive_type_name_pattern
	parent_category_id = oci_marketplace_category.test_category.id
	search_type = var.sensitive_type_search_type
	short_name = var.sensitive_type_short_name
}

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

Import

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

$ terraform import oci_data_safe_sensitive_type.test_sensitive_type "id"