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.
| System | Responsibility |
|---|---|
| Google SecOps | The 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 |
| ContraForce | One 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 team | Triage 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.
- 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.
- ContraForce opens the case as an incident under that customer, with its alerts, entities and case wall. Its incident number starts with GSO-.
- 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.
- 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.
- 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.
- 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.
- 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 happens | The result |
|---|---|
| You close the incident in ContraForce | The 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 incident | The case is reopened in Google SecOps, with a comment naming who reopened it in ContraForce |
| The case is closed or merged in Google SecOps | ContraForce 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 comment | The 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 investigation | The 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 owner | Recorded in ContraForce only |
| A Workspace Owner or Content Admin changes a detection rule or runs a retrohunt | The change is made directly in Google SecOps |
Each classification maps to one Google SecOps close reason, in both directions:
| ContraForce classification | Google SecOps close reason |
|---|---|
| True Positive | Malicious |
| False Positive | Not malicious |
| Benign Positive | Maintenance |
| Undetermined, or none | Inconclusive |
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:
- Create and edit rules in the YARA-L 2.0 editor, and check a rule before saving it. A rule is saved only if it compiles.
- Enable or disable a rule, and turn its alerting on or off.
- Archive a disabled rule, or restore an archived one.
- Delete a rule that has no detections or retrohunts.
- Run a retrohunt over past days and follow its progress.
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:
- New cases arrive by polling about every 2 minutes, so a case can take a few minutes to appear. One check reads up to about 2,000 new cases, and if more are created between two checks, the oldest of them are skipped.
- Each check rereads up to 50 open cases to find closures and merges made in Google SecOps, so with many open cases a closure can take several checks to show. Only the 1,000 most recent open cases are followed.
- Critical priority shows as High. A Google SecOps case holds at most 90 alerts, and further alerts go into another case, which comes into ContraForce as its own incident.
- An incident has no link that opens the case in Google SecOps, and related incidents, entity insights and email notifications for new Google SecOps incidents aren't available.
- The portal's Log Search page doesn't query Google SecOps.
- Google applies its Chronicle API quota to the Google Cloud project. When the project is over its quota, ContraForce pauses its calls for that project, for every workspace that uses it, for up to 15 minutes.
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.
- 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.
- In the Google Cloud project the instance is bound to, enable the Chronicle API.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Mode per severity: Manual runs the agent only when someone triggers it from the incident, and On Queue runs it automatically on every incident of that severity. New agents start with every severity on On Queue. If you set a severity to Manual, move it back to On Queue once you've reviewed the agent's first investigations.
- Investigation policies and agent shifts: a workspace's investigation policies can keep the agent off an incident, and outside an agent shift new incidents wait for your team.
- Closing: decide up front whether the agent should close incidents on the workspace. Closing a Google SecOps incident closes the case in the customer's instance, so anyone on their team who checks that case sees it closed.
- Allow agent to run gamebooks and Confidence to respond: both are set per severity. An On Queue run builds a Gamebook only when the agent's malicious confidence meets the threshold, and with Allow agent to run gamebooks off, that Gamebook waits for approval.
- Allow service providers to run gamebooks: while this workspace setting is off, which is the default, every Gamebook the agent submits waits for approval.
- Run policies: a run policy can block an action or send it to an approver even when the agent is confident.
- Rule changes: users with the workspace Owner or Content Admin role can change the instance's detection rules from ContraForce, and Workspace Owners its alert grouping rules.
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?
- ContraForce integration with Sumo Logic, ContraForce connects to Sumo Logic monitors, not Cloud SIEM. Each new monitor alert opens as an incident in your queue, where your analysts and Security Delivery Agents work it. ContraForce keeps no copy of the alert or its logs, closing the incident resolves the alert in Sumo Logic, and you can tune the customer's monitors from ContraForce.
- ContraForce integration with HaloPSA, How new incidents open HaloPSA tickets under the right customer through ContraForce webhooks and a runbook you build.
- Browse all integrations
- See how the ContraForce platform works