For built-in data inputs, alert actions, and commands, create an API Key with the correct permissions in the Carbon Black Cloud and then configure Splunk to use thoat key.
Prerequisites
Procedure
- Identify the built-in
data inputs
,alert actions
, andcommands
that you will use. - Identify the required RBAC permissions (see Splunk SIEM Access Levels and Permissions).
Note: All inputs and actions use an Access Level of type
custom
, so only one API key is required. For multi-tenancy configurations, this is one API Key per org. - If Identity is managed by using Carbon Black Cloud, generate API keys (see Setting up API Access).
- Create a Custom Access Level with the permissions required for the Inputs and Actions you want to use.
- Create one API key with Access Level set to
Custom
, and then select the Access Level you created in Step 3a. - Make a note of your organization’s Org Key from the top of the API Keys table.
- If Identity is managed by using VMware Cloud Services Platform, create OAuth Apps. See Authenticating Your Applications with OAuth 2.0 in the VMware Carbon Black Cloud on VMware Cloud Services Platform User Guide.
Use the App Id in the
API Id
field, and App Secret in theAPI Key
field.- Create a Custom Role with the permissions required for the Inputs and Actions that you will use.
- Create one OAuth App using the Custom Role you created in Step 4a.
- Go to Settings > General and make a note of your Org Key.
- In Splunk SEIM, open the Carbon Black Cloud App and go to the Administration > Application Configuration menu.
- Create a new API configuration by clicking the + in the top right corner of the API Token Configuration tab.
- Enter a meaningful API Name and Organization Name. You will use these values to configure built-in inputs and actions.
- Enter the field values you saved from Steps 3 or 4. These are:
- API ID or OAuth App ID
- API Secret Key or OAuth App Secret
- Org Key
- Set the Carbon Black Cloud Environment to be the hostname of the Carbon Black Cloud console to which your organization is provisioned; for example, defense.conferdeploy.net.
- Repeat Steps 5b through 5d for each API key you created in Steps 3 or 4.