Data Source: oci_data_safe_sensitive_column_analytics

This data source provides the list of Sensitive Column Analytics in Oracle Cloud Infrastructure Data Safe service.

Gets consolidated sensitive columns analytics data based on the specified query parameters.

When you perform the ListSensitiveColumnAnalytics operation, if the parameter compartmentIdInSubtree is set to “true,” and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns compartments in which the requestor has INSPECT permissions on at least one resource, directly or indirectly (in subcompartments). If the operation is performed at the root compartment and the requestor does not have access to at least one subcompartment of the compartment specified by compartmentId, then “Not Authorized” is returned.

To use ListSensitiveColumnAnalytics to get a full list of all compartments and subcompartments in the tenancy from the root compartment, set the parameter compartmentIdInSubtree to true and accessLevel to ACCESSIBLE.

Example Usage

data "oci_data_safe_sensitive_column_analytics" "test_sensitive_column_analytics" {
	#Required
	compartment_id = var.compartment_id

	#Optional
	access_level = var.sensitive_column_analytic_access_level
	column_name = var.sensitive_column_analytic_column_name
	compartment_id_in_subtree = var.sensitive_column_analytic_compartment_id_in_subtree
	group_by = var.sensitive_column_analytic_group_by
	object = var.sensitive_column_analytic_object
	schema_name = var.sensitive_column_analytic_schema_name
	sensitive_data_model_id = oci_data_safe_sensitive_data_model.test_sensitive_data_model.id
	sensitive_type_group_id = oci_data_safe_sensitive_type_group.test_sensitive_type_group.id
	sensitive_type_id = oci_data_safe_sensitive_type.test_sensitive_type.id
	target_id = oci_cloud_guard_target.test_target.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

SensitiveColumnAnalytic Reference

The following attributes are exported: