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.
Files changed (68) hide show
  1. {splunkctl-0.7.0 → splunkctl-0.8.0}/PKG-INFO +1 -1
  2. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/__init__.py +1 -1
  3. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/soar/client.py +9 -1
  4. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/PKG-INFO +1 -1
  5. {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_version.py +1 -1
  6. {splunkctl-0.7.0 → splunkctl-0.8.0}/LICENSE +0 -0
  7. {splunkctl-0.7.0 → splunkctl-0.8.0}/README.md +0 -0
  8. {splunkctl-0.7.0 → splunkctl-0.8.0}/pyproject.toml +0 -0
  9. {splunkctl-0.7.0 → splunkctl-0.8.0}/setup.cfg +0 -0
  10. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/__main__.py +0 -0
  11. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/client.py +0 -0
  12. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/__init__.py +0 -0
  13. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/alerts.py +0 -0
  14. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/apps.py +0 -0
  15. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/audit.py +0 -0
  16. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/audit_parse.py +0 -0
  17. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/commands_meta.py +0 -0
  18. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/common.py +0 -0
  19. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/conf.py +0 -0
  20. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/conf_ops.py +0 -0
  21. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/config_cmd.py +0 -0
  22. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/dashboards.py +0 -0
  23. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/datamodels.py +0 -0
  24. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/doctor.py +0 -0
  25. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/es.py +0 -0
  26. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/hec.py +0 -0
  27. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/indexes.py +0 -0
  28. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/info.py +0 -0
  29. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/inputs.py +0 -0
  30. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/knowledge.py +0 -0
  31. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/kvstore.py +0 -0
  32. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/lookups.py +0 -0
  33. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/lookups_wiring.py +0 -0
  34. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/mcp_cmd.py +0 -0
  35. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/parsers.py +0 -0
  36. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/parsers_io.py +0 -0
  37. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/rules.py +0 -0
  38. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/rules_io.py +0 -0
  39. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/search.py +0 -0
  40. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/server.py +0 -0
  41. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/server_topology.py +0 -0
  42. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state.py +0 -0
  43. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state_io.py +0 -0
  44. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state_io_blobs.py +0 -0
  45. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state_io_confs.py +0 -0
  46. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/state_types.py +0 -0
  47. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/commands/users.py +0 -0
  48. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/config.py +0 -0
  49. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/errors.py +0 -0
  50. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/guard.py +0 -0
  51. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/main.py +0 -0
  52. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/mcp/__init__.py +0 -0
  53. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/mcp/resources.py +0 -0
  54. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/mcp/server.py +0 -0
  55. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/mcp/tools.py +0 -0
  56. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/output.py +0 -0
  57. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl/soar/__init__.py +0 -0
  58. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/SOURCES.txt +0 -0
  59. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/dependency_links.txt +0 -0
  60. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/entry_points.txt +0 -0
  61. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/requires.txt +0 -0
  62. {splunkctl-0.7.0 → splunkctl-0.8.0}/splunkctl.egg-info/top_level.txt +0 -0
  63. {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_client.py +0 -0
  64. {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_config.py +0 -0
  65. {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_guard.py +0 -0
  66. {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_main_errors.py +0 -0
  67. {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_main_hoisting.py +0 -0
  68. {splunkctl-0.7.0 → splunkctl-0.8.0}/tests/test_output.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: splunkctl
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Summary: CLI tool for Splunk Enterprise SIEM operations.
5
5
  Author: dannyota
6
6
  License-Expression: Apache-2.0
@@ -1,3 +1,3 @@
1
1
  """CLI tool for Splunk Enterprise SIEM operations."""
2
2
 
3
- __version__ = "0.7.0"
3
+ __version__ = "0.8.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 ``succeeded`` -> ``success`` and ``action_run_id`` -> ``id``."""
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 ---------------------------------------------------------
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: splunkctl
3
- Version: 0.7.0
3
+ Version: 0.8.0
4
4
  Summary: CLI tool for Splunk Enterprise SIEM operations.
5
5
  Author: dannyota
6
6
  License-Expression: Apache-2.0
@@ -4,4 +4,4 @@ from splunkctl import __version__
4
4
 
5
5
 
6
6
  def test_version() -> None:
7
- assert __version__ == "0.7.0"
7
+ assert __version__ == "0.8.0"
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