Data Source: oci_data_safe_user_assessment_profile_analytics

This data source provides the list of User Assessment Profile Analytics in Oracle Cloud Infrastructure Data Safe service.

Gets a list of aggregated user profile details in the specified compartment. This provides information about the overall profiles available. For example, the user profile details include how many users have the profile assigned and do how many use password verification function. This data is especially useful content for dashboards or to support analytics.

When you perform the ListProfileAnalytics 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.

The parameter compartmentIdInSubtree applies when you perform ListProfileAnalytics on the compartmentId passed and when it is set to true, the entire hierarchy of compartments can be returned.

To use ListProfileAnalytics 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_user_assessment_profile_analytics" "test_user_assessment_profile_analytics" {
	#Required
	compartment_id = var.compartment_id
	user_assessment_id = oci_data_safe_user_assessment.test_user_assessment.id

	#Optional
	access_level = var.user_assessment_profile_analytic_access_level
	compartment_id_in_subtree = var.user_assessment_profile_analytic_compartment_id_in_subtree
	profile_name = oci_optimizer_profile.test_profile.name
	target_id = oci_cloud_guard_target.test_target.id
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

UserAssessmentProfileAnalytic Reference

The following attributes are exported: