PEDM Report Commands

This page gives information of commands related to perform operations related to PEDM audit reports

Overview

This section covers all the Keeper Commander commands for generating PEDM audit reports and analytics. These commands provide detailed insights into PEDM activities including policy usage, audit events, and summary reports. Administrators can analyse privilege elevation events, track policy effectiveness, and generate compliance reports.

This section supports the following commands:

Usage

pedm report command [--options]


Report Policy Usage Command

View which agents are affected by specific policies. This command shows policy-to-agent relationships and can provide summary counts for policy coverage analysis.

DotNet CLI

Command: Coming Soon

DotNet SDK

Function: Coming Soon

Power Commander

Command: Coming Soon

Python CLI

Command: pedm report policy-usage <policy> [policy...]

Aliases: pedm report pu

Flags:

Flag
Description

--summary

Show agent count only

--format

Output format - json, csv, or table

--output

Save output to specified file

policy

Policy UID or * for all policies (required, can specify multiple)

Examples:

Python SDK

Function:

Report Column Command

View unique values and metadata for audit report fields. This command helps discover available columns for reporting and their data types, useful for building custom queries and understanding audit data structure.

DotNet CLI

Command: Coming Soon

DotNet SDK

Function: Coming Soon

Power Commander

Command: Coming Soon

Python CLI

Command: pedm report column <column_name>

Aliases: pedm report c

Flags:

Flag
Description

--syntax-help

Display detailed help about columns

--format

Output format - json, csv, or table

--output

Save output to specified file

column

Column name (required)

Examples:

Python SDK

Function: Not Supported

Report Event Command

Generate detailed audit event reports with customisable filters. This command retrieves individual PEDM events with optional filtering by time, agent, event type, and other dimensions. Supports various output formats and predefined date ranges.

DotNet CLI

Command: Coming Soon

DotNet SDK

Function: Coming Soon

Power Commander

Command: Coming Soon

Python CLI

Command: pedm report event [filter...]

Aliases: pedm report e

Flags:

Flag
Description

--syntax-help

Display filter syntax help

--report-format

Output format - message or fields (default: message)

--timezone

Timezone for results

--limit

Maximum rows to return (max 1000)

--order

Sort order (choices: desc, asc)

--format

Output format - json, csv, or table

--output

Save output to specified file

filter

Report filters (optional, can specify multiple)

Examples:

Filter Syntax Examples:

  • Single value: agent_uid=NJvK0I5RpuF0UFMwRKY_Dw

  • Multiple values: agent_uid=IN(NJvK0I5RpuF0UFMwRKY_Dw, VYLhwqhRvhIpma9e1HoDFw)

  • Range: event_time=BETWEEN 2024-01-01 AND 2024-02-01

  • Predefined dates: event_time=today, event_time=yesterday, event_time=last_7_days, event_time=last_30_days, event_time=month_to_date, event_time=last_month, event_time=year_to_date, event_time=last_year

Python SDK

Function:

Report Summary Command

Generate aggregated audit reports grouped by specified dimensions. This command provides summary statistics like event counts, date ranges, and custom aggregations. Useful for trend analysis and compliance reporting.

DotNet CLI

Command: Coming Soon

DotNet SDK

Function: Coming Soon

Power Commander

Command: Coming Soon

Python CLI

Command: pedm report summary [filter...]

Aliases: pedm report s

Flags:

Flag
Description

--syntax-help

Display syntax help

--report-type

Report aggregation type (choices: hour, day, month, span) - default: span

--group-by

Fields to group by - can be repeated

--aggregate

Aggregation type (choices: occurrences, first_date, last_date) - can be repeated

--timezone

Timezone for results

--limit

Maximum rows to return (max 2000, default 50)

--order

Sort order (choices: desc, asc)

--format

Output format - json, csv, or table

--output

Save output to specified file

filter

Report filters (optional, can specify multiple)

Examples:

Python SDK

Function:

Last updated

Was this helpful?