Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement All Integration Management Functions - Pt 3: Connectors
Summary
This PR Adds Integration Connectors capabilities to the SecOps SDK. It includes:
ChronicleClientmethodsNew SDK Modules (
src/secops/chronicle/integration/)connectors.pyconnector_revisions.pyconnector_context_properties.pyconnector_instances.pyconnector_instance_logs.pyCLI Commands (
src/secops/cli/commands/integration/)Added a complete
secops integrationCLI command tree with 21 subcommand modules, all registered viaintegration_client.py:secops integration connectorslist,get,create,update,delete,test,templatesecops integration connector-revisionslist,create,delete,rollbacksecops integration connector-context-propertieslist,get,create,update,delete,delete-allsecops integration connector-instance-logslist,getsecops integration connector-instanceslist,get,create,update,delete,run-on-demand,get-latest-definition,set-logs-collectionTests
Unit Tests - SDK Modules (
tests/chronicle/integration/)test_connectors.py,test_connector_revisions.pytest_connector_context_properties.py,test_connector_instance_logs.py,test_connector_instances.pyDocumentation Updates
README.mdSDK usage examples for every new module, following the established format:
CLI.mdCLI usage documentation with bash examples for all integration subcommands, including workflow examples for revision-based safe updates.
ChronicleClientUpdatesclient.py- All new integration module functions added asChronicleClientmethods with full docstrings__init__.py- All new functions exported in__all__and publicly importable fromsecops.chronicleAPI Version Support
All integration modules support both v1beta (default) and v1alpha via the
api_versionparameter