Shield Events not showing in API Call Respond

Hi,

I am using the following API call, yet it is not responding with the Shield alerts showing under the dashboard.

https://{{api.box.com}}/2.0/events?event_type=SHIELD_ALERT&created_before=2023-08-10T10:53:43-08:00

Appreciate your help

Hi,

The event_type is only used if the stream_type is set to admin_logs or admin_logs_streaming, check it out here.

So just add the missing parameter and it should work, for e.g.:

curl --location 'https://api.box.com/2.0/events?stream_type=admin_logs&event_type=SHIELD_ALERT' \
--header 'Authorization: Bearer Aw...nN' \

Cheers