StackStorm (aka "IFTTT for Ops") is event-driven automation for auto-remediation, incident responses, troubleshooting, deployments, and more for DevOps and SREs. Includes rules engine, workflow, 160 integration packs with 6000+ actions (see https://exchange.stackstorm.org) and ChatOps. Installer at https://docs.stackstorm.com/install/index.html
This report summarizes scanner evidence for StackStorm/st2, a Python project with 6,545 GitHub stars. SynthScan examined 209,072 lines of code across 1669 source files, recording 5140 pattern matches distributed across 20 syntactic categories. The legacy adjusted pattern signal is 28.7 (Elevated pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Can maintainers explain intent, assumptions, and trade-offs? 3407 finding(s).
Are imports declared and package/API names verified? 861 finding(s).
Are wrappers, guards, and repeated structures necessary? 2941 finding(s).
Which changes need focused human review? 5140 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 5140 distinct pattern matches across 20 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conftest.py | 85 | def pytest_collection_modifyitems(session, config, items: List[nodes.Node]): | CODE |
| LOW | tools/diff-db-disk.py | 95 | def _get_api_models_from_disk(artifact_type, pack_dir=None): | CODE |
| LOW | tools/migrate_triggers_to_include_ref_count.py | 30 | def _get_trigger_with_parameters(self): | CODE |
| LOW | tools/migrate_triggers_to_include_ref_count.py | 42 | def _update_trigger_ref_count(self, trigger_db, ref_count): | CODE |
| LOW | tools/json2yaml.py | 40 | def get_files_matching_pattern(dir_, pattern): | CODE |
| LOW | st2auth/st2auth/handlers.py | 60 | def _get_username_for_request(self, username, request): | CODE |
| LOW | st2auth/st2auth/validation.py | 25 | def validate_auth_backend_is_correctly_configured(): | CODE |
| LOW | st2auth/st2auth/controllers/v1/auth.py | 89 | def process_successful_response(token): | CODE |
| LOW | st2auth/st2auth/controllers/v1/sso.py | 111 | def process_successful_authn_response(referer, token): | STRING |
| LOW | st2auth/st2auth/controllers/v1/sso.py | 135 | def process_successful_response(status_code, json_body): | STRING |
| LOW | st2auth/tests/unit/test_handlers.py | 51 | def test_proxy_handler_no_remote_user(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 63 | def test_proxy_handler_bad_auth(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 76 | def test_standalone_bad_auth_type(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 102 | def test_standalone_bad_auth_value(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 128 | def test_standalone_handler_ttl(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 151 | def test_standalone_for_user_not_service(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 170 | def test_standalone_for_user_service(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 184 | def test_standalone_for_user_not_found(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 198 | def test_standalone_impersonate_user_not_found(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 222 | def test_standalone_impersonate_user_with_nick_origin(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 237 | def test_standalone_impersonate_user_no_origin(self): | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 251 | def test_password_contains_colon(self): | CODE |
| LOW⚡ | st2auth/tests/unit/test_validation_utils.py | 30 | def test_validate_auth_backend_is_correctly_configured_success(self): | CODE |
| LOW⚡ | st2auth/tests/unit/test_validation_utils.py | 34 | def test_validate_auth_backend_is_correctly_configured_invalid_backend(self): | CODE |
| LOW⚡ | st2auth/tests/unit/test_validation_utils.py | 44 | def test_validate_auth_backend_is_correctly_configured_backend_doesnt_expose_groups( | CODE |
| LOW | st2auth/tests/unit/test_auth_backends.py | 22 | def test_flat_file_backend_is_available_by_default(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_sso.py | 73 | def test_default_backend_unknown_exception(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_sso.py | 79 | def test_default_backend_not_implemented(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_sso.py | 102 | def test_default_backend_unknown_exception(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_sso.py | 110 | def test_default_backend_not_implemented(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_sso.py | 145 | def test_callback_url_encoded_payload(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_sso.py | 158 | def test_idp_callback_verification_failed(self): | CODE |
| LOW⚡ | st2auth/tests/unit/controllers/v1/test_token.py | 70 | def test_token_model_null_token(self): | CODE |
| LOW⚡ | st2auth/tests/unit/controllers/v1/test_token.py | 75 | def test_token_model_null_user(self): | CODE |
| LOW⚡ | st2auth/tests/unit/controllers/v1/test_token.py | 80 | def test_token_model_null_expiry(self): | CODE |
| LOW⚡ | st2auth/tests/unit/controllers/v1/test_token.py | 192 | def test_token_post_set_bad_ttl(self): | CODE |
| LOW⚡ | st2auth/tests/unit/controllers/v1/test_token.py | 201 | def test_token_get_unauthorized(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 100 | def test_token_post_proxy_user(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 113 | def test_token_post_unauthorized(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 129 | def test_token_post_existing_user(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 135 | def test_token_post_success_x_api_url_header_value(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 151 | def test_token_post_default_url_path(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 171 | def test_token_post_no_data_in_body_text_plain_context_type_used(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 180 | def test_token_post_set_ttl_over_policy(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 213 | def test_token_get_unauthorized_bad_api_key(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 228 | def test_token_get_unauthorized_bad_token(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 248 | def test_token_get_auth_with_api_key(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 264 | def test_token_get_auth_with_token(self): | CODE |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 297 | def test_token_get_unauthorized_bad_ttl(self): | CODE |
| LOW | st2stream/st2stream/signal_handlers.py | 21 | def register_stream_signal_handlers(handler_func): | CODE |
| LOW⚡ | …ts/unit/controllers/v1/test_stream_execution_output.py | 39 | def test_get_one_id_last_no_executions_in_the_database(self): | CODE |
| LOW⚡ | …ts/unit/controllers/v1/test_stream_execution_output.py | 48 | def test_get_output_running_execution(self): | CODE |
| LOW | …ts/unit/controllers/v1/test_stream_execution_output.py | 140 | def test_get_output_finished_execution(self): | CODE |
| LOW | st2stream/tests/unit/controllers/v1/test_stream.py | 138 | def test_get_all_with_filters(self): | CODE |
| LOW | st2stream/tests/unit/controllers/v1/test_stream.py | 152 | def dispatch_and_handle_mock_data(resp): | CODE |
| LOW | contrib/core/tests/test_action_inject_trigger.py | 31 | def test_inject_trigger_only_trigger_no_payload(self, mock_get_api_client): | CODE |
| LOW | contrib/core/tests/test_action_inject_trigger.py | 45 | def test_inject_trigger_trigger_and_payload(self, mock_get_api_client): | CODE |
| LOW | contrib/core/tests/test_action_inject_trigger.py | 60 | def test_inject_trigger_trigger_payload_trace_tag(self, mock_get_api_client): | CODE |
| LOW | contrib/core/tests/test_action_sendmail.py | 55 | def test_sendmail_default_text_html_content_type(self): | CODE |
| LOW | contrib/core/tests/test_action_sendmail.py | 88 | def test_sendmail_text_plain_content_type(self): | CODE |
| 1904 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | conftest.py | 1 | # Copyright 2022 The StackStorm Authors. | COMMENT |
| LOW | pants.toml | 61 | ] | COMMENT |
| LOW | pants.toml | 161 | py_resolve_format = "mutable_virtualenv" | COMMENT |
| LOW | fixed-requirements.txt | 1 | # Package versions fixed (pinned) for the whole st2 project. | COMMENT |
| LOW | packaging/build_st2_venv.py | 1 | # Copyright 2025 The StackStorm Authors. | COMMENT |
| LOW | packaging/deb/scripts/post-install.sh | 1 | #!/bin/sh | COMMENT |
| LOW | packaging/deb/scripts/post-install.sh | 21 | # [ removing <conflicting-package> <version> ] | COMMENT |
| LOW | packaging/deb/scripts/pre-install.sh | 1 | #!/bin/sh | COMMENT |
| LOW | packaging/deb/scripts/pre-remove.sh | 1 | #!/bin/sh | COMMENT |
| LOW | packaging/deb/scripts/post-remove.sh | 1 | #!/bin/sh | COMMENT |
| LOW | tools/migrate_messaging_setup.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/visualize_action_chain.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/diff-db-disk.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/queue_producer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/config_gen.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/log_watcher.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/direct_queue_publisher.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/st2-inject-trigger-instances.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/list_group_members.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/enumerate-runners.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/migrate_triggers_to_include_ref_count.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/st2-analyze-links.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/migrate_rules_to_include_pack.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/queue_consumer.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | tools/json2yaml.py | 1 | #!/usr/bin/env python | COMMENT |
| LOW | st2auth/setup.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | st2auth/dist_utils.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | st2auth/dist_utils.py | 21 | from __future__ import absolute_import | COMMENT |
| LOW | st2auth/st2auth/config.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/handlers.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/__init__.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/app.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/wsgi.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/validation.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/cmd/api.py | 1 | # Copyright 2020-2026 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/backends/constants.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/backends/__init__.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/backends/base.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/sso/__init__.py | 1 | # Copyright 2019 Extreme Networks, Inc. | COMMENT |
| LOW | st2auth/st2auth/sso/noop.py | 1 | # Copyright 2019 Extreme Networks, Inc. | COMMENT |
| LOW | st2auth/st2auth/sso/base.py | 1 | # Copyright 2019 Extreme Networks, Inc. | COMMENT |
| LOW | st2auth/st2auth/controllers/v1/auth.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/st2auth/controllers/v1/sso.py | 1 | # Copyright 2019 Extreme Networks, Inc. | COMMENT |
| LOW | st2auth/st2auth/controllers/v1/root.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/tests/base.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/tests/unit/test_handlers.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/tests/unit/test_validation_utils.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/tests/unit/test_auth_backends.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2auth/tests/unit/controllers/v1/test_sso.py | 1 | # Copyright 2019 Extreme Networks, Inc. | COMMENT |
| LOW | st2auth/tests/unit/controllers/v1/test_token.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2stream/setup.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | st2stream/dist_utils.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | st2stream/dist_utils.py | 21 | from __future__ import absolute_import | COMMENT |
| LOW | st2stream/st2stream/config.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2stream/st2stream/__init__.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2stream/st2stream/app.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2stream/st2stream/signal_handlers.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2stream/st2stream/wsgi.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2stream/st2stream/cmd/__init__.py | 1 | # Copyright 2020 The StackStorm Authors. | COMMENT |
| LOW | st2stream/st2stream/cmd/api.py | 1 | # Copyright 2020-2026 The StackStorm Authors. | COMMENT |
| 1058 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/migrate_messaging_setup.py | 21 | CODE | |
| LOW | tools/visualize_action_chain.py | 21 | CODE | |
| LOW | tools/diff-db-disk.py | 25 | CODE | |
| LOW | tools/queue_producer.py | 21 | CODE | |
| LOW | tools/config_gen.py | 17 | CODE | |
| LOW | tools/log_watcher.py | 17 | CODE | |
| LOW | tools/log_watcher.py | 18 | CODE | |
| LOW | tools/direct_queue_publisher.py | 18 | CODE | |
| LOW | tools/st2-inject-trigger-instances.py | 29 | CODE | |
| LOW | tools/list_group_members.py | 17 | CODE | |
| LOW | tools/enumerate-runners.py | 17 | CODE | |
| LOW | tools/migrate_triggers_to_include_ref_count.py | 18 | CODE | |
| LOW | tools/st2-analyze-links.py | 32 | CODE | |
| LOW | tools/st2-analyze-links.py | 34 | CODE | |
| LOW | tools/migrate_rules_to_include_pack.py | 17 | CODE | |
| LOW | tools/queue_consumer.py | 21 | CODE | |
| LOW | tools/json2yaml.py | 21 | CODE | |
| LOW | st2auth/dist_utils.py | 21 | CODE | |
| LOW | st2auth/st2auth/config.py | 16 | CODE | |
| LOW | st2auth/st2auth/sso/__init__.py | 15 | CODE | |
| LOW | st2auth/st2auth/sso/noop.py | 15 | CODE | |
| LOW | st2auth/tests/unit/test_handlers.py | 16 | CODE | |
| LOW | st2stream/dist_utils.py | 21 | CODE | |
| LOW | st2stream/st2stream/config.py | 20 | CODE | |
| LOW | st2stream/st2stream/cmd/__init__.py | 16 | CODE | |
| LOW | contrib/core/tests/test_action_inject_trigger.py | 18 | CODE | |
| LOW | contrib/core/tests/test_action_uuid.py | 18 | CODE | |
| LOW | contrib/core/actions/inject_trigger.py | 16 | CODE | |
| LOW | contrib/core/actions/generate_uuid.py | 16 | CODE | |
| LOW | contrib/core/actions/pause.py | 16 | CODE | |
| LOW | …ntrib/packs/actions/pack_mgmt/get_pack_dependencies.py | 15 | CODE | |
| LOW | contrib/packs/actions/pack_mgmt/get_pack_warnings.py | 14 | CODE | |
| LOW | contrib/linux/tests/test_action_dig.py | 17 | CODE | |
| LOW | …les/actions/pythonactions/forloop_push_github_repos.py | 16 | CODE | |
| LOW | contrib/examples/actions/pythonactions/fibonacci.py | 17 | CODE | |
| LOW | contrib/runners/winrm_runner/setup.py | 17 | CODE | |
| LOW | contrib/runners/winrm_runner/dist_utils.py | 21 | CODE | |
| LOW | …rs/winrm_runner/winrm_runner/winrm_ps_script_runner.py | 16 | CODE | |
| LOW | …ners/winrm_runner/winrm_runner/winrm_command_runner.py | 16 | CODE | |
| LOW | contrib/runners/winrm_runner/winrm_runner/winrm_base.py | 16 | CODE | |
| LOW | …s/winrm_runner/winrm_runner/winrm_ps_command_runner.py | 16 | CODE | |
| LOW | …s/winrm_runner/tests/unit/test_winrm_command_runner.py | 16 | CODE | |
| LOW | …rib/runners/winrm_runner/tests/unit/test_winrm_base.py | 16 | CODE | |
| LOW | …winrm_runner/tests/unit/test_winrm_ps_script_runner.py | 16 | CODE | |
| LOW | …inrm_runner/tests/unit/test_winrm_ps_command_runner.py | 16 | CODE | |
| LOW | contrib/runners/python_runner/setup.py | 17 | CODE | |
| LOW | contrib/runners/python_runner/dist_utils.py | 21 | CODE | |
| LOW | …b/runners/python_runner/python_runner/python_runner.py | 16 | CODE | |
| LOW | …s/python_runner/python_runner/python_action_wrapper.py | 16 | CODE | |
| LOW | …runners/python_runner/tests/unit/test_output_schema.py | 16 | CODE | |
| LOW | …/runners/python_runner/tests/unit/test_pythonrunner.py | 16 | CODE | |
| LOW | …ests/integration/test_python_action_process_wrapper.py | 35 | CODE | |
| LOW | contrib/runners/local_runner/setup.py | 17 | CODE | |
| LOW | contrib/runners/local_runner/dist_utils.py | 21 | CODE | |
| LOW | …ocal_runner/local_runner/local_shell_command_runner.py | 16 | CODE | |
| LOW | …local_runner/local_runner/local_shell_script_runner.py | 16 | CODE | |
| LOW | contrib/runners/local_runner/local_runner/base.py | 16 | CODE | |
| LOW | …ers/local_runner/tests/integration/test_localrunner.py | 16 | CODE | |
| LOW | contrib/runners/action_chain_runner/setup.py | 17 | CODE | |
| LOW | contrib/runners/action_chain_runner/dist_utils.py | 21 | CODE | |
| 757 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | st2auth/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | st2auth/st2auth/validation.py | 22 | __all__ = ["validate_auth_backend_is_correctly_configured"] | CODE |
| LOW | st2auth/st2auth/cmd/api.py | 38 | __all__ = ["main"] | CODE |
| LOW | st2auth/st2auth/backends/constants.py | 22 | __all__ = ["AuthBackendCapability"] | CODE |
| LOW | st2auth/st2auth/backends/__init__.py | 25 | __all__ = ["get_available_backends", "get_backend_instance"] | CODE |
| LOW | st2auth/st2auth/backends/base.py | 22 | __all__ = ["BaseAuthenticationBackend"] | CODE |
| LOW | st2auth/st2auth/sso/__init__.py | 28 | __all__ = ["get_available_backends", "get_backend_instance", "get_sso_backend"] | CODE |
| LOW | st2auth/st2auth/sso/noop.py | 20 | __all__ = ["NoOpSingleSignOnBackend"] | CODE |
| LOW | st2auth/st2auth/sso/base.py | 19 | __all__ = ["BaseSingleSignOnBackend"] | CODE |
| LOW | st2auth/tests/unit/test_handlers.py | 33 | __all__ = ["AuthHandlerTestCase"] | CODE |
| LOW⚡ | st2auth/tests/unit/test_validation_utils.py | 22 | __all__ = ["ValidationUtilsTestCase"] | CODE |
| LOW | st2stream/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | st2stream/st2stream/signal_handlers.py | 18 | __all__ = ["register_stream_signal_handlers"] | CODE |
| LOW | st2stream/st2stream/cmd/__init__.py | 18 | __all__ = ["api"] | CODE |
| LOW | st2stream/st2stream/cmd/api.py | 39 | __all__ = ["main"] | CODE |
| LOW | st2stream/st2stream/controllers/v1/executions.py | 33 | __all__ = ["ActionExecutionOutputStreamController"] | CODE |
| LOW | st2stream/st2stream/controllers/v1/stream.py | 24 | __all__ = ["StreamController"] | CODE |
| LOW | st2stream/st2stream/controllers/v1/root.py | 18 | __all__ = ["RootController"] | CODE |
| LOW⚡ | …ts/unit/controllers/v1/test_stream_execution_output.py | 35 | __all__ = ["ActionExecutionOutputStreamControllerTestCase"] | CODE |
| LOW | st2stream/tests/unit/controllers/v1/base.py | 19 | __all__ = ["FunctionalTest"] | CODE |
| LOW | contrib/core/tests/test_action_sendmail.py | 36 | __all__ = ["SendmailActionTestCase"] | CODE |
| LOW | contrib/core/actions/inject_trigger.py | 20 | __all__ = ["InjectTriggerAction"] | CODE |
| LOW | contrib/core/actions/generate_uuid.py | 21 | __all__ = ["GenerateUUID"] | CODE |
| LOW | contrib/core/actions/pause.py | 22 | __all__ = ["PauseAction"] | CODE |
| LOW | contrib/chatops/tests/test_format_result.py | 23 | __all__ = ["FormatResultActionTestCase"] | CODE |
| LOW | contrib/packs/tests/test_action_unload.py | 44 | __all__ = ["UnloadActionTestCase"] | CODE |
| LOW | contrib/packs/actions/pack_mgmt/register.py | 22 | __all__ = ["St2RegisterAction"] | CODE |
| LOW | contrib/packs/actions/pack_mgmt/download.py | 24 | __all__ = ["DownloadGitRepoAction"] | CODE |
| LOW | contrib/packs/actions/pack_mgmt/setup_virtualenv.py | 21 | __all__ = ["SetupVirtualEnvironmentAction"] | CODE |
| LOW | contrib/runners/winrm_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …rs/winrm_runner/winrm_runner/winrm_ps_script_runner.py | 24 | __all__ = ["WinRmPsScriptRunner", "get_runner", "get_metadata"] | CODE |
| LOW | …ners/winrm_runner/winrm_runner/winrm_command_runner.py | 23 | __all__ = ["WinRmCommandRunner", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/winrm_runner/winrm_runner/winrm_base.py | 33 | __all__ = [ | CODE |
| LOW | …s/winrm_runner/winrm_runner/winrm_ps_command_runner.py | 23 | __all__ = ["WinRmPsCommandRunner", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/python_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …b/runners/python_runner/python_runner/python_runner.py | 61 | __all__ = [ | CODE |
| LOW | …s/python_runner/python_runner/python_action_wrapper.py | 70 | __all__ = ["PythonActionWrapper", "ActionService"] | CODE |
| LOW | …ests/integration/test_python_action_process_wrapper.py | 46 | __all__ = ["PythonRunnerActionWrapperProcessTestCase"] | CODE |
| LOW | …runner/tests/integration/test_pythonrunner_behavior.py | 40 | __all__ = ["PythonRunnerBehaviorTestCase"] | CODE |
| LOW | contrib/runners/local_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …ocal_runner/local_runner/local_shell_command_runner.py | 26 | __all__ = ["LocalShellCommandRunner", "get_runner", "get_metadata"] | CODE |
| LOW | …local_runner/local_runner/local_shell_script_runner.py | 26 | __all__ = ["LocalShellScriptRunner", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/local_runner/local_runner/base.py | 42 | __all__ = ["BaseLocalShellRunner", "RUNNER_COMMAND"] | CODE |
| LOW | …ers/local_runner/tests/integration/test_localrunner.py | 47 | __all__ = ["LocalShellCommandRunnerTestCase", "LocalShellScriptRunnerTestCase"] | CODE |
| LOW | contrib/runners/action_chain_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 53 | __all__ = ["ActionChainRunner", "ChainHolder", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/orquesta_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …ers/orquesta_runner/orquesta_runner/orquesta_runner.py | 40 | __all__ = ["OrquestaRunner", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/remote_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …rs/remote_runner/remote_runner/remote_script_runner.py | 30 | __all__ = ["ParamikoRemoteScriptRunner", "get_runner", "get_metadata"] | CODE |
| LOW | …s/remote_runner/remote_runner/remote_command_runner.py | 27 | __all__ = ["ParamikoRemoteCommandRunner", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/http_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …rib/runners/http_runner/tests/unit/test_http_runner.py | 31 | __all__ = ["HTTPClientTestCase", "HTTPRunnerTestCase"] | CODE |
| LOW | contrib/runners/http_runner/http_runner/http_runner.py | 39 | __all__ = ["HttpRunner", "HTTPClient", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/announcement_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …ment_runner/announcement_runner/announcement_runner.py | 27 | __all__ = ["AnnouncementRunner", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/inquirer_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | …ers/inquirer_runner/inquirer_runner/inquirer_runner.py | 32 | __all__ = ["Inquirer", "get_runner", "get_metadata"] | CODE |
| LOW | contrib/runners/noop_runner/dist_utils.py | 48 | __all__ = [ | CODE |
| LOW | contrib/runners/noop_runner/noop_runner/noop_runner.py | 25 | __all__ = ["NoopRunner", "get_runner", "get_metadata"] | CODE |
| 397 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/migrate_rules_to_include_pack.py | 141 | except Exception as e: | CODE |
| MEDIUM | tools/migrate_rules_to_include_pack.py | 121 | def migrate_rules(): | CODE |
| LOW | st2auth/st2auth/handlers.py | 137 | except Exception: | CODE |
| LOW | st2auth/st2auth/handlers.py | 199 | except Exception: | CODE |
| LOW | st2auth/st2auth/handlers.py | 265 | except Exception: | CODE |
| LOW | st2auth/st2auth/cmd/api.py | 117 | except Exception: | CODE |
| MEDIUM | st2auth/st2auth/cmd/api.py | 110 | def main(): | CODE |
| LOW | st2auth/st2auth/backends/__init__.py | 54 | except Exception as e: | CODE |
| LOW | st2auth/st2auth/sso/__init__.py | 58 | except Exception as e: | CODE |
| LOW | st2auth/st2auth/controllers/v1/auth.py | 50 | except Exception: | CODE |
| LOW | st2auth/st2auth/controllers/v1/sso.py | 61 | except Exception as e: | CODE |
| LOW | st2auth/st2auth/controllers/v1/sso.py | 73 | except Exception as e: | CODE |
| LOW | st2auth/st2auth/controllers/v1/sso.py | 88 | except Exception: | CODE |
| MEDIUM | st2auth/st2auth/controllers/v1/sso.py | 38 | def post(self, response, **kwargs): | CODE |
| MEDIUM | st2auth/st2auth/controllers/v1/sso.py | 66 | def get(self, referer): | CODE |
| MEDIUM | st2auth/st2auth/controllers/v1/sso.py | 84 | def get(self): | CODE |
| LOW | st2stream/st2stream/cmd/api.py | 117 | except Exception: | CODE |
| MEDIUM | st2stream/st2stream/cmd/api.py | 104 | def main(): | CODE |
| LOW | …ntrib/packs/actions/pack_mgmt/get_pack_dependencies.py | 127 | except Exception: | CODE |
| LOW | …ntrib/packs/actions/pack_mgmt/get_pack_dependencies.py | 139 | except Exception: | CODE |
| LOW | contrib/packs/actions/pack_mgmt/get_pack_warnings.py | 56 | except Exception: | CODE |
| LOW | contrib/packs/actions/pack_mgmt/get_installed.py | 60 | except Exception as e: | CODE |
| LOW | contrib/linux/actions/wait_for_ssh.py | 64 | except Exception as e: | CODE |
| LOW | contrib/linux/actions/checks/check_processes.py | 62 | except Exception: | CODE |
| MEDIUM | contrib/linux/actions/checks/check_loadavg.py | 35 | print("Error opening %s" % loadAvgFile) | CODE |
| MEDIUM | contrib/linux/actions/checks/check_loadavg.py | 46 | print("Error opening %s" % cpuInfoFile) | CODE |
| LOW | …ib/examples/actions/ubuntu_pkg_info/ubuntu_pkg_info.py | 34 | except Exception as e: | CODE |
| LOW | …es/actions/pythonactions/forloop_parse_github_repos.py | 35 | except Exception as e: | CODE |
| MEDIUM | …es/actions/pythonactions/forloop_parse_github_repos.py | 24 | def run(self, content): | CODE |
| LOW | …les/actions/pythonactions/forloop_push_github_repos.py | 29 | except Exception as e: | CODE |
| MEDIUM | …les/actions/pythonactions/forloop_push_github_repos.py | 24 | def run(self, data_to_push): | CODE |
| LOW | contrib/examples/actions/pythonactions/fibonacci.py | 38 | except Exception as e: | CODE |
| LOW | …b/runners/python_runner/python_runner/python_runner.py | 222 | except Exception as e: | CODE |
| LOW | …b/runners/python_runner/python_runner/python_runner.py | 370 | except Exception as e: | CODE |
| LOW | …s/python_runner/python_runner/python_action_wrapper.py | 200 | except Exception as e: | STRING |
| LOW⚡ | …s/python_runner/python_runner/python_action_wrapper.py | 249 | except Exception: | STRING |
| LOW⚡ | …s/python_runner/python_runner/python_action_wrapper.py | 267 | except Exception as e: | STRING |
| LOW | …s/python_runner/python_runner/python_action_wrapper.py | 373 | except Exception as e: | STRING |
| MEDIUM | …s/python_runner/python_runner/python_action_wrapper.py | 264 | def _get_action_instance(self): | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 285 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 301 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 319 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 415 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 455 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 589 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 683 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 764 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 816 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 870 | except Exception as e: | CODE |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 895 | except Exception as e: | CODE |
| LOW | …ib/runners/orquesta_runner/orquesta_functions/st2kv.py | 46 | except Exception as e: | CODE |
| LOW | …ib/runners/orquesta_runner/orquesta_functions/st2kv.py | 62 | except Exception as e: | CODE |
| LOW | …trib/runners/orquesta_runner/tests/unit/test_notify.py | 213 | except Exception as e: | CODE |
| LOW | …ers/orquesta_runner/orquesta_runner/orquesta_runner.py | 147 | except Exception as e: | CODE |
| LOW | …ers/orquesta_runner/orquesta_runner/orquesta_runner.py | 166 | except Exception as e: | CODE |
| LOW | …ers/orquesta_runner/orquesta_runner/orquesta_runner.py | 267 | except Exception: | CODE |
| MEDIUM | …ers/orquesta_runner/orquesta_runner/orquesta_runner.py | 159 | def rerun_workflow(self, ac_ex_ref, options=None): | CODE |
| LOW | contrib/runners/http_runner/http_runner/http_runner.py | 307 | except Exception as e: | CODE |
| LOW | contrib/runners/http_runner/http_runner/http_runner.py | 341 | except Exception: | CODE |
| LOW | st2api/st2api/validation.py | 61 | except Exception as e: | CODE |
| 243 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | st2auth/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | st2stream/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/winrm_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/python_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/local_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/action_chain_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/orquesta_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/remote_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/http_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/announcement_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/inquirer_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | contrib/runners/noop_runner/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | st2api/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | st2client/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | st2reactor/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | scripts/dist_utils_old.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | scripts/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | st2actions/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | st2common/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | st2tests/dist_utils.py | 0 | return a list of requirements and links by parsing the provided requirements file. | STRING |
| HIGH | st2auth/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | st2stream/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/winrm_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/python_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/local_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/action_chain_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/orquesta_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/remote_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/http_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/announcement_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/inquirer_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | contrib/runners/noop_runner/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | st2api/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | st2client/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | st2reactor/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | scripts/dist_utils_old.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | scripts/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | st2actions/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | st2common/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | st2tests/dist_utils.py | 0 | function which detects if the script is being executed inside vagrant and if it is, it deletes "os.link" attribute. note | STRING |
| HIGH | st2stream/st2stream/config.py | 0 | configuration options registration and useful routines. | STRING |
| HIGH | st2api/st2api/config.py | 0 | configuration options registration and useful routines. | STRING |
| HIGH | st2actions/st2actions/config.py | 0 | configuration options registration and useful routines. | STRING |
| HIGH | st2common/st2common/cmd/purge_rule_enforcements.py | 0 | a utility script that purges st2 executions older than certain timestamp. *** risk risk risk. you will lose data. run at | STRING |
| HIGH | st2common/st2common/cmd/purge_workflows.py | 0 | a utility script that purges st2 executions older than certain timestamp. *** risk risk risk. you will lose data. run at | STRING |
| HIGH | st2common/st2common/cmd/purge_traces.py | 0 | a utility script that purges st2 executions older than certain timestamp. *** risk risk risk. you will lose data. run at | STRING |
| HIGH | st2common/st2common/cmd/purge_task_executions.py | 0 | a utility script that purges st2 executions older than certain timestamp. *** risk risk risk. you will lose data. run at | STRING |
| HIGH | st2common/st2common/cmd/purge_trigger_instances.py | 0 | a utility script that purges st2 executions older than certain timestamp. *** risk risk risk. you will lose data. run at | STRING |
| HIGH | st2common/st2common/cmd/purge_tokens.py | 0 | a utility script that purges st2 executions older than certain timestamp. *** risk risk risk. you will lose data. run at | STRING |
| HIGH | st2common/st2common/cmd/purge_executions.py | 0 | a utility script that purges st2 executions older than certain timestamp. *** risk risk risk. you will lose data. run at | STRING |
| HIGH | st2common/st2common/bootstrap/triggersregistrar.py | 0 | register all the sensors from the provided pack. :return: number of sensors registered. :rtype: ``int`` | STRING |
| HIGH | st2common/st2common/bootstrap/policiesregistrar.py | 0 | register all the sensors from the provided pack. :return: number of sensors registered. :rtype: ``int`` | STRING |
| HIGH | st2common/st2common/bootstrap/sensorsregistrar.py | 0 | register all the sensors from the provided pack. :return: number of sensors registered. :rtype: ``int`` | STRING |
| HIGH | st2common/st2common/models/system/action.py | 0 | retrieve a list of flags which are passed to sudo on every invocation. :rtype: ``list`` | STRING |
| HIGH | …mmon/st2common/models/system/paramiko_script_action.py | 0 | retrieve a list of flags which are passed to sudo on every invocation. :rtype: ``list`` | STRING |
| HIGH | …mon/st2common/models/system/paramiko_command_action.py | 0 | retrieve a list of flags which are passed to sudo on every invocation. :rtype: ``list`` | STRING |
| HIGH | st2common/st2common/garbage_collection/trace.py | 0 | module with utility functions for purging old trigger instance objects. | STRING |
| HIGH | …mmon/st2common/garbage_collection/trigger_instances.py | 0 | module with utility functions for purging old trigger instance objects. | STRING |
| HIGH | st2common/st2common/garbage_collection/token.py | 0 | module with utility functions for purging old trigger instance objects. | STRING |
| HIGH | …ommon/st2common/garbage_collection/rule_enforcement.py | 0 | module with utility functions for purging old trigger instance objects. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | packaging/build_st2_venv.py | 45 | except cfg.ConfigFilesNotFoundError: | CODE |
| HIGH | contrib/runners/winrm_runner/winrm_runner/winrm_base.py | 189 | except WinRMOperationTimeoutError: | CODE |
| HIGH | …runner/tests/unit/test_actionchain_params_rendering.py | 67 | except ParameterRenderingFailedException: | CODE |
| HIGH | …ers/orquesta_runner/orquesta_runner/orquesta_runner.py | 256 | except ( | CODE |
| HIGH | …api/tests/unit/controllers/v1/test_service_registry.py | 45 | except tooz.coordination.GroupNotCreated: | CODE |
| HIGH | st2client/st2client/utils/misc.py | 57 | except UnicodeEncodeError: | CODE |
| HIGH | st2client/st2client/utils/terminal.py | 49 | except (KeyError, ValueError): | CODE |
| HIGH | st2client/st2client/commands/action.py | 865 | except ValueError: | CODE |
| HIGH | st2reactor/tests/unit/test_rule_engine.py | 132 | except NotUniqueError: | CODE |
| HIGH | scripts/fixate-requirements.py | 72 | except ImportError: | CODE |
| HIGH | scripts/fixate_requirements.py | 72 | except ImportError: | CODE |
| HIGH | st2actions/tests/unit/test_actions_registrar.py | 74 | except: | CODE |
| HIGH | st2actions/tests/unit/test_actions_registrar.py | 189 | except jsonschema.ValidationError: | CODE |
| HIGH | st2actions/tests/unit/test_runner_container.py | 279 | except ActionRunnerCreateError: | CODE |
| HIGH | st2actions/tests/unit/test_paramiko_ssh.py | 647 | except UnicodeDecodeError: | CODE |
| HIGH | st2actions/tests/unit/test_paramiko_ssh.py | 673 | except UnicodeDecodeError: | CODE |
| HIGH | st2actions/st2actions/worker.py | 160 | except GroupNotCreated: | CODE |
| HIGH | st2actions/st2actions/workflows/workflows.py | 129 | except GroupNotCreated: | CODE |
| HIGH | …common/tests/unit/test_util_actionalias_helpstrings.py | 145 | except TypeError: | CODE |
| HIGH | …common/tests/unit/test_util_actionalias_helpstrings.py | 197 | except TypeError: | CODE |
| HIGH | …common/tests/unit/test_util_actionalias_helpstrings.py | 235 | except TypeError: | CODE |
| HIGH | st2common/tests/unit/test_action_api_validator.py | 66 | except ValueValidationException: | CODE |
| HIGH | st2common/tests/unit/test_plugin_loader.py | 82 | except ImportError: | CODE |
| HIGH | st2common/tests/unit/test_plugin_loader.py | 89 | except ImportError: | CODE |
| HIGH | st2common/tests/unit/test_plugin_loader.py | 67 | except: | CODE |
| HIGH | st2common/tests/unit/test_tags.py | 85 | except ValidationError: | CODE |
| HIGH | st2common/tests/unit/test_tags.py | 96 | except ValidationError: | CODE |
| HIGH | st2common/tests/unit/test_transport_utils.py | 34 | except: | CODE |
| HIGH | st2common/tests/unit/test_transport_utils.py | 40 | except: | CODE |
| HIGH | st2common/tests/unit/test_transport_utils.py | 44 | except: | CODE |
| HIGH | st2common/tests/unit/test_transport_utils.py | 48 | except: | CODE |
| HIGH | st2common/tests/unit/test_consumer_retry_limits.py | 37 | except: | CODE |
| HIGH | st2common/tests/integration/test_util_green.py | 138 | except greenlet.GreenletExit: | CODE |
| HIGH | st2common/tests/integration/test_util_green.py | 144 | except greenlet.GreenletExit: | CODE |
| HIGH | st2common/st2common/service_setup.py | 331 | except GroupAlreadyExist: | CODE |
| HIGH | st2common/st2common/service_setup.py | 362 | except (GroupNotCreated, MemberNotJoined): | CODE |
| HIGH | st2common/st2common/rbac/migrations.py | 47 | except (StackStormDBObjectConflictError, NotUniqueError): | CODE |
| HIGH | st2common/st2common/util/pack_management.py | 131 | except OSError: | CODE |
| HIGH | st2common/st2common/util/jsonify.py | 166 | except Exception: | CODE |
| HIGH | st2common/st2common/constants/compression.py | 76 | except zstandard.ZstdError: | CODE |
| HIGH | st2common/st2common/persistence/auth.py | 117 | except ApiKeyNotFoundError: | CODE |
| HIGH | st2common/st2common/persistence/base.py | 197 | except StackStormDBObjectNotFoundError: | CODE |
| HIGH | st2common/st2common/runners/paramiko_ssh.py | 639 | except paramiko.ssh_exception.SSHException: | CODE |
| HIGH | st2common/st2common/runners/utils.py | 181 | except RuntimeError: | CODE |
| HIGH | st2common/st2common/runners/utils.py | 184 | except greenlet_exit_exc_cls: | CODE |
| HIGH | st2common/st2common/services/access.py | 104 | except TokenNotFoundError: | CODE |
| HIGH | st2tests/st2tests/base.py | 540 | except Exception: | CODE |
| HIGH | st2tests/st2tests/base.py | 549 | except Exception: | CODE |
| HIGH | st2tests/st2tests/base.py | 588 | except OSError: | CODE |
| HIGH | …ts/resources/packs/pythonactions/actions/pascal_row.py | 30 | except Exception: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | st2auth/tests/unit/controllers/v1/test_token.py | 202 | # Create a new token. | COMMENT |
| MEDIUM | st2auth/tests/unit/controllers/v1/test_token.py | 214 | # Create a new token. | COMMENT |
| MEDIUM | st2auth/tests/unit/controllers/v1/test_token.py | 229 | # Create a new token. | COMMENT |
| MEDIUM | st2auth/tests/unit/controllers/v1/test_token.py | 249 | # Create a new token. | COMMENT |
| MEDIUM | st2auth/tests/unit/controllers/v1/test_token.py | 265 | # Create a new token. | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/sample_sensor.py | 58 | # This method is called when trigger is created | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/sample_sensor.py | 62 | # This method is called when trigger is updated | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/sample_sensor.py | 66 | # This method is called when trigger is deleted | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/echo_flask_app.py | 59 | # This method is called when trigger is created | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/echo_flask_app.py | 63 | # This method is called when trigger is updated | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/echo_flask_app.py | 67 | # This method is called when trigger is deleted | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/fibonacci_sensor.py | 67 | # This method is called when trigger is created | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/fibonacci_sensor.py | 71 | # This method is called when trigger is updated | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/fibonacci_sensor.py | 75 | # This method is called when trigger is deleted | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/sample_polling_sensor.py | 63 | # This method is called when trigger is created | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/sample_polling_sensor.py | 67 | # This method is called when trigger is updated | COMMENT |
| MEDIUM⚡ | contrib/examples/sensors/sample_polling_sensor.py | 71 | # This method is called when trigger is deleted | COMMENT |
| MEDIUM | contrib/runners/winrm_runner/winrm_runner/winrm_base.py | 445 | # Create a big OR regex that matches any of the substrings to replace | COMMENT |
| MEDIUM⚡ | st2api/tests/unit/controllers/v1/test_executions.py | 1070 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 835 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 907 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 919 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 1098 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 1126 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 1154 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 1186 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 1203 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 1221 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 1239 | # Create a new execution | COMMENT |
| MEDIUM | st2api/tests/unit/controllers/v1/test_executions.py | 1257 | # Create a new execution | COMMENT |
| MEDIUM | st2client/tests/unit/test_ssl.py | 56 | # Create a temp file to mock a cert file. | COMMENT |
| MEDIUM | st2reactor/tests/integration/test_sensor_watcher.py | 116 | # Create a rabbit client and delete each queue | COMMENT |
| MEDIUM | scripts/ci/add-itest-user-key.sh | 25 | # Create an SSH system user (default `stanley` user may be already created) | COMMENT |
| MEDIUM | …ctions/tests/unit/test_scheduler_bootstrap_recovery.py | 65 | # Create a LiveAction in 'requested' status directly in the database | COMMENT |
| MEDIUM | …ctions/tests/unit/test_scheduler_bootstrap_recovery.py | 76 | # Create the associated ActionExecution | COMMENT |
| MEDIUM | …ctions/tests/unit/test_scheduler_bootstrap_recovery.py | 120 | # Create a LiveAction with a queue entry (normal case) | COMMENT |
| MEDIUM | …ctions/tests/unit/test_scheduler_bootstrap_recovery.py | 231 | # Create a LiveAction without an ActionExecution (edge case) | COMMENT |
| MEDIUM | …ctions/tests/unit/test_scheduler_bootstrap_recovery.py | 258 | # Create a LiveAction with a delay | COMMENT |
| MEDIUM | st2actions/tests/unit/test_worker.py | 156 | # Create a temporary file that is deleted when the file is closed and then set up an | COMMENT |
| MEDIUM | st2actions/tests/unit/test_worker.py | 219 | # Create a temporary file that is deleted when the file is closed and then set up an | COMMENT |
| MEDIUM | st2actions/tests/unit/test_worker.py | 282 | # Create a temporary file that is NOT automatically deleted. This ensures the action | COMMENT |
| MEDIUM | st2actions/tests/unit/test_worker.py | 354 | # Create a temporary file that is NOT automatically deleted. This ensures the action | COMMENT |
| MEDIUM | st2actions/tests/unit/test_kombu_error_propagation.py | 99 | # Create a liveaction | COMMENT |
| MEDIUM | st2actions/st2actions/scheduler/handler.py | 191 | # Create the missing queue entry | COMMENT |
| MEDIUM | st2actions/st2actions/container/base.py | 93 | # Create a temporary auth token which will be available | COMMENT |
| MEDIUM | st2common/tests/unit/test_connection_retry_wrapper.py | 118 | # Create a simple callback | COMMENT |
| MEDIUM | st2common/tests/unit/test_executions.py | 167 | # Create the DB record. | COMMENT |
| MEDIUM | st2common/tests/unit/test_executions.py | 256 | # Create the DB record. | COMMENT |
| MEDIUM | …n/tests/unit/services/test_workflow_service_retries.py | 261 | # Create a temporary file which will be used to signal | COMMENT |
| MEDIUM | …/tests/unit/services/test_workflow_identify_orphans.py | 137 | # Create the WorkflowExecutionDB record first since the ID needs to be | COMMENT |
| MEDIUM | …/tests/unit/services/test_workflow_identify_orphans.py | 155 | # Create the LiveActionDB record. | COMMENT |
| MEDIUM | …/tests/unit/services/test_workflow_identify_orphans.py | 168 | # Create the ActionExecutionDB record. | COMMENT |
| MEDIUM | …/tests/unit/services/test_workflow_identify_orphans.py | 219 | # Create the TaskExecutionDB record first since the ID needs to be | COMMENT |
| MEDIUM | …/tests/unit/services/test_workflow_identify_orphans.py | 247 | # Create the LiveActionDB record. | COMMENT |
| MEDIUM | …/tests/unit/services/test_workflow_identify_orphans.py | 261 | # Create the ActionExecutionDB record. | COMMENT |
| MEDIUM | st2common/st2common/util/virtualenvs.py | 302 | # This file is auto-generated by StackStorm. | COMMENT |
| MEDIUM | st2common/st2common/models/db/__init__.py | 676 | # Create a new Q object with the same filters as the old one | COMMENT |
| MEDIUM | st2common/st2common/models/db/__init__.py | 682 | # Create a new QCombination object with the same operation and fixed filters | COMMENT |
| MEDIUM | st2common/st2common/models/api/rule.py | 203 | # Create a trigger for the provided rule | COMMENT |
| MEDIUM | st2common/st2common/runners/paramiko_ssh.py | 421 | # Create a stdin file and immediately close it to prevent any | COMMENT |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | st2auth/st2auth/controllers/v1/sso.py | 99 | return v ? v[2] : null; | CODE |
| HIGH | …i/tests/unit/controllers/v1/test_executions_filters.py | 471 | # Verify empty (None / null) filters are excluded | COMMENT |
| HIGH | pylint_plugins/api_models.py | 264 | # Hack for attributes with multiple types (e.g. string, null) | COMMENT |
| HIGH | …common/tests/unit/test_paramiko_script_action_model.py | 155 | ex = "export FOO=BAR && cd /tmp && '/tmp/remote script.sh'" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 29 | ex = "cd /tmp && echo boo bah baz" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 33 | ex = "sudo -E -- bash -c 'cd /tmp && echo boo bah baz'" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 53 | "bash -c 'cd /tmp && echo boo bah baz'" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 62 | ex = "export BAR='BEET CAFE' " + "FOO=BAR" + " && cd /tmp && echo boo bah baz" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 72 | + " && cd /tmp && echo boo bah baz'" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 78 | + " && cd /tmp && echo boo bah baz'" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 89 | + " && cd /tmp && echo boo bah baz'" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 98 | ex = "cd /tmp && echo boo bah baz" | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 105 | ex = 'cd /tmp && bash "/tmp/stuff space.sh"' | CODE |
| HIGH⚡ | …ommon/tests/unit/test_paramiko_command_action_model.py | 114 | ex = "export FOO=BAR && cd /tmp && echo boo bah baz" | CODE |
| HIGH | st2common/st2common/util/jinja.py | 95 | undefined=undefined, trim_blocks=trim_blocks, lstrip_blocks=lstrip_blocks | CODE |
| HIGH | …mmon/st2common/models/system/paramiko_script_action.py | 43 | "%s && cd %s && %s %s" | CODE |
| HIGH | …mmon/st2common/models/system/paramiko_script_action.py | 53 | "%s && cd %s && %s" % (env_str, cwd, script_path) | CODE |
| HIGH⚡ | …mmon/st2common/models/system/paramiko_script_action.py | 69 | command = "%s && cd %s && %s %s" % ( | CODE |
| HIGH⚡ | …mmon/st2common/models/system/paramiko_script_action.py | 79 | command = "%s && cd %s && %s" % (env_str, cwd, script_path) | CODE |
| HIGH | …mon/st2common/models/system/paramiko_command_action.py | 42 | command = quote_unix("%s && cd %s && %s" % (env_str, cwd, self.command)) | CODE |
| HIGH | …mon/st2common/models/system/paramiko_command_action.py | 56 | command = "%s && cd %s && %s" % (env_str, cwd, self.command) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | st2stream/st2stream/controllers/v1/executions.py | 157 | CODE | |
| LOW | st2stream/st2stream/controllers/v1/executions.py | 84 | CODE | |
| LOW | st2stream/st2stream/controllers/v1/executions.py | 154 | CODE | |
| LOW | st2stream/st2stream/controllers/v1/stream.py | 88 | CODE | |
| LOW | contrib/core/actions/inject_trigger.py | 54 | CODE | |
| LOW | contrib/packs/actions/get_config.py | 29 | CODE | |
| LOW | contrib/packs/actions/pack_mgmt/register.py | 44 | CODE | |
| LOW | contrib/packs/actions/pack_mgmt/register.py | 82 | CODE | |
| LOW | contrib/packs/actions/pack_mgmt/register.py | 157 | CODE | |
| LOW | contrib/examples/actions/python-mock-create-vm.py | 31 | CODE | |
| LOW | …amples/actions/pythonactions/load_and_print_fixture.py | 27 | CODE | |
| LOW | …ers/local_runner/tests/integration/test_localrunner.py | 403 | CODE | |
| LOW | …rs/remote_runner/remote_runner/remote_script_runner.py | 123 | CODE | |
| LOW | contrib/runners/http_runner/http_runner/http_runner.py | 190 | CODE | |
| LOW | st2api/st2api/controllers/resource.py | 131 | CODE | |
| LOW | st2api/st2api/controllers/resource.py | 394 | CODE | |
| LOW | st2api/st2api/controllers/resource.py | 413 | CODE | |
| LOW | st2api/st2api/controllers/resource.py | 696 | CODE | |
| LOW | st2api/st2api/controllers/v1/rbac.py | 116 | CODE | |
| LOW | st2api/st2api/controllers/v1/service_registry.py | 41 | CODE | |
| LOW | st2api/st2api/controllers/v1/inquiries.py | 251 | CODE | |
| LOW | st2api/st2api/controllers/v1/actionexecutions.py | 514 | CODE | |
| LOW | st2api/st2api/controllers/v1/actionexecutions.py | 1092 | CODE | |
| LOW | st2api/st2api/controllers/v1/actionexecutions.py | 511 | CODE | |
| LOW | st2api/st2api/controllers/v1/timers.py | 116 | CODE | |
| LOW | st2api/st2api/controllers/v1/policies.py | 81 | CODE | |
| LOW | st2api/st2api/controllers/v1/policies.py | 83 | CODE | |
| LOW | st2api/st2api/controllers/v1/packs.py | 322 | CODE | |
| LOW | st2client/st2client/client.py | 56 | CODE | |
| LOW | st2client/st2client/base.py | 214 | CODE | |
| LOW | st2client/st2client/base.py | 416 | CODE | |
| LOW | st2client/st2client/utils/httpclient.py | 106 | CODE | |
| LOW | st2client/st2client/utils/httpclient.py | 122 | CODE | |
| LOW | st2client/st2client/utils/httpclient.py | 131 | CODE | |
| LOW | st2client/st2client/utils/httpclient.py | 139 | CODE | |
| LOW | st2client/st2client/utils/httpclient.py | 148 | CODE | |
| LOW | st2client/st2client/utils/httpclient.py | 157 | CODE | |
| LOW | st2client/st2client/utils/httpclient.py | 165 | CODE | |
| LOW | st2client/st2client/utils/jsutil.py | 77 | CODE | |
| LOW | st2client/st2client/utils/interactive.py | 277 | CODE | |
| LOW | st2client/st2client/utils/interactive.py | 308 | CODE | |
| LOW | st2client/st2client/utils/date.py | 40 | CODE | |
| LOW | st2client/st2client/utils/date.py | 61 | CODE | |
| LOW | st2client/st2client/utils/date.py | 72 | CODE | |
| LOW | st2client/st2client/models/core.py | 69 | CODE | |
| LOW | st2client/st2client/models/core.py | 177 | CODE | |
| LOW | st2client/st2client/commands/pack.py | 555 | CODE | |
| LOW | pants-plugins/uses_services/system_user_rules_test.py | 62 | CODE | |
| LOW | pants-plugins/uses_services/rabbitmq_rules_test.py | 67 | CODE | |
| LOW | pants-plugins/uses_services/redis_rules_test.py | 67 | CODE | |
| LOW | pants-plugins/uses_services/st2cluster_rules_test.py | 64 | CODE | |
| LOW | pants-plugins/uses_services/data_fixtures.py | 19 | CODE | |
| LOW | pants-plugins/uses_services/mongo_rules_test.py | 70 | CODE | |
| LOW | …mon/benchmarks/micro/test_mongo_escape_and_unescape.py | 64 | CODE | |
| LOW | …mon/benchmarks/micro/test_mongo_escape_and_unescape.py | 101 | CODE | |
| LOW | st2common/benchmarks/micro/test_mongo_field_types.py | 84 | CODE | |
| LOW | st2common/st2common/service_setup.py | 87 | CODE | |
| LOW | st2common/st2common/fields.py | 71 | CODE | |
| LOW | st2common/st2common/fields.py | 75 | CODE | |
| LOW | st2common/st2common/fields.py | 90 | CODE | |
| 45 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/log_watcher.py | 127 | CODE | |
| LOW | st2auth/st2auth/handlers.py | 60 | CODE | |
| LOW | st2stream/st2stream/controllers/v1/executions.py | 53 | CODE | |
| LOW | st2stream/st2stream/controllers/v1/executions.py | 98 | CODE | |
| LOW | st2stream/st2stream/controllers/v1/executions.py | 113 | CODE | |
| LOW | st2stream/tests/unit/controllers/v1/test_stream.py | 138 | CODE | |
| LOW | st2stream/tests/unit/controllers/v1/test_stream.py | 152 | CODE | |
| LOW | contrib/chatops/actions/format_execution_result.py | 39 | CODE | |
| LOW | …ntrib/packs/actions/pack_mgmt/get_pack_dependencies.py | 26 | CODE | |
| LOW | contrib/linux/actions/checks/check_processes.py | 54 | CODE | |
| LOW | contrib/runners/winrm_runner/winrm_runner/winrm_base.py | 451 | CODE | |
| LOW | …ers/local_runner/tests/integration/test_localrunner.py | 237 | CODE | |
| LOW | …hain_runner/action_chain_runner/action_chain_runner.py | 391 | CODE | |
| LOW | …/runners/orquesta_runner/orquesta_functions/runtime.py | 48 | CODE | |
| LOW | st2api/st2api/controllers/resource.py | 784 | CODE | |
| LOW | st2api/st2api/controllers/v1/keyvalue.py | 138 | CODE | |
| LOW | st2api/st2api/controllers/v1/aliasexecution.py | 113 | CODE | |
| LOW | st2api/st2api/controllers/v1/actionexecutions.py | 805 | CODE | |
| LOW | st2api/st2api/controllers/v1/packs.py | 159 | CODE | |
| LOW | st2client/st2client/config_parser.py | 102 | CODE | |
| LOW | st2client/st2client/formatters/execution.py | 65 | CODE | |
| LOW | st2client/st2client/formatters/table.py | 57 | CODE | |
| LOW | st2client/st2client/formatters/table.py | 219 | CODE | |
| LOW | st2client/st2client/utils/jsutil.py | 100 | CODE | |
| LOW | st2client/st2client/commands/pack.py | 141 | CODE | |
| LOW | st2client/st2client/commands/pack.py | 285 | CODE | |
| LOW | st2client/st2client/commands/trace.py | 350 | CODE | |
| LOW | st2client/st2client/commands/trace.py | 429 | CODE | |
| LOW | st2client/st2client/commands/action.py | 798 | CODE | |
| LOW | st2client/st2client/commands/action.py | 1017 | CODE | |
| LOW | st2client/st2client/commands/action.py | 1126 | CODE | |
| LOW | st2client/st2client/commands/action.py | 1992 | CODE | |
| LOW | st2reactor/st2reactor/cmd/rulesengine.py | 58 | CODE | |
| LOW | pylint_plugins/api_models.py | 100 | CODE | |
| LOW | scripts/fixate-requirements.py | 154 | CODE | |
| LOW | scripts/fixate-requirements.py | 194 | CODE | |
| LOW | scripts/fixate_requirements.py | 154 | CODE | |
| LOW | scripts/fixate_requirements.py | 194 | CODE | |
| LOW | …gins/pack_metadata/python_rules/python_pack_content.py | 295 | CODE | |
| LOW | st2actions/st2actions/cmd/scheduler.py | 65 | CODE | |
| LOW | st2actions/st2actions/notifier/notifier.py | 144 | CODE | |
| LOW | st2common/benchmarks/micro/test_mongo_field_types.py | 153 | CODE | |
| LOW | st2common/benchmarks/micro/test_fast_deepcopy.py | 133 | CODE | |
| LOW | st2common/benchmarks/micro/test_fast_deepcopy.py | 139 | CODE | |
| LOW | …s/micro/test_json_serialization_and_deserialization.py | 62 | CODE | |
| LOW | …s/micro/test_json_serialization_and_deserialization.py | 115 | CODE | |
| LOW | …s/micro/test_json_serialization_and_deserialization.py | 75 | CODE | |
| LOW | …s/micro/test_json_serialization_and_deserialization.py | 121 | CODE | |
| LOW | st2common/st2common/log.py | 83 | CODE | |
| LOW | st2common/st2common/router.py | 230 | CODE | |
| LOW | st2common/st2common/router.py | 321 | CODE | |
| LOW | st2common/st2common/operators.py | 53 | CODE | |
| LOW | st2common/st2common/middleware/error_handling.py | 39 | CODE | |
| LOW | st2common/st2common/transport/utils.py | 96 | CODE | |
| LOW | st2common/st2common/bootstrap/policiesregistrar.py | 179 | CODE | |
| LOW | st2common/st2common/bootstrap/rulesregistrar.py | 113 | CODE | |
| LOW | st2common/st2common/util/pack_management.py | 77 | CODE | |
| LOW | st2common/st2common/util/misc.py | 166 | CODE | |
| LOW | st2common/st2common/util/config_loader.py | 103 | CODE | |
| LOW | st2common/st2common/util/config_loader.py | 216 | CODE | |
| 32 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tools/config_gen.py | 242 | # display warnings+errors on stderr to facilitate debugging | STRING |
| MEDIUM | st2client/st2client/commands/action.py | 539 | # Flag to opt-in to functionality introduced in PR #3670. More robust parsing | COMMENT |
| MEDIUM | st2client/st2client/commands/action.py | 935 | # also leverage that to cast each array item to the correct type. | COMMENT |
| LOW | st2reactor/st2reactor/timer/base.py | 105 | raise # Or should we just return? | CODE |
| MEDIUM | pylint_plugins/api_models.py | 271 | # Expose the AST at this point to facilitate handling that approach. | COMMENT |
| LOW | scripts/fixate-requirements.py | 219 | # we don't have any idea how to process links, so just add them | COMMENT |
| LOW | scripts/fixate_requirements.py | 219 | # we don't have any idea how to process links, so just add them | COMMENT |
| LOW | .github/workflows/ci.yaml | 324 | # Now, we simply set this environment varible here in the CI portion of our testing and | COMMENT |
| LOW | .github/workflows/ci.yaml | 501 | # Now, we simply set this environment varible here in the CI portion of our testing and | COMMENT |
| LOW | .github/workflows/orquesta-integration-tests.yaml | 107 | # Now, we simply set this environment varible here in the CI portion of our testing and | COMMENT |
| MEDIUM | st2common/st2common/middleware/instrumentation.py | 95 | # Due to the way stream service works, we need to utilize eventlet posthook to | COMMENT |
| MEDIUM | st2common/st2common/middleware/request_id.py | 34 | # as soon as possible to ensure it's present by the time it's needed. Certainly before | COMMENT |
| LOW | st2common/st2common/util/pack_management.py | 232 | # No ref provided so we just use a default active branch | COMMENT |
| LOW | st2common/st2common/util/crypto.py | 274 | # bytes) so we simply add 5 0's | COMMENT |
| MEDIUM | st2common/st2common/util/green/shell.py | 168 | # TODO: Now that we support Python >= 3.6 we should utilize timeout argument for the | COMMENT |
| MEDIUM | st2common/st2common/constants/meta.py | 42 | # NOTE: We utilize CSafeLoader if available since it uses C extensions and is faster. | COMMENT |
| MEDIUM | st2common/st2common/stream/listener.py | 120 | # message bus level if we modified our exchange layout and utilize routing keys | COMMENT |
| LOW | st2common/st2common/content/loader.py | 43 | # content - they just return a path | COMMENT |
| LOW | st2common/st2common/models/db/__init__.py | 27 | # One option would be to simply add monkey_patch() call to the top of every single test file, but | COMMENT |
| LOW | st2common/st2common/models/db/__init__.py | 43 | # In that case, we just add the monkey_patch to the top of that test file. | COMMENT |
| MEDIUM | st2common/st2common/models/api/base.py | 101 | # Special case for models which utilize JSONDictField - there is no need to escape those | COMMENT |
| MEDIUM | st2tests/st2tests/api.py | 66 | # The problem is that for the unit based api tests we utilize webtest which has the same bug as | COMMENT |
| MEDIUM | st2tests/st2tests/api.py | 68 | # follow exactly the same code path as actual production code which doesn't utilize webtest | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …s/python_runner/python_runner/python_action_wrapper.py | 258 | # Print output to stdout so the parent can capture it | STRING |
| LOW | contrib/runners/http_runner/http_runner/http_runner.py | 253 | # Check if the provided URL is blacklisted | COMMENT |
| LOW | st2api/st2api/controllers/v1/keyvalue.py | 192 | # Check if user is granted one of the system roles. | COMMENT |
| LOW | st2api/st2api/controllers/v1/actions.py | 442 | # Write files to disk | COMMENT |
| LOW | st2api/st2api/controllers/v1/inquiries.py | 152 | # Set requester to system user if not provided. | COMMENT |
| LOW⚡ | st2api/st2api/controllers/v1/inquiries.py | 173 | # Check if inquiry can still be respond to. | COMMENT |
| LOW⚡ | st2api/st2api/controllers/v1/inquiries.py | 180 | # Check if user has permission to respond to this inquiry. | COMMENT |
| LOW | st2reactor/st2reactor/rules/tester.py | 83 | # Check if rule matches criteria. | COMMENT |
| LOW | st2reactor/st2reactor/rules/tester.py | 96 | # Check if rule can be enforced | COMMENT |
| LOW | st2reactor/st2reactor/rules/filter.py | 220 | # Check if jinja variable is in criteria_pattern and if so lets ensure | COMMENT |
| LOW | st2actions/st2actions/worker.py | 163 | # Check if there are other runners in service registry | COMMENT |
| LOW | st2actions/st2actions/workflows/workflows.py | 132 | # Check if there are other WFEs in service registry | COMMENT |
| LOW | st2actions/st2actions/scheduler/handler.py | 170 | # Check if this liveaction already has a queue entry | COMMENT |
| LOW | st2common/tests/unit/test_db.py | 890 | # Check if notification settings were set correctly. | COMMENT |
| LOW | st2common/tests/unit/test_transport_utils.py | 130 | # Set max_retries to 0 for infinite retries | COMMENT |
| LOW | st2common/tests/unit/test_executions.py | 99 | # Assign parent to the execution records for the subtasks. | COMMENT |
| LOW | st2common/st2common/util/param.py | 133 | # Check if the parameter is of type raw_string | COMMENT |
| LOW | st2common/st2common/util/ip_utils.py | 87 | # Check if it's square bracket style. | COMMENT |
| LOW | st2common/st2common/util/ip_utils.py | 91 | # Check if square bracket style no port. | COMMENT |
| LOW | st2common/st2common/models/db/rule_enforcement.py | 80 | # Set status to succeeded for old / existing RuleEnforcementDB which predate status field | COMMENT |
| LOW | st2common/st2common/models/api/keyvalue.py | 136 | # Check if name is in full "user:keyname" format | COMMENT |
| LOW⚡ | st2common/st2common/validators/api/action.py | 46 | # Check if pack is valid. | COMMENT |
| LOW⚡ | st2common/st2common/validators/api/action.py | 56 | # Check if parameters defined are valid. | COMMENT |
| LOW⚡ | st2common/st2common/validators/api/action.py | 65 | # Check if runner exists. | COMMENT |
| LOW | st2common/st2common/validators/api/action.py | 86 | # Check if overridden runner parameters are permitted. | COMMENT |
| LOW | st2common/st2common/services/inquiry.py | 128 | # Set requester to system user is not provided. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | st2api/st2api/controllers/v1/actionexecutions.py | 264 | self.access.impl.model.objects.filter(id=id).only(*fields).get() | CODE |
| CRITICAL | st2api/st2api/controllers/v1/actionexecutions.py | 371 | self.access.impl.model.objects.filter(id=id).only(*fields).get() | CODE |
| CRITICAL | st2api/st2api/controllers/v1/actionexecutions.py | 420 | self.access.impl.model.objects.filter(id=id).only("result")[0].result | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …2api/tests/unit/controllers/v1/test_alias_execution.py | 81 | command = 'Lorem ipsum value1 dolor sit "value2 value3" amet.' | CODE |
| LOW⚡ | …2api/tests/unit/controllers/v1/test_alias_execution.py | 89 | command = "lorem ipsum" | CODE |
| LOW⚡ | …2api/tests/unit/controllers/v1/test_alias_execution.py | 97 | command = 'Lorem ipsum value1 dolor sit "value2 value3" amet.' | CODE |
| LOW⚡ | …2api/tests/unit/controllers/v1/test_alias_execution.py | 114 | command = "Lorem ipsum value1 dolor sit value2 amet." | CODE |
| LOW⚡ | …2api/tests/unit/controllers/v1/test_alias_execution.py | 121 | command = 'Lorem ipsum value1 dolor sit "value2, value3" amet.' | CODE |
| LOW⚡ | …2api/tests/unit/controllers/v1/test_alias_execution.py | 203 | data["command"] = "Lorem ipsum banana dolor sit pineapple amet." | CODE |
| LOW⚡ | …2api/tests/unit/controllers/v1/test_alias_execution.py | 210 | "Command 'Lorem ipsum banana dolor sit pineapple amet.' " | CODE |
| LOW | …2api/tests/unit/controllers/v1/test_alias_execution.py | 158 | command = "Lorem ipsum value1 dolor sit " + SUPER_SECRET_PARAMETER + " amet." | CODE |
| LOW | st2api/tests/unit/controllers/v1/test_action_alias.py | 191 | data = {"command": "Lorem ipsum banana dolor sit pineapple amet."} | CODE |
| LOW | st2api/tests/unit/controllers/v1/test_action_alias.py | 196 | "Command 'Lorem ipsum banana dolor sit pineapple amet.' " | CODE |
| LOW | st2reactor/tests/unit/test_sensor_service.py | 84 | "name": "John Doe", | CODE |
| LOW | st2reactor/tests/unit/test_sensor_service.py | 112 | "name": "John Doe", | CODE |
| LOW | st2reactor/tests/unit/test_sensor_service.py | 155 | "name": "John Doe", | CODE |
| LOW | st2reactor/tests/unit/test_sensor_service.py | 172 | "name": "John Doe", | CODE |
| LOW | st2reactor/tests/unit/test_sensor_service.py | 217 | "name": "John Doe", | CODE |
| LOW | st2reactor/tests/unit/test_sensor_service.py | 231 | "name": "John Doe", | CODE |
| LOW | st2reactor/tests/unit/test_sensor_service.py | 251 | "name": "John Doe", | CODE |
| LOW | pants-plugins/release/rules_test.py | 221 | "runners/foobar_runner/README.rst": "lorem ipsum", | CODE |
| LOW | pants-plugins/release/rules_test.py | 323 | "runners/foobar_runner/README.rst": "lorem ipsum", | CODE |
| LOW | pants-plugins/release/rules_test.py | 340 | "long_description": "lorem ipsum", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | st2actions/tests/unit/policies/test_concurrency.py | 388 | # Once capacity freed up, the delayed execution is published as requested again. | COMMENT |
| HIGH | …ctions/tests/unit/policies/test_concurrency_by_attr.py | 226 | # Once capacity freed up, the delayed execution is published as requested again. | COMMENT |
| HIGH | …ctions/tests/unit/policies/test_concurrency_by_attr.py | 417 | # Once capacity freed up, the delayed execution is published as requested again. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pants.toml | 112 | # On update, make sure to also update: | COMMENT |
| MEDIUM | contrib/hello_st2/pack.yaml | 21 | # Specify a list of dependency packs to install. If the pack is in StackStorm Exchange you can use | COMMENT |
| LOW | contrib/packs/actions/pack_mgmt/register.py | 81 | # TODO: make sure to return proper model | COMMENT |
| LOW | st2client/tests/base.py | 119 | # TODO: nosetests specific make sure to update when / if switching to pytest | COMMENT |
| LOW | pants-plugins/uses_services/mongo_rules.py | 227 | # Don't forget to start mongo. | STRING |
| LOW | pants-plugins/uses_services/mongo_rules.py | 235 | # Don't forget to start mongo. | STRING |
| LOW | pants-plugins/uses_services/rabbitmq_rules.py | 169 | # Don't forget to start rabbitmq-server. | STRING |
| LOW | pants-plugins/uses_services/redis_rules.py | 168 | # Don't forget to start redis. | STRING |
| LOW | pants-plugins/uses_services/redis_rules.py | 176 | # Don't forget to start redis. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | test-requirements.txt | 6 | # ---------------------------------------------------------------------- | COMMENT |
| MEDIUM | fixed-requirements.txt | 7 | # ---------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …2api/tests/unit/controllers/v1/test_alias_execution.py | 321 | # NOTE: This function only handles casting list, but not casting nested list items (e.g. | COMMENT |
| LOW | st2actions/st2actions/scheduler/handler.py | 281 | # NOTE: This method call is intentionally not instrumented since it causes too much overhead | COMMENT |
| LOW | st2common/st2common/metrics/base.py | 49 | # NOTE: This value is populated lazily on the first get_driver() function call | COMMENT |
| LOW | st2common/st2common/models/db/__init__.py | 98 | # NOTE: This variable is populated lazily inside get_model_classes() | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pants-plugins/uses_services/st2cluster_rules.py | 67 | # TODO: consider adding a from_env method using one or both of client => server vars: | COMMENT |