Skip to content

Feature/integrations pt5 transformers#197

Open
PaperMtn wants to merge 48 commits intogoogle:mainfrom
PaperMtn:feature/integrations-pt5-transformers
Open

Feature/integrations pt5 transformers#197
PaperMtn wants to merge 48 commits intogoogle:mainfrom
PaperMtn:feature/integrations-pt5-transformers

Conversation

@PaperMtn
Copy link
Contributor

Implement All Integration Management Functions - Pt 5: Transformers & Logical Operators

Summary

This PR Adds Integration Transformers and Logical Operators capabilities to the SecOps SDK. It includes:

  • SDK modules
  • ChronicleClient methods
  • CLI commands
  • Unit tests
  • Full documentation.

New SDK Modules (src/secops/chronicle/integration/)

Module Description
transformers.py CRUD, test execution, and template fetching for integration transformers
transformer_revisions.py List, create, delete, and rollback transformer revisions
logical_operators.py CRUD, test execution, and template fetching for integration logical operators
logical_operator_revisions.py List, create, delete, and rollback logical operator revisions

CLI Commands (src/secops/cli/commands/integration/)

Added a complete secops integration CLI command tree with 21 subcommand modules, all registered via integration_client.py:

CLI Subcommand Operations
secops integration transformers list, get, create, update, delete, test, template
secops integration transformer-revisions list, create, delete, rollback
secops integration logical-operators list, get, create, update, delete, test, template
secops integration logical-operator-revisions list, create, delete, rollback

Tests

Unit Tests - SDK Modules (tests/chronicle/integration/)

  • test_transformers.py, test_transformer_revisions.py
  • test_logical_operators.py, test_logical_operator_revisions.py

Documentation Updates

README.md

SDK usage examples for every new module, following the established format:

  • Transformers (CRUD, test, template) and Transformer Revisions
  • Logical Operators (CRUD, test, template) and Logical Operator Revisions

CLI.md

CLI usage documentation with bash examples for all integration subcommands, including workflow examples for revision-based safe updates.


ChronicleClient Updates

  • client.py - All new integration module functions added as ChronicleClient methods with full docstrings
  • __init__.py - All new functions exported in __all__ and publicly importable from secops.chronicle

API Version Support

These functions only support v1alpha which is set as default via the api_version parameter

@PaperMtn PaperMtn requested a review from mihirvala08 as a code owner March 10, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant