How does ContraForce work with Google SecOps?

ContraForce connects to Google SecOps through the Chronicle API. Each new case opens as an incident in your queue, where your analysts and Security Delivery Agents work it. Closing or reopening the incident closes or reopens the case, comments and agent verdicts are written to the case, and you can manage the instance's YARA-L rules from ContraForce.

Reviewed by ContraForce team

What does Google SecOps do, and what does ContraForce do?

ContraForce, the Agentic Security Delivery Platform, works the cases a customer's Google Security Operations (Google SecOps) instance raises, while detection carries on in Google SecOps on the rules the customer runs today. Your team works those cases in the same queue as your Microsoft Defender XDR and Microsoft Sentinel incidents.

SystemResponsibility
Google SecOpsThe detection rules, the alerts they raise, the alert grouping rules that turn alerts into cases, the events behind each case, and each case's stage, priority, tags and assignee
ContraForceOne incident per case, the Security Delivery Agent's investigation, the owner, status, classification and audit trail, and closing or reopening the case when the incident closes or reopens
Your teamTriage and classification, the agent controls on each workspace, and changes to the instance's detection rules, which Workspace Owners and Content Admins can make from ContraForce

Which Google SecOps instances and cases does ContraForce support?

ContraForce reads Google SecOps cases through the Chronicle API, and Google serves cases there only after Stage 1 of the SOAR migration to Google Cloud. The customer's instance has to complete Stage 1 before you connect it.

Each ContraForce workspace connects to one Google SecOps instance. Connect the whole instance, or one SOAR environment when the workspace should see that environment's cases and nothing else. The environment name must match exactly, including upper and lower case, and a case moved to another environment stops updating in ContraForce. A workspace connected to one environment shows the instance's rules but can't change them, and it can't search events.

On its first check, ContraForce brings in the cases created in the last 24 hours. Older cases are not imported.

How does a Google SecOps case flow through ContraForce?

ContraForce checks the customer's Google SecOps instance for new cases about every 2 minutes and opens each one as its own incident under that customer's workspace. From there, your analysts and your agent work it in the same queue as your other customers' incidents.

  1. A detection rule in the customer's Google SecOps instance raises an alert, and the instance's alert grouping rules put it in a case.
  2. ContraForce opens the case as an incident under that customer, with its alerts, entities and case wall. Its incident number starts with GSO-.
  3. If a Security Delivery Agent runs on the workspace and the incident's severity is set to On Queue, the agent picks it up and runs its investigation, which can include its own UDM searches in Google SecOps when the workspace is connected to the whole instance. When it finishes, ContraForce writes the verdict to the case.
  4. Your analyst opens the incident. The Summary tab shows the case's alerts, the Entities tab its entities, and the Comments tab its comments and case wall. On a workspace connected to the whole instance, the Related events section of the Logs tab shows the events in Google SecOps that involve the case's entities.
  5. Your analyst works the ContraForce incident: assigns an owner, adds comments, which are posted to the case, moves it from New to Active and classifies it.
  6. Closing the incident closes the case in Google SecOps, with the close reason that matches the classification. If the case is closed or merged in Google SecOps first, ContraForce closes the incident.
  7. If a rule fires on activity that's expected, a Workspace Owner or Content Admin opens it on the Google SecOps Rules tab of the workspace's Detection Rules page and edits it, or turns its alerting off, from ContraForce.

What does ContraForce write back to Google SecOps?

ContraForce writes to Google SecOps when an incident closes or reopens, when you add a comment, when an agent finishes an investigation, and when your team changes a rule from ContraForce. The owner and the New and Active statuses stay in ContraForce: Google SecOps has no in-progress state, and a ContraForce analyst isn't a Google SecOps user, so the case's assignee doesn't change.

When this happensThe result
You close the incident in ContraForceThe case is closed in Google SecOps, with the close reason that matches the classification, the first root cause your instance defines for that reason, and your closing comment
You reopen a closed incidentThe case is reopened in Google SecOps, with a comment naming who reopened it in ContraForce
The case is closed or merged in Google SecOpsContraForce closes the incident. A closed case gives the incident the matching classification, and a merged case shows as Closed, with a note in the description
You add a commentThe comment is posted to the case under the workspace's service account, with your name in its last line
A Security Delivery Agent finishes an investigationThe verdict is written to the case as case properties, and a later investigation updates the same properties
You set the incident to New or Active, or assign an ownerRecorded in ContraForce only
A Workspace Owner or Content Admin changes a detection rule or runs a retrohuntThe change is made directly in Google SecOps

Each classification maps to one Google SecOps close reason, in both directions:

ContraForce classificationGoogle SecOps close reason
True PositiveMalicious
False PositiveNot malicious
Benign PositiveMaintenance
Undetermined, or noneInconclusive

Google requires a root cause to close a case. If the customer's instance defines none for a close reason, Google refuses the close until one is added in Google SecOps. ContraForce changes only a case's status: its stage, priority, tags and assignee are changed in Google SecOps. Comments can be added and read from ContraForce, not edited or deleted. If Google refuses an agent's verdict, the investigation still completes and its result says the verdict was not written.

How do rules and event search work from ContraForce?

The Google SecOps Rules tab on the workspace's Detection Rules page lists the instance's YARA-L rules with their type, severity, last save and status. Open a rule to see its text, how often it runs, its revisions and its retrohunts. Workspace Owners and Content Admins can:

Alert grouping rules decide how the instance groups alerts into cases. A Workspace Owner can add, edit and delete them from the Alert grouping rules card on the Google SecOps module page. They apply to the whole instance, so a change regroups cases for every environment.

The Related events section of the incident's Logs tab searches Google SecOps for events that involve the case's hosts, IP addresses, users, file hashes, domains and URLs, from 15 minutes before the first alert to 15 minutes after the last. Those events are fetched from Google SecOps each time you open the tab and are not stored in ContraForce. During an investigation, Security Delivery Agents write their own UDM searches in YARA-L 2.0 syntax over Unified Data Model fields, not KQL.

What limits should you plan around?

The Google SecOps Detection Module guide lists every limit. These are the ones that shape how you run the service:

How do you connect Google SecOps to a ContraForce workspace?

ContraForce signs in to Google SecOps with a JSON key for a Google Cloud service account, which someone with access to the customer's Google Cloud project creates, and a Workspace Owner enters it in ContraForce. The Google SecOps Detection Module guide has every step, the permissions and a troubleshooting table, and the ContraForce release notes record the module's launch.

  1. Confirm the instance has completed SOAR migration Stage 1. In Google SecOps, open Settings, then Administration, then SOAR License Management. Stage 1 is complete when Google.com appears next to the system version.
  2. In the Google Cloud project the instance is bound to, enable the Chronicle API.
  3. Create a service account in that project and a JSON key for it. If the organization blocks key creation by policy, ask its organization policy administrator to allow key creation for this project only, as Google describes in Allow service account key creation. The module doesn't support keyless sign-in such as Workload Identity Federation.
  4. Grant the service account Chronicle API Editor on the project, or a custom role with the required permissions and the optional ones for the features you want. Chronicle API Editor covers everything except alert grouping rules. To manage alert grouping rules from ContraForce, also grant a custom role with the three alert grouping rules permissions.
  5. In Google SecOps, add the service account's email under Group Mapping, with a permission group, a SOC role and the environments the workspace should read. Without the mapping, Google refuses every case request, whatever role the service account has.
  6. Set the agent controls on the workspace before you connect. A new workspace gets a Security Delivery Agent automatically, and the agent starts working its incidents once a detection module is connected. New agents start with every severity on On Queue, so set a severity to Manual if you want to review the agent's first investigations.
  7. As a Workspace Owner, open Workspaces, then your workspace, then Modules, and click the settings icon on the Google SecOps card. Enter the project ID, region and instance ID, a SOAR environment if the workspace should see only one, and the key file, then click Test connection. The button changes to Connection verified once ContraForce can read cases, and shows which service account Google accepted. Then click Configure and save.
  8. Wait for the first check and open an incident whose number starts with GSO-. Its Summary tab should show the case's alerts, and the Google SecOps Rules tab on the workspace's Detection Rules page should list the instance's rules.

How do approvals and Gamebooks govern response on Google SecOps incidents?

ContraForce governs Google SecOps incidents with the same per-workspace agent controls you use for your Microsoft Defender XDR and Microsoft Sentinel customers. Google SecOps itself runs no response actions for ContraForce, and Gamebook actions that act on a device, such as isolating it, running an antivirus scan or quarantining a file, can't run on a Google SecOps incident. User, email and IP blocking actions run through the workspace's Microsoft Entra ID, Microsoft 365 and Azure network connections, and Defender indicator actions through Defender for Endpoint, when those are set up.

Gamebooks turn your standard operating procedures (SOPs) into governed steps. See how Gamebooks enforce your SOPs and how to configure Security Delivery Agents.

Where should you go next?

Which sources back this page?

What else should you read?

Connect one workspace. See what happens on the first investigation.

Start for free