Auth0
This guide walks through how to set up Auth0 logs in Scanner Collect, using Auth0 log streams with custom webhooks to send logs directly to Scanner’s HTTP receiver.
Create a Collect Rule
Create a New Source
In the Scanner UI, go to the Collect tab.
From the Overview page click the '+' icon in the upper right corner
Select create new Collect Rule
Click Select a Source Type.
Choose Auth0.
For Ingest Method, select HTTP Push.
For Destination, select Scanner.
If you only want logs stored in your S3 buckets (without indexing or detection), choose AWS S3 Only. This guide assumes you’re using Scanner as the destination.
Configure in Auth0
Log in at
auth0.com.Navigate to Monitoring → Log Streams.
Click + Create Log Stream.
Click Custom Webhook.
Set a name such as
Send logs to Scanner.Click Create.
Set the Payload URL to the collect URL provided by scanner.
Set Authorization Token to
Bearer ${BEARER_TOKEN}Note: Auth0 requires the
Bearerprefix. If you set your generated token tofooin scanner, it should be set toBearer fooin Auth0.
Content Type should be
application/json(the default)Content Format should be
JSON Lines(the default)Set all other fields per your desired configuration.
Filter logs / obscure logs / start streaming logs at a specific time in the future/past.
Click Save.
After creation, you can check the Health of your Auth0 Stream for any errors as reported by Auth0.
Once routing is complete, logs will flow from Auth0 → Scanner HTTP Receiver → S3 → Scanner index.
Create an Index Rule
Logs flow from Auth0 → Scanner’s HTTP receiver → your S3 bucket. Create an Index Rule to have Scanner index those logs for fast search and detections.
Auth0 Defaults
When you create the Index Rule from the Collect Rule, the following defaults are pre-populated:
Transformations: Add Metadata, Parse JSON Columns, ECS Normalization: Auth0
Timestamp Field:
.data.date(falls back to.detail.data.date)
Last updated
Was this helpful?