Query Details

Visualization of successful PIM activiations

Visualization Pim Activation

Query

AuditLogs
| where OperationName == "Add member to role completed (PIM activation)"
| summarize TotalActivations = count() by Identity
| sort by TotalActivations
| render columnchart

About this query

Visualization of successful PIM activiations

Query Information

Description

This query visualises the PIM activation performed by accounts. A user who has used many different PIM roles may be interesting to examine, it could be that a users always asigns their PIM access rights without needing them all the time. The same goes for PIM roles with high privileges.

References

Sentinel

Explanation

This query is designed to create a visual representation of successful Privileged Identity Management (PIM) activations. Here's a simple breakdown of what it does:

  1. Data Source: It uses the AuditLogs table, which contains logs of various operations.

  2. Filter: It filters the logs to only include entries where the operation name is "Add member to role completed (PIM activation)". This means it focuses on successful activations of PIM roles.

  3. Summarization: It counts the total number of these activations for each user (referred to as Identity).

  4. Sorting: The results are sorted by the total number of activations, from lowest to highest.

  5. Visualization: Finally, it displays the data as a column chart, making it easy to see which users have the most PIM activations.

The purpose of this query is to identify users who frequently activate PIM roles, which might warrant further investigation to ensure they are using these roles appropriately and not over-assigning themselves high-privilege roles unnecessarily.

Details

Bert-Jan Pals profile picture

Bert-Jan Pals

Released: November 17, 2023

Tables

AuditLogs

Keywords

AuditLogsIdentityPIMActivation

Operators

wheresummarizecountbysortrender

Actions

GitHub