Skip to content

feat: add get audit events support#30

Merged
kaincenteno merged 1 commit into
mainfrom
get-audit-events
May 16, 2026
Merged

feat: add get audit events support#30
kaincenteno merged 1 commit into
mainfrom
get-audit-events

Conversation

@kaincenteno
Copy link
Copy Markdown
Owner

@kaincenteno kaincenteno commented May 16, 2026

Implements the Get Audit Events endpoint from the Apple Business Manager API.

  • models.py — adds AuditEvent and AuditEventsResponse models
  • abm_requests.py — adds get_audit_events with support for all query filters (startTimestamp, endTimestamp, actorId, subjectId, type, limit, fields, cursor) and automatic pagination via next URL
  • client.py — adds get_audit_events that auto-paginates and returns a flat List[AuditEvent]
  • cli.py — adds audit-events command with start_timestamp and end_timestamp as required arguments and all filters as options
  • cli.md — Documents the new audit-events command, its required arguments, and all available options in the CLI reference

Implements the Get Audit Events endpoint from the Apple Business Manager API.
- `models.py` — adds `AuditEvent` and `AuditEventsResponse` models
- `abm_requests.py` — adds `get_audit_events` with support for all query filters (`startTimestamp`, `endTimestamp`, `actorId`, `subjectId`, `type`, `limit`, `fields`, `cursor`) and automatic pagination via `next` URL
- `client.py` — adds `get_audit_events` that auto-paginates and returns a flat `List[AuditEvent]`
- `cli.py` — adds `audit-events` command with `start_timestamp` and `end_timestamp` as required arguments and all filters as options
- `cli.md` — Documents the new `audit-events` command, its required arguments, and all available options in the CLI reference
@kaincenteno kaincenteno merged commit 6cc5d11 into main May 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant