splunk-soar-sdk 7.2.2__tar.gz → 7.2.3__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.3}/PKG-INFO +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/changelog.rst +4 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/es_findings.rst +18 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/pyproject.toml +1 -1
- splunk_soar_sdk-7.2.3/release_version.txt +1 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/_es_poll.py +116 -6
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/uv.lock +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/uv.lock +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_oauth/uv.lock +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_webhook/uv.lock +1 -1
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_direct_es_poll.py +197 -2
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/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.3}/.agents/skills/changelog-authoring/SKILL.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.agents/skills/changelog-authoring/agents/openai.yaml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.agents/skills/changelog-authoring/scripts/check-release-coverage.sh +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.changes/.gitkeep +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.claude/skills/changelog-authoring/SKILL.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/ISSUE_TEMPLATE/bug.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/dependabot.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/pull_request_template.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/scripts/generate_test_summary.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/utils/changelog.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/utils/github.js +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/utils/update_version.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/workflows/code_quality.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/workflows/commit_hygiene.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/workflows/dependabot_precommit_autofix.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/workflows/generate_docs.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/workflows/integration_tests.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/workflows/semantic_release.yml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.gitignore +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.pre-commit-config.yaml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.releaserc +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/AGENTS.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/LICENSE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/README.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/commitlint.config.js +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/_static/favicon.png +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/_static/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/api_reference.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/app_structure/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/app_structure/pre-commit-config.yaml.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/app_structure/pyproject.toml.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/app_structure/src_app.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/authentication/basic.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/authentication/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/authentication/oauth.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/authentication/static_token.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/cli_reference.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/conf.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/custom_views/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/custom_views/reusable_components.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/custom_views/templates.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/custom_views/view_handlers.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/getting_started/defining_asset.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/getting_started/first_action.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/getting_started/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/getting_started/init_app.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/getting_started/installation.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/getting_started/testing_and_building.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/docs/index.rst +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/logo.png +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/README.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/install.sh +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/mcp_config.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/pytest.ini +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/src/soar_test_assistant/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/src/soar_test_assistant/server.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/tests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/tests/test_analyzer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/mcp_server/uv.lock +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/release_notes.txt +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/abstract.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/action_results.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/actions_manager.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/apis/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/apis/_attachment_upload.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/apis/_es_findings.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/apis/artifact.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/apis/attachments.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/apis/container.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/apis/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/apis/vault.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/app_cli_runner.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/app_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/app_templates/basic_app/.gitignore +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/app_templates/basic_app/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/app_templates/basic_app/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/app_templates/basic_app/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/app_templates/basic_app/uv.lock +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/asset.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/asset_state.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/async_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/auth/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/auth/client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/auth/factories.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/auth/flows.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/auth/httpx_auth.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/auth/models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/init/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/init/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/init/wizard.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/manifests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/manifests/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/manifests/compatibility.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/manifests/deserializers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/manifests/notice.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/manifests/processors.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/manifests/serializers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/package/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/package/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/path_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/test/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/test/cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/cli/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/action_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/app_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/asset_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/pre_commit_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/templates/pre-commit-config.yaml.jinja +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/templates/pyproject.toml.jinja +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/code_renderers/toml_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/colors.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/compat.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/concurrency.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/crypto.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/_es_poll_attachments.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/_es_poll_preparation.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/make_request.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/on_es_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/on_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/test_connectivity.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/view_handler.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/decorators/webhook.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/exceptions.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/extras/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/extras/email/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/extras/email/email_data.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/extras/email/processor.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/extras/email/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/field_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/input_spec.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/logging.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/actions.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/adapters.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/datatypes.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/dependencies/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/dependencies/constants.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/dependencies/lock.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/dependencies/package.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/dependencies/sources.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/dependencies/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/dependencies/uv_models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/dependencies/wheels.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/meta/webhooks.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/artifact.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/attachment_input.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/attachment_upload.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/container.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/es_finding.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/finding.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/vault_attachment.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/models/view.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/networking.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/params.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/paths.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/py.typed +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/action_result.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/base_connector.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/cef.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/connector_result.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/consts.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/encryption_helper.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/install_info.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/json_keys.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/ph_ipc.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom/vault.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom_common/app_interface/app_interface.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom_common/credential_managers/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/shims/phantom_common/encryption/encryption_manager_factory.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/templates/base/base_template.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/templates/base/error.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/templates/base/header.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/templates/base/logo_header.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/templates/components/pie_chart.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/templates/widgets/widget_resize_snippet.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/templates/widgets/widget_template.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/types.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/views/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/views/component_registry.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/views/components/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/views/components/pie_chart.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/views/template_filters.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/views/template_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/views/view_parser.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/webhooks/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/webhooks/_runtime.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/webhooks/models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/src/soar_sdk/webhooks/routing.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/datapath_parse.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/manifests/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/manifests/test_compatibility.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/manifests/test_processors.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/manifests/test_python_version_resolution.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_assets/converted_app/actions.py.txt +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_convert_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_deserializers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_init_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_manifests_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_notice_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_package_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_serializers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_test_cli.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/cli/test_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/code_renderers/test_action_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/conftest.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/LICENSE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/NOTICE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/README.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/app.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/example_asset_es.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/release_notes/v1.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/src/actions/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/src/actions/async_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/src/actions/generate_category.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/src/actions/permissive_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/src/actions/reverse_string.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/src/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/src/ignoreme.txt +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app/templates/reverse_string.html +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/LICENSE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/NOTICE +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/README.md +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/app.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_plaintext_state/src/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_oauth/app.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_oauth/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_oauth/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_oauth/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_oauth/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_oauth/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_oauth/src/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_webhook/app.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_webhook/example_asset.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_webhook/logo.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_webhook/logo_dark.svg +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_webhook/pyproject.toml +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_webhook/src/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/example_app_with_webhook/src/app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/fixtures/es_findings_openapi.json +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/conftest.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/phantom_constants.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/phantom_instance.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/soar_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/test_asset_state_filesystem.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/test_es_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/test_example_app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/test_example_app_with_webhook.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/test_package_install.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/integration/test_vault_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/interfaces/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/interfaces/test_artifact_interface.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/interfaces/test_container_interface.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/interfaces/test_vault_interface.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/meta/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/meta/test_actions.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/meta/test_adapters.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/meta/test_datatypes.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/meta/test_dependencies.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/meta/test_webhooks.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/mocks/__init__.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/mocks/dynamic_mocks.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/mocks/importable_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/stubs.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_action_results.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_actions_manager.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_app.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_app_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_app_action_params.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_app_action_results.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_app_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_app_runner.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_asset.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_asset_state.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_assets/splunk-sdk-2.1.0.tar.gz +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_async_integration.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_async_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_attachment_file_upload.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_attachment_input.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_attachment_uploads.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_changelog.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_code_renderers.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_compat.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_container.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_credential_management.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_custom_views.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_email_data.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_email_processor.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_encryption.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_es_findings_api.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_es_on_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_field_utils.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_finding.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_input_spec.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_lazy_imports.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_logging.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_make_request_action.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_networking.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_oauth_certificate_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_oauth_client.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_oauth_factories.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_oauth_flows.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_oauth_httpx_auth.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_oauth_models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_on_poll.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_params.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_permissive_action_results.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_template_filters.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_template_renderer.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_test_connectivity.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/test_view_parser.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/webhooks/test_models.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/tests/webhooks/test_routing.py +0 -0
- {splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/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.3
|
|
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,10 @@ bugfix.
|
|
|
12
12
|
.. dropdown:: SDK 7
|
|
13
13
|
:open:
|
|
14
14
|
|
|
15
|
+
.. rubric:: 7.2.3 (2026-11-19)
|
|
16
|
+
|
|
17
|
+
* 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.
|
|
18
|
+
|
|
15
19
|
.. rubric:: 7.2.2 (2026-11-18)
|
|
16
20
|
|
|
17
21
|
* 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,24 @@ 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
|
+
The action message includes the first error's details. Later cleanup errors are
|
|
167
|
+
retained in the summary without replacing the first failure. Error logs also
|
|
168
|
+
include counts of findings accepted from the connector, recorded outcomes and
|
|
169
|
+
pending batch entries. These are SDK counters, not counts of source emails read
|
|
170
|
+
or skipped, and recorded outcomes do not prove whether an interrupted ES request
|
|
171
|
+
created a finding.
|
|
172
|
+
|
|
173
|
+
For example, ``ES polling error: 0 created, 0 failed. stage=state_commit
|
|
174
|
+
error_type=RpcError rpc_code=UNAVAILABLE`` identifies a checkpoint-save failure
|
|
175
|
+
whose transport reported unavailability. A generic ``RuntimeError`` identifies
|
|
176
|
+
only the exception category; it does not establish its underlying cause. The
|
|
177
|
+
``poll`` stage includes connector-owned fetching, parsing and state access before
|
|
178
|
+
the next finding is yielded. Exception messages, arbitrary exception class names,
|
|
179
|
+
tracebacks, HTTP bodies, URLs, credentials and checkpoint values are omitted.
|
|
180
|
+
|
|
163
181
|
Each processed batch commits its ingest-state checkpoint, including finding
|
|
164
182
|
creation and validation failures. After the bounded retries described under
|
|
165
183
|
Errors and Retries, failed findings are skipped and polling continues with later
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7.2.3
|
|
@@ -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,63 @@ 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
|
+
with suppress(Exception):
|
|
73
|
+
status = getattr(error, "status_code", None)
|
|
74
|
+
if status is None:
|
|
75
|
+
status = getattr(getattr(error, "response", None), "status_code", None)
|
|
76
|
+
if type(status) is int and 100 <= status <= 599:
|
|
77
|
+
details["status_code"] = status
|
|
78
|
+
# LB state storage uses gRPC, but classic SOAR does not require grpcio.
|
|
79
|
+
# Read only a recognized status enum, never details(), debug strings or args.
|
|
80
|
+
grpc = sys.modules.get("grpc")
|
|
81
|
+
if grpc is not None and isinstance(error, getattr(grpc, "RpcError", ())):
|
|
82
|
+
details["error_type"] = "RpcError"
|
|
83
|
+
with suppress(Exception):
|
|
84
|
+
code = error.code().name
|
|
85
|
+
if code in {
|
|
86
|
+
"CANCELLED",
|
|
87
|
+
"UNKNOWN",
|
|
88
|
+
"INVALID_ARGUMENT",
|
|
89
|
+
"DEADLINE_EXCEEDED",
|
|
90
|
+
"NOT_FOUND",
|
|
91
|
+
"ALREADY_EXISTS",
|
|
92
|
+
"PERMISSION_DENIED",
|
|
93
|
+
"RESOURCE_EXHAUSTED",
|
|
94
|
+
"FAILED_PRECONDITION",
|
|
95
|
+
"ABORTED",
|
|
96
|
+
"OUT_OF_RANGE",
|
|
97
|
+
"UNIMPLEMENTED",
|
|
98
|
+
"INTERNAL",
|
|
99
|
+
"UNAVAILABLE",
|
|
100
|
+
"DATA_LOSS",
|
|
101
|
+
"UNAUTHENTICATED",
|
|
102
|
+
}:
|
|
103
|
+
details["rpc_code"] = code
|
|
104
|
+
return details
|
|
105
|
+
|
|
106
|
+
|
|
43
107
|
def _create_poll_findings(
|
|
44
108
|
soar: SOARClient, payloads: list[dict[str, Any]]
|
|
45
109
|
) -> list[dict[str, Any]]:
|
|
@@ -80,6 +144,8 @@ def _run_direct_es_poll(
|
|
|
80
144
|
ingest = app._es_ingest_config
|
|
81
145
|
state = app.asset._ingest_state
|
|
82
146
|
polling_failed = False
|
|
147
|
+
polling_errors: list[dict[str, str | int]] = []
|
|
148
|
+
stage = "state_begin"
|
|
83
149
|
count = 0
|
|
84
150
|
used_attachment_ids: set[str] = set()
|
|
85
151
|
attachment_count = 0
|
|
@@ -87,10 +153,26 @@ def _run_direct_es_poll(
|
|
|
87
153
|
str(app.app_meta_info.get("name", "")), app._asset_name
|
|
88
154
|
)
|
|
89
155
|
|
|
156
|
+
def record_error(error_stage: str, error: Exception) -> None:
|
|
157
|
+
details = _poll_error_details(error_stage, error)
|
|
158
|
+
polling_errors.append(details)
|
|
159
|
+
getLogger().error(
|
|
160
|
+
"ES polling failure: stage=%s error_type=%s status_code=%s rpc_code=%s "
|
|
161
|
+
"findings_accepted=%s findings_recorded=%s pending_findings=%s",
|
|
162
|
+
details["stage"],
|
|
163
|
+
details["error_type"],
|
|
164
|
+
details.get("status_code"),
|
|
165
|
+
details.get("rpc_code"),
|
|
166
|
+
count,
|
|
167
|
+
len(results),
|
|
168
|
+
len(batch),
|
|
169
|
+
)
|
|
170
|
+
|
|
90
171
|
def flush() -> None:
|
|
91
|
-
nonlocal attachment_count
|
|
172
|
+
nonlocal attachment_count, stage
|
|
92
173
|
if not batch:
|
|
93
174
|
return
|
|
175
|
+
stage = "prepare_findings"
|
|
94
176
|
start = len(results)
|
|
95
177
|
payloads = []
|
|
96
178
|
indexes = []
|
|
@@ -138,10 +220,13 @@ def _run_direct_es_poll(
|
|
|
138
220
|
indexes.append(index)
|
|
139
221
|
findings.append(item)
|
|
140
222
|
if payloads:
|
|
223
|
+
stage = "upload_attachments"
|
|
141
224
|
attachments = _upload_poll_attachments(
|
|
142
225
|
soar, findings, payloads, params.base_url or "", used_attachment_ids
|
|
143
226
|
)
|
|
227
|
+
stage = "create_findings"
|
|
144
228
|
response = _create_poll_findings(soar, payloads)
|
|
229
|
+
stage = "process_response"
|
|
145
230
|
batch_results = []
|
|
146
231
|
for result in response:
|
|
147
232
|
position = result["index"]
|
|
@@ -149,6 +234,7 @@ def _run_direct_es_poll(
|
|
|
149
234
|
if attachments[position]:
|
|
150
235
|
entry["attachments"] = attachments[position]
|
|
151
236
|
batch_results.append(entry)
|
|
237
|
+
stage = "associate_attachments"
|
|
152
238
|
_queue_poll_attachment_links(soar, batch_results)
|
|
153
239
|
results.extend(batch_results)
|
|
154
240
|
batch.clear()
|
|
@@ -156,7 +242,9 @@ def _run_direct_es_poll(
|
|
|
156
242
|
# Source messages have been processed even when ES rejects their findings.
|
|
157
243
|
# Persist their staged cursors so a poison message cannot block later mail.
|
|
158
244
|
if state is not None:
|
|
245
|
+
stage = "state_commit"
|
|
159
246
|
state.commit()
|
|
247
|
+
stage = "state_begin"
|
|
160
248
|
state.begin_transaction()
|
|
161
249
|
for outcome in results[start:]:
|
|
162
250
|
if not outcome["success"]:
|
|
@@ -172,8 +260,10 @@ def _run_direct_es_poll(
|
|
|
172
260
|
if state is not None:
|
|
173
261
|
state.begin_transaction()
|
|
174
262
|
while not params.container_count or count < params.container_count:
|
|
263
|
+
stage = "state_read"
|
|
175
264
|
checkpoint = deepcopy(state.get_all()) if state is not None else {}
|
|
176
265
|
try:
|
|
266
|
+
stage = "poll"
|
|
177
267
|
item = (
|
|
178
268
|
asyncio.run(generator.asend(None))
|
|
179
269
|
if is_async
|
|
@@ -181,15 +271,19 @@ def _run_direct_es_poll(
|
|
|
181
271
|
)
|
|
182
272
|
except (StopIteration, StopAsyncIteration):
|
|
183
273
|
break
|
|
274
|
+
stage = "read_finding"
|
|
184
275
|
file_count = len(item.attachments or []) if isinstance(item, Finding) else 0
|
|
185
276
|
if batch and attachment_count + file_count > 20:
|
|
186
277
|
# Reading the next finding can advance its source cursor. Commit
|
|
187
278
|
# only the previous batch, then restore the lookahead's state.
|
|
188
279
|
if state is not None:
|
|
280
|
+
stage = "state_read"
|
|
189
281
|
next_state = state.get_all()
|
|
282
|
+
stage = "state_restore"
|
|
190
283
|
state.put_all(checkpoint)
|
|
191
284
|
flush()
|
|
192
285
|
if state is not None:
|
|
286
|
+
stage = "state_restore"
|
|
193
287
|
state.put_all(next_state)
|
|
194
288
|
batch.append((count, item))
|
|
195
289
|
attachment_count += file_count
|
|
@@ -197,28 +291,35 @@ def _run_direct_es_poll(
|
|
|
197
291
|
if len(batch) == soar.MAX_BULK_FINDINGS:
|
|
198
292
|
flush()
|
|
199
293
|
flush()
|
|
200
|
-
except Exception:
|
|
294
|
+
except Exception as error:
|
|
201
295
|
# Handler exceptions can contain credentials or message contents.
|
|
202
296
|
polling_failed = True
|
|
297
|
+
record_error(stage, error)
|
|
203
298
|
finally:
|
|
204
299
|
try:
|
|
205
300
|
if is_async:
|
|
206
301
|
asyncio.run(generator.aclose())
|
|
207
302
|
else:
|
|
208
303
|
generator.close()
|
|
209
|
-
except Exception:
|
|
304
|
+
except Exception as error:
|
|
210
305
|
polling_failed = True
|
|
306
|
+
record_error("generator_close", error)
|
|
211
307
|
if state is not None and state.in_transaction:
|
|
212
308
|
try:
|
|
213
309
|
if polling_failed:
|
|
310
|
+
stage = "state_rollback"
|
|
214
311
|
state.rollback()
|
|
215
312
|
else:
|
|
216
313
|
# Save trailing source progress, including skipped messages.
|
|
314
|
+
stage = "state_commit"
|
|
217
315
|
state.commit()
|
|
218
|
-
except Exception:
|
|
316
|
+
except Exception as error:
|
|
219
317
|
polling_failed = True
|
|
220
|
-
|
|
318
|
+
record_error(stage, error)
|
|
319
|
+
try:
|
|
221
320
|
state.rollback()
|
|
321
|
+
except Exception as rollback_error:
|
|
322
|
+
record_error("state_rollback", rollback_error)
|
|
222
323
|
|
|
223
324
|
results.sort(key=lambda result: result["index"])
|
|
224
325
|
created = sum(result["success"] for result in results)
|
|
@@ -242,9 +343,17 @@ def _run_direct_es_poll(
|
|
|
242
343
|
if failed or upload_failed or links_failed
|
|
243
344
|
else "success"
|
|
244
345
|
)
|
|
346
|
+
message = f"ES polling {status}: {created} created, {failed} failed."
|
|
347
|
+
if polling_errors:
|
|
348
|
+
first = polling_errors[0]
|
|
349
|
+
message += f" stage={first['stage']} error_type={first['error_type']}"
|
|
350
|
+
if "status_code" in first:
|
|
351
|
+
message += f" status_code={first['status_code']}"
|
|
352
|
+
if "rpc_code" in first:
|
|
353
|
+
message += f" rpc_code={first['rpc_code']}"
|
|
245
354
|
result = ActionResult(
|
|
246
355
|
status=status != "error",
|
|
247
|
-
message=
|
|
356
|
+
message=message,
|
|
248
357
|
param=params.model_dump(),
|
|
249
358
|
)
|
|
250
359
|
for outcome in results:
|
|
@@ -259,6 +368,7 @@ def _run_direct_es_poll(
|
|
|
259
368
|
"attachments_failed": upload_failed,
|
|
260
369
|
"links_queued": links_queued,
|
|
261
370
|
"links_failed": links_failed,
|
|
371
|
+
**({"polling_errors": polling_errors} if polling_errors else {}),
|
|
262
372
|
}
|
|
263
373
|
)
|
|
264
374
|
return app._adapt_action_result(result, app.actions_manager)
|
|
@@ -10,7 +10,12 @@ from pydantic import SecretStr, ValidationError
|
|
|
10
10
|
|
|
11
11
|
from soar_sdk.apis._es_findings import _get_runtime_es_context
|
|
12
12
|
from soar_sdk.asset_state import AssetState
|
|
13
|
-
from soar_sdk.
|
|
13
|
+
from soar_sdk.decorators._es_poll import _poll_error_details
|
|
14
|
+
from soar_sdk.exceptions import (
|
|
15
|
+
ActionFailure,
|
|
16
|
+
FindingAPIError,
|
|
17
|
+
FindingConfigurationError,
|
|
18
|
+
)
|
|
14
19
|
from soar_sdk.models.finding import Finding
|
|
15
20
|
from soar_sdk.params import OnESPollParams
|
|
16
21
|
|
|
@@ -741,7 +746,7 @@ def test_invalid_yield_is_skipped_and_checkpoints_source_progress(
|
|
|
741
746
|
"failure", ["iteration", "close", "begin", "commit", "rollback"]
|
|
742
747
|
)
|
|
743
748
|
def test_handler_and_state_errors_are_safe_and_close_execution(
|
|
744
|
-
direct_app, mocker, failure, caplog
|
|
749
|
+
direct_app, mocker, failure, caplog, capsys
|
|
745
750
|
):
|
|
746
751
|
app = direct_app
|
|
747
752
|
state = AssetState(app.actions_manager, "ingest", "1")
|
|
@@ -776,11 +781,201 @@ def test_handler_and_state_errors_are_safe_and_close_execution(
|
|
|
776
781
|
)
|
|
777
782
|
assert not poll(params)
|
|
778
783
|
assert outcome(app).get_summary()["polling_failed"]
|
|
784
|
+
first = outcome(app).get_summary()["polling_errors"][0]
|
|
785
|
+
assert first == {
|
|
786
|
+
"stage": {
|
|
787
|
+
"iteration": "poll",
|
|
788
|
+
"close": "generator_close",
|
|
789
|
+
"begin": "state_begin",
|
|
790
|
+
"commit": "state_commit",
|
|
791
|
+
"rollback": "poll",
|
|
792
|
+
}[failure],
|
|
793
|
+
"error_type": "RuntimeError",
|
|
794
|
+
}
|
|
795
|
+
if failure == "rollback":
|
|
796
|
+
assert all(
|
|
797
|
+
error["stage"] == "state_rollback"
|
|
798
|
+
for error in outcome(app).get_summary()["polling_errors"][1:]
|
|
799
|
+
)
|
|
800
|
+
assert (
|
|
801
|
+
f"stage={first['stage']} error_type=RuntimeError" in outcome(app).get_message()
|
|
802
|
+
)
|
|
779
803
|
assert TOKEN not in repr(vars(outcome(app)))
|
|
780
804
|
assert TOKEN not in caplog.text
|
|
805
|
+
assert TOKEN not in capsys.readouterr().out
|
|
781
806
|
assert params.access_token is None
|
|
782
807
|
|
|
783
808
|
|
|
809
|
+
@pytest.mark.parametrize(
|
|
810
|
+
"error, expected_type",
|
|
811
|
+
[
|
|
812
|
+
(
|
|
813
|
+
httpx.HTTPStatusError(
|
|
814
|
+
TOKEN, request=httpx.Request("GET", URL), response=httpx.Response(403)
|
|
815
|
+
),
|
|
816
|
+
"HTTPStatusError",
|
|
817
|
+
),
|
|
818
|
+
(httpx.ReadTimeout(TOKEN), "TimeoutException"),
|
|
819
|
+
(httpx.ConnectError(TOKEN), "TransportError"),
|
|
820
|
+
(FindingAPIError(TOKEN, status_code=429), "FindingAPIError"),
|
|
821
|
+
(ActionFailure(TOKEN), "ActionFailure"),
|
|
822
|
+
(TimeoutError(TOKEN), "TimeoutError"),
|
|
823
|
+
(ConnectionError(TOKEN), "ConnectionError"),
|
|
824
|
+
(KeyError(TOKEN), "KeyError"),
|
|
825
|
+
(TypeError(TOKEN), "TypeError"),
|
|
826
|
+
(ValueError(TOKEN), "ValueError"),
|
|
827
|
+
(RuntimeError(TOKEN), "RuntimeError"),
|
|
828
|
+
(OSError(TOKEN), "OSError"),
|
|
829
|
+
(type(TOKEN, (Exception,), {})(TOKEN), "Exception"),
|
|
830
|
+
],
|
|
831
|
+
)
|
|
832
|
+
def test_poll_diagnostics_allowlist_exception_types(error, expected_type):
|
|
833
|
+
details = _poll_error_details("poll", error)
|
|
834
|
+
assert details["error_type"] == expected_type
|
|
835
|
+
assert TOKEN not in repr(details)
|
|
836
|
+
if isinstance(error, httpx.HTTPStatusError):
|
|
837
|
+
assert details["status_code"] == 403
|
|
838
|
+
elif isinstance(error, FindingAPIError):
|
|
839
|
+
assert details["status_code"] == 429
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
@pytest.mark.parametrize("status", [True, 99, 600, TOKEN])
|
|
843
|
+
def test_poll_diagnostics_reject_invalid_http_status(status):
|
|
844
|
+
error = FindingAPIError(TOKEN, status_code=status)
|
|
845
|
+
assert _poll_error_details("poll", error) == {
|
|
846
|
+
"stage": "poll",
|
|
847
|
+
"error_type": "FindingAPIError",
|
|
848
|
+
}
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
def test_poll_diagnostics_never_format_or_trust_exception_properties():
|
|
852
|
+
class PrivateError(Exception):
|
|
853
|
+
@property
|
|
854
|
+
def status_code(self):
|
|
855
|
+
raise RuntimeError(TOKEN)
|
|
856
|
+
|
|
857
|
+
def __str__(self):
|
|
858
|
+
raise AssertionError("diagnostics must not format exceptions")
|
|
859
|
+
|
|
860
|
+
assert _poll_error_details("poll", PrivateError(TOKEN)) == {
|
|
861
|
+
"stage": "poll",
|
|
862
|
+
"error_type": "Exception",
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
@pytest.mark.parametrize("code", ["UNAVAILABLE", TOKEN, None])
|
|
867
|
+
def test_poll_diagnostics_allowlist_optional_rpc_codes(monkeypatch, code):
|
|
868
|
+
class RpcError(Exception):
|
|
869
|
+
def code(self):
|
|
870
|
+
if code is None:
|
|
871
|
+
raise RuntimeError(TOKEN)
|
|
872
|
+
return SimpleNamespace(name=code)
|
|
873
|
+
|
|
874
|
+
def __str__(self):
|
|
875
|
+
raise AssertionError("diagnostics must not format exceptions")
|
|
876
|
+
|
|
877
|
+
monkeypatch.setitem(sys.modules, "grpc", SimpleNamespace(RpcError=RpcError))
|
|
878
|
+
details = _poll_error_details("state_commit", RpcError(TOKEN))
|
|
879
|
+
assert details == {
|
|
880
|
+
"stage": "state_commit",
|
|
881
|
+
"error_type": "RpcError",
|
|
882
|
+
**({"rpc_code": code} if code == "UNAVAILABLE" else {}),
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
|
|
886
|
+
@pytest.mark.parametrize(
|
|
887
|
+
"target, stage",
|
|
888
|
+
[
|
|
889
|
+
("_finding_default_updates", "prepare_findings"),
|
|
890
|
+
("_upload_poll_attachments", "upload_attachments"),
|
|
891
|
+
("_create_poll_findings", "create_findings"),
|
|
892
|
+
("_queue_poll_attachment_links", "associate_attachments"),
|
|
893
|
+
],
|
|
894
|
+
)
|
|
895
|
+
def test_batch_exception_reports_phase_without_claiming_no_work(
|
|
896
|
+
direct_app, mocker, target, stage, capsys
|
|
897
|
+
):
|
|
898
|
+
app = direct_app
|
|
899
|
+
mocker.patch(
|
|
900
|
+
"soar_sdk.decorators._es_poll._create_poll_findings",
|
|
901
|
+
return_value=[{"index": 0, "success": True, "finding_id": "id"}],
|
|
902
|
+
)
|
|
903
|
+
mocker.patch(
|
|
904
|
+
f"soar_sdk.decorators._es_poll.{target}", side_effect=RuntimeError(TOKEN)
|
|
905
|
+
)
|
|
906
|
+
|
|
907
|
+
@app.on_es_poll()
|
|
908
|
+
def poll(params: OnESPollParams) -> Generator[Finding, int | None]:
|
|
909
|
+
yield Finding(rule_title="synthetic")
|
|
910
|
+
|
|
911
|
+
assert not poll(OnESPollParams())
|
|
912
|
+
result = outcome(app)
|
|
913
|
+
assert result.get_summary()["polling_errors"] == [
|
|
914
|
+
{"stage": stage, "error_type": "RuntimeError"}
|
|
915
|
+
]
|
|
916
|
+
assert f"stage={stage}" in result.get_message()
|
|
917
|
+
output = capsys.readouterr().out
|
|
918
|
+
assert "findings_accepted=1 findings_recorded=0 pending_findings=1" in output
|
|
919
|
+
assert TOKEN not in output + repr(vars(result))
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
def test_primary_http_error_survives_generator_cleanup_failure(direct_app, mocker):
|
|
923
|
+
app = direct_app
|
|
924
|
+
mocker.patch.object(app.soar_client, "MAX_BULK_FINDINGS", 1)
|
|
925
|
+
mocker.patch(
|
|
926
|
+
"soar_sdk.decorators._es_poll._create_poll_findings",
|
|
927
|
+
side_effect=FindingAPIError(TOKEN, status_code=503),
|
|
928
|
+
)
|
|
929
|
+
|
|
930
|
+
@app.on_es_poll()
|
|
931
|
+
def poll(params: OnESPollParams) -> Generator[Finding, int | None]:
|
|
932
|
+
try:
|
|
933
|
+
yield Finding(rule_title="synthetic")
|
|
934
|
+
finally:
|
|
935
|
+
raise RuntimeError(TOKEN)
|
|
936
|
+
|
|
937
|
+
assert not poll(OnESPollParams())
|
|
938
|
+
result = outcome(app)
|
|
939
|
+
assert result.get_summary()["polling_errors"] == [
|
|
940
|
+
{
|
|
941
|
+
"stage": "create_findings",
|
|
942
|
+
"error_type": "FindingAPIError",
|
|
943
|
+
"status_code": 503,
|
|
944
|
+
},
|
|
945
|
+
{"stage": "generator_close", "error_type": "RuntimeError"},
|
|
946
|
+
]
|
|
947
|
+
assert result.get_message().endswith(
|
|
948
|
+
"stage=create_findings error_type=FindingAPIError status_code=503"
|
|
949
|
+
)
|
|
950
|
+
assert TOKEN not in repr(vars(result))
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
def test_commit_rpc_failure_is_visible_in_run_message(direct_app, monkeypatch, mocker):
|
|
954
|
+
class RpcError(Exception):
|
|
955
|
+
def code(self):
|
|
956
|
+
return SimpleNamespace(name="UNAVAILABLE")
|
|
957
|
+
|
|
958
|
+
monkeypatch.setitem(sys.modules, "grpc", SimpleNamespace(RpcError=RpcError))
|
|
959
|
+
app = direct_app
|
|
960
|
+
state = AssetState(app.actions_manager, "ingest", "1")
|
|
961
|
+
app.asset._ingest_state = state
|
|
962
|
+
mocker.patch.object(state, "commit", side_effect=RpcError(TOKEN))
|
|
963
|
+
|
|
964
|
+
@app.on_es_poll()
|
|
965
|
+
def poll(params: OnESPollParams) -> Generator[Finding, int | None]:
|
|
966
|
+
yield from ()
|
|
967
|
+
|
|
968
|
+
assert not poll(OnESPollParams())
|
|
969
|
+
result = outcome(app)
|
|
970
|
+
assert result.get_summary()["created"] == result.get_summary()["failed"] == 0
|
|
971
|
+
assert result.get_message().endswith(
|
|
972
|
+
"stage=state_commit error_type=RpcError rpc_code=UNAVAILABLE"
|
|
973
|
+
)
|
|
974
|
+
assert result.get_summary()["polling_errors"] == [
|
|
975
|
+
{"stage": "state_commit", "error_type": "RpcError", "rpc_code": "UNAVAILABLE"}
|
|
976
|
+
]
|
|
977
|
+
|
|
978
|
+
|
|
784
979
|
def test_runtime_context_failure_never_enters_handler(direct_app, monkeypatch):
|
|
785
980
|
import sys
|
|
786
981
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
7.2.2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{splunk_soar_sdk-7.2.2 → splunk_soar_sdk-7.2.3}/.github/workflows/dependabot_precommit_autofix.yml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|