Data Source: oci_cloud_guard_data_mask_rules

This data source provides the list of Data Mask Rules in Oracle Cloud Infrastructure Cloud Guard service.

Returns a list of all DataMaskRule resources in the specified compartmentId (OCID) and its subcompartments.

Example Usage

data "oci_cloud_guard_data_mask_rules" "test_data_mask_rules" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	access_level = var.data_mask_rule_access_level
	data_mask_rule_status = var.data_mask_rule_data_mask_rule_status
	display_name = var.data_mask_rule_display_name
	iam_group_id = oci_identity_group.test_group.id
	state = var.data_mask_rule_state
	target_id = oci_cloud_guard_target.test_target.id
	target_type = var.data_mask_rule_target_type
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

DataMaskRule Reference

The following attributes are exported: