Skip to main content
Question

How to get security logs using Box Eventlog API

  • May 22, 2025
  • 9 replies
  • 58 views

Forum|alt.badge.img

Hi, 

I have been fiddling with box eventlog api lately, and for me security logs such as setting changes etc doesnt shows up in event log response. Is it possible to get it somehow ? Or I m doing it wrong 

9 replies

Forum|alt.badge.img

Hi . Which feed are you requesting. Seehttps://developer.box.com/en/reference/get-events/#param-stream_type for details


Forum|alt.badge.img

Hi  , thanks for quick reply. I am using admin_log stream type.

 

I need to get the security logs when some settings are changed, similiar to security log report (Security log report ).

 

Thanks


Forum|alt.badge.img

The list of event types for that log are listed here https://developer.box.com/en/guides/events/for-enterprise/#event-types

 

Do any of these fit what you are looking for?


Forum|alt.badge.img

I couldnt find any events for setting changes of enterprise in that list.

 

Let me explain, what logs i am looking for

 

When i go to admin console > Enterprise setting > Security  , and make changes such as

  • prevent user from changing their primary email address
  • notify the primary admin of failed login attemps etc

After making changes if i run Security logs report  , this setting changes appear there

e.g

 

BOX_nqs66b6h5py6a1gqkefp8tdlynuy8o09.png

 

But no new logs appears in eventlog api (https://api.box.com/2.0/events?stream_type=admin_logs) 


Forum|alt.badge.img

 any help on this, please


Forum|alt.badge.img

 Unfortunately, we do not have API events equivalent to those in the security log report at this time. 

 

I recommend filing a feature request at pulse.box.com if you'd like to see these added. 


Forum|alt.badge.img

Hi - are there any news regarding this request from 2 years ago, any changes to API to include these events today?


Forum|alt.badge.img

Hello @itamar: There is unfortunately no update to share on this request. Please ensure you add your upvote and/or comments to the feature request for this here: https://pulse.box.com/forums/909778-help-shape-the-future-of-box/suggestions/39264574-add-support-to-get-security-logs-event-using-box-e. 


Forum|alt.badge.img

I found this thread because I am trying to get the same Audit information about Account/Platform changes.  The links to Upvote are all broken and I suppose Box has moved to Uservoice.com but it only gives the Home page.  Is there a new Vote for getting Admin changes to the Integrations and Feature changes to be available using API, specifically MS Sentinel Axure Functions and Box Data Connector?

As a fallback it would be nice to be able to Schedule the Security Log Report.  That is also not something possible as of March 2025.