requested changes

This commit is contained in:
Daniel Hougaard
2025-01-15 17:50:30 +01:00
parent 9edfdb7234
commit 5fdec97319
@@ -85,13 +85,11 @@ Your Audit Logs are now ready to be streamed.
Each log entry sent to the external logging provider will follow the same structure. Each log entry sent to the external logging provider will follow the same structure.
### Example ### Example Log Entry
Below is an example of a log entry:
```created-secret.json ```created-secret.json
{ {
"id": "7dc1713b-d787-4147-9e21-770be01cc992 ", "id": "7dc1713b-d787-4147-9e21-770be01cc992",
"actor": "user", "actor": "user",
"actorMetadata": { "actorMetadata": {
"email": "[email protected]", "email": "[email protected]",
@@ -128,7 +126,7 @@ Below is an example of a log entry:
</ParamField> </ParamField>
<ParamField path="actorMetadata" type="object" required> <ParamField path="actorMetadata" type="object" required>
The metadata associated with the actor. This differs based on the actor type. The metadata associated with the actor. This varies based on the actor type.
<Accordion title="User Metadata"> <Accordion title="User Metadata">
This metadata is present when the `actor` field is set to `user`. This metadata is present when the `actor` field is set to `user`.
@@ -184,7 +182,7 @@ Below is an example of a log entry:
</ParamField> </ParamField>
<ParamField path="eventMetadata" type="object" required> <ParamField path="eventMetadata" type="object" required>
The metadata associated with the event. This differs based on the event type. The metadata associated with the event. This varies based on the event type.
</ParamField> </ParamField>
<ParamField path="userAgent" type="string"> <ParamField path="userAgent" type="string">
@@ -204,7 +202,7 @@ Below is an example of a log entry:
</ParamField> </ParamField>
<ParamField path="updatedAt" type="string" required> <ParamField path="updatedAt" type="string" required>
The last update date of the log entry. This is an unlikely to be out of sync with the `createdAt` field, as we do not update log entries after they've been created. The last update date of the log entry. This is unlikely to be out of sync with the `createdAt` field, as we do not update log entries after they've been created.
</ParamField> </ParamField>
<ParamField path="orgId" type="string" required> <ParamField path="orgId" type="string" required>