Skip to content

Query Risk Events

Request

Returns identity threat / risk events (for example Microsoft Entra Identity Protection risk detections for users), normalized to OCSF.

Operation ID: identity_query_risk_events

Security
BearerAuth
Query
metaArray of strings

Add metadata to the response by invoking meta functions. Documentation for meta functions is available. Not all meta functions are available at every endpoint.

limitinteger or null

Number of events to return. Defaults to 100. A page may hold fewer results than limit, or none, even when more remain; keep paging until the returned cursor is empty.

cursorstring or null

Start search from cursor position.

orderArray of strings

Select a field to order the results by. Defaults to time. To control the direction of the sorting, append [asc] or [desc] to the field name. For example, time[asc] will sort the results by time in ascending order. The ordering defaults to asc if not specified.

filterArray of strings

Filter results by this query. For more information on filtering, refer to our Filtering Guide. Defaults to no filter. If used more than once, the queries are ANDed together.

include_raw_databoolean or null

Include the raw data from the identity provider in the response. Defaults to false.

curl
curl -i -X GET \
  https://api.synqly.com/v1/identity/risk-events \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Bodyapplication/json
cursorstringrequired

Cursor to use to retrieve the next page of results

resultArray of any(Event)required

Identity threat / risk events (for example Microsoft Entra Identity Protection risk detections) normalized to OCSF.

messagesobject or null(MessagesResponse)

Additional messages from the service response that may be helpful to the client.

metaobject or null(MetaResponse)

Various metadata about the results organized by group, then type, then field.

Response
{ "result": [ { … } ], "cursor": "string", "messages": { "problems": [ … ] }, "meta": { "stats": { … }, "api": { … }, "mapping": { … } } }