Ingest logs and data from Box
Collect Box data from Cortex Cloud.
Cortex Cloud can ingest different types of data from Box enterprise accounts using the Box data collector. To receive logs and data from Box enterprise accounts via the Box REST APIs, you must configure the Collection Integrations settings in Cortex Cloud based on your Box enterprise account credentials. After you set up data collection, Cortex Cloud begins receiving new logs and data from the source.
When Cortex Cloud begins receiving logs, the app creates a new dataset for the different types of data that you are collecting, which you can use to initiate XQL Search queries. For example queries, refer to the in-app XQL Library. For all logs, Cortex Cloud can generate Cortex Cloud issues (Analytics, Correlation Rules, IOC, and BIOC), when relevant, from Box logs. While Correlation Rules issues are generated on non-normalized and normalized logs, Analytics, IOC, and BIOC issues are only generated on normalized logs.
The following table provides a brief description of the different types of data you can collect, the collection method and fetch interval for new data collected, the name of the dataset to use in Cortex Cloud to query the data using XQL Search, and whether the data is normalized.
Events and security alerts
Events (admin_logs)
Retrieves events related to file/folder management, permission changes, access and login activities, user/groups management, folder collaboration, file/folder sharing, security settings changes, tasks, permission changes on folders, storage expiration and data retention, and workflows.
Appends data
60 seconds
box_admin_logs_raw
When relevant, Cortex Cloud normalizes SaaS audit event logs into stories, which are collected in a dataset called saas_audit_logs.
Box Shield Alerts
Retrieves security alerts related to suspicious locations, suspicious sessions, anomalous download, and malicious content. Note: Collecting Box Shield Alerts requires implementing Box Shield,
Appends data
60 seconds
box_shield_alerts_raw
—
Directory and metadata
Users
Lists user data.
Overwrites data
10 minutes
box_users_raw
—
Groups
Lists user group data.
Overwrites data
10 minutes
box_groups_raw
—
Configure Cortex Cloud to receive logs and data from Box.
Complete the prerequisites mentioned above for your Box enterprise account.
Create a new app in your Box account.
Log in to your Box account, and in the Dev Console, click Create New App.
Select Custom App.
Set these settings in the Custom App dialog:
Select Server Authentication (Client Credentials Grant).
Specify an App Name.
Click Create App. The new app is created and the opened in the Configuration tab.
In the Configuration tab of the new app, scroll down to the following sections and configure the app.
In the App Access Level section, select App + Enterprise Access.
In the Application Scopes section, set the following Administrative Action permissions depending on the type of data you want to collect.
Administrative actionData typeManage users
Users
Manage groups
Groups
Manage enterprise properties
Events (admin_logs)
Box Shield Alerts
Once completed, scroll up in the tab to Save Changes.
In the Authorization tab, click Review and Submit to send your changes to the administrator for approval.
In the Review App Authorization Submission dialog that is displayed, you can add a Description of the app changes, and then click Submit.
Ensure the new app changes are approved by an administrator in the Admin Console of the Box account.
Select Apps → Customer Apps Manager → Server Authentication Apps.
In the table, look for the Name of the Box app with the changes, where the Authorization Status is set to Pending Authorization, and select the options menu → Authorize App.
Click Authorize.
Navigate to Settings → Data Sources & Integrations.
On the Data Sources & Integrations page, click + Add New, search for Box, then hover over it and click Add.
Set the following parameters, where some values require you to log in to your Box account to copy and paste the values to the applicable fields:
Name: Specify a descriptive name for this Box instance.
Enterprise ID: Specify the unique identifier for your organization's Box instance, which is used to access the token request. This field can't be edited once the Box data collector instance is created. You can retrieve this value from your Box account in the the General Settings tab, and scrolling to the App Info section. Copy the Enterprise ID and paste it in this field in Cortex Cloud.
Client ID: Specify the client ID or API key for the Box app you created. You can retrieve this value from your Box account in the Configuration tab, and scrolling down to the OAuth 2.0 Credentials section. COPY the Client ID and paste it into this field in Cortex Cloud.
Client Secret: The client secret or API secret fort he Box app you created. You can retrieve this value from your Box account in the Configuration tab, and scrolling down to the OAuth 2.0 Credentials section. Click Fetch Client Secret, where you will need to authenticate yourself according to the two-factor authentication method (as explained as one of the prerequisites above) defined in your Box app before the Client Secret is displayed. Copy this value and paste it in this field in Cortex Cloud.
Collect: Select the types of data you want to collect from Box. All the options are selected by default.
Events and security alerts
Events (admin_logs): Collects events related to file/folder management, permission changes, access and login activities, user/groups management, folder collaboration, file/folder sharing, security settings changes, tasks, permission changes on folders, storage expiration and data retention, and workflows.
Box Shield Alerts: Collects security alerts related to suspicious locations, suspicious sessions, anomalous download, and malicious content.
Directory and metadata
Users: Collects user data.
Groups: Collects user group data.
To test the connection settings, click Test.
If the test is successful, click Enable to enable Box log collection. When events start to come in, a green check mark appears underneath the Box configuration.
Last updated
Was this helpful?
