splunk-soar-sdk 7.2.3__tar.gz → 7.3.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 (357) hide show
  1. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/PKG-INFO +1 -1
  2. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/api_reference.rst +5 -0
  3. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/changelog.rst +8 -0
  4. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/es_findings.rst +69 -36
  5. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/pyproject.toml +1 -1
  6. splunk_soar_sdk-7.3.0/release_version.txt +1 -0
  7. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/_es_poll.py +10 -21
  8. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/exceptions.py +24 -0
  9. splunk_soar_sdk-7.3.0/src/soar_sdk/polling.py +63 -0
  10. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/uv.lock +1 -1
  11. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/uv.lock +1 -1
  12. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/uv.lock +1 -1
  13. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/uv.lock +1 -1
  14. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_direct_es_poll.py +64 -30
  15. splunk_soar_sdk-7.3.0/tests/test_polling_diagnostics.py +141 -0
  16. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/uv.lock +1 -1
  17. splunk_soar_sdk-7.2.3/release_version.txt +0 -1
  18. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.agents/skills/changelog-authoring/SKILL.md +0 -0
  19. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.agents/skills/changelog-authoring/agents/openai.yaml +0 -0
  20. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.agents/skills/changelog-authoring/scripts/check-release-coverage.sh +0 -0
  21. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.changes/.gitkeep +0 -0
  22. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.claude/skills/changelog-authoring/SKILL.md +0 -0
  23. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/ISSUE_TEMPLATE/bug.md +0 -0
  24. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
  25. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/dependabot.yml +0 -0
  26. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/pull_request_template.md +0 -0
  27. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/scripts/generate_test_summary.py +0 -0
  28. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/utils/changelog.py +0 -0
  29. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/utils/github.js +0 -0
  30. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/utils/update_version.py +0 -0
  31. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/code_quality.yml +0 -0
  32. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/commit_hygiene.yml +0 -0
  33. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/dependabot_precommit_autofix.yml +0 -0
  34. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/generate_docs.yml +0 -0
  35. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/integration_tests.yml +0 -0
  36. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/semantic_release.yml +0 -0
  37. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.gitignore +0 -0
  38. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.pre-commit-config.yaml +0 -0
  39. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.releaserc +0 -0
  40. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/AGENTS.md +0 -0
  41. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/LICENSE +0 -0
  42. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/README.md +0 -0
  43. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/commitlint.config.js +0 -0
  44. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/_static/favicon.png +0 -0
  45. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/_static/logo.svg +0 -0
  46. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/app_structure/index.rst +0 -0
  47. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/app_structure/pre-commit-config.yaml.rst +0 -0
  48. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/app_structure/pyproject.toml.rst +0 -0
  49. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/app_structure/src_app.rst +0 -0
  50. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/authentication/basic.rst +0 -0
  51. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/authentication/index.rst +0 -0
  52. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/authentication/oauth.rst +0 -0
  53. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/authentication/static_token.rst +0 -0
  54. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/cli_reference.rst +0 -0
  55. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/conf.py +0 -0
  56. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/custom_views/index.rst +0 -0
  57. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/custom_views/reusable_components.md +0 -0
  58. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/custom_views/templates.md +0 -0
  59. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/custom_views/view_handlers.md +0 -0
  60. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/defining_asset.rst +0 -0
  61. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/first_action.rst +0 -0
  62. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/index.rst +0 -0
  63. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/init_app.rst +0 -0
  64. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/installation.rst +0 -0
  65. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/testing_and_building.rst +0 -0
  66. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/index.rst +0 -0
  67. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/logo.png +0 -0
  68. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/logo.svg +0 -0
  69. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/README.md +0 -0
  70. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/install.sh +0 -0
  71. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/mcp_config.json +0 -0
  72. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/pyproject.toml +0 -0
  73. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/pytest.ini +0 -0
  74. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/src/soar_test_assistant/__init__.py +0 -0
  75. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/src/soar_test_assistant/server.py +0 -0
  76. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/tests/__init__.py +0 -0
  77. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/tests/test_analyzer.py +0 -0
  78. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/uv.lock +0 -0
  79. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/release_notes.txt +0 -0
  80. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/__init__.py +0 -0
  81. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/abstract.py +0 -0
  82. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/action_results.py +0 -0
  83. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/actions_manager.py +0 -0
  84. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/__init__.py +0 -0
  85. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/_attachment_upload.py +0 -0
  86. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/_es_findings.py +0 -0
  87. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/artifact.py +0 -0
  88. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/attachments.py +0 -0
  89. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/container.py +0 -0
  90. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/utils.py +0 -0
  91. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/vault.py +0 -0
  92. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app.py +0 -0
  93. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_cli_runner.py +0 -0
  94. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_client.py +0 -0
  95. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/.gitignore +0 -0
  96. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/logo.svg +0 -0
  97. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/logo_dark.svg +0 -0
  98. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/src/__init__.py +0 -0
  99. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/uv.lock +0 -0
  100. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/asset.py +0 -0
  101. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/asset_state.py +0 -0
  102. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/async_utils.py +0 -0
  103. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/__init__.py +0 -0
  104. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/client.py +0 -0
  105. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/factories.py +0 -0
  106. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/flows.py +0 -0
  107. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/httpx_auth.py +0 -0
  108. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/models.py +0 -0
  109. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/__init__.py +0 -0
  110. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/cli.py +0 -0
  111. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/init/__init__.py +0 -0
  112. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/init/cli.py +0 -0
  113. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/init/wizard.py +0 -0
  114. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/__init__.py +0 -0
  115. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/cli.py +0 -0
  116. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/compatibility.py +0 -0
  117. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/deserializers.py +0 -0
  118. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/notice.py +0 -0
  119. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/processors.py +0 -0
  120. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/serializers.py +0 -0
  121. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/package/cli.py +0 -0
  122. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/package/utils.py +0 -0
  123. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/path_utils.py +0 -0
  124. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/test/__init__.py +0 -0
  125. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/test/cli.py +0 -0
  126. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/utils.py +0 -0
  127. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/__init__.py +0 -0
  128. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/action_renderer.py +0 -0
  129. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/app_renderer.py +0 -0
  130. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/asset_renderer.py +0 -0
  131. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/pre_commit_renderer.py +0 -0
  132. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/renderer.py +0 -0
  133. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/templates/pre-commit-config.yaml.jinja +0 -0
  134. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/templates/pyproject.toml.jinja +0 -0
  135. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/toml_renderer.py +0 -0
  136. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/colors.py +0 -0
  137. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/compat.py +0 -0
  138. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/concurrency.py +0 -0
  139. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/crypto.py +0 -0
  140. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/__init__.py +0 -0
  141. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/_es_poll_attachments.py +0 -0
  142. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/_es_poll_preparation.py +0 -0
  143. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/action.py +0 -0
  144. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/make_request.py +0 -0
  145. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/on_es_poll.py +0 -0
  146. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/on_poll.py +0 -0
  147. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/test_connectivity.py +0 -0
  148. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/view_handler.py +0 -0
  149. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/webhook.py +0 -0
  150. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/__init__.py +0 -0
  151. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/email/__init__.py +0 -0
  152. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/email/email_data.py +0 -0
  153. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/email/processor.py +0 -0
  154. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/email/utils.py +0 -0
  155. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/field_utils.py +0 -0
  156. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/input_spec.py +0 -0
  157. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/logging.py +0 -0
  158. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/__init__.py +0 -0
  159. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/actions.py +0 -0
  160. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/adapters.py +0 -0
  161. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/app.py +0 -0
  162. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/datatypes.py +0 -0
  163. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/__init__.py +0 -0
  164. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/constants.py +0 -0
  165. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/lock.py +0 -0
  166. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/package.py +0 -0
  167. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/sources.py +0 -0
  168. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/utils.py +0 -0
  169. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/uv_models.py +0 -0
  170. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/wheels.py +0 -0
  171. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/webhooks.py +0 -0
  172. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/__init__.py +0 -0
  173. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/artifact.py +0 -0
  174. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/attachment_input.py +0 -0
  175. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/attachment_upload.py +0 -0
  176. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/container.py +0 -0
  177. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/es_finding.py +0 -0
  178. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/finding.py +0 -0
  179. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/vault_attachment.py +0 -0
  180. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/view.py +0 -0
  181. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/networking.py +0 -0
  182. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/params.py +0 -0
  183. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/paths.py +0 -0
  184. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/py.typed +0 -0
  185. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/action_result.py +0 -0
  186. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/app.py +0 -0
  187. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/base_connector.py +0 -0
  188. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/cef.py +0 -0
  189. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/connector_result.py +0 -0
  190. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/consts.py +0 -0
  191. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/encryption_helper.py +0 -0
  192. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/install_info.py +0 -0
  193. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/json_keys.py +0 -0
  194. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/ph_ipc.py +0 -0
  195. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/utils.py +0 -0
  196. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/vault.py +0 -0
  197. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom_common/app_interface/app_interface.py +0 -0
  198. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom_common/credential_managers/__init__.py +0 -0
  199. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom_common/encryption/encryption_manager_factory.py +0 -0
  200. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/base/base_template.html +0 -0
  201. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/base/error.html +0 -0
  202. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/base/header.html +0 -0
  203. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/base/logo_header.html +0 -0
  204. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/components/pie_chart.html +0 -0
  205. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/widgets/widget_resize_snippet.html +0 -0
  206. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/widgets/widget_template.html +0 -0
  207. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/types.py +0 -0
  208. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/__init__.py +0 -0
  209. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/component_registry.py +0 -0
  210. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/components/__init__.py +0 -0
  211. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/components/pie_chart.py +0 -0
  212. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/template_filters.py +0 -0
  213. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/template_renderer.py +0 -0
  214. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/view_parser.py +0 -0
  215. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/webhooks/__init__.py +0 -0
  216. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/webhooks/_runtime.py +0 -0
  217. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/webhooks/models.py +0 -0
  218. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/webhooks/routing.py +0 -0
  219. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/__init__.py +0 -0
  220. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/__init__.py +0 -0
  221. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/datapath_parse.py +0 -0
  222. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/manifests/__init__.py +0 -0
  223. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/manifests/test_compatibility.py +0 -0
  224. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/manifests/test_processors.py +0 -0
  225. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/manifests/test_python_version_resolution.py +0 -0
  226. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_assets/converted_app/actions.py.txt +0 -0
  227. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_cli.py +0 -0
  228. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_convert_cli.py +0 -0
  229. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_deserializers.py +0 -0
  230. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_init_cli.py +0 -0
  231. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_manifests_cli.py +0 -0
  232. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_notice_cli.py +0 -0
  233. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_package_cli.py +0 -0
  234. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_serializers.py +0 -0
  235. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_test_cli.py +0 -0
  236. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_utils.py +0 -0
  237. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/code_renderers/test_action_renderer.py +0 -0
  238. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/conftest.py +0 -0
  239. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/LICENSE +0 -0
  240. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/NOTICE +0 -0
  241. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/README.md +0 -0
  242. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/app.json +0 -0
  243. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/example_asset.json +0 -0
  244. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/example_asset_es.json +0 -0
  245. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/logo.svg +0 -0
  246. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/logo_dark.svg +0 -0
  247. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/pyproject.toml +0 -0
  248. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/release_notes/v1.md +0 -0
  249. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/__init__.py +0 -0
  250. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/__init__.py +0 -0
  251. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/async_action.py +0 -0
  252. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/generate_category.py +0 -0
  253. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/permissive_action.py +0 -0
  254. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/reverse_string.py +0 -0
  255. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/app.py +0 -0
  256. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/ignoreme.txt +0 -0
  257. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/templates/reverse_string.html +0 -0
  258. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/LICENSE +0 -0
  259. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/NOTICE +0 -0
  260. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/README.md +0 -0
  261. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/app.json +0 -0
  262. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/example_asset.json +0 -0
  263. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/logo.svg +0 -0
  264. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/logo_dark.svg +0 -0
  265. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/pyproject.toml +0 -0
  266. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/src/__init__.py +0 -0
  267. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/src/app.py +0 -0
  268. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/app.json +0 -0
  269. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/example_asset.json +0 -0
  270. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/logo.svg +0 -0
  271. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/logo_dark.svg +0 -0
  272. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/pyproject.toml +0 -0
  273. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/src/__init__.py +0 -0
  274. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/src/app.py +0 -0
  275. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/app.json +0 -0
  276. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/example_asset.json +0 -0
  277. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/logo.svg +0 -0
  278. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/logo_dark.svg +0 -0
  279. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/pyproject.toml +0 -0
  280. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/src/__init__.py +0 -0
  281. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/src/app.py +0 -0
  282. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/fixtures/es_findings_openapi.json +0 -0
  283. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/__init__.py +0 -0
  284. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/conftest.py +0 -0
  285. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/phantom_constants.py +0 -0
  286. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/phantom_instance.py +0 -0
  287. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/soar_client.py +0 -0
  288. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_asset_state_filesystem.py +0 -0
  289. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_es_poll.py +0 -0
  290. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_example_app.py +0 -0
  291. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_example_app_with_webhook.py +0 -0
  292. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_package_install.py +0 -0
  293. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_vault_client.py +0 -0
  294. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/interfaces/__init__.py +0 -0
  295. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/interfaces/test_artifact_interface.py +0 -0
  296. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/interfaces/test_container_interface.py +0 -0
  297. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/interfaces/test_vault_interface.py +0 -0
  298. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/__init__.py +0 -0
  299. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_actions.py +0 -0
  300. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_adapters.py +0 -0
  301. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_datatypes.py +0 -0
  302. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_dependencies.py +0 -0
  303. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_webhooks.py +0 -0
  304. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/mocks/__init__.py +0 -0
  305. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/mocks/dynamic_mocks.py +0 -0
  306. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/mocks/importable_action.py +0 -0
  307. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/stubs.py +0 -0
  308. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_action_results.py +0 -0
  309. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_actions_manager.py +0 -0
  310. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app.py +0 -0
  311. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_action.py +0 -0
  312. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_action_params.py +0 -0
  313. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_action_results.py +0 -0
  314. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_client.py +0 -0
  315. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_runner.py +0 -0
  316. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_asset.py +0 -0
  317. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_asset_state.py +0 -0
  318. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_assets/splunk-sdk-2.1.0.tar.gz +0 -0
  319. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_async_integration.py +0 -0
  320. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_async_utils.py +0 -0
  321. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_attachment_file_upload.py +0 -0
  322. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_attachment_input.py +0 -0
  323. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_attachment_uploads.py +0 -0
  324. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_changelog.py +0 -0
  325. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_code_renderers.py +0 -0
  326. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_compat.py +0 -0
  327. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_container.py +0 -0
  328. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_credential_management.py +0 -0
  329. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_custom_views.py +0 -0
  330. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_email_data.py +0 -0
  331. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_email_processor.py +0 -0
  332. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_encryption.py +0 -0
  333. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_es_findings_api.py +0 -0
  334. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_es_on_poll.py +0 -0
  335. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_field_utils.py +0 -0
  336. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_finding.py +0 -0
  337. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_input_spec.py +0 -0
  338. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_lazy_imports.py +0 -0
  339. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_logging.py +0 -0
  340. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_make_request_action.py +0 -0
  341. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_networking.py +0 -0
  342. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_certificate_client.py +0 -0
  343. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_client.py +0 -0
  344. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_factories.py +0 -0
  345. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_flows.py +0 -0
  346. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_httpx_auth.py +0 -0
  347. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_models.py +0 -0
  348. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_on_poll.py +0 -0
  349. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_params.py +0 -0
  350. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_permissive_action_results.py +0 -0
  351. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_template_filters.py +0 -0
  352. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_template_renderer.py +0 -0
  353. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_test_connectivity.py +0 -0
  354. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_view_parser.py +0 -0
  355. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/webhooks/test_models.py +0 -0
  356. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/webhooks/test_routing.py +0 -0
  357. {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/webhooks/test_runtime.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: splunk-soar-sdk
3
- Version: 7.2.3
3
+ Version: 7.3.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
@@ -510,6 +510,11 @@ Logging
510
510
  .. autoexception:: soar_sdk.logging.critical
511
511
  :show-inheritance:
512
512
 
513
+ ES polling diagnostics
514
+ ----------------------
515
+
516
+ .. autofunction:: soar_sdk.polling.diagnose_es_poll
517
+
513
518
  .. _api_ref_exceptions_label:
514
519
 
515
520
  Exceptions
@@ -12,6 +12,14 @@ bugfix.
12
12
  .. dropdown:: SDK 7
13
13
  :open:
14
14
 
15
+ .. rubric:: 7.3.0 (2026-11-19)
16
+
17
+ * Feature: Add ``diagnose_es_poll`` and ``PollingError`` for shared, safe ES polling diagnostics with connector-specific error classification.
18
+
19
+ .. rubric:: 7.2.4 (2026-11-19)
20
+
21
+ * Fix: Allow direct ES polling to ingest local email attachments while preserving threat-analysis and automation flags, require ES attachment-readiness retries for threat analysis, and report safe authentication or mailbox failure reasons provided by connectors.
22
+
15
23
  .. rubric:: 7.2.3 (2026-11-19)
16
24
 
17
25
  * Fix: Include safe failure stages and HTTP or gRPC status codes in direct ES polling logs and run results to distinguish handler, batch and checkpoint failures without exposing exception details.
@@ -163,6 +163,39 @@ An empty poll succeeds. Generators are closed on exit, including a count limit.
163
163
  Handler, batch and checkpoint exceptions add ``polling_errors`` to the summary.
164
164
  Each entry identifies the SDK ``stage`` and an allowlisted ``error_type``; a valid
165
165
  HTTP ``status_code`` or recognized gRPC ``rpc_code`` is included when available.
166
+ Connectors may set ``polling_error_code`` on a setup exception to the fixed
167
+ code ``authentication`` or ``mailbox``. Recognized codes are exposed as
168
+ ``reason`` in the summary, action message and error log; arbitrary values and
169
+ exception messages are never copied. Without a recognized code the SDK does
170
+ not guess the cause of a generic exception.
171
+ Use the SDK's ``PollingError`` for explicit failures, or wrap a polling generator
172
+ with ``diagnose_es_poll`` and supply a connector-specific classifier::
173
+
174
+ from soar_sdk.exceptions import PollingError
175
+ from soar_sdk.polling import diagnose_es_poll
176
+
177
+ def classify_mail_error(error):
178
+ # Match errors from this connector's API client only.
179
+ if isinstance(error, MailClientAuthenticationError):
180
+ return ("authentication", None)
181
+ return None
182
+
183
+ @app.on_es_poll()
184
+ @diagnose_es_poll(classify_mail_error)
185
+ def poll(params, soar, asset):
186
+ yield from fetch_findings(params, soar, asset)
187
+
188
+ A classifier returns ``("authentication", status_code)``, ``("mailbox", status_code)``,
189
+ or ``None`` for an unknown failure. HTTP status codes must be integers from 100
190
+ through 599, or ``None``. The SDK supplies fixed messages and suppresses upstream
191
+ exception chaining for converted errors. Unknown failures, invalid classifier
192
+ results and classifier exceptions preserve the original failure. Existing
193
+ ``PollingError`` instances pass through unchanged. Classification of service-specific
194
+ exceptions belongs in the connector; the SDK does not infer their meaning.
195
+ The decorator preserves yielded findings and generator cleanup without retrying
196
+ or changing checkpoints. For an explicit failure, raise
197
+ ``PollingError("mailbox")`` instead of attaching diagnostic fields manually.
198
+
166
199
  The action message includes the first error's details. Later cleanup errors are
167
200
  retained in the summary without replacing the first failure. Error logs also
168
201
  include counts of findings accepted from the connector, recorded outcomes and
@@ -201,11 +234,11 @@ behavior is unchanged.
201
234
  For each yielded ``Finding``, local ``Finding.attachments`` are handled in order:
202
235
 
203
236
  #. The decorator writes their bytes to SDK-owned temporary files and requests
204
- targets through ``soar.attachments.get_upload_targets`` (AR-2060). Each
237
+ targets through ``soar.attachments.get_upload_targets``. Each
205
238
  attachment batch makes one bulk reservation with a new UUID idempotency key.
206
239
  A finding with more than 20 files uses consecutive reservations of at most 20.
207
240
  Returned IDs must be UUIDs and must not be reused anywhere in the run.
208
- #. ``soar.attachments.upload_files`` (AR-2063) uploads the files with at most four
241
+ #. ``soar.attachments.upload_files`` uploads the files with at most four
209
242
  workers. Temporary files are removed on success and failure. Input names are
210
243
  metadata only; they are never used as local paths.
211
244
  #. Only successful uploads populate ``email.attachments`` entries with
@@ -236,19 +269,19 @@ success or safe failure details; failures before reservation have no ID.
236
269
  ``attachment_links`` records ``queued`` or ``failed`` with the affected IDs.
237
270
  An attachment or link failure makes an otherwise successful poll ``partial``.
238
271
 
239
- An association ACK confirms queueing through bundle → orchestrator → SQS. It
240
- does not confirm that Timeline has saved the mapping. ES/SAA may try reading
241
- before that save and receive a missing-file response. Until the integration
242
- provides a readiness guarantee, direct polling rejects a finding that has local
243
- ``Finding.attachments`` and enables either ``run_threat_analysis`` or
244
- ``launch_automation``. This includes flags inherited from saved ingestion
245
- settings. The result has ``error_code="attachment_readiness"``; no uploads,
246
- finding POST, or association are attempted for that finding. The finding is
247
- skipped, its staged source checkpoint is committed, and other findings continue.
248
- The SDK does not silently change flags or schedule deferred analysis. Disable
249
- both flags to create findings with local attachments through this flow.
250
- Findings without local attachments retain their requested flags. Classic
251
- polling is unchanged.
272
+ An attachment association acknowledgement confirms queued processing; it does
273
+ not guarantee that the attachment is readable. Findings with local attachments
274
+ may enable ``run_threat_analysis``: ES submits their raw email to Splunk Attack
275
+ Analyzer (SAA). This requires an ES version that retries reads of attachments
276
+ that are not yet available. Deploy that ES support before upgrading the SDK
277
+ for assets using this option. The SDK preserves the requested analysis flag;
278
+ it does not wait for analysis completion.
279
+
280
+ The SDK also preserves ``launch_automation`` without rejecting findings with
281
+ local attachments. ES owns automation-rule support and dispatch, which depend
282
+ on the active automation provider. Successful ingestion and an association
283
+ acknowledgement do not guarantee immediate attachment availability or automation
284
+ execution. Classic polling is unchanged.
252
285
 
253
286
  Request Model Fields
254
287
  --------------------
@@ -346,18 +379,19 @@ Callers managing files explicitly can use the same SDK APIs without yielding
346
379
  those files again; they own the batch, references, outcomes and cleanup:
347
380
 
348
381
  1. Collect findings and download their attachments to temporary files.
349
- 2. Use one AR-2060 ``soar.attachments.get_upload_targets`` call per connector
382
+ 2. Use one ``soar.attachments.get_upload_targets`` call per connector
350
383
  batch, with exactly the total number of attachment filenames in that batch.
351
384
  Assign each file exactly one returned ID; never reuse an ID. The
352
385
  reservation service accepts at most 20 files per request, so connector batch
353
- sizing must respect that attachment limit or the limit must be agreed with
354
- AR-2060. Do not request targets separately for each finding.
355
- 3. Upload bytes using AR-2063. Track success for each attachment ID. Presigned
356
- URLs and multipart field values are credentials, not permanent finding links.
386
+ sizing must respect that attachment limit. Do not request targets separately
387
+ for each finding.
388
+ 3. Upload bytes using ``soar.attachments.upload_files``. Track success for each
389
+ attachment ID. Presigned URLs and multipart field values are credentials,
390
+ not permanent finding links.
357
391
  4. Populate the ES attachment-reference fields with successful
358
392
  uploads, then call ``soar.create_findings_bulk`` (or ``soar.create_finding`` for one finding).
359
393
  5. For successfully created findings only, pass the returned IDs unchanged to
360
- AR-2060's association API:
394
+ ``soar.attachments.associate_subject_attachments``:
361
395
 
362
396
  .. code-block:: python
363
397
 
@@ -376,9 +410,8 @@ those files again; they own the batch, references, outcomes and cleanup:
376
410
 
377
411
  6. Report counts and per-finding/per-attachment failures, then delete temporary
378
412
  files in a ``finally`` block, whether the run succeeds or fails. Association
379
- returns a durable queue message ID; bundle → orchestrator → SQS → Timeline
380
- processing completes the link asynchronously. Enqueueing does not confirm
381
- completed linking.
413
+ returns a durable queue message ID; the attachment service completes the
414
+ link asynchronously. Enqueueing does not confirm completed linking.
382
415
 
383
416
  When there are no attachments, skip upload target creation, uploads and linking.
384
417
  If upload URL reservation fails, mark those attachments failed and create findings
@@ -399,8 +432,8 @@ the already-created findings. Do not recreate findings to retry linking.
399
432
  Connectors must not add their own retries around direct polling; its bounded
400
433
  creation retries are described below.
401
434
 
402
- Connector code must use SDK APIs for reservations (AR-2060), byte uploads
403
- (AR-2063), creation (AR-2061), and associations (AR-2060), without direct gRPC,
435
+ Connector code must use SDK APIs for reservations, byte uploads, finding
436
+ creation, and associations, without direct gRPC,
404
437
  S3, ES REST calls or hard-coded endpoints. ES tokens, presigned URLs and file
405
438
  contents must be excluded from logs, errors and run results across all stages.
406
439
  Connector migrations and durable association verification belong to the shared
@@ -412,15 +445,14 @@ changing classic SOAR container and vault behavior.
412
445
  The inspected OpenAPI does not define an attachment-ID property. It declares
413
446
  ``email.raw_email_link`` and attachment URLs as URIs. The runtime-supplied
414
447
  reference format is temporary and requires the matching ES reader update.
415
- AR-2060 association accepts stable IDs separately. Successful schema
448
+ The association API accepts stable IDs separately. Successful schema
416
449
  validation alone does not prove the reference is readable.
417
450
 
418
451
  Association is asynchronous. An ES consumer can attempt a download before
419
- Timeline has saved the finding-to-attachment link. The inspected SAA code
420
- treats download failures as terminal. Direct polling gates this combination
421
- before uploading or creating the finding. Queue acknowledgement alone must
422
- never be used to lift that gate; doing so requires a proven integration
423
- readiness mechanism and validation against delayed association persistence.
452
+ the attachment service has saved the finding-to-attachment link. Consumers
453
+ must handle temporary unavailability; ES threat analysis requires the
454
+ attachment-read retries described above. Queue acknowledgement is not a
455
+ readiness guarantee.
424
456
 
425
457
  Errors and Retries
426
458
  ------------------
@@ -488,10 +520,11 @@ support policy.
488
520
 
489
521
  Local schema tests check serialized requests against the copied ES schema;
490
522
  HTTP tests check IDs, mixed batch outcomes, errors and secret handling. Polling
491
- tests compose AR-2060/AR-2063 with creation, per-file outcomes and queued links.
492
- Runtime action-data delivery and actual ES/Timeline
493
- behavior must be verified on ``feature/phishing-sdk-changes`` after
494
- the related changes merge. The classic models and proxy API remain available;
523
+ tests compose attachment reservations and uploads with finding creation,
524
+ per-file outcomes and queued links.
525
+ Runtime action-data delivery and end-to-end ES attachment behavior require
526
+ integration testing against the deployed SDK and ES versions. The classic
527
+ models and proxy API remain available;
495
528
  the direct methods adapt the supported legacy payload shapes internally.
496
529
 
497
530
  .. automethod:: soar_sdk.abstract.SOARClient.create_finding
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "splunk-soar-sdk"
3
- version = "7.2.3"
3
+ version = "7.3.0"
4
4
  description = "The official framework for developing and testing Splunk SOAR Apps"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.13, <3.16, !=3.14.*"
@@ -0,0 +1 @@
1
+ 7.3.0
@@ -69,6 +69,12 @@ def _poll_error_details(stage: str, error: Exception) -> dict[str, str | int]:
69
69
  if isinstance(error, kind)
70
70
  )
71
71
  details: dict[str, str | int] = {"stage": stage, "error_type": error_type}
72
+ # Connectors may identify a failure before yielding their first finding.
73
+ # Accept fixed codes only; never copy their exception text or class name.
74
+ with suppress(Exception):
75
+ code = getattr(error, "polling_error_code", None)
76
+ if type(code) is str and code in {"authentication", "mailbox"}:
77
+ details["reason"] = code
72
78
  with suppress(Exception):
73
79
  status = getattr(error, "status_code", None)
74
80
  if status is None:
@@ -157,12 +163,13 @@ def _run_direct_es_poll(
157
163
  details = _poll_error_details(error_stage, error)
158
164
  polling_errors.append(details)
159
165
  getLogger().error(
160
- "ES polling failure: stage=%s error_type=%s status_code=%s rpc_code=%s "
166
+ "ES polling failure: stage=%s error_type=%s status_code=%s rpc_code=%s reason=%s "
161
167
  "findings_accepted=%s findings_recorded=%s pending_findings=%s",
162
168
  details["stage"],
163
169
  details["error_type"],
164
170
  details.get("status_code"),
165
171
  details.get("rpc_code"),
172
+ details.get("reason"),
166
173
  count,
167
174
  len(results),
168
175
  len(batch),
@@ -196,26 +203,6 @@ def _run_direct_es_poll(
196
203
  )
197
204
  continue
198
205
  payload.update(_finding_default_updates(payload, ingest, finding_source))
199
- # Association needs the future finding ID, and its queue ACK does
200
- # not make attachments readable. Reject before allocating files
201
- # until the integration supplies a readiness guarantee.
202
- if item.attachments and (
203
- payload["run_threat_analysis"] or payload["launch_automation"]
204
- ):
205
- results.append(
206
- {
207
- "index": index,
208
- "success": False,
209
- "error_code": "attachment_readiness",
210
- "message": (
211
- "Immediate threat analysis or automation is unavailable "
212
- "for findings with local attachments until attachment "
213
- "readiness is guaranteed. Disable both flags to create "
214
- "the finding."
215
- ),
216
- }
217
- )
218
- continue
219
206
  payloads.append(payload)
220
207
  indexes.append(index)
221
208
  findings.append(item)
@@ -351,6 +338,8 @@ def _run_direct_es_poll(
351
338
  message += f" status_code={first['status_code']}"
352
339
  if "rpc_code" in first:
353
340
  message += f" rpc_code={first['rpc_code']}"
341
+ if "reason" in first:
342
+ message += f" reason={first['reason']}"
354
343
  result = ActionResult(
355
344
  status=status != "error",
356
345
  message=message,
@@ -19,6 +19,29 @@ class ActionFailure(Exception):
19
19
  )
20
20
 
21
21
 
22
+ class PollingError(ActionFailure):
23
+ """A polling failure with a fixed reason and an optional HTTP status.
24
+
25
+ Only ``authentication`` and ``mailbox`` are accepted. Messages are supplied
26
+ by the SDK; callers must not pass upstream exception text or responses.
27
+ """
28
+
29
+ def __init__(self, code: str, status_code: int | None = None) -> None:
30
+ messages = {
31
+ "authentication": "Mail authentication or authorization failed. Check asset credentials and permissions.",
32
+ "mailbox": "Mailbox or folder is unavailable. Check the configured mailbox and access permissions.",
33
+ }
34
+ if type(code) is not str or code not in messages:
35
+ raise ValueError("Unsupported polling error code")
36
+ if status_code is not None and (
37
+ type(status_code) is not int or not 100 <= status_code <= 599
38
+ ):
39
+ raise ValueError("Polling HTTP status must be an integer from 100 to 599")
40
+ self.polling_error_code = code
41
+ self.status_code = status_code
42
+ super().__init__(messages[code])
43
+
44
+
22
45
  class AssetMisconfiguration(ActionFailure):
23
46
  """Exception raised when an asset is misconfigured."""
24
47
 
@@ -159,5 +182,6 @@ __all__ = [
159
182
  "FindingTimeoutError",
160
183
  "FindingUnavailableError",
161
184
  "FindingValidationError",
185
+ "PollingError",
162
186
  "SoarAPIError",
163
187
  ]
@@ -0,0 +1,63 @@
1
+ """Shared diagnostics for connector-owned ES polling generators."""
2
+
3
+ __lazy_modules__ = {
4
+ "collections.abc",
5
+ "contextlib",
6
+ "functools",
7
+ "typing",
8
+ "soar_sdk.exceptions",
9
+ }
10
+
11
+ from collections.abc import Callable, Generator, Iterator
12
+ from contextlib import suppress
13
+ from functools import wraps
14
+ from typing import Protocol
15
+
16
+ from soar_sdk.exceptions import PollingError
17
+
18
+
19
+ class _PollDiagnosticsDecorator(Protocol):
20
+ def __call__[**P, T](
21
+ self, handler: Callable[P, Iterator[T]], /
22
+ ) -> Callable[P, Generator[T]]: ...
23
+
24
+
25
+ def diagnose_es_poll(
26
+ classify_error: Callable[[Exception], tuple[str, int | None] | None],
27
+ ) -> _PollDiagnosticsDecorator:
28
+ """Translate known connector errors into safe polling diagnostics.
29
+
30
+ Args:
31
+ classify_error: Connector-specific classifier returning an allowlisted
32
+ reason and optional HTTP status, or ``None`` for unknown failures.
33
+ If classification fails or returns invalid diagnostics, the original
34
+ exception is re-raised. SDK polling errors pass through unchanged.
35
+
36
+ Returns:
37
+ A decorator that preserves yielded items and generator cleanup. It does
38
+ not retry polling or change checkpoints. Place it below ``@app.on_es_poll()``.
39
+ """
40
+
41
+ def decorate[**P, T](
42
+ handler: Callable[P, Iterator[T]], /
43
+ ) -> Callable[P, Generator[T]]:
44
+ @wraps(handler)
45
+ def wrapped(*args: P.args, **kwargs: P.kwargs) -> Generator[T]:
46
+ try:
47
+ yield from handler(*args, **kwargs)
48
+ except PollingError:
49
+ raise
50
+ except Exception as error:
51
+ diagnostic = None
52
+ with suppress(Exception):
53
+ reason = classify_error(error)
54
+ if reason is not None:
55
+ code, status = reason
56
+ diagnostic = PollingError(code, status)
57
+ if diagnostic is not None:
58
+ raise diagnostic from None
59
+ raise
60
+
61
+ return wrapped
62
+
63
+ return decorate
@@ -1264,7 +1264,7 @@ wheels = [
1264
1264
 
1265
1265
  [[package]]
1266
1266
  name = "splunk-soar-sdk"
1267
- version = "7.2.3"
1267
+ version = "7.3.0"
1268
1268
  source = { directory = "../../" }
1269
1269
  dependencies = [
1270
1270
  { name = "anyio" },
@@ -1264,7 +1264,7 @@ wheels = [
1264
1264
 
1265
1265
  [[package]]
1266
1266
  name = "splunk-soar-sdk"
1267
- version = "7.2.3"
1267
+ version = "7.3.0"
1268
1268
  source = { directory = "../../" }
1269
1269
  dependencies = [
1270
1270
  { name = "anyio" },
@@ -1129,7 +1129,7 @@ wheels = [
1129
1129
 
1130
1130
  [[package]]
1131
1131
  name = "splunk-soar-sdk"
1132
- version = "7.2.3"
1132
+ version = "7.3.0"
1133
1133
  source = { directory = "../../" }
1134
1134
  dependencies = [
1135
1135
  { name = "anyio" },
@@ -1290,7 +1290,7 @@ wheels = [
1290
1290
 
1291
1291
  [[package]]
1292
1292
  name = "splunk-soar-sdk"
1293
- version = "7.2.3"
1293
+ version = "7.3.0"
1294
1294
  source = { directory = "../../" }
1295
1295
  dependencies = [
1296
1296
  { name = "anyio" },
@@ -1118,7 +1118,7 @@ def attached_finding(title="mail", names=("email.eml",), *, raw=True):
1118
1118
  )
1119
1119
  ],
1120
1120
  )
1121
- def test_poll_gates_attachment_consumers_before_async_association(
1121
+ def test_poll_preserves_consumer_flags_before_async_association(
1122
1122
  direct_app, poll_attachments, respx_mock, source, analysis, automation, is_async
1123
1123
  ):
1124
1124
  from soar_sdk.models.finding import FindingEmail
@@ -1152,14 +1152,11 @@ def test_poll_gates_attachment_consumers_before_async_association(
1152
1152
  payload = json.loads(request.content)
1153
1153
  seen.append(payload)
1154
1154
  context.events.append("create")
1155
- if payload["email"].get("attachments"):
1156
- # A consumer triggered by this POST would read before even enqueueing.
1157
- assert not persisted_links
1158
- assert not payload["run_threat_analysis"]
1159
- assert not payload["launch_automation"]
1160
- else:
1161
- assert payload["run_threat_analysis"] is analysis
1162
- assert payload["launch_automation"] is automation
1155
+ # ES owns consumer capabilities; flags must not prevent ingestion while
1156
+ # attachment associations are still queued asynchronously.
1157
+ assert not persisted_links
1158
+ assert payload["run_threat_analysis"] is analysis
1159
+ assert payload["launch_automation"] is automation
1163
1160
  return httpx.Response(
1164
1161
  201, json={"_time": "now", "finding_id": f"finding-{len(seen)}"}
1165
1162
  )
@@ -1191,28 +1188,20 @@ def test_poll_gates_attachment_consumers_before_async_association(
1191
1188
 
1192
1189
  assert poll(OnESPollParams())
1193
1190
  result = outcome(app)
1194
- gated = analysis or automation
1195
- if gated:
1196
- assert context.events == ["create"]
1197
- context.bridge.get_upload_targets.assert_not_called()
1198
- context.upload_mock.assert_not_called()
1199
- context.bridge.associate_subject_attachments.assert_not_called()
1200
- assert result.get_data()[0]["error_code"] == "attachment_readiness"
1201
- assert result.get_data()[1]["finding_id"] == "finding-1"
1202
- assert state["cursor"] == 2
1203
- else:
1204
- assert context.events == ["reserve", "upload", "create", "create", "link_ack"]
1205
- assert pending_links == [
1206
- {"subject_id": "finding-1", "attachment_ids": context.issued}
1207
- ]
1208
- # The queue has ACKed, but Timeline still cannot serve the attachment.
1209
- assert not persisted_links
1210
- assert result.get_data()[0]["attachment_links"]["status"] == "queued"
1211
- assert state["cursor"] == 2
1191
+ assert context.events == ["reserve", "upload", "create", "create", "link_ack"]
1192
+ assert pending_links == [
1193
+ {"subject_id": "finding-1", "attachment_ids": context.issued}
1194
+ ]
1195
+ # The queue has ACKed, but Timeline still cannot serve the attachment.
1196
+ assert not persisted_links
1197
+ assert result.get_data()[0]["finding_id"] == "finding-1"
1198
+ assert result.get_data()[1]["finding_id"] == "finding-2"
1199
+ assert result.get_data()[0]["attachment_links"]["status"] == "queued"
1200
+ assert state["cursor"] == 2
1212
1201
  summary = result.get_summary()
1213
- assert summary["created"] == (1 if gated else 2)
1214
- assert summary["failed"] == int(gated)
1215
- assert summary["status"] == ("partial" if gated else "success")
1202
+ assert summary["created"] == 2
1203
+ assert summary["failed"] == 0
1204
+ assert summary["status"] == "success"
1216
1205
  assert not state.in_transaction
1217
1206
  assert all(not path.exists() for path in context.paths)
1218
1207
 
@@ -1740,3 +1729,48 @@ def test_create_retries_remap_changing_subset_indexes(direct_app, respx_mock):
1740
1729
  attempts
1741
1730
  )
1742
1731
  assert outcome(direct_app).get_summary()["created"] == 3
1732
+
1733
+
1734
+ @pytest.mark.parametrize("code", ["authentication", "mailbox"])
1735
+ def test_poll_reports_allowlisted_connector_setup_reason(
1736
+ direct_app, code, caplog, capsys
1737
+ ):
1738
+ error = Exception(TOKEN)
1739
+ error.polling_error_code = code
1740
+
1741
+ @direct_app.on_es_poll()
1742
+ def poll(params: OnESPollParams) -> Generator[Finding, int | None]:
1743
+ raise error
1744
+ yield # pragma: no cover
1745
+
1746
+ assert not poll(OnESPollParams())
1747
+ result = outcome(direct_app)
1748
+ assert result.get_summary()["polling_errors"] == [
1749
+ {"stage": "poll", "error_type": "Exception", "reason": code}
1750
+ ]
1751
+ assert result.get_summary()["created"] == result.get_summary()["failed"] == 0
1752
+ assert f"reason={code}" in result.get_message()
1753
+ assert f"reason={code}" in caplog.text + capsys.readouterr().out
1754
+ assert TOKEN not in repr(vars(result)) + caplog.text
1755
+
1756
+
1757
+ @pytest.mark.parametrize("code", [None, TOKEN, [], 403])
1758
+ def test_poll_drops_unrecognized_connector_reason(code):
1759
+ error = Exception(TOKEN)
1760
+ error.polling_error_code = code
1761
+ assert _poll_error_details("poll", error) == {
1762
+ "stage": "poll",
1763
+ "error_type": "Exception",
1764
+ }
1765
+
1766
+
1767
+ def test_poll_ignores_raising_connector_reason_property():
1768
+ class ConnectorError(Exception):
1769
+ @property
1770
+ def polling_error_code(self):
1771
+ raise RuntimeError(TOKEN)
1772
+
1773
+ assert _poll_error_details("poll", ConnectorError(TOKEN)) == {
1774
+ "stage": "poll",
1775
+ "error_type": "Exception",
1776
+ }