splunk-soar-sdk 7.2.2__tar.gz → 7.2.4__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.
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/PKG-INFO +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/changelog.rst +8 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/es_findings.rst +59 -36
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/pyproject.toml +1 -1
- splunk_soar_sdk-7.2.4/release_version.txt +1 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/_es_poll.py +125 -26
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/uv.lock +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/uv.lock +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_oauth/uv.lock +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_webhook/uv.lock +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_direct_es_poll.py +261 -32
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/uv.lock +1 -1
- splunk_soar_sdk-7.2.2/release_version.txt +0 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.agents/skills/changelog-authoring/SKILL.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.agents/skills/changelog-authoring/agents/openai.yaml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.agents/skills/changelog-authoring/scripts/check-release-coverage.sh +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.changes/.gitkeep +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.claude/skills/changelog-authoring/SKILL.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/ISSUE_TEMPLATE/bug.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/dependabot.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/pull_request_template.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/scripts/generate_test_summary.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/utils/changelog.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/utils/github.js +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/utils/update_version.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/workflows/code_quality.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/workflows/commit_hygiene.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/workflows/dependabot_precommit_autofix.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/workflows/generate_docs.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/workflows/integration_tests.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.github/workflows/semantic_release.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.gitignore +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.pre-commit-config.yaml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/.releaserc +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/AGENTS.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/LICENSE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/README.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/commitlint.config.js +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/_static/favicon.png +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/_static/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/api_reference.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/app_structure/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/app_structure/pre-commit-config.yaml.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/app_structure/pyproject.toml.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/app_structure/src_app.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/authentication/basic.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/authentication/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/authentication/oauth.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/authentication/static_token.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/cli_reference.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/conf.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/custom_views/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/custom_views/reusable_components.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/custom_views/templates.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/custom_views/view_handlers.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/getting_started/defining_asset.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/getting_started/first_action.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/getting_started/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/getting_started/init_app.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/getting_started/installation.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/getting_started/testing_and_building.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/docs/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/logo.png +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/README.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/install.sh +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/mcp_config.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/pytest.ini +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/src/soar_test_assistant/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/src/soar_test_assistant/server.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/tests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/tests/test_analyzer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/mcp_server/uv.lock +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/release_notes.txt +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/abstract.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/action_results.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/actions_manager.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/apis/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/apis/_attachment_upload.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/apis/_es_findings.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/apis/artifact.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/apis/attachments.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/apis/container.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/apis/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/apis/vault.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/app_cli_runner.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/app_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/app_templates/basic_app/.gitignore +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/app_templates/basic_app/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/app_templates/basic_app/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/app_templates/basic_app/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/app_templates/basic_app/uv.lock +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/asset.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/asset_state.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/async_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/auth/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/auth/client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/auth/factories.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/auth/flows.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/auth/httpx_auth.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/auth/models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/init/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/init/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/init/wizard.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/manifests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/manifests/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/manifests/compatibility.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/manifests/deserializers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/manifests/notice.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/manifests/processors.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/manifests/serializers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/package/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/package/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/path_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/test/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/test/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/cli/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/action_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/app_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/asset_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/pre_commit_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/templates/pre-commit-config.yaml.jinja +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/templates/pyproject.toml.jinja +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/code_renderers/toml_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/colors.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/compat.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/concurrency.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/crypto.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/_es_poll_attachments.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/_es_poll_preparation.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/make_request.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/on_es_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/on_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/test_connectivity.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/view_handler.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/decorators/webhook.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/exceptions.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/extras/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/extras/email/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/extras/email/email_data.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/extras/email/processor.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/extras/email/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/field_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/input_spec.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/logging.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/actions.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/adapters.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/datatypes.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/dependencies/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/dependencies/constants.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/dependencies/lock.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/dependencies/package.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/dependencies/sources.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/dependencies/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/dependencies/uv_models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/dependencies/wheels.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/meta/webhooks.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/artifact.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/attachment_input.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/attachment_upload.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/container.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/es_finding.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/finding.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/vault_attachment.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/models/view.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/networking.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/params.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/paths.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/py.typed +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/action_result.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/base_connector.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/cef.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/connector_result.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/consts.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/encryption_helper.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/install_info.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/json_keys.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/ph_ipc.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom/vault.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom_common/app_interface/app_interface.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom_common/credential_managers/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/shims/phantom_common/encryption/encryption_manager_factory.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/templates/base/base_template.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/templates/base/error.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/templates/base/header.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/templates/base/logo_header.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/templates/components/pie_chart.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/templates/widgets/widget_resize_snippet.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/templates/widgets/widget_template.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/types.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/views/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/views/component_registry.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/views/components/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/views/components/pie_chart.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/views/template_filters.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/views/template_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/views/view_parser.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/webhooks/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/webhooks/_runtime.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/webhooks/models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/src/soar_sdk/webhooks/routing.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/datapath_parse.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/manifests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/manifests/test_compatibility.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/manifests/test_processors.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/manifests/test_python_version_resolution.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_assets/converted_app/actions.py.txt +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_convert_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_deserializers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_init_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_manifests_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_notice_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_package_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_serializers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_test_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/cli/test_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/code_renderers/test_action_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/conftest.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/LICENSE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/NOTICE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/README.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/app.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/example_asset_es.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/release_notes/v1.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/src/actions/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/src/actions/async_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/src/actions/generate_category.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/src/actions/permissive_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/src/actions/reverse_string.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/src/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/src/ignoreme.txt +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app/templates/reverse_string.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/LICENSE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/NOTICE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/README.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/app.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_plaintext_state/src/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_oauth/app.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_oauth/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_oauth/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_oauth/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_oauth/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_oauth/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_oauth/src/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_webhook/app.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_webhook/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_webhook/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_webhook/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_webhook/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_webhook/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/example_app_with_webhook/src/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/fixtures/es_findings_openapi.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/conftest.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/phantom_constants.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/phantom_instance.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/soar_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/test_asset_state_filesystem.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/test_es_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/test_example_app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/test_example_app_with_webhook.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/test_package_install.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/integration/test_vault_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/interfaces/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/interfaces/test_artifact_interface.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/interfaces/test_container_interface.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/interfaces/test_vault_interface.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/meta/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/meta/test_actions.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/meta/test_adapters.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/meta/test_datatypes.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/meta/test_dependencies.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/meta/test_webhooks.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/mocks/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/mocks/dynamic_mocks.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/mocks/importable_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/stubs.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_action_results.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_actions_manager.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_app_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_app_action_params.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_app_action_results.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_app_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_app_runner.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_asset.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_asset_state.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_assets/splunk-sdk-2.1.0.tar.gz +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_async_integration.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_async_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_attachment_file_upload.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_attachment_input.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_attachment_uploads.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_changelog.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_code_renderers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_compat.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_container.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_credential_management.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_custom_views.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_email_data.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_email_processor.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_encryption.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_es_findings_api.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_es_on_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_field_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_finding.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_input_spec.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_lazy_imports.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_logging.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_make_request_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_networking.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_oauth_certificate_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_oauth_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_oauth_factories.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_oauth_flows.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_oauth_httpx_auth.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_oauth_models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_on_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_params.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_permissive_action_results.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_template_filters.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_template_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_test_connectivity.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/test_view_parser.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/webhooks/test_models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/tests/webhooks/test_routing.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.4}/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
|
+
Version: 7.2.4
|
|
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
|
|
@@ -12,6 +12,14 @@ bugfix.
|
|
|
12
12
|
.. dropdown:: SDK 7
|
|
13
13
|
:open:
|
|
14
14
|
|
|
15
|
+
.. rubric:: 7.2.4 (2026-11-19)
|
|
16
|
+
|
|
17
|
+
* 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.
|
|
18
|
+
|
|
19
|
+
.. rubric:: 7.2.3 (2026-11-19)
|
|
20
|
+
|
|
21
|
+
* 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.
|
|
22
|
+
|
|
15
23
|
.. rubric:: 7.2.2 (2026-11-18)
|
|
16
24
|
|
|
17
25
|
* Fix: Keep direct ES ingestion moving by skipping failed findings after bounded retries and saving their staged source checkpoints, with safe diagnostics for skipped findings.
|
|
@@ -160,6 +160,29 @@ in every processed batch are attempted. All-failed or handler/state failures rep
|
|
|
160
160
|
an unsuccessful action.
|
|
161
161
|
An empty poll succeeds. Generators are closed on exit, including a count limit.
|
|
162
162
|
|
|
163
|
+
Handler, batch and checkpoint exceptions add ``polling_errors`` to the summary.
|
|
164
|
+
Each entry identifies the SDK ``stage`` and an allowlisted ``error_type``; a valid
|
|
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
|
+
The action message includes the first error's details. Later cleanup errors are
|
|
172
|
+
retained in the summary without replacing the first failure. Error logs also
|
|
173
|
+
include counts of findings accepted from the connector, recorded outcomes and
|
|
174
|
+
pending batch entries. These are SDK counters, not counts of source emails read
|
|
175
|
+
or skipped, and recorded outcomes do not prove whether an interrupted ES request
|
|
176
|
+
created a finding.
|
|
177
|
+
|
|
178
|
+
For example, ``ES polling error: 0 created, 0 failed. stage=state_commit
|
|
179
|
+
error_type=RpcError rpc_code=UNAVAILABLE`` identifies a checkpoint-save failure
|
|
180
|
+
whose transport reported unavailability. A generic ``RuntimeError`` identifies
|
|
181
|
+
only the exception category; it does not establish its underlying cause. The
|
|
182
|
+
``poll`` stage includes connector-owned fetching, parsing and state access before
|
|
183
|
+
the next finding is yielded. Exception messages, arbitrary exception class names,
|
|
184
|
+
tracebacks, HTTP bodies, URLs, credentials and checkpoint values are omitted.
|
|
185
|
+
|
|
163
186
|
Each processed batch commits its ingest-state checkpoint, including finding
|
|
164
187
|
creation and validation failures. After the bounded retries described under
|
|
165
188
|
Errors and Retries, failed findings are skipped and polling continues with later
|
|
@@ -183,11 +206,11 @@ behavior is unchanged.
|
|
|
183
206
|
For each yielded ``Finding``, local ``Finding.attachments`` are handled in order:
|
|
184
207
|
|
|
185
208
|
#. The decorator writes their bytes to SDK-owned temporary files and requests
|
|
186
|
-
targets through ``soar.attachments.get_upload_targets
|
|
209
|
+
targets through ``soar.attachments.get_upload_targets``. Each
|
|
187
210
|
attachment batch makes one bulk reservation with a new UUID idempotency key.
|
|
188
211
|
A finding with more than 20 files uses consecutive reservations of at most 20.
|
|
189
212
|
Returned IDs must be UUIDs and must not be reused anywhere in the run.
|
|
190
|
-
#. ``soar.attachments.upload_files``
|
|
213
|
+
#. ``soar.attachments.upload_files`` uploads the files with at most four
|
|
191
214
|
workers. Temporary files are removed on success and failure. Input names are
|
|
192
215
|
metadata only; they are never used as local paths.
|
|
193
216
|
#. Only successful uploads populate ``email.attachments`` entries with
|
|
@@ -218,19 +241,19 @@ success or safe failure details; failures before reservation have no ID.
|
|
|
218
241
|
``attachment_links`` records ``queued`` or ``failed`` with the affected IDs.
|
|
219
242
|
An attachment or link failure makes an otherwise successful poll ``partial``.
|
|
220
243
|
|
|
221
|
-
An association
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
polling is unchanged.
|
|
244
|
+
An attachment association acknowledgement confirms queued processing; it does
|
|
245
|
+
not guarantee that the attachment is readable. Findings with local attachments
|
|
246
|
+
may enable ``run_threat_analysis``: ES submits their raw email to Splunk Attack
|
|
247
|
+
Analyzer (SAA). This requires an ES version that retries reads of attachments
|
|
248
|
+
that are not yet available. Deploy that ES support before upgrading the SDK
|
|
249
|
+
for assets using this option. The SDK preserves the requested analysis flag;
|
|
250
|
+
it does not wait for analysis completion.
|
|
251
|
+
|
|
252
|
+
The SDK also preserves ``launch_automation`` without rejecting findings with
|
|
253
|
+
local attachments. ES owns automation-rule support and dispatch, which depend
|
|
254
|
+
on the active automation provider. Successful ingestion and an association
|
|
255
|
+
acknowledgement do not guarantee immediate attachment availability or automation
|
|
256
|
+
execution. Classic polling is unchanged.
|
|
234
257
|
|
|
235
258
|
Request Model Fields
|
|
236
259
|
--------------------
|
|
@@ -328,18 +351,19 @@ Callers managing files explicitly can use the same SDK APIs without yielding
|
|
|
328
351
|
those files again; they own the batch, references, outcomes and cleanup:
|
|
329
352
|
|
|
330
353
|
1. Collect findings and download their attachments to temporary files.
|
|
331
|
-
2. Use one
|
|
354
|
+
2. Use one ``soar.attachments.get_upload_targets`` call per connector
|
|
332
355
|
batch, with exactly the total number of attachment filenames in that batch.
|
|
333
356
|
Assign each file exactly one returned ID; never reuse an ID. The
|
|
334
357
|
reservation service accepts at most 20 files per request, so connector batch
|
|
335
|
-
sizing must respect that attachment limit
|
|
336
|
-
|
|
337
|
-
3. Upload bytes using
|
|
338
|
-
URLs and multipart field values are credentials,
|
|
358
|
+
sizing must respect that attachment limit. Do not request targets separately
|
|
359
|
+
for each finding.
|
|
360
|
+
3. Upload bytes using ``soar.attachments.upload_files``. Track success for each
|
|
361
|
+
attachment ID. Presigned URLs and multipart field values are credentials,
|
|
362
|
+
not permanent finding links.
|
|
339
363
|
4. Populate the ES attachment-reference fields with successful
|
|
340
364
|
uploads, then call ``soar.create_findings_bulk`` (or ``soar.create_finding`` for one finding).
|
|
341
365
|
5. For successfully created findings only, pass the returned IDs unchanged to
|
|
342
|
-
|
|
366
|
+
``soar.attachments.associate_subject_attachments``:
|
|
343
367
|
|
|
344
368
|
.. code-block:: python
|
|
345
369
|
|
|
@@ -358,9 +382,8 @@ those files again; they own the batch, references, outcomes and cleanup:
|
|
|
358
382
|
|
|
359
383
|
6. Report counts and per-finding/per-attachment failures, then delete temporary
|
|
360
384
|
files in a ``finally`` block, whether the run succeeds or fails. Association
|
|
361
|
-
returns a durable queue message ID;
|
|
362
|
-
|
|
363
|
-
completed linking.
|
|
385
|
+
returns a durable queue message ID; the attachment service completes the
|
|
386
|
+
link asynchronously. Enqueueing does not confirm completed linking.
|
|
364
387
|
|
|
365
388
|
When there are no attachments, skip upload target creation, uploads and linking.
|
|
366
389
|
If upload URL reservation fails, mark those attachments failed and create findings
|
|
@@ -381,8 +404,8 @@ the already-created findings. Do not recreate findings to retry linking.
|
|
|
381
404
|
Connectors must not add their own retries around direct polling; its bounded
|
|
382
405
|
creation retries are described below.
|
|
383
406
|
|
|
384
|
-
Connector code must use SDK APIs for reservations
|
|
385
|
-
|
|
407
|
+
Connector code must use SDK APIs for reservations, byte uploads, finding
|
|
408
|
+
creation, and associations, without direct gRPC,
|
|
386
409
|
S3, ES REST calls or hard-coded endpoints. ES tokens, presigned URLs and file
|
|
387
410
|
contents must be excluded from logs, errors and run results across all stages.
|
|
388
411
|
Connector migrations and durable association verification belong to the shared
|
|
@@ -394,15 +417,14 @@ changing classic SOAR container and vault behavior.
|
|
|
394
417
|
The inspected OpenAPI does not define an attachment-ID property. It declares
|
|
395
418
|
``email.raw_email_link`` and attachment URLs as URIs. The runtime-supplied
|
|
396
419
|
reference format is temporary and requires the matching ES reader update.
|
|
397
|
-
|
|
420
|
+
The association API accepts stable IDs separately. Successful schema
|
|
398
421
|
validation alone does not prove the reference is readable.
|
|
399
422
|
|
|
400
423
|
Association is asynchronous. An ES consumer can attempt a download before
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
readiness mechanism and validation against delayed association persistence.
|
|
424
|
+
the attachment service has saved the finding-to-attachment link. Consumers
|
|
425
|
+
must handle temporary unavailability; ES threat analysis requires the
|
|
426
|
+
attachment-read retries described above. Queue acknowledgement is not a
|
|
427
|
+
readiness guarantee.
|
|
406
428
|
|
|
407
429
|
Errors and Retries
|
|
408
430
|
------------------
|
|
@@ -470,10 +492,11 @@ support policy.
|
|
|
470
492
|
|
|
471
493
|
Local schema tests check serialized requests against the copied ES schema;
|
|
472
494
|
HTTP tests check IDs, mixed batch outcomes, errors and secret handling. Polling
|
|
473
|
-
tests compose
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
495
|
+
tests compose attachment reservations and uploads with finding creation,
|
|
496
|
+
per-file outcomes and queued links.
|
|
497
|
+
Runtime action-data delivery and end-to-end ES attachment behavior require
|
|
498
|
+
integration testing against the deployed SDK and ES versions. The classic
|
|
499
|
+
models and proxy API remain available;
|
|
477
500
|
the direct methods adapt the supported legacy payload shapes internally.
|
|
478
501
|
|
|
479
502
|
.. automethod:: soar_sdk.abstract.SOARClient.create_finding
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.2.4
|
|
@@ -4,9 +4,12 @@ __lazy_modules__ = {
|
|
|
4
4
|
"asyncio",
|
|
5
5
|
"contextlib",
|
|
6
6
|
"copy",
|
|
7
|
+
"httpx",
|
|
8
|
+
"sys",
|
|
7
9
|
"soar_sdk.abstract",
|
|
8
10
|
"soar_sdk.action_results",
|
|
9
11
|
"soar_sdk.app",
|
|
12
|
+
"soar_sdk.exceptions",
|
|
10
13
|
"soar_sdk.decorators._es_poll_attachments",
|
|
11
14
|
"soar_sdk.decorators._es_poll_preparation",
|
|
12
15
|
"soar_sdk.models.finding",
|
|
@@ -17,11 +20,14 @@ __lazy_modules__ = {
|
|
|
17
20
|
}
|
|
18
21
|
|
|
19
22
|
import asyncio
|
|
23
|
+
import sys
|
|
20
24
|
from contextlib import suppress
|
|
21
25
|
from copy import deepcopy
|
|
22
26
|
from time import sleep
|
|
23
27
|
from typing import TYPE_CHECKING, Any
|
|
24
28
|
|
|
29
|
+
import httpx
|
|
30
|
+
|
|
25
31
|
from soar_sdk.abstract import SOARClient
|
|
26
32
|
from soar_sdk.action_results import ActionResult
|
|
27
33
|
from soar_sdk.decorators._es_poll_attachments import (
|
|
@@ -32,6 +38,7 @@ from soar_sdk.decorators._es_poll_preparation import (
|
|
|
32
38
|
_default_finding_source,
|
|
33
39
|
_finding_default_updates,
|
|
34
40
|
)
|
|
41
|
+
from soar_sdk.exceptions import ActionFailure, FindingAPIError
|
|
35
42
|
from soar_sdk.logging import getLogger
|
|
36
43
|
from soar_sdk.models.finding import Finding
|
|
37
44
|
from soar_sdk.params import OnESPollParams
|
|
@@ -40,6 +47,69 @@ if TYPE_CHECKING:
|
|
|
40
47
|
from soar_sdk.app import App
|
|
41
48
|
|
|
42
49
|
|
|
50
|
+
def _poll_error_details(stage: str, error: Exception) -> dict[str, str | int]:
|
|
51
|
+
"""Describe a polling failure without exception text or dynamic class names."""
|
|
52
|
+
error_type = next(
|
|
53
|
+
kind.__name__
|
|
54
|
+
for kind in (
|
|
55
|
+
httpx.HTTPStatusError,
|
|
56
|
+
httpx.TimeoutException,
|
|
57
|
+
httpx.TransportError,
|
|
58
|
+
FindingAPIError,
|
|
59
|
+
ActionFailure,
|
|
60
|
+
TimeoutError,
|
|
61
|
+
ConnectionError,
|
|
62
|
+
KeyError,
|
|
63
|
+
TypeError,
|
|
64
|
+
ValueError,
|
|
65
|
+
RuntimeError,
|
|
66
|
+
OSError,
|
|
67
|
+
Exception,
|
|
68
|
+
)
|
|
69
|
+
if isinstance(error, kind)
|
|
70
|
+
)
|
|
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
|
|
78
|
+
with suppress(Exception):
|
|
79
|
+
status = getattr(error, "status_code", None)
|
|
80
|
+
if status is None:
|
|
81
|
+
status = getattr(getattr(error, "response", None), "status_code", None)
|
|
82
|
+
if type(status) is int and 100 <= status <= 599:
|
|
83
|
+
details["status_code"] = status
|
|
84
|
+
# LB state storage uses gRPC, but classic SOAR does not require grpcio.
|
|
85
|
+
# Read only a recognized status enum, never details(), debug strings or args.
|
|
86
|
+
grpc = sys.modules.get("grpc")
|
|
87
|
+
if grpc is not None and isinstance(error, getattr(grpc, "RpcError", ())):
|
|
88
|
+
details["error_type"] = "RpcError"
|
|
89
|
+
with suppress(Exception):
|
|
90
|
+
code = error.code().name
|
|
91
|
+
if code in {
|
|
92
|
+
"CANCELLED",
|
|
93
|
+
"UNKNOWN",
|
|
94
|
+
"INVALID_ARGUMENT",
|
|
95
|
+
"DEADLINE_EXCEEDED",
|
|
96
|
+
"NOT_FOUND",
|
|
97
|
+
"ALREADY_EXISTS",
|
|
98
|
+
"PERMISSION_DENIED",
|
|
99
|
+
"RESOURCE_EXHAUSTED",
|
|
100
|
+
"FAILED_PRECONDITION",
|
|
101
|
+
"ABORTED",
|
|
102
|
+
"OUT_OF_RANGE",
|
|
103
|
+
"UNIMPLEMENTED",
|
|
104
|
+
"INTERNAL",
|
|
105
|
+
"UNAVAILABLE",
|
|
106
|
+
"DATA_LOSS",
|
|
107
|
+
"UNAUTHENTICATED",
|
|
108
|
+
}:
|
|
109
|
+
details["rpc_code"] = code
|
|
110
|
+
return details
|
|
111
|
+
|
|
112
|
+
|
|
43
113
|
def _create_poll_findings(
|
|
44
114
|
soar: SOARClient, payloads: list[dict[str, Any]]
|
|
45
115
|
) -> list[dict[str, Any]]:
|
|
@@ -80,6 +150,8 @@ def _run_direct_es_poll(
|
|
|
80
150
|
ingest = app._es_ingest_config
|
|
81
151
|
state = app.asset._ingest_state
|
|
82
152
|
polling_failed = False
|
|
153
|
+
polling_errors: list[dict[str, str | int]] = []
|
|
154
|
+
stage = "state_begin"
|
|
83
155
|
count = 0
|
|
84
156
|
used_attachment_ids: set[str] = set()
|
|
85
157
|
attachment_count = 0
|
|
@@ -87,10 +159,27 @@ def _run_direct_es_poll(
|
|
|
87
159
|
str(app.app_meta_info.get("name", "")), app._asset_name
|
|
88
160
|
)
|
|
89
161
|
|
|
162
|
+
def record_error(error_stage: str, error: Exception) -> None:
|
|
163
|
+
details = _poll_error_details(error_stage, error)
|
|
164
|
+
polling_errors.append(details)
|
|
165
|
+
getLogger().error(
|
|
166
|
+
"ES polling failure: stage=%s error_type=%s status_code=%s rpc_code=%s reason=%s "
|
|
167
|
+
"findings_accepted=%s findings_recorded=%s pending_findings=%s",
|
|
168
|
+
details["stage"],
|
|
169
|
+
details["error_type"],
|
|
170
|
+
details.get("status_code"),
|
|
171
|
+
details.get("rpc_code"),
|
|
172
|
+
details.get("reason"),
|
|
173
|
+
count,
|
|
174
|
+
len(results),
|
|
175
|
+
len(batch),
|
|
176
|
+
)
|
|
177
|
+
|
|
90
178
|
def flush() -> None:
|
|
91
|
-
nonlocal attachment_count
|
|
179
|
+
nonlocal attachment_count, stage
|
|
92
180
|
if not batch:
|
|
93
181
|
return
|
|
182
|
+
stage = "prepare_findings"
|
|
94
183
|
start = len(results)
|
|
95
184
|
payloads = []
|
|
96
185
|
indexes = []
|
|
@@ -114,34 +203,17 @@ def _run_direct_es_poll(
|
|
|
114
203
|
)
|
|
115
204
|
continue
|
|
116
205
|
payload.update(_finding_default_updates(payload, ingest, finding_source))
|
|
117
|
-
# Association needs the future finding ID, and its queue ACK does
|
|
118
|
-
# not make attachments readable. Reject before allocating files
|
|
119
|
-
# until the integration supplies a readiness guarantee.
|
|
120
|
-
if item.attachments and (
|
|
121
|
-
payload["run_threat_analysis"] or payload["launch_automation"]
|
|
122
|
-
):
|
|
123
|
-
results.append(
|
|
124
|
-
{
|
|
125
|
-
"index": index,
|
|
126
|
-
"success": False,
|
|
127
|
-
"error_code": "attachment_readiness",
|
|
128
|
-
"message": (
|
|
129
|
-
"Immediate threat analysis or automation is unavailable "
|
|
130
|
-
"for findings with local attachments until attachment "
|
|
131
|
-
"readiness is guaranteed. Disable both flags to create "
|
|
132
|
-
"the finding."
|
|
133
|
-
),
|
|
134
|
-
}
|
|
135
|
-
)
|
|
136
|
-
continue
|
|
137
206
|
payloads.append(payload)
|
|
138
207
|
indexes.append(index)
|
|
139
208
|
findings.append(item)
|
|
140
209
|
if payloads:
|
|
210
|
+
stage = "upload_attachments"
|
|
141
211
|
attachments = _upload_poll_attachments(
|
|
142
212
|
soar, findings, payloads, params.base_url or "", used_attachment_ids
|
|
143
213
|
)
|
|
214
|
+
stage = "create_findings"
|
|
144
215
|
response = _create_poll_findings(soar, payloads)
|
|
216
|
+
stage = "process_response"
|
|
145
217
|
batch_results = []
|
|
146
218
|
for result in response:
|
|
147
219
|
position = result["index"]
|
|
@@ -149,6 +221,7 @@ def _run_direct_es_poll(
|
|
|
149
221
|
if attachments[position]:
|
|
150
222
|
entry["attachments"] = attachments[position]
|
|
151
223
|
batch_results.append(entry)
|
|
224
|
+
stage = "associate_attachments"
|
|
152
225
|
_queue_poll_attachment_links(soar, batch_results)
|
|
153
226
|
results.extend(batch_results)
|
|
154
227
|
batch.clear()
|
|
@@ -156,7 +229,9 @@ def _run_direct_es_poll(
|
|
|
156
229
|
# Source messages have been processed even when ES rejects their findings.
|
|
157
230
|
# Persist their staged cursors so a poison message cannot block later mail.
|
|
158
231
|
if state is not None:
|
|
232
|
+
stage = "state_commit"
|
|
159
233
|
state.commit()
|
|
234
|
+
stage = "state_begin"
|
|
160
235
|
state.begin_transaction()
|
|
161
236
|
for outcome in results[start:]:
|
|
162
237
|
if not outcome["success"]:
|
|
@@ -172,8 +247,10 @@ def _run_direct_es_poll(
|
|
|
172
247
|
if state is not None:
|
|
173
248
|
state.begin_transaction()
|
|
174
249
|
while not params.container_count or count < params.container_count:
|
|
250
|
+
stage = "state_read"
|
|
175
251
|
checkpoint = deepcopy(state.get_all()) if state is not None else {}
|
|
176
252
|
try:
|
|
253
|
+
stage = "poll"
|
|
177
254
|
item = (
|
|
178
255
|
asyncio.run(generator.asend(None))
|
|
179
256
|
if is_async
|
|
@@ -181,15 +258,19 @@ def _run_direct_es_poll(
|
|
|
181
258
|
)
|
|
182
259
|
except (StopIteration, StopAsyncIteration):
|
|
183
260
|
break
|
|
261
|
+
stage = "read_finding"
|
|
184
262
|
file_count = len(item.attachments or []) if isinstance(item, Finding) else 0
|
|
185
263
|
if batch and attachment_count + file_count > 20:
|
|
186
264
|
# Reading the next finding can advance its source cursor. Commit
|
|
187
265
|
# only the previous batch, then restore the lookahead's state.
|
|
188
266
|
if state is not None:
|
|
267
|
+
stage = "state_read"
|
|
189
268
|
next_state = state.get_all()
|
|
269
|
+
stage = "state_restore"
|
|
190
270
|
state.put_all(checkpoint)
|
|
191
271
|
flush()
|
|
192
272
|
if state is not None:
|
|
273
|
+
stage = "state_restore"
|
|
193
274
|
state.put_all(next_state)
|
|
194
275
|
batch.append((count, item))
|
|
195
276
|
attachment_count += file_count
|
|
@@ -197,28 +278,35 @@ def _run_direct_es_poll(
|
|
|
197
278
|
if len(batch) == soar.MAX_BULK_FINDINGS:
|
|
198
279
|
flush()
|
|
199
280
|
flush()
|
|
200
|
-
except Exception:
|
|
281
|
+
except Exception as error:
|
|
201
282
|
# Handler exceptions can contain credentials or message contents.
|
|
202
283
|
polling_failed = True
|
|
284
|
+
record_error(stage, error)
|
|
203
285
|
finally:
|
|
204
286
|
try:
|
|
205
287
|
if is_async:
|
|
206
288
|
asyncio.run(generator.aclose())
|
|
207
289
|
else:
|
|
208
290
|
generator.close()
|
|
209
|
-
except Exception:
|
|
291
|
+
except Exception as error:
|
|
210
292
|
polling_failed = True
|
|
293
|
+
record_error("generator_close", error)
|
|
211
294
|
if state is not None and state.in_transaction:
|
|
212
295
|
try:
|
|
213
296
|
if polling_failed:
|
|
297
|
+
stage = "state_rollback"
|
|
214
298
|
state.rollback()
|
|
215
299
|
else:
|
|
216
300
|
# Save trailing source progress, including skipped messages.
|
|
301
|
+
stage = "state_commit"
|
|
217
302
|
state.commit()
|
|
218
|
-
except Exception:
|
|
303
|
+
except Exception as error:
|
|
219
304
|
polling_failed = True
|
|
220
|
-
|
|
305
|
+
record_error(stage, error)
|
|
306
|
+
try:
|
|
221
307
|
state.rollback()
|
|
308
|
+
except Exception as rollback_error:
|
|
309
|
+
record_error("state_rollback", rollback_error)
|
|
222
310
|
|
|
223
311
|
results.sort(key=lambda result: result["index"])
|
|
224
312
|
created = sum(result["success"] for result in results)
|
|
@@ -242,9 +330,19 @@ def _run_direct_es_poll(
|
|
|
242
330
|
if failed or upload_failed or links_failed
|
|
243
331
|
else "success"
|
|
244
332
|
)
|
|
333
|
+
message = f"ES polling {status}: {created} created, {failed} failed."
|
|
334
|
+
if polling_errors:
|
|
335
|
+
first = polling_errors[0]
|
|
336
|
+
message += f" stage={first['stage']} error_type={first['error_type']}"
|
|
337
|
+
if "status_code" in first:
|
|
338
|
+
message += f" status_code={first['status_code']}"
|
|
339
|
+
if "rpc_code" in first:
|
|
340
|
+
message += f" rpc_code={first['rpc_code']}"
|
|
341
|
+
if "reason" in first:
|
|
342
|
+
message += f" reason={first['reason']}"
|
|
245
343
|
result = ActionResult(
|
|
246
344
|
status=status != "error",
|
|
247
|
-
message=
|
|
345
|
+
message=message,
|
|
248
346
|
param=params.model_dump(),
|
|
249
347
|
)
|
|
250
348
|
for outcome in results:
|
|
@@ -259,6 +357,7 @@ def _run_direct_es_poll(
|
|
|
259
357
|
"attachments_failed": upload_failed,
|
|
260
358
|
"links_queued": links_queued,
|
|
261
359
|
"links_failed": links_failed,
|
|
360
|
+
**({"polling_errors": polling_errors} if polling_errors else {}),
|
|
262
361
|
}
|
|
263
362
|
)
|
|
264
363
|
return app._adapt_action_result(result, app.actions_manager)
|