splunkctl 0.7.0__tar.gz → 0.8.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {splunkctl-0.7.0 → splunkctl-0.8.0}/PKG-INFO +1 -1
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/__init__.py +1 -1
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/soar/client.py +9 -1
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/PKG-INFO +1 -1
- {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_version.py +1 -1
- {splunkctl-0.7.0 → splunkctl-0.8.0}/LICENSE +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/README.md +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/pyproject.toml +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/setup.cfg +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/__main__.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/client.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/__init__.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/alerts.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/apps.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/audit.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/audit_parse.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/commands_meta.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/common.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/conf.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/conf_ops.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/config_cmd.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/dashboards.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/datamodels.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/doctor.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/es.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/hec.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/indexes.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/info.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/inputs.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/knowledge.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/kvstore.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/lookups.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/lookups_wiring.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/mcp_cmd.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/parsers.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/parsers_io.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/rules.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/rules_io.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/search.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/server.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/server_topology.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state_io.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state_io_blobs.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state_io_confs.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state_types.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/users.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/config.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/errors.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/guard.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/main.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/mcp/__init__.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/mcp/resources.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/mcp/server.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/mcp/tools.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/output.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/soar/__init__.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/SOURCES.txt +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/dependency_links.txt +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/entry_points.txt +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/requires.txt +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/top_level.txt +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_client.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_config.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_guard.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_main_errors.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_main_hoisting.py +0 -0
- {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_output.py +0 -0
|
@@ -279,11 +279,19 @@ class SOARClient:
|
|
|
279
279
|
|
|
280
280
|
@staticmethod
|
|
281
281
|
def _normalize_post_keys(body: dict[str, Any]) -> dict[str, Any]:
|
|
282
|
-
"""Normalize
|
|
282
|
+
"""Normalize response keys to canonical forms.
|
|
283
|
+
|
|
284
|
+
Mappings:
|
|
285
|
+
``succeeded`` -> ``success``
|
|
286
|
+
``action_run_id`` -> ``id``
|
|
287
|
+
``playbook_run_id`` -> ``id``
|
|
288
|
+
"""
|
|
283
289
|
if "succeeded" in body and "success" not in body:
|
|
284
290
|
body["success"] = body.pop("succeeded")
|
|
285
291
|
if "action_run_id" in body and "id" not in body:
|
|
286
292
|
body["id"] = body.pop("action_run_id")
|
|
293
|
+
if "playbook_run_id" in body and "id" not in body:
|
|
294
|
+
body["id"] = body.pop("playbook_run_id")
|
|
287
295
|
return body
|
|
288
296
|
|
|
289
297
|
# -- Public API ---------------------------------------------------------
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|