splunk-soar-sdk 7.1.2__tar.gz → 7.2.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 (356) hide show
  1. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/PKG-INFO +1 -1
  2. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/api_reference.rst +168 -0
  3. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/changelog.rst +17 -0
  4. splunk_soar_sdk-7.2.0/docs/es_findings.rst +460 -0
  5. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/pyproject.toml +1 -1
  6. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/uv.lock +31 -23
  7. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/pyproject.toml +2 -1
  8. splunk_soar_sdk-7.2.0/release_version.txt +1 -0
  9. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/abstract.py +71 -9
  10. splunk_soar_sdk-7.2.0/src/soar_sdk/apis/_attachment_upload.py +178 -0
  11. splunk_soar_sdk-7.2.0/src/soar_sdk/apis/_es_findings.py +290 -0
  12. splunk_soar_sdk-7.2.0/src/soar_sdk/apis/attachments.py +318 -0
  13. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/app.py +42 -1
  14. splunk_soar_sdk-7.2.0/src/soar_sdk/decorators/_es_poll.py +228 -0
  15. splunk_soar_sdk-7.2.0/src/soar_sdk/decorators/_es_poll_attachments.py +177 -0
  16. splunk_soar_sdk-7.2.0/src/soar_sdk/decorators/_es_poll_preparation.py +69 -0
  17. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/decorators/on_es_poll.py +69 -38
  18. splunk_soar_sdk-7.2.0/src/soar_sdk/exceptions.py +163 -0
  19. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/input_spec.py +1 -0
  20. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/models/__init__.py +18 -0
  21. splunk_soar_sdk-7.2.0/src/soar_sdk/models/attachment_upload.py +109 -0
  22. splunk_soar_sdk-7.2.0/src/soar_sdk/models/es_finding.py +163 -0
  23. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/models/finding.py +4 -4
  24. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/params.py +14 -1
  25. splunk_soar_sdk-7.2.0/src/soar_sdk/webhooks/_runtime.py +48 -0
  26. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/uv.lock +77 -62
  27. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/uv.lock +77 -62
  28. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_oauth/uv.lock +28 -13
  29. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_webhook/uv.lock +77 -49
  30. splunk_soar_sdk-7.2.0/tests/fixtures/es_findings_openapi.json +855 -0
  31. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_app.py +75 -0
  32. splunk_soar_sdk-7.2.0/tests/test_attachment_file_upload.py +641 -0
  33. splunk_soar_sdk-7.2.0/tests/test_attachment_uploads.py +475 -0
  34. splunk_soar_sdk-7.2.0/tests/test_direct_es_poll.py +1312 -0
  35. splunk_soar_sdk-7.2.0/tests/test_es_findings_api.py +744 -0
  36. splunk_soar_sdk-7.2.0/tests/webhooks/test_runtime.py +32 -0
  37. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/uv.lock +122 -19
  38. splunk_soar_sdk-7.1.2/release_version.txt +0 -1
  39. splunk_soar_sdk-7.1.2/src/soar_sdk/exceptions.py +0 -68
  40. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.agents/skills/changelog-authoring/SKILL.md +0 -0
  41. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.agents/skills/changelog-authoring/agents/openai.yaml +0 -0
  42. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.agents/skills/changelog-authoring/scripts/check-release-coverage.sh +0 -0
  43. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.changes/.gitkeep +0 -0
  44. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.claude/skills/changelog-authoring/SKILL.md +0 -0
  45. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/ISSUE_TEMPLATE/bug.md +0 -0
  46. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  47. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/dependabot.yml +0 -0
  48. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/pull_request_template.md +0 -0
  49. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/scripts/generate_test_summary.py +0 -0
  50. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/utils/changelog.py +0 -0
  51. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/utils/github.js +0 -0
  52. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/utils/update_version.py +0 -0
  53. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/workflows/code_quality.yml +0 -0
  54. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/workflows/commit_hygiene.yml +0 -0
  55. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/workflows/dependabot_precommit_autofix.yml +0 -0
  56. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/workflows/generate_docs.yml +0 -0
  57. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/workflows/integration_tests.yml +0 -0
  58. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.github/workflows/semantic_release.yml +0 -0
  59. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.gitignore +0 -0
  60. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.pre-commit-config.yaml +0 -0
  61. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/.releaserc +0 -0
  62. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/AGENTS.md +0 -0
  63. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/LICENSE +0 -0
  64. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/README.md +0 -0
  65. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/commitlint.config.js +0 -0
  66. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/_static/favicon.png +0 -0
  67. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/_static/logo.svg +0 -0
  68. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/app_structure/index.rst +0 -0
  69. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/app_structure/pre-commit-config.yaml.rst +0 -0
  70. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/app_structure/pyproject.toml.rst +0 -0
  71. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/app_structure/src_app.rst +0 -0
  72. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/authentication/basic.rst +0 -0
  73. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/authentication/index.rst +0 -0
  74. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/authentication/oauth.rst +0 -0
  75. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/authentication/static_token.rst +0 -0
  76. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/cli_reference.rst +0 -0
  77. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/conf.py +0 -0
  78. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/custom_views/index.rst +0 -0
  79. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/custom_views/reusable_components.md +0 -0
  80. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/custom_views/templates.md +0 -0
  81. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/custom_views/view_handlers.md +0 -0
  82. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/getting_started/defining_asset.rst +0 -0
  83. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/getting_started/first_action.rst +0 -0
  84. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/getting_started/index.rst +0 -0
  85. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/getting_started/init_app.rst +0 -0
  86. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/getting_started/installation.rst +0 -0
  87. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/getting_started/testing_and_building.rst +0 -0
  88. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/docs/index.rst +0 -0
  89. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/logo.png +0 -0
  90. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/logo.svg +0 -0
  91. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/README.md +0 -0
  92. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/install.sh +0 -0
  93. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/mcp_config.json +0 -0
  94. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/pytest.ini +0 -0
  95. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/src/soar_test_assistant/__init__.py +0 -0
  96. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/src/soar_test_assistant/server.py +0 -0
  97. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/tests/__init__.py +0 -0
  98. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/mcp_server/tests/test_analyzer.py +0 -0
  99. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/release_notes.txt +0 -0
  100. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/__init__.py +0 -0
  101. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/action_results.py +0 -0
  102. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/actions_manager.py +0 -0
  103. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/apis/__init__.py +0 -0
  104. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/apis/artifact.py +0 -0
  105. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/apis/container.py +0 -0
  106. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/apis/utils.py +0 -0
  107. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/apis/vault.py +0 -0
  108. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/app_cli_runner.py +0 -0
  109. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/app_client.py +0 -0
  110. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/app_templates/basic_app/.gitignore +0 -0
  111. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/app_templates/basic_app/logo.svg +0 -0
  112. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/app_templates/basic_app/logo_dark.svg +0 -0
  113. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/app_templates/basic_app/src/__init__.py +0 -0
  114. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/app_templates/basic_app/uv.lock +0 -0
  115. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/asset.py +0 -0
  116. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/asset_state.py +0 -0
  117. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/async_utils.py +0 -0
  118. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/auth/__init__.py +0 -0
  119. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/auth/client.py +0 -0
  120. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/auth/factories.py +0 -0
  121. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/auth/flows.py +0 -0
  122. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/auth/httpx_auth.py +0 -0
  123. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/auth/models.py +0 -0
  124. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/__init__.py +0 -0
  125. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/cli.py +0 -0
  126. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/init/__init__.py +0 -0
  127. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/init/cli.py +0 -0
  128. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/init/wizard.py +0 -0
  129. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/manifests/__init__.py +0 -0
  130. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/manifests/cli.py +0 -0
  131. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/manifests/compatibility.py +0 -0
  132. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/manifests/deserializers.py +0 -0
  133. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/manifests/notice.py +0 -0
  134. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/manifests/processors.py +0 -0
  135. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/manifests/serializers.py +0 -0
  136. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/package/cli.py +0 -0
  137. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/package/utils.py +0 -0
  138. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/path_utils.py +0 -0
  139. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/test/__init__.py +0 -0
  140. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/test/cli.py +0 -0
  141. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/cli/utils.py +0 -0
  142. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/__init__.py +0 -0
  143. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/action_renderer.py +0 -0
  144. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/app_renderer.py +0 -0
  145. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/asset_renderer.py +0 -0
  146. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/pre_commit_renderer.py +0 -0
  147. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/renderer.py +0 -0
  148. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/templates/pre-commit-config.yaml.jinja +0 -0
  149. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/templates/pyproject.toml.jinja +0 -0
  150. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/code_renderers/toml_renderer.py +0 -0
  151. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/colors.py +0 -0
  152. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/compat.py +0 -0
  153. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/concurrency.py +0 -0
  154. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/crypto.py +0 -0
  155. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/decorators/__init__.py +0 -0
  156. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/decorators/action.py +0 -0
  157. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/decorators/make_request.py +0 -0
  158. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/decorators/on_poll.py +0 -0
  159. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/decorators/test_connectivity.py +0 -0
  160. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/decorators/view_handler.py +0 -0
  161. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/decorators/webhook.py +0 -0
  162. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/extras/__init__.py +0 -0
  163. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/extras/email/__init__.py +0 -0
  164. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/extras/email/email_data.py +0 -0
  165. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/extras/email/processor.py +0 -0
  166. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/extras/email/utils.py +0 -0
  167. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/field_utils.py +0 -0
  168. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/logging.py +0 -0
  169. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/__init__.py +0 -0
  170. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/actions.py +0 -0
  171. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/adapters.py +0 -0
  172. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/app.py +0 -0
  173. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/datatypes.py +0 -0
  174. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/dependencies/__init__.py +0 -0
  175. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/dependencies/constants.py +0 -0
  176. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/dependencies/lock.py +0 -0
  177. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/dependencies/package.py +0 -0
  178. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/dependencies/sources.py +0 -0
  179. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/dependencies/utils.py +0 -0
  180. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/dependencies/uv_models.py +0 -0
  181. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/dependencies/wheels.py +0 -0
  182. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/meta/webhooks.py +0 -0
  183. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/models/artifact.py +0 -0
  184. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/models/attachment_input.py +0 -0
  185. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/models/container.py +0 -0
  186. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/models/vault_attachment.py +0 -0
  187. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/models/view.py +0 -0
  188. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/networking.py +0 -0
  189. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/paths.py +0 -0
  190. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/py.typed +0 -0
  191. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/action_result.py +0 -0
  192. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/app.py +0 -0
  193. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/base_connector.py +0 -0
  194. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/cef.py +0 -0
  195. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/connector_result.py +0 -0
  196. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/consts.py +0 -0
  197. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/encryption_helper.py +0 -0
  198. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/install_info.py +0 -0
  199. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/json_keys.py +0 -0
  200. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/ph_ipc.py +0 -0
  201. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/utils.py +0 -0
  202. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom/vault.py +0 -0
  203. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom_common/app_interface/app_interface.py +0 -0
  204. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom_common/credential_managers/__init__.py +0 -0
  205. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/shims/phantom_common/encryption/encryption_manager_factory.py +0 -0
  206. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/templates/base/base_template.html +0 -0
  207. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/templates/base/error.html +0 -0
  208. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/templates/base/header.html +0 -0
  209. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/templates/base/logo_header.html +0 -0
  210. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/templates/components/pie_chart.html +0 -0
  211. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/templates/widgets/widget_resize_snippet.html +0 -0
  212. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/templates/widgets/widget_template.html +0 -0
  213. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/types.py +0 -0
  214. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/views/__init__.py +0 -0
  215. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/views/component_registry.py +0 -0
  216. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/views/components/__init__.py +0 -0
  217. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/views/components/pie_chart.py +0 -0
  218. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/views/template_filters.py +0 -0
  219. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/views/template_renderer.py +0 -0
  220. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/views/view_parser.py +0 -0
  221. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/webhooks/__init__.py +0 -0
  222. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/webhooks/models.py +0 -0
  223. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/src/soar_sdk/webhooks/routing.py +0 -0
  224. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/__init__.py +0 -0
  225. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/__init__.py +0 -0
  226. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/datapath_parse.py +0 -0
  227. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/manifests/__init__.py +0 -0
  228. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/manifests/test_compatibility.py +0 -0
  229. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/manifests/test_processors.py +0 -0
  230. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/manifests/test_python_version_resolution.py +0 -0
  231. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_assets/converted_app/actions.py.txt +0 -0
  232. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_cli.py +0 -0
  233. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_convert_cli.py +0 -0
  234. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_deserializers.py +0 -0
  235. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_init_cli.py +0 -0
  236. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_manifests_cli.py +0 -0
  237. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_notice_cli.py +0 -0
  238. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_package_cli.py +0 -0
  239. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_serializers.py +0 -0
  240. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_test_cli.py +0 -0
  241. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/cli/test_utils.py +0 -0
  242. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/code_renderers/test_action_renderer.py +0 -0
  243. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/conftest.py +0 -0
  244. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/LICENSE +0 -0
  245. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/NOTICE +0 -0
  246. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/README.md +0 -0
  247. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/app.json +0 -0
  248. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/example_asset.json +0 -0
  249. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/example_asset_es.json +0 -0
  250. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/logo.svg +0 -0
  251. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/logo_dark.svg +0 -0
  252. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/pyproject.toml +0 -0
  253. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/release_notes/v1.md +0 -0
  254. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/src/__init__.py +0 -0
  255. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/src/actions/__init__.py +0 -0
  256. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/src/actions/async_action.py +0 -0
  257. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/src/actions/generate_category.py +0 -0
  258. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/src/actions/permissive_action.py +0 -0
  259. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/src/actions/reverse_string.py +0 -0
  260. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/src/app.py +0 -0
  261. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/src/ignoreme.txt +0 -0
  262. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app/templates/reverse_string.html +0 -0
  263. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/LICENSE +0 -0
  264. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/NOTICE +0 -0
  265. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/README.md +0 -0
  266. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/app.json +0 -0
  267. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/example_asset.json +0 -0
  268. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/logo.svg +0 -0
  269. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/logo_dark.svg +0 -0
  270. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/pyproject.toml +0 -0
  271. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/src/__init__.py +0 -0
  272. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_plaintext_state/src/app.py +0 -0
  273. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_oauth/app.json +0 -0
  274. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_oauth/example_asset.json +0 -0
  275. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_oauth/logo.svg +0 -0
  276. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_oauth/logo_dark.svg +0 -0
  277. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_oauth/pyproject.toml +0 -0
  278. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_oauth/src/__init__.py +0 -0
  279. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_oauth/src/app.py +0 -0
  280. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_webhook/app.json +0 -0
  281. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_webhook/example_asset.json +0 -0
  282. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_webhook/logo.svg +0 -0
  283. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_webhook/logo_dark.svg +0 -0
  284. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_webhook/pyproject.toml +0 -0
  285. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_webhook/src/__init__.py +0 -0
  286. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/example_app_with_webhook/src/app.py +0 -0
  287. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/__init__.py +0 -0
  288. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/conftest.py +0 -0
  289. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/phantom_constants.py +0 -0
  290. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/phantom_instance.py +0 -0
  291. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/soar_client.py +0 -0
  292. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/test_asset_state_filesystem.py +0 -0
  293. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/test_es_poll.py +0 -0
  294. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/test_example_app.py +0 -0
  295. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/test_example_app_with_webhook.py +0 -0
  296. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/test_package_install.py +0 -0
  297. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/integration/test_vault_client.py +0 -0
  298. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/interfaces/__init__.py +0 -0
  299. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/interfaces/test_artifact_interface.py +0 -0
  300. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/interfaces/test_container_interface.py +0 -0
  301. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/interfaces/test_vault_interface.py +0 -0
  302. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/meta/__init__.py +0 -0
  303. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/meta/test_actions.py +0 -0
  304. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/meta/test_adapters.py +0 -0
  305. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/meta/test_datatypes.py +0 -0
  306. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/meta/test_dependencies.py +0 -0
  307. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/meta/test_webhooks.py +0 -0
  308. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/mocks/__init__.py +0 -0
  309. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/mocks/dynamic_mocks.py +0 -0
  310. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/mocks/importable_action.py +0 -0
  311. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/stubs.py +0 -0
  312. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_action_results.py +0 -0
  313. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_actions_manager.py +0 -0
  314. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_app_action.py +0 -0
  315. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_app_action_params.py +0 -0
  316. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_app_action_results.py +0 -0
  317. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_app_client.py +0 -0
  318. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_app_runner.py +0 -0
  319. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_asset.py +0 -0
  320. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_asset_state.py +0 -0
  321. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_assets/splunk-sdk-2.1.0.tar.gz +0 -0
  322. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_async_integration.py +0 -0
  323. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_async_utils.py +0 -0
  324. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_attachment_input.py +0 -0
  325. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_changelog.py +0 -0
  326. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_code_renderers.py +0 -0
  327. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_compat.py +0 -0
  328. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_container.py +0 -0
  329. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_credential_management.py +0 -0
  330. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_custom_views.py +0 -0
  331. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_email_data.py +0 -0
  332. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_email_processor.py +0 -0
  333. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_encryption.py +0 -0
  334. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_es_on_poll.py +0 -0
  335. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_field_utils.py +0 -0
  336. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_finding.py +0 -0
  337. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_input_spec.py +0 -0
  338. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_lazy_imports.py +0 -0
  339. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_logging.py +0 -0
  340. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_make_request_action.py +0 -0
  341. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_networking.py +0 -0
  342. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_oauth_certificate_client.py +0 -0
  343. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_oauth_client.py +0 -0
  344. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_oauth_factories.py +0 -0
  345. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_oauth_flows.py +0 -0
  346. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_oauth_httpx_auth.py +0 -0
  347. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_oauth_models.py +0 -0
  348. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_on_poll.py +0 -0
  349. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_params.py +0 -0
  350. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_permissive_action_results.py +0 -0
  351. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_template_filters.py +0 -0
  352. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_template_renderer.py +0 -0
  353. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_test_connectivity.py +0 -0
  354. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/test_view_parser.py +0 -0
  355. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/webhooks/test_models.py +0 -0
  356. {splunk_soar_sdk-7.1.2 → splunk_soar_sdk-7.2.0}/tests/webhooks/test_routing.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: splunk-soar-sdk
3
- Version: 7.1.2
3
+ Version: 7.2.0
4
4
  Summary: The official framework for developing and testing Splunk SOAR Apps
5
5
  Project-URL: Homepage, https://github.com/phantomcyber/splunk-soar-sdk
6
6
  Project-URL: Documentation, https://phantomcyber.github.io/splunk-soar-sdk/index.html
@@ -243,6 +243,11 @@ The ``SOARClient`` class is an app's gateway to the Splunk SOAR platform APIs. I
243
243
  APIs
244
244
  ----
245
245
 
246
+ .. toctree::
247
+ :maxdepth: 1
248
+
249
+ es_findings
250
+
246
251
  Artifact API
247
252
  ~~~~~~~~~~~~
248
253
 
@@ -250,6 +255,169 @@ Artifact API
250
255
  :members: create
251
256
  :show-inheritance:
252
257
 
258
+ Attachments API
259
+ ~~~~~~~~~~~~~~~
260
+
261
+ Ingestion runtime bundles provide attachment operations through an
262
+ execution-time bridge, which the SDK exposes as ``soar.attachments``. The bridge
263
+ supplies task-scoped authentication and tenant identity and accepts calls only
264
+ during ``on_es_poll`` execution. It is not a dependency to install from PyPI.
265
+
266
+ Request targets for a batch of 1 through 20 files, using a UUID idempotency key.
267
+ Reuse the key with the same ordered file names when retrying that batch's target
268
+ lookup. Changing the file names with the same key causes a service conflict.
269
+ The returned targets contain stable attachment IDs, ordered multipart form fields,
270
+ expiration times, and maximum file sizes. Call
271
+ ``soar.attachments.upload_file(local_path, target)`` for each downloaded file.
272
+ It streams a multipart POST with the original ordered form fields (including
273
+ repeated names), followed by the file part. It uses the target's file name,
274
+ expiry and size limit. Each successful response (HTTP 200, 201 or 204) returns an
275
+ ``AttachmentUploadResult`` containing ``attachment_id``, ``file_name`` and
276
+ ``size_bytes``. The ID is the existing target's identity; upload does not create
277
+ another attachment record or associate it with a finding.
278
+
279
+ For parallel uploads, call ``soar.attachments.upload_files([(path, target), ...])``.
280
+ It uses at most four concurrent uploads by default; ``max_workers=1`` makes
281
+ uploads sequential, and any positive integer can override the limit. The SDK
282
+ starts no more workers than there are files. Each file still uses its own S3
283
+ POST; upload targets are consumed, not requested again. No retry is attempted.
284
+ The method waits for all uploads and returns ``AttachmentUploadOutcome`` objects
285
+ in input order, preserving the file-to-attachment mapping even if completion
286
+ order differs. Each outcome contains ``attachment_id``, ``file_name`` and
287
+ ``success``. Successful outcomes include ``size_bytes``; failures include a safe
288
+ ``error_code``, ``message`` and, when available, ``status_code``.
289
+
290
+ Invalid pair shapes, repeated attachment IDs and invalid worker counts reject
291
+ the whole batch with ``ActionFailure`` before any upload. An empty batch returns
292
+ ``[]``. Individual upload failures are reported in their outcomes and do not
293
+ stop other files. Reserve targets once for the batch through AR-2060 before
294
+ calling ``upload_files``; the existing 20-target reservation limit still applies.
295
+
296
+ Uploads use isolated HTTPS connections without SOAR authentication,
297
+ cookies, redirects or retries. HTTPS certificates are verified. The socket
298
+ timeout defaults to 30 seconds and can be overridden with a positive finite
299
+ ``timeout`` value. It is not an overall batch deadline. Signed URLs, form values,
300
+ file contents and server response bodies are not logged or included in upload
301
+ results or exceptions. The caller owns the downloaded files and must delete them
302
+ in a ``finally`` block, whether polling succeeds or fails.
303
+
304
+ Upload URLs and form field values are credentials, stored as
305
+ :class:`~pydantic.SecretStr`. ``repr``, ``model_dump`` and ``model_dump_json``
306
+ mask them; call ``get_secret_value()`` only when building the upload request. Do
307
+ not log them or use upload URLs as finding download links. HTTP client errors
308
+ often include the request URL in their message, so do not log or re-raise upload
309
+ errors unmodified; report a message that omits the URL instead. Findings
310
+ reference the stable ``attachment_id`` values through associations, rather than
311
+ signed URLs.
312
+
313
+ Once uploads succeed and ES returns the finding IDs, queue their associations:
314
+
315
+ .. code-block:: python
316
+
317
+ targets = soar.attachments.get_upload_targets(
318
+ ["email.eml", "evidence.pdf", "second.eml"], batch_id
319
+ )
320
+
321
+ # Keep local_paths in the same order as the names requested above.
322
+ successful_ids = {"first": [], "second": []}
323
+ owners = ["first", "first", "second"]
324
+ outcomes = soar.attachments.upload_files(
325
+ list(zip(local_paths, targets, strict=True)), max_workers=4
326
+ )
327
+ for uploaded, owner in zip(outcomes, owners, strict=True):
328
+ if not uploaded.success:
329
+ # Record uploaded.attachment_id and uploaded.error_code; continue.
330
+ continue
331
+ successful_ids[owner].append(uploaded.attachment_id)
332
+
333
+ # Create each finding using only its successfully uploaded attachments.
334
+ # Link only successful uploads belonging to findings that ES created.
335
+ # After ES returns first_finding_id and second_finding_id:
336
+ # Include only the findings whose creation succeeded.
337
+ created_findings = {"first": first_finding_id, "second": second_finding_id}
338
+ associations = [
339
+ {"subject_id": finding_id, "attachment_ids": successful_ids[owner]}
340
+ for owner, finding_id in created_findings.items()
341
+ if successful_ids[owner]
342
+ ]
343
+ if associations:
344
+ message_id = soar.attachments.associate_subject_attachments(associations)
345
+
346
+ The association response confirms durable enqueueing. Timeline processes the
347
+ association asynchronously. Subject IDs are opaque ES finding IDs and need not
348
+ be UUIDs.
349
+
350
+ Error behavior:
351
+
352
+ - Invalid inputs (no file names, blank names or key, an empty association list,
353
+ blank subject or attachment IDs, or unknown association keys) raise
354
+ :class:`~soar_sdk.exceptions.ActionFailure` before the runtime is called.
355
+ - A missing, broken, or failing runtime bridge raises
356
+ :class:`~soar_sdk.exceptions.AttachmentApiError`, a subclass of
357
+ ``ActionFailure``. Runtime failures use fixed SDK messages, including when
358
+ the bridge raises ``ActionFailure``. Upstream messages are not copied, and
359
+ the original exception is not retained as ``__cause__`` or ``__context__``.
360
+ Validation errors are not retained as ``__cause__`` or ``__context__`` either.
361
+ Invalid raw upload targets are removed from SDK traceback frame locals
362
+ before raising an error, so error reporters do not capture their credentials.
363
+ This keeps pre-signed URLs and credentials out of SDK errors and tracebacks;
364
+ callers do not need to handle runtime transport exceptions.
365
+ - Record creation also raises ``AttachmentApiError`` when the runtime returns
366
+ invalid targets (including a non-HTTPS upload URL or no form fields) or
367
+ targets that do not match the requested file names in
368
+ order, including repeated names, or returns duplicate attachment IDs within
369
+ the batch. Association raises it when the runtime does not return a nonblank
370
+ queue message ID.
371
+ - Batch limits and idempotency-key UUID validity are enforced by the runtime
372
+ service. These methods do not retry runtime failures. Target-creation
373
+ idempotency does not extend to finding association: a queued association does
374
+ not establish that a repeat association request will succeed.
375
+
376
+ Upload failures raise :class:`~soar_sdk.exceptions.AttachmentUploadError`, a
377
+ subclass of ``AttachmentApiError``. Inspect ``error_code``:
378
+
379
+ - ``validation``: invalid inputs or a file exceeding the target size limit.
380
+ - ``expired``: the target expired before upload started.
381
+ - ``file``: the local file could not be opened or inspected.
382
+ - ``authorization``: HTTP 401 or 403 (including expired credentials rejected by S3).
383
+ - ``rejected``: another HTTP 4xx response.
384
+ - ``unavailable``: network failure, interrupted file transfer, or HTTP 5xx.
385
+ - ``timeout``: a socket operation timed out.
386
+ - ``response``: an unexpected status, including a redirect.
387
+
388
+ The error carries ``attachment_id`` (absent for an invalid target) and
389
+ ``status_code`` (absent without an HTTP response). It retains no original
390
+ exception chain. Catch errors per attachment: exclude failed uploads from finding
391
+ references and linking. A timeout may occur after S3 accepted the bytes; the SDK
392
+ does not automatically retry or reserve a new ID. Linking remains the separate
393
+ AR-2060 bundle → orchestrator → SQS → Timeline operation.
394
+
395
+ Upload support requires an SDK release containing AR-2060 and AR-2063, on Python
396
+ 3.13 or 3.15. It consumes the AR-2060 multipart POST target contract; it does not
397
+ depend on an ES server version. ES finding compatibility is governed separately
398
+ by the finding creation API. This feature is unreleased in the 7.1.3 checkout.
399
+
400
+ .. autoclass:: soar_sdk.models.attachment_upload.AttachmentUploadOutcome
401
+
402
+ .. autoclass:: soar_sdk.models.attachment_upload.AttachmentUploadResult
403
+
404
+ These methods are also composed by ``@app.on_es_poll()`` when the execution
405
+ runtime supplies the paired ES context. Direct polling uploads attachments,
406
+ creates findings, and queues their attachment associations through the existing
407
+ SDK APIs. Classic SOAR retains its container and vault polling behavior.
408
+ See :doc:`es_findings` for runtime selection, reference compatibility,
409
+ batch checkpoints, error behavior, and the attachment-readiness restriction
410
+ on immediate threat analysis and automation.
411
+
412
+ .. autoclass:: soar_sdk.apis.attachments.Attachments
413
+ :members: get_upload_targets, upload_file, upload_files, associate_subject_attachments
414
+
415
+ .. autoclass:: soar_sdk.models.attachment_upload.AttachmentUploadTarget
416
+
417
+ .. autoclass:: soar_sdk.models.attachment_upload.AttachmentUploadFormField
418
+
419
+ .. autoclass:: soar_sdk.models.attachment_upload.SubjectAttachmentAssociation
420
+
253
421
  Container API
254
422
  ~~~~~~~~~~~~~
255
423
 
@@ -12,6 +12,23 @@ bugfix.
12
12
  .. dropdown:: SDK 7
13
13
  :open:
14
14
 
15
+ .. rubric:: 7.2.0 (2026-11-17)
16
+
17
+ * Feature: Add runtime-bound ES finding creation and polling with typed models,
18
+ per-finding outcomes, attachment upload targets, bounded parallel file uploads,
19
+ and queued finding-to-attachment associations. Preserve classic SOAR behavior
20
+ and report safe errors without exposing runtime credentials or file contents.
21
+ Adapt existing Finding dashboard identities and token mappings to the ES format.
22
+ Checkpoint successful ES polling batches and retain failed batches for replay.
23
+ Apply ES ingest settings supplied as polling parameters by the execution runtime.
24
+ Reject immediate analysis or automation with local polling attachments until
25
+ attachment readability is guaranteed, retaining failed batches for replay.
26
+ Preserve asset-qualified finding sources across classic and direct polling.
27
+
28
+ .. rubric:: 7.1.3 (2026-11-05)
29
+
30
+ * Fix: Prevent native output during webhook execution from corrupting responses and causing broker timeouts.
31
+
15
32
  .. rubric:: 7.1.2 (2026-11-04)
16
33
 
17
34
  * Fix: Avoid loading the authenticated SOAR homepage during action startup while preserving CSRF compatibility with SOAR 8.6.x.
@@ -0,0 +1,460 @@
1
+ Direct ES Finding Creation
2
+ ==========================
3
+
4
+ Connectors use the existing ``soar.create_finding(payload)`` and
5
+ ``soar.create_findings_bulk(payloads)`` methods. The SDK selects the transport
6
+ through the execution runtime adapter: classic SOAR uses its existing proxy;
7
+ the ingestion bundle supplies the execution's paired ES context for direct public
8
+ API calls. The polling decorator selects this path when that context is present.
9
+ Connectors do not choose endpoints or pass credentials.
10
+
11
+ When ``finding_source`` is omitted, both polling transports use
12
+ ``<app name> - <asset name>``, falling back to either available name and omitting
13
+ the field when both are empty. Direct polling reads the asset name from the
14
+ runtime's optional top-level ``asset_name`` input, separate from connector
15
+ configuration. Runtimes must supply that saved name to distinguish assets using
16
+ the same connector; older runtimes without it retain the app-name fallback.
17
+ An explicit ``finding_source``, including an empty string, is preserved.
18
+
19
+ The source of truth is the ES public OpenAPI specification
20
+ (``mcopenapi_public.yaml``),
21
+ particularly ``POST /public/v2/findings``, ``CreateManualFindingRequest``,
22
+ ``CreateManualFindingResponse``, ``DrilldownSearch`` and ``DrilldownDashboard``.
23
+ The test fixture records the source revision and copies the referenced schemas.
24
+ Update the SDK models and fixture together when that contract changes.
25
+
26
+ Inputs and Return Values
27
+ ------------------------
28
+
29
+ .. code-block:: python
30
+
31
+ from soar_sdk.models.es_finding import CreateFindingRequest
32
+
33
+ request = CreateFindingRequest(
34
+ rule_title="Reported phishing email",
35
+ security_domain="threat",
36
+ finding_source="Mail connector",
37
+ )
38
+ response = soar.create_finding(request.to_dict())
39
+ finding_id = response["finding_id"]
40
+
41
+ The existing return type is preserved: ``create_finding`` returns a dictionary,
42
+ not an ID string. Direct ES responses include ``finding_id`` and ``_time``, plus
43
+ other documented ES properties when supplied. Unknown response properties are
44
+ ignored. Invalid or credential-echoing success responses raise ``FindingAPIError``.
45
+
46
+ For existing ``Finding.to_dict()`` payloads, in direct mode only,
47
+ the SDK wraps a single reporter ``to``, ``cc`` or ``bcc`` address in a list and
48
+ converts an ``additional_fields`` mapping into ES name/value entries. String
49
+ values are required for those entries. Legacy dashboard objects combine ``app``
50
+ and ``dashboard_id`` into ``dashboard="app/dashboard_id"``; their token mappings
51
+ with string ``name`` and ``value`` become ``"name=value"`` strings. These
52
+ adaptations do not mutate the finding or the caller's dictionary. The OpenAPI
53
+ models retain their strict wire types, and classic SOAR receives the original
54
+ payload unchanged. Other fields must match the public ES contract.
55
+
56
+ ``create_findings_bulk([request.to_dict(), ...])`` preserves its existing
57
+ 25-finding limit and dictionary envelope: ``status``, ``created``, ``failed``,
58
+ ``findings`` (successful IDs), ``container_ids`` and ``errors``. Classic SOAR's
59
+ proxy response is returned unchanged. In direct ES mode, the SDK issues one
60
+ single-create POST per input and additionally returns ordered ``results``:
61
+
62
+ .. code-block:: python
63
+
64
+ batch = soar.create_findings_bulk([request.to_dict(), another_request.to_dict()])
65
+ for result in batch["results"]:
66
+ if result["success"]:
67
+ finding_id = result["finding_id"]
68
+ else:
69
+ report_failure(result["index"], result["error_code"], result["message"])
70
+
71
+ Each direct result contains its zero-based ``index``, ``success`` and either
72
+ ``finding_id`` or safe ``error_code``/``message`` and an HTTP ``status_code`` when
73
+ available. ``errors`` also contains the failed input indexes and safe messages.
74
+ The batch status is ``success``, ``partial`` or ``error``. Invalid items and HTTP
75
+ failures do not prevent later findings from being attempted. Empty input returns
76
+ an empty successful envelope. More than 25 inputs raises the existing ``ValueError``;
77
+ callers split larger batches before calling. The operation is not atomic.
78
+
79
+ ES OpenAPI also defines ``POST /public/v2/findings/bulk_create`` with a server
80
+ limit of 500 findings. That limit is distinct from the SDK's existing limit of
81
+ 25. Its response supplies indexes for errors, but only a list of IDs for
82
+ successful findings. The inspected ES implementation partitions suppressed and
83
+ ordinary findings before building that ID list, so it can change the input
84
+ order. Correct per-input IDs (and attachment associations) require an indexed
85
+ success response or a server guarantee that the original order is preserved.
86
+ Do not infer finding-to-attachment mappings from an unordered ID list.
87
+
88
+ Direct mode creates no SOAR containers and returns ``container_ids: []``.
89
+ Supplying ``container_ids`` in direct mode raises ``FindingConfigurationError``;
90
+ classic mode retains its existing container-linking behavior.
91
+
92
+ Runtime Integration
93
+ -------------------
94
+
95
+ Direct polling accepts saved ES ingest settings (``es_security_domain``,
96
+ ``es_urgency``, ``es_investigation_type``, drilldowns and analysis/automation flags)
97
+ from polling parameters. These override matching ``config.ingest`` defaults.
98
+ Classic polling and ordinary actions retain their existing input handling.
99
+
100
+ The protected ``SOARClient._get_es_finding_context()`` hook lazily calls the
101
+ ingestion bundle's ``es_poll_api.get_es_context()`` for the current execution's
102
+ ``(base_url, token)``. It is called per single operation or once per bulk
103
+ operation; credentials are never cached on the SDK client. The token may be a
104
+ string or ``pydantic.SecretStr``. URL/token are internal transport inputs, not
105
+ new connector API arguments. The adapter must obtain them from execution-scoped
106
+ action data, never from asset configuration or hard-coded values.
107
+
108
+ Classic SOAR has no bridge and retains its proxy behavior. The companion
109
+ ``soar-services`` change packages the bridge only in ingestion bundles. It exposes
110
+ context only for ``EXECUTOR_TASK_KIND=ingestion`` and ``ACTION_NAME=on_es_poll``.
111
+ The orchestrator supplies ``ES_BASE_URL`` from the credential's ``endpoint`` in
112
+ the same lookup that supplies ``ES_INGESTION_TOKEN``. The bridge reads the token
113
+ through ``RuntimeCredentials.current()``; it performs no credential retrieval or
114
+ refresh. Missing context or a broken bridge becomes a safe
115
+ ``FindingConfigurationError``, with no silent proxy fallback.
116
+
117
+ During direct polling, ``OnESPollParams.base_url`` and ``access_token`` expose
118
+ the runtime context as read-only properties; ``access_token`` is a ``SecretStr``.
119
+ Their backing values are private attributes, excluded from manifests, model
120
+ dumps, JSON schemas and representations. They are cleared when polling exits.
121
+ They are not accepted as ordinary action parameters. Classic polling sees
122
+ ``None`` for both. Token retrieval and refresh belong to automationOrchestrator.
123
+
124
+ ``base_url`` accepts a stack origin (``https://stack:8089``) or the full OpenAPI
125
+ server URL (``https://stack:8089/servicesNS/nobody/missioncontrol``). For an origin,
126
+ the SDK adds the namespace prefix. A trailing slash is accepted. It then appends
127
+ ``/public/v2/findings``; it does not use the RFC's
128
+ ``/rest/findings`` path. URL credentials, query strings and fragments are rejected.
129
+ Use HTTPS for the paired stack; HTTP is supported for local simulation.
130
+
131
+ The runtime must supply an actual absolute endpoint URL. The inspected
132
+ ES publisher can publish a short stack identifier such as ``sh-i-abc123.stack``;
133
+ that value is not sufficient for routing. The SDK rejects it rather than
134
+ guessing a scheme, domain suffix or port. Confirm a full endpoint is published
135
+ for the ingestion credential before enabling this path. No separate tenant URL
136
+ mapping or connector-owned endpoint is introduced.
137
+
138
+ The private HTTP transport uses a separate client with TLS verification, no
139
+ redirects and a 30-second timeout per request. SOAR cookies/authentication are
140
+ never sent to ES. Neither single nor bulk direct operations retry POSTs. The
141
+ classic single and bulk timeout behavior is preserved.
142
+
143
+ Direct Polling and Attachments
144
+ ------------------------------
145
+
146
+ ``@app.on_es_poll()`` keeps the existing ``yield Finding`` interface. With runtime
147
+ ES context it uses direct creation without SOAR REST, containers or vault calls.
148
+ Asset defaults come from the supplied asset configuration's ``ingest`` mapping.
149
+ ``App.handle()`` captures this mapping before classic ``IngestConfig`` validation;
150
+ ES settings do not require ``container_label`` or become connector asset fields.
151
+ Single and async generators are supported. Batch creation uses at most 25 findings
152
+ and normally at most 20 local attachments, the upload-target service limit;
153
+ ``container_count`` limits attempted findings, including failures.
154
+
155
+ Each action-result data row contains the input index and the created finding ID
156
+ or safe failure details. The summary includes ``created``, ``failed``,
157
+ ``polling_failed``, ``attachments_uploaded``, ``attachments_failed``, ``links_queued``,
158
+ ``links_failed`` and ``status``. Mixed outcomes report ``partial``; all findings
159
+ in the current batch are attempted. All-failed or handler/state failures report
160
+ an unsuccessful action.
161
+ An empty poll succeeds. Generators are closed on exit, including a count limit.
162
+
163
+ Each successful batch commits its ingest-state checkpoint. A finding creation or
164
+ validation failure stops polling after the current batch and rolls back that
165
+ batch's state. The next scheduled poll can replay it, including findings already
166
+ created within that batch. Timeouts can also replay a request that ES completed.
167
+ Previously checkpointed batches are retained. There are no immediate POST retries.
168
+ Handler or state failures roll back the current batch where possible.
169
+
170
+ Connectors must stage source progress in ``asset.ingest_state`` before each
171
+ ``yield Finding`` and retain any unprocessed source IDs when polling out of order.
172
+ Updating the cursor only after the whole generator completes cannot provide
173
+ per-batch checkpoints. Attachment upload or association failures alone do not
174
+ replay created findings. Classic SDK polling behavior is unchanged.
175
+
176
+ For each yielded ``Finding``, local ``Finding.attachments`` are handled in order:
177
+
178
+ #. The decorator writes their bytes to SDK-owned temporary files and requests
179
+ targets through ``soar.attachments.get_upload_targets`` (AR-2060). Each
180
+ attachment batch makes one bulk reservation with a new UUID idempotency key.
181
+ A finding with more than 20 files uses consecutive reservations of at most 20.
182
+ Returned IDs must be UUIDs and must not be reused anywhere in the run.
183
+ #. ``soar.attachments.upload_files`` (AR-2063) uploads the files with at most four
184
+ workers. Temporary files are removed on success and failure. Input names are
185
+ metadata only; they are never used as local paths.
186
+ #. Only successful uploads populate ``email.attachments`` entries with
187
+ ``filename``, ``filesize`` and ``url``. The last successful local attachment
188
+ marked ``is_raw_email=True`` also supplies ``email.raw_email_link``, matching
189
+ classic polling's selection rule. Local attachments replace the corresponding
190
+ existing attachment references in a copy of the finding payload.
191
+ #. Findings are created with ordered individual POSTs. Their returned IDs are
192
+ paired with their own successful attachment IDs in one bulk
193
+ ``soar.attachments.associate_subject_attachments`` call per finding batch.
194
+ Failed findings are never linked. Findings without files make no attachment
195
+ calls. Neither findings nor attachment operations are automatically retried.
196
+
197
+ The reference URL is provisional, pending the final ES attachment contract. Its
198
+ base route comes from the private execution bundle's
199
+ ``es_poll_api.get_attachment_reference_base_url()``; the SDK appends
200
+ ``?attachment_id=<UUID>``. It must use the same origin as the paired ES context.
201
+ No token or presigned URL is embedded. ES readers must interpret the reference
202
+ as an identity and retrieve content through the automation provider. It is not
203
+ a general-purpose download URL. The public OpenAPI schema accepts a URI but
204
+ does not yet define these reference semantics.
205
+
206
+ Reservation, reference-route and local-file failures are reported per attachment;
207
+ findings continue without failed files. Each finding result's ``attachments``
208
+ list preserves local attachment order. Upload outcomes include their stable ID,
209
+ success or safe failure details; failures before reservation have no ID.
210
+ ``attachment_links`` records ``queued`` or ``failed`` with the affected IDs.
211
+ An attachment or link failure makes an otherwise successful poll ``partial``.
212
+
213
+ An association ACK confirms queueing through bundle → orchestrator → SQS. It
214
+ does not confirm that Timeline has saved the mapping. ES/SAA may try reading
215
+ before that save and receive a missing-file response. Until the integration
216
+ provides a readiness guarantee, direct polling rejects a finding that has local
217
+ ``Finding.attachments`` and enables either ``run_threat_analysis`` or
218
+ ``launch_automation``. This includes flags inherited from saved ingestion
219
+ settings. The result has ``error_code="attachment_readiness"``; no uploads,
220
+ finding POST, or association are attempted for that finding. The failed batch
221
+ retains its checkpoint for replay, and other findings in the batch continue.
222
+ The SDK does not silently change flags or schedule deferred analysis. Disable
223
+ both flags to create findings with local attachments through this flow.
224
+ Findings without local attachments retain their requested flags. Classic
225
+ polling is unchanged.
226
+
227
+ Request Model Fields
228
+ --------------------
229
+
230
+ Import the following models from ``soar_sdk.models.es_finding``. ``rule_title``
231
+ and ``security_domain`` are required strings. All remaining request fields are
232
+ optional. ``None`` means omission; JSON null is not emitted. Omitted booleans
233
+ remain omitted, while explicit ``False`` is sent. ES owns defaults and
234
+ configuration-dependent rules such as requiring ``automation_rule`` when
235
+ ``launch_automation`` is true, and URI/email format validation. Unknown request
236
+ fields and invalid types are
237
+ rejected instead of silently discarded.
238
+
239
+ .. list-table:: CreateFindingRequest
240
+ :header-rows: 1
241
+ :widths: 50 50
242
+
243
+ * - Fields
244
+ - Type and meaning
245
+ * - ``rule_title``, ``security_domain``
246
+ - Required strings: finding title and security domain.
247
+ * - ``rule_description``
248
+ - String: finding description.
249
+ * - ``risk_object``, ``risk_object_type``
250
+ - Strings: object and its type.
251
+ * - ``risk_score``, ``risk_event_count``
252
+ - Numbers; fractional values are supported by the schema.
253
+ * - ``status``, ``urgency``, ``owner``, ``disposition``
254
+ - Strings: ES labels or identifiers, as applicable.
255
+ * - ``drilldown_searches``
256
+ - List of ``DrilldownSearch`` objects.
257
+ * - ``drilldown_dashboards``
258
+ - List of ``DrilldownDashboard`` objects.
259
+ * - ``annotations``
260
+ - Mapping of strings to lists of strings, e.g. MITRE ATT&CK IDs.
261
+ * - ``all_risk_objects``, ``source``, ``exclude_map_fields``
262
+ - Lists of strings. The wire field is ``source``, not ``sources``.
263
+ * - ``queue_id``, ``finding_source``, ``investigation_type``
264
+ - Strings: queue, origin and investigation type.
265
+ * - ``email``
266
+ - ``PhishingEmail`` object described below.
267
+ * - ``run_threat_analysis``, ``launch_automation``
268
+ - Booleans controlling ES analysis and automation behavior.
269
+ * - ``automation_rule``
270
+ - String: automation rule/playbook name.
271
+ * - ``additional_fields``
272
+ - List of ``AdditionalField`` objects with optional string ``name`` and
273
+ ``value``. Allowed event field names are validated by ES.
274
+
275
+ ``DrilldownSearch`` requires string ``name``, ``search``, ``earliest`` and
276
+ ``latest``. ``DrilldownDashboard`` requires string ``name`` and ``dashboard``;
277
+ optional ``tokens`` is a list of strings. These are the ES wire models, rather
278
+ than the classic SOAR dashboard model's ``app``, ``dashboard_id`` and name/value
279
+ token objects.
280
+
281
+ Existing ``Finding`` dashboard objects are adapted on the direct ES path:
282
+ ``app="search", dashboard_id="mail"`` becomes ``dashboard="search/mail"``,
283
+ and each ``{"name": "form.user", "value": "$user$"}`` token becomes
284
+ ``"form.user=$user$"``. Token order and values are preserved. Already formatted
285
+ ES dashboards and the caller's objects are unchanged; classic SOAR requests
286
+ retain their original dashboard shape.
287
+
288
+ ``PhishingEmail`` has optional ``headers`` (free-form object), ``body`` (string),
289
+ ``urls`` (list of strings), ``attachments`` (list of ``EmailAttachment``),
290
+ ``raw_email_link`` (URI string) and ``reporter`` (``EmailReporter``).
291
+ ``EmailAttachment`` requires ``filename`` (string); optional ``filesize`` is an
292
+ integer from 0 through 2147483647 and ``url`` is a URI string. These are finding
293
+ metadata, not file bytes or presigned upload targets.
294
+
295
+ ``EmailReporter`` requires ``from_`` in Python (``from`` on the wire). Its optional
296
+ ``to``, ``cc`` and ``bcc`` are lists of strings. ``subject``, ``message_id``, ``id``,
297
+ ``body`` and ``date`` are optional strings. The SDK does not truncate content;
298
+ server-side processing follows the ES contract.
299
+
300
+ Response Fields
301
+ ---------------
302
+
303
+ ``CreateFindingResponse`` requires ``finding_id`` and ``_time`` (both strings).
304
+ The Python attribute for ``_time`` is ``created_time``; serialize with
305
+ ``model_dump(by_alias=True, exclude_none=True)`` to retain ES names.
306
+
307
+ Optional string fields are ``risk_object``, ``risk_score``, ``creator``,
308
+ ``status``, ``urgency``, ``disposition``, ``owner_realname``, ``info_max_time``,
309
+ ``queue_id``, ``finding_source``, ``investigation_type`` and ``automation_rule``.
310
+ ``risk_object_type`` is ``system``, ``user`` or ``other``. Response ``risk_score``
311
+ is a string even though the request uses a number. ``drilldown_searches`` and
312
+ ``drilldown_dashboards`` are lists of free-form objects; ``email`` is a free-form
313
+ object. ``run_threat_analysis`` and ``launch_automation`` are optional booleans.
314
+
315
+ Explicit Attachment API Calls
316
+ -----------------------------
317
+
318
+ The decorator handles this sequence for yielded ``Finding.attachments``.
319
+ Callers managing files explicitly can use the same SDK APIs without yielding
320
+ those files again; they own the batch, references, outcomes and cleanup:
321
+
322
+ 1. Collect findings and download their attachments to temporary files.
323
+ 2. Use one AR-2060 ``soar.attachments.get_upload_targets`` call per connector
324
+ batch, with exactly the total number of attachment filenames in that batch.
325
+ Assign each file exactly one returned ID; never reuse an ID. The
326
+ reservation service accepts at most 20 files per request, so connector batch
327
+ sizing must respect that attachment limit or the limit must be agreed with
328
+ AR-2060. Do not request targets separately for each finding.
329
+ 3. Upload bytes using AR-2063. Track success for each attachment ID. Presigned
330
+ URLs and multipart field values are credentials, not permanent finding links.
331
+ 4. Populate the ES attachment-reference fields with successful
332
+ uploads, then call ``soar.create_findings_bulk`` (or ``soar.create_finding`` for one finding).
333
+ 5. For successfully created findings only, pass the returned IDs unchanged to
334
+ AR-2060's association API:
335
+
336
+ .. code-block:: python
337
+
338
+ batch = soar.create_findings_bulk([request.to_dict() for request in requests])
339
+ results = batch["results"]
340
+ associations = [
341
+ {
342
+ "subject_id": result["finding_id"],
343
+ "attachment_ids": uploaded_ids_by_index[result["index"]],
344
+ }
345
+ for result in results
346
+ if result["success"] and uploaded_ids_by_index.get(result["index"])
347
+ ]
348
+ if associations:
349
+ message_id = soar.attachments.associate_subject_attachments(associations)
350
+
351
+ 6. Report counts and per-finding/per-attachment failures, then delete temporary
352
+ files in a ``finally`` block, whether the run succeeds or fails. Association
353
+ returns a durable queue message ID; bundle → orchestrator → SQS → Timeline
354
+ processing completes the link asynchronously. Enqueueing does not confirm
355
+ completed linking.
356
+
357
+ When there are no attachments, skip upload target creation, uploads and linking.
358
+ If upload URL reservation fails, mark those attachments failed and create findings
359
+ without attachment references. The direct polling decorator continues and reports
360
+ ``partial``. An individual failed upload must be excluded from both
361
+ finding references and associations; other files/findings continue.
362
+
363
+ ES requires ``email.raw_email_link`` when ``run_threat_analysis=True``.
364
+ The direct polling decorator rejects immediate analysis or automation with
365
+ local attachments as described above. Callers composing the lower-level SDK
366
+ APIs must independently guarantee attachment readability before enabling these
367
+ flags. Those APIs preserve the requested flags; a failed raw email upload can
368
+ therefore cause ES to reject a finding requesting analysis.
369
+
370
+ Finding errors are recorded per input; failed findings must never be linked.
371
+ If association fails, report the affected finding-ID/attachment-ID pairs and keep
372
+ the already-created findings. Do not recreate findings to retry linking. Neither
373
+ connectors nor the SDK retry ambiguous create POSTs automatically.
374
+
375
+ Connector code must use SDK APIs for reservations (AR-2060), byte uploads
376
+ (AR-2063), creation (AR-2061), and associations (AR-2060), without direct gRPC,
377
+ S3, ES REST calls or hard-coded endpoints. ES tokens, presigned URLs and file
378
+ contents must be excluded from logs, errors and run results across all stages.
379
+ Connector migrations and durable association verification belong to the shared
380
+ integration flow. The direct polling decorator composes these SDK APIs without
381
+ changing classic SOAR container and vault behavior.
382
+
383
+ .. important::
384
+
385
+ The inspected OpenAPI does not define an attachment-ID property. It declares
386
+ ``email.raw_email_link`` and attachment URLs as URIs. The runtime-supplied
387
+ reference format is temporary and requires the matching ES reader update.
388
+ AR-2060 association accepts stable IDs separately. Successful schema
389
+ validation alone does not prove the reference is readable.
390
+
391
+ Association is asynchronous. An ES consumer can attempt a download before
392
+ Timeline has saved the finding-to-attachment link. The inspected SAA code
393
+ treats download failures as terminal. Direct polling gates this combination
394
+ before uploading or creating the finding. Queue acknowledgement alone must
395
+ never be used to lift that gate; doing so requires a proven integration
396
+ readiness mechanism and validation against delayed association persistence.
397
+
398
+ Errors and Retries
399
+ ------------------
400
+
401
+ All finding exceptions inherit ``FindingAPIError`` and SDK ``ActionFailure``.
402
+
403
+ .. list-table:: Error mapping
404
+ :header-rows: 1
405
+
406
+ * - Condition
407
+ - Exception / result error_code
408
+ * - Invalid local payload or ES 4xx other than 401/403/429
409
+ - ``FindingValidationError`` / ``validation``
410
+ * - Invalid URL, token or timeout
411
+ - ``FindingConfigurationError`` / ``configuration``
412
+ * - Expired/unauthorized token (401) or forbidden operation (403)
413
+ - ``FindingAuthorizationError`` / ``authorization``
414
+ * - ES rate limit (429)
415
+ - ``FindingRateLimitError`` / ``rate_limit``
416
+ * - ES 5xx or connection/transport failure
417
+ - ``FindingUnavailableError`` / ``unavailable``
418
+ * - HTTP timeout
419
+ - ``FindingTimeoutError`` / ``timeout``
420
+ * - Unexpected status, malformed success, missing ID, credential echo
421
+ - ``FindingAPIError`` / ``response``
422
+
423
+ Errors retain the HTTP status when available, but not ES response bodies or
424
+ upstream transport exceptions. Tokens are excluded from errors and results.
425
+ Payload validation failures occur before any HTTP call. The SDK performs no
426
+ automatic retries and does not refresh tokens. After timeout or lost response,
427
+ the finding may already exist: retrying a POST can create duplicates. Attachment
428
+ reservation's idempotency key does not make finding creation idempotent.
429
+
430
+ Compatibility and Verification
431
+ ------------------------------
432
+
433
+ This API is introduced after SDK 7.1.3; use a released SDK containing this
434
+ feature. Release automation assigns the version. The models and schema tests
435
+ target ES OpenAPI version 8.8.0 at the source revision recorded in the test fixture.
436
+ Compatibility with ES 8.2 or other releases is not implied: verify their public
437
+ findings contracts before declaring support. Python 3.13 and 3.15 follow the SDK's
438
+ support policy.
439
+
440
+ Local schema tests check serialized requests against the copied ES schema;
441
+ HTTP tests check IDs, mixed batch outcomes, errors and secret handling. Polling
442
+ tests compose AR-2060/AR-2063 with creation, per-file outcomes and queued links.
443
+ Runtime action-data delivery and actual ES/Timeline
444
+ behavior must be verified on ``feature/phishing-sdk-changes`` after
445
+ the related changes merge. The classic models and proxy API remain available;
446
+ the direct methods adapt the supported legacy payload shapes internally.
447
+
448
+ .. automethod:: soar_sdk.abstract.SOARClient.create_finding
449
+ :no-index:
450
+
451
+ .. automethod:: soar_sdk.abstract.SOARClient.create_findings_bulk
452
+ :no-index:
453
+
454
+ .. autoclass:: soar_sdk.models.es_finding.CreateFindingRequest
455
+ :members: to_dict
456
+
457
+ .. autoclass:: soar_sdk.models.es_finding.CreateFindingResponse
458
+
459
+ .. autoclass:: soar_sdk.models.es_finding.FindingCreateResult
460
+ :members: success