NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Audit Log → Read Audit Log

AI-generated

Summary

Fetch audit log entries with optional filters such as date range, domain, user, etc.

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • GetAuditlog__query__datetime-start —
  • GetAuditlog__query__datetime-end —
  • GetAuditlog__query__by-ip —
  • GetAuditlog__query__action-type —
  • GetAuditlog__query__target-domain —
  • GetAuditlog__query__target-object —
  • GetAuditlog__query__target-host —
  • GetAuditlog__query__target-user —
  • GetAuditlog__query__by-client —
  • GetAuditlog__query__by-domain —

Output shape

a list of audit log entries

Results may be paginated; optional filtering fields can be used; on error only a failure response is returned.

Examples

Example 1: Retrieve recent audit logs for a specific domain

refreshOptions=true, datetime-start=2024-09-23T00:00:00Z, datetime-end=2024-09-24T00:00:00Z, by-domain=example.com

Example 2: List all audit log entries for the past week

datetime-start=2024-09-17T00:00:00Z, datetime-end=2024-09-24T00:00:00Z

Links

Discussion