Data Source: oci_data_safe_security_assessment_finding_analytics

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

Gets a list of findings aggregated details in the specified compartment. This provides information about the overall state of security assessment findings. You can use groupBy to get the count of findings under a certain risk level and with a certain findingKey, and as well as get the list of the targets that match the condition. This data is especially useful content for the statistic chart or to support analytics.

When you perform the ListFindingAnalytics operation, if the parameter compartmentIdInSubtree is set to "true," and if the parameter accessLevel is set to ACCESSIBLE, then the operation returns statistics from the 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.

Example Usage

data "oci_data_safe_security_assessment_finding_analytics" "test_security_assessment_finding_analytics" {
    #Required
    compartment_id = var.compartment_id

    #Optional
    access_level = var.security_assessment_finding_analytic_access_level
    compartment_id_in_subtree = var.security_assessment_finding_analytic_compartment_id_in_subtree
    finding_key = var.security_assessment_finding_analytic_finding_key
    group_by = var.security_assessment_finding_analytic_group_by
    is_top_finding = var.security_assessment_finding_analytic_is_top_finding
    severity = var.security_assessment_finding_analytic_severity
    top_finding_status = var.security_assessment_finding_analytic_top_finding_status
}

Argument Reference

The following arguments are supported:

Attributes Reference

The following attributes are exported:

SecurityAssessmentFindingAnalytic Reference

The following attributes are exported: