Skip to content

Feature/integrations pt2 actions#194

Open
PaperMtn wants to merge 48 commits intogoogle:mainfrom
PaperMtn:feature/integrations-pt2-actions
Open

Feature/integrations pt2 actions#194
PaperMtn wants to merge 48 commits intogoogle:mainfrom
PaperMtn:feature/integrations-pt2-actions

Conversation

@PaperMtn
Copy link
Contributor

Implement All Integration Management Functions - Pt 2: Actions and Managers functions

Summary

This PR Adds Integration Action and Integration Managers 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
actions.py CRUD, test execution, template fetching, and environment-based retrieval for integration actions
action_revisions.py List, create, delete, and rollback action revisions
managers.py CRUD and template fetching for integration managers
manager_revisions.py List, get, create, delete, and rollback manager 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 actions list, get, create, update, delete, test, template
secops integration action-revisions list, create, delete, rollback
secops integration managers list, get, create, update, delete, template
secops integration manager-revisions list, get, create, delete, rollback

Tests

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

  • test_actions.py, test_action_revisions.py
  • test_managers.py, test_manager_revisions.py

Documentation Updates

README.md

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

  • Actions (CRUD, test, template, environment-based retrieval)
  • Managers (CRUD, template) and Manager 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

All integration modules support both v1beta (default) and v1alpha via the api_version parameter.

@PaperMtn PaperMtn requested a review from mihirvala08 as a code owner March 10, 2026 15: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