Ingest BeyondCorp Enterprise data to Chronicle
This page explains how you can connect your organization to Chronicle, enable Identity-Aware Proxy (IAP) API, and set up feeds to ingest the following data to Chronicle.
Before you begin
Before you set up feeds to ingest BeyondCorp Enterprise data, complete the following tasks:
- Connect your Google Cloud organization to Chronicle by completing the following sections in the Ingest GCP Logs to Chronicle document:
- Enable the Cloud Identity API and create a service account to authenticate the API.
- Create a domain-wide delegation.
- Create a user for impersonation.
Enable the Cloud Identity API and create a service account
In the Google Cloud console, select the Cloud project for which you want to enable the API, and then go to the APIs & Services page:
Click Enable APIs and Services.
Search for "Cloud Identity API".
In the search results, click Cloud Identity API.
Create a service account:
- In the Google Cloud console, select IAM & Admin > Service Accounts.
- Click on Create service account.
- On the Create service account page, enter a name for the service account.
- Click Done.
Click on the service account that you created.
Copy and save the ID that appears in the Unique ID field. You use this ID when you create a domain-wide delegation.
Select the Keys tab.
Click Add key > Create new key.
Select JSON as the Key type.
Copy and save the JSON key. You use this key when you set up feeds.
For more information, see Enable the Cloud Identity API and create a service account to authenticate the API.
Create a domain-wide delegation
To control API access for the service account using domain-wide delegation, do the following:
- From the Google Admin console Home page, select Security > Access and Data Controls > API Controls.
- Select Domain-wide delegation > Manage Domain-Wide Delegation.
- Click Add new.
- Enter the service account client ID. The service account client ID is the unique ID that you obtained when you created a service account.
- In OAuth scopes, enter
- Click Authorize.
For more information, see Control API access with domain-wide delegation
Create a user for impersonation
- From the Google Admin console Home page, select Directory > Users.
- To add a new user, do the following:
- Click Add new user.
- Enter a name for the user.
- Enter the email address associated with the user.
- Click Create, and then click Done.
- To create a new role and assign a privilege, do the following:
- Click on the newly created user name.
- Click Admin roles and privileges.
- Click Create custom role.
- Click Create new role.
- Enter a name for the role.
- Select Services > Mobile Devices Management, and then select the Manage Devices and Setting privilege.
- Click Continue.
- To assign the role to the user, do the following:
- Click Assign Users.
- Navigate to the newly created user and click Assign Role.
Set up feeds to ingest BeyondCorp Enterprise logs
Click the apps Application menu icon, and select the Settings option.
Navigate to the Feeds page. The data feeds listed on this page include all the feeds Chronicle has configured for your account in addition to the feeds you have configured.
For more details, see the Feed Management user guide.
On the Feeds page, click Add new. The Add new window appears.
In the Source type list, select Third party API.
In the Log type list, select either GCP Cloud Identity Devices or GCP Cloud Identity Device Users.
On the Input parameters tab, specify the following details:
- OAuth JWT endpoint. Enter
- JWT claims issuer. Specify <firstname.lastname@example.org>. This is the service account you created in the section Enable the Cloud Identity API and create a service account.
- JWT claims subject. Enter the email of the user that you created in the section Create a user for impersonation.
- JWT claims audience. Enter
- RSA private key. Enter the JSON key that was created when you created a service account to authenticate the API.
- API version. Optional. You can leave this field blank.
- OAuth JWT endpoint. Enter
On the Finalize tab, review the values that you entered and then click Submit.