12.5 Analyzing Data with Insight Queries

Identity Governance provides the ability to query data interactively by using Insight Queries. You can query the catalog across entity types, such as finding all users that have access to a certain permission. You can also query compliance activity and other information such as finding all users who have outstanding revocations.

To access Insight Queries, you must have one of the following authorizations:

  • Customer, Global, Data, or Governance Insights Administrator

  • Auditor

Insight queries are interactive, allowing you to change query options and update results without having to open a new window each time. You can download queries and import them and you can also download results of the queries. You can also create custom metrics using a query to populate the SQL statement and the metric columns fields. For more information about custom metrics, see Creating Custom Metrics.

To create Insight Queries:

  1. Log in as a Customer, Global, Data, or Governance Insights Administrator or Auditor.

  2. Select Catalog > Governance Insights.

  3. Select the + icon to create a query.

  4. Specify the desired search criteria. The criteria includes a set of entity types, cross references, and additional filters that can be used to filter the result set based on specific entity type.

    1. Select an entity type. For example, for queries related to fulfillment requests, select Change Requests. For queries related to identities, select Identities.

    2. (Optional) Add a cross-reference filter. Cross-reference filters are relationships between the selected entity type being searched and other entities in the system. You can limit the query based on the specified filter using the with option or use with or without option to expand the search. For example, if you are searching for identities and want to only find all identities that are included as members of business roles, then add with Business Role Inclusion as a cross-reference filter. If you want to find users who might or might not have violated a Separation of Duty policy, then add with or without Violating SoD cross-reference filter. For a detailed list of cross-reference filters, see the Identity Governance Insight Query Technical Reference.

    3. (Optional) Select the filter icon to add attribute conditions and sub-expressions using the expression builder. For example, if you are searching for identities with a specific Title attribute, then add a condition specifying Title equal to the desired value, such as Reviewer.

      NOTE:When searching for attribute values to include as search criteria, you can use the typeahead feature to select a value from the current catalog that matches your criteria, or type a partial string and press Enter. For information about supported wildcards, see Section 12.4.1, Supported Wildcards and Handling Wildcards as Literal Characters.

  5. Select the columns (attributes) to include in the results. The column order for the results matches the order you specify, and you can drag and drop the listed columns to change the order of display.

    Default columns display automatically in the selected column list when changing the searched entity type or when adding a cross-reference filter. Columns associated with a cross-reference filter are also automatically removed from the selected column list when you remove the reference filter.

  6. (Conditional) When querying large data, download the results to a CSV file.

    Use the Download option instead of running the query to optimize performance and avoid the query from timing out and displaying an error even though the query ran successfully in the background. Download again when you change the query options.

    1. Click the Download icon, next to the Save icon, to save the results to a CSV file.

    2. Type the query name or a meaningful description.

    3. Select Download.

    4. Select the Download icon on the top title bar to access the saved file and download the file.

    5. (Optional) Delete the file after downloading.

      NOTE:The downloaded files will be automatically deleted based on your default download retention day settings. For information about customizing download settings, see Section 4.9, Customizing Download Settings.

  7. (Optional) Select the Run icon to see query results on the Insight Query page. If you experience a connection timeout in the browser, this may be due to a large result set. Downloading the results to a CSV will avoid the timeout and allow you to view your data. You can also try and change the query options, then select the Run icon to update the results.

  8. Select the Save icon to save the query.

If you include columns that contain multi-valued attributes, the query results contain multiple rows for those columns.

Identity Governance combines duplicate rows in the query results lists to avoid showing many rows with same value. For example, a query of identities on the Title attribute lists only one row for each title in your catalog, even though multiple identities might share the same title. In Oracle environments, the following object types and attributes do show multiple rows in the query results if you select any of them as a column:

  • User: Geo Location

  • Access Request Item: Change Item Comment

  • Change Item Action: Item Comment