Migrate remote agent authentication infrastructure
This document describes how to migrate your Remote Agents Infrastructure using Google Cloud Service Accounts. This migration is only for the authentication infrastructure. You are not required to migrate or replace your Remote Agent instances or hosts.
Before you begin
Make sure you have the following:
- Necessary permissions to create service accounts in Google Cloud.
- Required roles to create service account keys.
- Minimum required Remote Agent version 2.6.2 and later.
Network and Private Service Connect requirements
After you migrate the authentication infrastructure, the Remote Agent
communicates with the Chronicle API through standard Google APIs instead of the
legacy *.siemplify-soar.com endpoints. If your Remote Agent runs in a
restricted or private network, update your firewall,
Private Service Connect, and DNS settings before you migrate.
Outbound endpoint allowlist
Make sure that your firewall allows outbound HTTPS traffic on TCP port 443
from the Remote Agent host to the following endpoints:
| Endpoint | Port | Purpose |
|---|---|---|
REGION-chronicle.googleapis.com |
TCP 443 (HTTPS) |
Google Security Operations Chronicle API locational endpoint configured in ONE_PLATFORM_URL_DOMAIN without https://, such as asia-southeast1-chronicle.googleapis.com. |
oauth2.googleapis.com |
TCP 443 (HTTPS) |
Google Cloud OAuth 2.0 token exchange and refresh for service account key authentication. |
sts.googleapis.com |
TCP 443 (HTTPS) |
Security Token Service token exchange. Required only if you use keyless authentication with Workload Identity Federation. |
iamcredentials.googleapis.com |
TCP 443 (HTTPS) |
Short-lived service account credential generation. Required only if you use keyless authentication with Workload Identity Federation. |
*.pkg.dev, gcr.io, or docker.io |
TCP 443 (HTTPS) |
Container registries used to pull or upgrade Podman and Docker agent images, such as us-docker.pkg.dev in Artifact Registry. |
For more information about host proxy and SSL/TLS inspection rules, see Network and firewall requirements and Verify firewall configuration for the Chronicle API.
Private Service Connect configuration
You might run Remote Agents in an on-premises network, Amazon Web Services (AWS), or Microsoft Azure connected over Cloud Interconnect or Cloud VPN. To connect to Google APIs privately, complete the following steps:
Create a Private Service Connect endpoint for Google APIs using the
all-apisorvpc-scbundle in your Virtual Private Cloud network:- Use the
all-apisbundle to route*.googleapis.com(excluding*.rep.googleapis.com),*.pkg.dev, andgcr.ioregardless of VPC Service Controls support. - Use the
vpc-scbundle to restrict access to Google APIs and services supported by VPC Service Controls and block unsupported APIs. This bundle routes the required Remote Agent endpoints (excluding*.rep.googleapis.com):REGION-chronicle.googleapis.com,oauth2.googleapis.com,sts.googleapis.com,iamcredentials.googleapis.com,*.pkg.dev, andgcr.io.
For more information, see Access global Google APIs through endpoints, Supported APIs, and Services supported by the restricted VIP.
- Use the
Configure private DNS so that the required Google API hostnames resolve to your Private Service Connect endpoint IP address:
- In Google Cloud, create a Cloud DNS private zone for
googleapis.com(andpkg.devorgcr.io, if you pull container images privately). Point the DNS records to your Private Service Connect endpoint IP address. For more information, see Create DNS records by using default DNS names. - Outside Google Cloud, advertise the Private Service Connect endpoint IP address over Cloud Interconnect or Cloud VPN using Cloud Router custom route advertisements. Resolve the required hostnames using conditional DNS forwarding to a Cloud DNS inbound server policy, or using a private hosted zone, such as Amazon Route 53. For more information, see Access the endpoint from hybrid networks.
- In Google Cloud, create a Cloud DNS private zone for
Legacy endpoint transition
Keep any legacy SOAR Private Service Connect connection (a
producer service attachment for TENANT.siemplify-soar.com)
and SERVER_API_ROOT firewall rules active until you migrate all Remote Agents.
Legacy *.siemplify-soar.com endpoints and unmigrated Remote Agents remain
available until March 31, 2027, after which they stop functioning. For more
information, see
SOAR migration overview.
Create a service account
A service account is a special type of Google Account that is used by an application to make authorized API calls.
To create a service account, follow these steps:
In Google Cloud console, go to the Service Accounts page.
Click Create Service Account.
In the Service account details section, do the following:
- Enter a name for the service account.
- Enter a description for the service account.
- Click Create and Continue.
In the Permissions section, do the following:
- In the Select a role list, select the Chronicle SOAR Remote Agent role.
- Click Continue.
In the Grant users access to this service account section, click Done.
Create a service account key
The service account key is required to authenticate the remote agent. To create this key, follow these steps:
In Google Cloud console, go to the Service Accounts page.
Click the name of the service account that you created.
Click the Keys tab.
Click Add Key > Create new key.
Select JSON as the key type and click Create.
A JSON file containing the key is downloaded to your computer.
Click Close.
Securely store the key file
After downloading the service account key, you must move it to the host machine where the remote agent will run.
Podman
- Locate the downloaded JSON file on your computer.
- Store the file in a secure location on the host machine where the agent process can access it.
Enter your agent's service account key full path on the host machine.
AGENT_SERVICE_ACCOUNT_KEY_PATH
Docker
- Locate the downloaded JSON file on your computer.
- Store the file in a secure location on the host machine where the agent process can access it.
Enter your agent's service account key full path on the host machine.
AGENT_SERVICE_ACCOUNT_KEY_PATH
Installer
- Locate the downloaded JSON file on your computer.
Store the file in the following location:
AGENT_SERVICE_ACCOUNT_KEY_PATHMake a note of the full path to this file, as it will be required when you configure the remote agent.
Map the remote agent service account
After creating the service account for your remote agent, you must authorize it within the platform to ensure it can successfully communicate with Google SecOps.
To grant a service account access or workload identity federation access to Google SecOps, you must map the identity to the platform's access control parameters. This mapping is a mandatory step to provide the identity with the necessary access to SOC Roles, and Environments required to perform automated tasks or API operations.
- Go to Settings > Access Management > Group Mapping. If you are on a SOAR-only platform, go to Settings > Advanced > Group Mappings (for SOAR Migration).
- Click add Add.
Complete the fields in the Add Mapping dialog to map the identity to the platform's access control parameters.
- In the IdP / User group field, enter one of the following:
- The full email address of your service account, if identity was set up using Cloud Identity.
- The Workload Identity principal string, if identity was set up using Workforce Identity Federation.
Configure the following access control fields:
Field Description Permission groups Select the permission groups to define which modules and submodules the identity can access. SOC roles Select the SOC roles to define the identity's role (such as Tier 1). Environments Select the environments or environment groups the identity can access (such as All Environments). Group members Enter the required user emails if applicable. Press Enter after adding each email. Restricted actions Select the restricted actions to limit specific operations within modules.
- In the IdP / User group field, enter one of the following:
Click Add.
Configure Remote Agent Authentication to Google Cloud
Podman
If you're deploying a new agent, read Deploy an agent with Podman.
If you're upgrading an agent, read Upgrade an agent with Podman.
Docker
If you're deploying a new agent, read Deploy an agent with Docker.
If you're upgrading an agent, read Upgrade an agent with Docker.
Installer
If you're deploying a new agent, read either Deploy an agent with CentOS or Deploy an agent with RHEL.
If you're upgrading an agent, read either Upgrade an agent with CentOS or Upgrade an agent with RHEL
Migrate environment variables for existing agent
Go to Settings > Administration > SOAR Remote Agents (or Settings > Advanced > Remote Agents on a SOAR-only platform) and click View More on the required remote agent.
Copy the following values from the Docker Command field and paste them
in the following commands.
You will be using them in the migration procedure:
ONE PLATFORM URL DOMAIN.ONE_PLATFORM_URL_DOMAINONE PLATFORM URL PROJECT.ONE_PLATFORM_URL_PROJECTONE PLATFORM URL LOCATION.ONE_PLATFORM_URL_LOCATIONONE PLATFORM URL INSTANCE.ONE_PLATFORM_URL_INSTANCE
Podman
To migrate the remote agent environment variables, follow these steps:
List running Podman containers.
podman psEnter your agent's container ID:
CONTAINER_IDPaste the following environment variables from the earlier procedures and run this command:
podman exec CONTAINER_ID sh -c 'printf "export ONE_PLATFORM_URL_DOMAIN=ONE_PLATFORM_URL_DOMAIN\nexport ONE_PLATFORM_URL_PROJECT=ONE_PLATFORM_URL_PROJECT\nexport ONE_PLATFORM_URL_LOCATION=ONE_PLATFORM_URL_LOCATION\nexport ONE_PLATFORM_URL_INSTANCE=ONE_PLATFORM_URL_INSTANCE\nexport GOOGLE_APPLICATION_CREDENTIALS=/opt/SiemplifyAgent/agent-key.json" >> /home/siemplify_agent/.bash_profile'
Docker
To migrate the remote agent environment variables, follow these steps:
List running Docker containers.
docker psEnter your agent's container ID:
CONTAINER_IDPaste the following environment variables from the earlier procedures and run this command:
docker exec CONTAINER_ID sh -c 'printf "export ONE_PLATFORM_URL_DOMAIN=ONE_PLATFORM_URL_DOMAIN\nexport ONE_PLATFORM_URL_PROJECT=ONE_PLATFORM_URL_PROJECT\nexport ONE_PLATFORM_URL_LOCATION=ONE_PLATFORM_URL_LOCATION\nexport ONE_PLATFORM_URL_INSTANCE=ONE_PLATFORM_URL_INSTANCE\nexport GOOGLE_APPLICATION_CREDENTIALS=/opt/SiemplifyAgent/agent-key.json" >> /home/siemplify_agent/.bash_profile'
Installer
To migrate the remote agent environment variables, follow these steps:
Paste the following environment variables from the earlier procedures and run this command:
cat << EOF >> /home/siemplify_agent/.bash_profile
export ONE_PLATFORM_URL_DOMAIN=ONE_PLATFORM_URL_DOMAIN
export ONE_PLATFORM_URL_PROJECT=ONE_PLATFORM_URL_PROJECT
export ONE_PLATFORM_URL_LOCATION=ONE_PLATFORM_URL_LOCATION
export ONE_PLATFORM_URL_INSTANCE=ONE_PLATFORM_URL_INSTANCE
export GOOGLE_APPLICATION_CREDENTIALS=/opt/SiemplifyAgent/agent-key.json
EOF
Migrate the service account into the Remote Agent
Once this step is completed, and all the environment variables are present in the remote agent, the migration is completed and the remote agent will communicate through Google Cloud.
Podman
To migrate the remote agent authentication infrastructure, follow these steps:
List running Podman containers.
podman psEnter your agent's container ID:
CONTAINER_IDUse the following command to copy the service account key to a dedicated path in the container.
podman cp AGENT_SERVICE_ACCOUNT_KEY_PATH CONTAINER_ID:/opt/SiemplifyAgent/agent-key.jsonUse the following command to change the owner of the service account key in the container:
podman exec -u 0 CONTAINER_ID chown siemplify_agent:siemplify_agent /opt/SiemplifyAgent/agent-key.jsonRun the following command to apply the changes:
podman restart CONTAINER_ID
Docker
To migrate the remote agent authentication infrastructure, follow these steps:
List running Docker containers.
docker psEnter your agent's container ID:
CONTAINER_IDUse the following command to copy the service account key to a dedicated path in the container.
docker cp AGENT_SERVICE_ACCOUNT_KEY_PATH CONTAINER_ID:/opt/SiemplifyAgent/agent-key.jsonUse the following command to change the owner of the service account key in the container:
docker exec -u 0 CONTAINER_ID chown siemplify_agent:siemplify_agent /opt/SiemplifyAgent/agent-key.jsonRun the following command to apply the changes:
docker restart CONTAINER_ID
Installer
To migrate the remote agent authentication infrastructure, follow these steps:
Move the Service Account to the expected path
mv AGENT_SERVICE_ACCOUNT_KEY_PATH /opt/SiemplifyAgent/agent-key.jsonUse the following command to change the owner of the service account key in the container:
chown siemplify_agent:siemplify_agent /opt/SiemplifyAgent/agent-key.jsonRun the following command to restart the agent service:
supervisorctl restart siemplify_agent
Need more help? Get answers from Community members and Google SecOps professionals.