Skip to content

feat(integrations): add Google SecOps Detection Engine integration#1815

Merged
topher-lo merged 2 commits intoTracecatHQ:mainfrom
generalplantain:feat/google-secops-detection-integration
Feb 5, 2026
Merged

feat(integrations): add Google SecOps Detection Engine integration#1815
topher-lo merged 2 commits intoTracecatHQ:mainfrom
generalplantain:feat/google-secops-detection-integration

Conversation

@generalplantain
Copy link
Copy Markdown
Contributor

@generalplantain generalplantain commented Dec 18, 2025

Summary

Adds Google SecOps Detection Engine API integration for YARA-L rule management and threat detection automation.

Changes

  • 16 new UDF functions for Detection Engine management
  • Icon added for the Google SecOps Detection namespace
  • Rule CRUD operations (create, read, update, delete)
  • Rule verification and deployment control
  • Detection querying with time filters
  • Retrohunt management for historical threat hunting
  • Error monitoring for rule debugging

Functions Included (16 total)

Rule Management (6)

Function Description
list_rules List all detection rules
get_rule Get rule details
create_rule Create new YARA-L rule
update_rule Update existing rule
delete_rule Delete a rule
verify_rule Validate rule syntax

Rule Deployment (3)

Function Description
enable_rule Enable live alerting
disable_rule Disable alerting
get_rule_deployment Get deployment status

Detections (1)

Function Description
list_detections Get detections for a rule

Retrohunts (4)

Function Description
create_retrohunt Run rule on historical data
get_retrohunt Get retrohunt status
list_retrohunts List all retrohunts
cancel_retrohunt Cancel running retrohunt

Errors (1)

Function Description
list_rule_errors Get rule errors

Authentication

Uses Tracecat's native Google Service Account integration (client_credentials grant).

  • Provider: google
  • Token: GOOGLE_SERVICE_TOKEN
  • Required scope: https://www.googleapis.com/auth/chronicle-backstory

Additional config secret: chronicle_config with CHRONICLE_REGION

Use Cases

  • Rule Management: Create, test, and deploy YARA-L detection rules
  • Threat Hunting: Run retrohunts to search historical data
  • Detection Monitoring: Query detections and track alerts
  • Rule Testing: Verify syntax before deployment
  • Alerting Control: Enable/disable rules as needed

Breaking Changes

None - This is a new integration.

Checklist

  • Code follows project style guidelines
  • Uses Tracecat's native Google OAuth integration
  • Functions documented with clear descriptions
  • Icon added for UI display

Summary by cubic

Adds Google SecOps Detection Engine integration with 16 UDFs to manage YARA-L rules, deployments, detections, retrohunts, and errors. Enables end-to-end detection automation in Tracecat.

Written for commit 7013699. Summary will update on new commits.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

@topher-lo topher-lo added the integrations Pre-built actions label Dec 21, 2025
@topher-lo topher-lo changed the title feat: add Google SecOps Detection Engine integration feat(integrations): add Google SecOps Detection Engine integration Dec 21, 2025
Copy link
Copy Markdown
Contributor

@topher-lo topher-lo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question re proper return schema for 204. I suggest just return {"status_code": request.status_code}? Since content is None but we also want to inform the user it was a successful call?

- Remove chronicle_config secret - base_url is now a required function argument
- Add docstring for OAuth secret with link to Google credential setup docs
- Return original API payload instead of custom response in delete_rule
@topher-lo topher-lo force-pushed the feat/google-secops-detection-integration branch from c66b0a9 to 7013699 Compare February 5, 2026 02:23
@topher-lo topher-lo merged commit 25c840f into TracecatHQ:main Feb 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

integrations Pre-built actions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants