A widget for configuring and monitoring audit log streaming in the Admin Portal.

The <AdminPortalAuditLogStreaming /> widget enables users to configure and monitor audit log streaming to external destinations in the Admin Portal. It displays the streaming status, destination configuration, and connection health.
In order to use the Audit Log Streaming widget, a user must have a role that has the widgets:audit-log-streaming:manage permission.
import { AdminPortalAuditLogStreaming, WorkOsWidgets, } from '@workos-inc/widgets'; /** * @param {string} authToken - A widget token that was fetched in your backend. See the * "Tokens" section of this guide for details on how to generate the token */ export function AdminPortal({ authToken }) { return ( <WorkOsWidgets> <AdminPortalAuditLogStreaming authToken={authToken} /> </WorkOsWidgets> ); }