Atlantiraptor Docs

m365_audit

Type: Plugin

Read the Microsoft 365 unified audit log (Exchange, SharePoint, OneDrive, Entra ID, Teams…) through the Office 365 Management Activity API. Starts the content subscription when needed.

Argument Type Description
secret string Name of a ‘Microsoft 365 Creds’ secret holding tenant_id, client_id and client_secret.
tenant_id string Tenant ID (GUID) when no secret is used.
client_id string App registration client ID when no secret is used.
client_secret string App registration client secret when no secret is used.
content_type string (required) One of Audit.AzureActiveDirectory, Audit.Exchange, Audit.SharePoint, Audit.General, DLP.All.
start Any Start of the window (default 24 hours ago, at most 7 days ago).
end Any End of the window (default now).
follow bool Keep polling for new audit content. Use in event artifacts.
poll int64 Seconds between polls in follow mode (default 300).
overlap int64 Seconds each poll re-reads before the last one (default 1800).

Required permissions: NETWORK

Platforms: macOS, Linux, Windows