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.
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/PKG-INFO +1 -1
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/api_reference.rst +5 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/changelog.rst +8 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/es_findings.rst +69 -36
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/pyproject.toml +1 -1
- splunk_soar_sdk-7.3.0/release_version.txt +1 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/_es_poll.py +10 -21
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/exceptions.py +24 -0
- splunk_soar_sdk-7.3.0/src/soar_sdk/polling.py +63 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/uv.lock +1 -1
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/uv.lock +1 -1
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/uv.lock +1 -1
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/uv.lock +1 -1
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_direct_es_poll.py +64 -30
- splunk_soar_sdk-7.3.0/tests/test_polling_diagnostics.py +141 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/uv.lock +1 -1
- splunk_soar_sdk-7.2.3/release_version.txt +0 -1
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.agents/skills/changelog-authoring/SKILL.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.agents/skills/changelog-authoring/agents/openai.yaml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.agents/skills/changelog-authoring/scripts/check-release-coverage.sh +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.changes/.gitkeep +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.claude/skills/changelog-authoring/SKILL.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/ISSUE_TEMPLATE/bug.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/dependabot.yml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/pull_request_template.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/scripts/generate_test_summary.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/utils/changelog.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/utils/github.js +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/utils/update_version.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/code_quality.yml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/commit_hygiene.yml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/dependabot_precommit_autofix.yml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/generate_docs.yml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/integration_tests.yml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.github/workflows/semantic_release.yml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.gitignore +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.pre-commit-config.yaml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/.releaserc +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/AGENTS.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/LICENSE +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/README.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/commitlint.config.js +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/_static/favicon.png +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/_static/logo.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/app_structure/index.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/app_structure/pre-commit-config.yaml.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/app_structure/pyproject.toml.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/app_structure/src_app.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/authentication/basic.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/authentication/index.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/authentication/oauth.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/authentication/static_token.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/cli_reference.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/conf.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/custom_views/index.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/custom_views/reusable_components.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/custom_views/templates.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/custom_views/view_handlers.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/defining_asset.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/first_action.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/index.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/init_app.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/installation.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/getting_started/testing_and_building.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/docs/index.rst +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/logo.png +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/logo.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/README.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/install.sh +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/mcp_config.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/pytest.ini +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/src/soar_test_assistant/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/src/soar_test_assistant/server.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/tests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/tests/test_analyzer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/mcp_server/uv.lock +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/release_notes.txt +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/abstract.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/action_results.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/actions_manager.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/_attachment_upload.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/_es_findings.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/artifact.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/attachments.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/container.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/apis/vault.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_cli_runner.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_client.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/.gitignore +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/logo.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/app_templates/basic_app/uv.lock +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/asset.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/asset_state.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/async_utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/client.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/factories.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/flows.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/httpx_auth.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/auth/models.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/init/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/init/cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/init/wizard.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/compatibility.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/deserializers.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/notice.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/processors.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/manifests/serializers.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/package/cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/package/utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/path_utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/test/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/test/cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/cli/utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/action_renderer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/app_renderer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/asset_renderer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/pre_commit_renderer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/renderer.py +0 -0
- {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
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/templates/pyproject.toml.jinja +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/code_renderers/toml_renderer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/colors.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/compat.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/concurrency.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/crypto.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/_es_poll_attachments.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/_es_poll_preparation.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/action.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/make_request.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/on_es_poll.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/on_poll.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/test_connectivity.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/view_handler.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/decorators/webhook.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/email/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/email/email_data.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/email/processor.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/extras/email/utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/field_utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/input_spec.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/logging.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/actions.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/adapters.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/datatypes.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/constants.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/lock.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/package.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/sources.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/uv_models.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/dependencies/wheels.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/meta/webhooks.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/artifact.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/attachment_input.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/attachment_upload.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/container.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/es_finding.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/finding.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/vault_attachment.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/models/view.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/networking.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/params.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/paths.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/py.typed +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/action_result.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/base_connector.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/cef.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/connector_result.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/consts.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/encryption_helper.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/install_info.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/json_keys.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/ph_ipc.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom/vault.py +0 -0
- {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
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/shims/phantom_common/credential_managers/__init__.py +0 -0
- {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
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/base/base_template.html +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/base/error.html +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/base/header.html +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/base/logo_header.html +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/components/pie_chart.html +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/widgets/widget_resize_snippet.html +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/templates/widgets/widget_template.html +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/types.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/component_registry.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/components/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/components/pie_chart.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/template_filters.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/template_renderer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/views/view_parser.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/webhooks/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/webhooks/_runtime.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/webhooks/models.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/src/soar_sdk/webhooks/routing.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/datapath_parse.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/manifests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/manifests/test_compatibility.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/manifests/test_processors.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/manifests/test_python_version_resolution.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_assets/converted_app/actions.py.txt +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_convert_cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_deserializers.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_init_cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_manifests_cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_notice_cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_package_cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_serializers.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_test_cli.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/cli/test_utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/code_renderers/test_action_renderer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/conftest.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/LICENSE +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/NOTICE +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/README.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/app.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/example_asset_es.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/logo.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/release_notes/v1.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/async_action.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/generate_category.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/permissive_action.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/actions/reverse_string.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/src/ignoreme.txt +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app/templates/reverse_string.html +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/LICENSE +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/NOTICE +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/README.md +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/app.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/logo.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_plaintext_state/src/app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/app.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/logo.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_oauth/src/app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/app.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/logo.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/example_app_with_webhook/src/app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/fixtures/es_findings_openapi.json +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/conftest.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/phantom_constants.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/phantom_instance.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/soar_client.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_asset_state_filesystem.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_es_poll.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_example_app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_example_app_with_webhook.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_package_install.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/integration/test_vault_client.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/interfaces/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/interfaces/test_artifact_interface.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/interfaces/test_container_interface.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/interfaces/test_vault_interface.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_actions.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_adapters.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_datatypes.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_dependencies.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/meta/test_webhooks.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/mocks/__init__.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/mocks/dynamic_mocks.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/mocks/importable_action.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/stubs.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_action_results.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_actions_manager.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_action.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_action_params.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_action_results.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_client.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_app_runner.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_asset.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_asset_state.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_assets/splunk-sdk-2.1.0.tar.gz +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_async_integration.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_async_utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_attachment_file_upload.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_attachment_input.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_attachment_uploads.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_changelog.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_code_renderers.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_compat.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_container.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_credential_management.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_custom_views.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_email_data.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_email_processor.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_encryption.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_es_findings_api.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_es_on_poll.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_field_utils.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_finding.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_input_spec.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_lazy_imports.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_logging.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_make_request_action.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_networking.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_certificate_client.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_client.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_factories.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_flows.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_httpx_auth.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_oauth_models.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_on_poll.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_params.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_permissive_action_results.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_template_filters.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_template_renderer.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_test_connectivity.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/test_view_parser.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/webhooks/test_models.py +0 -0
- {splunk_soar_sdk-7.2.3 → splunk_soar_sdk-7.3.0}/tests/webhooks/test_routing.py +0 -0
- {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.
|
|
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
|
|
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``
|
|
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
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
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
|
|
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
|
|
354
|
-
|
|
355
|
-
3. Upload bytes using
|
|
356
|
-
URLs and multipart field values are credentials,
|
|
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
|
-
|
|
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;
|
|
380
|
-
|
|
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
|
|
403
|
-
|
|
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
|
-
|
|
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
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
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
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
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
|
|
@@ -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
|
|
@@ -1118,7 +1118,7 @@ def attached_finding(title="mail", names=("email.eml",), *, raw=True):
|
|
|
1118
1118
|
)
|
|
1119
1119
|
],
|
|
1120
1120
|
)
|
|
1121
|
-
def
|
|
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
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
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
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
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"] ==
|
|
1214
|
-
assert summary["failed"] ==
|
|
1215
|
-
assert summary["status"] ==
|
|
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
|
+
}
|