Open
Conversation
Collaborator
|
@PaperMtn, can you merge main branch into this? And also update code to utilize new helper methods such as Thanks! |
# By Mihir Vala (43) and others # Via Mihir Vala (11) and others * main: (66 commits) chore: bump version; added changelog chore: minor refactoring and formatting chore: utilize helper methods. chore: fixed tests chore: added integration tests. fixed integration instance flags. chore: fix unit tests chore: minor refactoring and formatting chore: added docs in README and CLI. Added changelog. Updated project version. chore: added client integration tests chore: add missing docstring fix: remove unused import fix: fix use before assignment error chore: linting fixes fix: restore mistaken deleted documentation chore: fixed unit tests chore: case integration tests fix chore: fixed unit tests chore: refactoring and improvements chore: fixed unnessary changes chore: refactor param type models into one single IntegrationParamType ... # Conflicts: # CLI.md # README.md # src/secops/chronicle/__init__.py # src/secops/chronicle/client.py # src/secops/chronicle/soar/integration/integration_instances.py # src/secops/chronicle/soar/integration/integrations.py # src/secops/chronicle/soar/integration/marketplace_integrations.py # src/secops/cli/commands/integration/integration.py # src/secops/cli/commands/integration/integration_client.py # src/secops/cli/commands/integration/integration_instances.py # src/secops/cli/commands/integration/marketplace_integration.py # tests/chronicle/soar/integration/test_integration_instances.py # tests/chronicle/soar/integration/test_integrations.py # tests/chronicle/soar/integration/test_marketplace_integrations.py
Contributor
Author
|
@mihirvala08 I've caught up with main, and have migrated the functions over into the SOARService namespace |
Collaborator
|
/run-integration-tests a9aa790 |
Collaborator
|
/run-integration-tests 21f351d |
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 2: Actions and Managers functions
Summary
This PR Adds Integration Action and Integration Managers capabilities to the SecOps SDK. It includes:
ChronicleClientmethodsNew SDK Modules (
src/secops/chronicle/integration/)actions.pyaction_revisions.pymanagers.pymanager_revisions.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 actionslist,get,create,update,delete,test,templatesecops integration action-revisionslist,create,delete,rollbacksecops integration managerslist,get,create,update,delete,templatesecops integration manager-revisionslist,get,create,delete,rollbackTests
Unit Tests - SDK Modules (
tests/chronicle/integration/)test_actions.py,test_action_revisions.pytest_managers.py,test_manager_revisions.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.