Events
The audit log: every change, as an immutable event. The same events are sent to your webhook endpoints.
The security log: sign-ins, failed attempts, lockouts, keys, roles, exports, erasures and single sign-on changes, newest first, kept a year
GET/v1/security_eventsSecret key · scope security_events:read
Parameters
| Name | In | Description |
|---|---|---|
limit | query | |
starting_after | query | An id from the previous page |
severity | query | one of info, warn, high |
type | query |
Returns
| Field | Type | Description |
|---|---|---|
object required | "list" | |
data required | array of object | |
has_more required | boolean |
Errors
Errors return {"error": {"code", "message", "field", "request_id"}} with a 4xx or 5xx status. See Errors.
curl https://thewavly.com/v1/security_events \
-H "Authorization: Bearer $WAVLY_API_KEY"import { Wavly } from "@thewavly/sdk";
const wavly = new Wavly(process.env.WAVLY_API_KEY);
const result = await wavly.request("GET", "/v1/security_events");from thewavly import Wavly
wavly = Wavly(os.environ["WAVLY_API_KEY"])
result = wavly.request("GET", "/v1/security_events")Response
{
"object": "list",
"data": [
{
"object": "security_event",
"id": "chk_P1iENx01EDRJ",
"type": "type"
}
],
"has_more": true
}The audit log
GET/v1/eventsSecret key · scope events:read
Parameters
| Name | In | Description |
|---|---|---|
limit | query | |
starting_after | query | An id from the previous page |
type | query |
Returns
| Field | Type | Description |
|---|---|---|
object required | "list" | |
data required | array of object | |
has_more required | boolean |
Errors
Errors return {"error": {"code", "message", "field", "request_id"}} with a 4xx or 5xx status. See Errors.
curl https://thewavly.com/v1/events \
-H "Authorization: Bearer $WAVLY_API_KEY"import { Wavly } from "@thewavly/sdk";
const wavly = new Wavly(process.env.WAVLY_API_KEY);
const result = await wavly.request("GET", "/v1/events");from thewavly import Wavly
wavly = Wavly(os.environ["WAVLY_API_KEY"])
result = wavly.request("GET", "/v1/events")Response
{
"object": "list",
"data": [
{
"object": "event",
"id": "chk_P1iENx01EDRJ",
"type": "type"
}
],
"has_more": true
}