CLI tool to build, test, debug, and deploy Serverless applications using AWS SAM
This report summarizes scanner evidence for aws/aws-sam-cli, a Python project with 6,737 GitHub stars. SynthScan examined 405,418 lines of code across 3542 source files, recording 7781 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 21.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? 6770 finding(s).
Are imports declared and package/API names verified? 503 finding(s).
Are wrappers, guards, and repeated structures necessary? 6927 finding(s).
Which changes need focused human review? 7781 finding(s).
Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.
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 7781 distinct pattern matches across 21 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 | designs/intrinsics_design.md | 299 | def intrinsic_property_resolver(): | CODE |
| LOW | designs/cloud_formation_api_gateway_support.md | 228 | def _extrac_api_gateway_rest_api(): | CODE |
| LOW | designs/cloud_formation_api_gateway_support.md | 236 | def _extract_gateway_rest_api(): | CODE |
| LOW | designs/cloud_formation_api_gateway_support.md | 248 | def _extract_gateway_resource(): | CODE |
| LOW | tests/testing_utils.py | 349 | def strip_nightly_installer_suffix(request: dict, metric_type: str): | CODE |
| LOW | tests/get_testing_resources.py | 32 | def get_managed_test_resource_outputs(session: Session): | CODE |
| LOW | tests/setup_testing_resources.py | 130 | def check_conversion_exemptions(): | CODE |
| LOW | tests/unit/test_yamlhelper.py | 77 | def test_parse_json_with_tabs(self): | STRING |
| LOW | tests/unit/test_yamlhelper.py | 82 | def test_parse_json_preserve_elements_order(self): | STRING |
| LOW | tests/unit/test_yamlhelper.py | 112 | def test_parse_yaml_preserve_elements_order(self): | STRING |
| LOW | tests/unit/test_yamlhelper.py | 166 | def test_unquoted_template_format_version_to_json(self): | STRING |
| LOW⚡ | tests/unit/cli/test_command.py | 70 | def test_set_commands_must_extract_command_name(self): | CODE |
| LOW⚡ | tests/unit/cli/test_command.py | 76 | def test_list_commands_must_return_commands_name(self): | CODE |
| LOW⚡ | tests/unit/cli/test_command.py | 84 | def test_get_command_must_return_command_module(self, importlib_mock): | CODE |
| LOW | tests/unit/cli/test_command.py | 107 | def test_get_command_must_skip_unknown_commands(self): | CODE |
| LOW | tests/unit/cli/test_command.py | 117 | def test_get_command_must_skip_on_exception_loading_module(self, importlib_mock): | CODE |
| LOW | tests/unit/cli/test_command.py | 130 | def test_get_command_must_skip_on_absence_of_cli_method(self, importlib_mock): | CODE |
| LOW | tests/unit/cli/test_command.py | 143 | def test_get_command_root_command(self, importlib_mock): | CODE |
| LOW | tests/unit/cli/test_command.py | 157 | def test_get_options_root_command_text(self, mock_get_params, mock_format_commands): | CODE |
| LOW | tests/unit/cli/test_command.py | 180 | def test_get_command_root_command_text(self): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 47 | def test_toml_valid_with_section(self, mock_handle_parse_options): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 55 | def test_toml_valid_with_no_version(self): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 62 | def test_toml_valid_with_invalid_version(self): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 69 | def test_toml_invalid_empty_dict(self): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 77 | def test_toml_invalid_file_name(self): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 154 | def test_callback_with_valid_config_file_path(self): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 184 | def test_callback_with_config_file_from_pipe(self): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 607 | def test_succeeds_updating_option(self, mock_click): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 617 | def test_doesnt_update_not_needed_options(self, mock_click): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 627 | def test_doesnt_update_multiple_false(self, mock_click): | CODE |
| LOW⚡ | tests/unit/cli/test_cli_config_file.py | 637 | def test_doesnt_update_not_found(self, mock_click): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 112 | def test_callback_with_valid_config_env(self): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 134 | def test_callback_with_invalid_config_file(self): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 217 | def test_configuration_option(self): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 230 | def test_get_ctx_defaults_non_nested(self): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 241 | def test_get_ctx_defaults_nested(self): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 282 | def test_dont_save_command_line_args_if_flag_not_set(self): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 294 | def test_save_command_line_args(self, mock_context_class, mock_get_default_aws_region): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 334 | def test_dont_save_structured_output_option(self, mock_context_class, mock_get_default_aws_region): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 377 | def test_dont_save_arguments_not_from_command_line(self, mock_context_class, mock_get_default_aws_region): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 416 | def test_dont_save_command_line_args_if_value_is_none(self, mock_context_class, mock_get_default_aws_region): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 454 | def test_save_region_when_context_has_region(self, mock_context_class, mock_get_default_aws_region): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 488 | def test_save_default_region_when_context_has_no_region(self, mock_context_class, mock_get_default_aws_region): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 525 | def test_save_default_region_when_no_sam_context(self, mock_context_class, mock_get_default_aws_region): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 560 | def test_save_region_with_custom_config_env(self, mock_context_class, mock_get_default_aws_region): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 648 | def test_handles_invalid_param_name(self, mock_click, mock_log): | CODE |
| LOW | tests/unit/cli/test_cli_config_file.py | 661 | def test_handles_invalid_param_multiple(self, mock_click, mock_log, mock_get_options_map): | CODE |
| LOW | tests/unit/cli/test_lazy_group.py | 18 | def test_lazy_group_lists_commands(self): | CODE |
| LOW | tests/unit/cli/test_lazy_group.py | 37 | def test_lazy_group_loads_command_on_demand(self, mock_import): | CODE |
| LOW | tests/unit/cli/test_lazy_group.py | 65 | def test_lazy_group_handles_missing_command(self, mock_import): | CODE |
| LOW | tests/unit/cli/test_lazy_group.py | 85 | def test_lazy_group_handles_import_error(self, mock_import): | CODE |
| LOW | tests/unit/cli/test_lazy_group.py | 105 | def test_lazy_group_validates_command_object(self, mock_import): | CODE |
| LOW⚡ | tests/unit/cli/test_row_modifiers.py | 16 | def test_base_line_row_modifier(self): | CODE |
| LOW⚡ | tests/unit/cli/test_row_modifiers.py | 23 | def test_highlight_new_row_name_modifier(self): | CODE |
| LOW⚡ | tests/unit/cli/test_row_modifiers.py | 30 | def test_showcase_row_modifier(self): | CODE |
| LOW⚡ | tests/unit/cli/test_global_config.py | 126 | def test_get_value_env_var_only(self): | CODE |
| LOW⚡ | tests/unit/cli/test_global_config.py | 133 | def test_get_value_env_var_and_config_priority(self): | CODE |
| LOW⚡ | tests/unit/cli/test_global_config.py | 140 | def test_get_value_config_only(self): | CODE |
| LOW⚡ | tests/unit/cli/test_global_config.py | 148 | def test_get_value_error_default(self): | CODE |
| LOW⚡ | tests/unit/cli/test_global_config.py | 156 | def test_get_value_incorrect_type_default(self): | CODE |
| 6320 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 316 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 318 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 407 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 409 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 582 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 584 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 701 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 703 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 1073 | # ============================================================================= | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 1075 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …it/lib/cfn_language_extensions/test_sam_integration.py | 102 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …it/lib/cfn_language_extensions/test_sam_integration.py | 104 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …it/lib/cfn_language_extensions/test_sam_integration.py | 778 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …it/lib/cfn_language_extensions/test_sam_integration.py | 780 | # ============================================================================= | COMMENT |
| MEDIUM | …it/lib/cfn_language_extensions/test_sam_integration.py | 22 | # ============================================================================= | COMMENT |
| MEDIUM | …it/lib/cfn_language_extensions/test_sam_integration.py | 24 | # ============================================================================= | COMMENT |
| MEDIUM | …it/lib/cfn_language_extensions/test_sam_integration.py | 180 | # ============================================================================= | COMMENT |
| MEDIUM | …it/lib/cfn_language_extensions/test_sam_integration.py | 182 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/lib/cfn_language_extensions/test_fn_if.py | 637 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | tests/unit/lib/cfn_language_extensions/test_fn_if.py | 639 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …t/lib/cfn_language_extensions/test_phase_separation.py | 35 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …t/lib/cfn_language_extensions/test_phase_separation.py | 37 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …t/lib/cfn_language_extensions/test_phase_separation.py | 646 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …t/lib/cfn_language_extensions/test_phase_separation.py | 648 | # ============================================================================= | COMMENT |
| MEDIUM | …t/lib/cfn_language_extensions/test_phase_separation.py | 143 | # ============================================================================= | COMMENT |
| MEDIUM | …t/lib/cfn_language_extensions/test_phase_separation.py | 145 | # ============================================================================= | COMMENT |
| MEDIUM | …t/lib/cfn_language_extensions/test_phase_separation.py | 337 | # ============================================================================= | COMMENT |
| MEDIUM | …t/lib/cfn_language_extensions/test_phase_separation.py | 339 | # ============================================================================= | COMMENT |
| MEDIUM | …t/lib/cfn_language_extensions/test_phase_separation.py | 472 | # ============================================================================= | COMMENT |
| MEDIUM | …t/lib/cfn_language_extensions/test_phase_separation.py | 474 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …/lib/cfn_language_extensions/test_foreach_processor.py | 1609 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …/lib/cfn_language_extensions/test_foreach_processor.py | 1611 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …/lib/cfn_language_extensions/test_foreach_processor.py | 1614 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …/lib/cfn_language_extensions/test_foreach_processor.py | 1616 | # ============================================================================= | COMMENT |
| MEDIUM | …sts/unit/lib/cfn_language_extensions/test_fn_length.py | 446 | # ============================================================================= | COMMENT |
| MEDIUM | …sts/unit/lib/cfn_language_extensions/test_fn_length.py | 448 | # ============================================================================= | COMMENT |
| MEDIUM | …it/lib/cfn_language_extensions/test_deletion_policy.py | 536 | # ============================================================================= | COMMENT |
| MEDIUM | …it/lib/cfn_language_extensions/test_deletion_policy.py | 538 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 28 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 30 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 216 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 218 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 373 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 375 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 589 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 591 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 762 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 764 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 913 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 915 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 979 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 981 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 1035 | # ============================================================================= | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_property_tests.py | 1037 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 159 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 161 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 232 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 234 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 325 | # ============================================================================= | COMMENT |
| MEDIUM⚡ | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 327 | # ============================================================================= | COMMENT |
| 93 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_join.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_if.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_base64.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | …lib/cfn_language_extensions/test_condition_resolver.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_split.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_length.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | …/lib/cfn_language_extensions/test_fn_to_json_string.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_select.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_ref.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_sub.py | 0 | test that can_resolve returns false for other functions. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_join.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_if.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_base64.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | …lib/cfn_language_extensions/test_condition_resolver.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | …nit/lib/cfn_language_extensions/test_resolvers_base.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_split.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_length.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | …/lib/cfn_language_extensions/test_fn_to_json_string.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_select.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_ref.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_sub.py | 0 | test that can_resolve returns false for non-dict values. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_fn_join.py | 0 | a mock resolver that implements fn::split for testing nested intrinsics. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_length.py | 0 | a mock resolver that implements fn::split for testing nested intrinsics. | STRING |
| HIGH | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 0 | a mock resolver that implements fn::split for testing nested intrinsics. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_base64.py | 0 | a mock resolver that resolves ref to parameter values for testing. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_length.py | 0 | a mock resolver that resolves ref to parameter values for testing. | STRING |
| HIGH | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 0 | a mock resolver that resolves ref to parameter values for testing. | STRING |
| HIGH | …sts/unit/lib/cfn_language_extensions/test_fn_length.py | 0 | test that fn::tojsonstring is resolved even in partial mode. requirement 16.4: in partial mode, still resolve fn::tojson | STRING |
| HIGH | …nit/lib/cfn_language_extensions/test_fn_find_in_map.py | 0 | test that fn::tojsonstring is resolved even in partial mode. requirement 16.4: in partial mode, still resolve fn::tojson | STRING |
| HIGH | …/lib/cfn_language_extensions/test_fn_to_json_string.py | 0 | test that fn::tojsonstring is resolved even in partial mode. requirement 16.4: in partial mode, still resolve fn::tojson | STRING |
| HIGH | …it/lib/cfn_language_extensions/test_deletion_policy.py | 0 | test processing template with empty resources section. | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_api.py | 0 | test processing template with empty resources section. | STRING |
| HIGH | …/cfn_language_extensions/test_update_replace_policy.py | 0 | test processing template with empty resources section. | STRING |
| HIGH | tests/integration/testdata/list/hello_world/app.py | 0 | sample pure lambda function parameters ---------- event: dict, required api gateway lambda proxy input format event doc: | STRING |
| HIGH | …hello/{{cookiecutter.project_name}}/hello_world/app.py | 0 | sample pure lambda function parameters ---------- event: dict, required api gateway lambda proxy input format event doc: | STRING |
| HIGH | …hello/{{cookiecutter.project_name}}/hello_world/app.py | 0 | sample pure lambda function parameters ---------- event: dict, required api gateway lambda proxy input format event doc: | STRING |
| HIGH | …hello/{{cookiecutter.project_name}}/hello_world/app.py | 0 | sample pure lambda function parameters ---------- event: dict, required api gateway lambda proxy input format event doc: | STRING |
| HIGH | …ython/{{cookiecutter.project_name}}/hello_world/app.py | 0 | sample pure lambda function parameters ---------- event: dict, required api gateway lambda proxy input format event doc: | STRING |
| HIGH | …2c9dce715854f8b35aa73fb7eb5245ba9721580bbe5837/main.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …df01072092f9851ddcd1b41ba294f736ce77091f5cc456/main.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …2c9dce715854f8b35aa73fb7eb5245ba9721580bbe5837/main.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …df01072092f9851ddcd1b41ba294f736ce77091f5cc456/main.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …tion/testdata/sync/infra/before/Python/function/app.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …ation/testdata/sync/infra/after/Python/function/app.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …/integration/testdata/sync/code/before/function/app.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …s/integration/testdata/sync/code/after/function/app.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …before/child_stack/child_function/function/function.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …data/sync/nested/before/root_function/root_function.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …d/before/child_stack/child_functions/child_function.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …tdata/sync/nested/after/root_function/root_function.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …ed/after/child_stack/child_functions/child_function.py | 0 | sample pure lambda function that returns a message and a location | STRING |
| HIGH | …n/testdata/sync/infra/after/Python/lmi_function/app.py | 0 | returns environment variables, particularly aws_lambda_max_concurrency. used for testing capacity provider configuration | STRING |
| HIGH | …ration/testdata/sync/code/after/lmi_function/app_v2.py | 0 | returns environment variables, particularly aws_lambda_max_concurrency. used for testing capacity provider configuration | STRING |
| HIGH | …tegration/testdata/sync/code/after/lmi_function/app.py | 0 | returns environment variables, particularly aws_lambda_max_concurrency. used for testing capacity provider configuration | STRING |
| HIGH | …ration/testdata/sync/code/after/lmi_function/app_v1.py | 0 | returns environment variables, particularly aws_lambda_max_concurrency. used for testing capacity provider configuration | STRING |
| HIGH | …egration/buildcmd/test_build_terraform_applications.py | 0 | please read comments in package_integ_base.py for more details around this. | STRING |
| HIGH | tests/integration/publish/publish_app_integ_base.py | 0 | please read comments in package_integ_base.py for more details around this. | STRING |
| HIGH | tests/regression/package/regression_package_base.py | 0 | please read comments in package_integ_base.py for more details around this. | STRING |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/conftest.py | 3 | CODE | |
| LOW | tests/setup_testing_resources.py | 12 | CODE | |
| LOW | tests/unit/cli/test_cli_config_file.py | 11 | CODE | |
| LOW | tests/unit/cli/test_global_config.py | 3 | CODE | |
| LOW | tests/unit/cli/test_main.py | 2 | CODE | |
| LOW | tests/unit/local/apigw/test_local_apigw_service.py | 27 | CODE | |
| LOW | …nit/local/docker/test_lambda_image_concurrent_build.py | 7 | CODE | |
| LOW | …nit/local/docker/test_lambda_image_concurrent_build.py | 15 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_build_lock.py | 10 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_build_lock.py | 10 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_build_lock.py | 12 | CODE | |
| LOW | tests/unit/local/docker/test_container.py | 5 | CODE | |
| LOW | …sts/unit/local/docker/test_container_client_factory.py | 10 | CODE | |
| LOW | …sts/unit/local/docker/test_container_client_factory.py | 13 | CODE | |
| LOW | tests/unit/local/docker/test_container_client.py | 9 | CODE | |
| LOW | …sts/unit/local/docker/test_durable_lambda_container.py | 6 | CODE | |
| LOW | tests/unit/local/docker/test_manager.py | 5 | CODE | |
| LOW | tests/unit/local/docker/test_manager.py | 8 | CODE | |
| LOW | tests/unit/local/docker/test_platform_config.py | 17 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 5 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 6 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 8 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 11 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 17 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 19 | CODE | |
| LOW | tests/unit/local/layers/test_download_layers.py | 1 | CODE | |
| LOW | tests/unit/local/layers/test_download_layers.py | 9 | CODE | |
| LOW | tests/unit/local/lambdafn/test_env_vars.py | 7 | CODE | |
| LOW | tests/unit/local/lambdafn/test_runtime.py | 6 | CODE | |
| LOW | …local/lambda_service/test_local_lambda_http_service.py | 2 | CODE | |
| LOW | …local/lambda_service/test_local_lambda_http_service.py | 3 | CODE | |
| LOW | …local/lambda_service/test_local_lambda_http_service.py | 14 | CODE | |
| LOW | tests/unit/schema/test_schema_validation.py | 4 | CODE | |
| LOW | tests/unit/lib/samlib/test_wrapper.py | 2 | CODE | |
| LOW | …ib/init/test_application_insights_template_modifier.py | 3 | CODE | |
| LOW | …ib/init/test_application_insights_template_modifier.py | 6 | CODE | |
| LOW | …ib/init/test_application_insights_template_modifier.py | 7 | CODE | |
| LOW | tests/unit/lib/clients/test_lambda_client.py | 5 | CODE | |
| LOW | tests/unit/lib/clients/test_lambda_client.py | 6 | CODE | |
| LOW | tests/unit/lib/clients/test_lambda_client.py | 8 | CODE | |
| LOW | tests/unit/lib/clients/test_lambda_client.py | 10 | CODE | |
| LOW | tests/unit/lib/pipeline/bootstrap/test_environment.py | 8 | CODE | |
| LOW | …/unit/lib/bootstrap/companion_stack/test_data_types.py | 4 | CODE | |
| LOW | …ib/bootstrap/nested_stack/test_nested_stack_builder.py | 4 | CODE | |
| LOW | tests/unit/lib/deploy/test_deployer.py | 15 | CODE | |
| LOW | tests/unit/lib/cookiecutter/test_interactive_flow.py | 1 | CODE | |
| LOW | tests/unit/lib/utils/test_tar.py | 4 | CODE | |
| LOW | …sts/unit/lib/utils/test_resource_type_based_factory.py | 4 | CODE | |
| LOW | …sts/unit/lib/utils/test_resource_type_based_factory.py | 4 | CODE | |
| LOW | tests/unit/lib/utils/test_git_repo.py | 2 | CODE | |
| LOW | tests/unit/lib/utils/test_handler_observer.py | 3 | CODE | |
| LOW | tests/unit/lib/utils/test_code_trigger_factory.py | 1 | CODE | |
| LOW | tests/unit/lib/utils/test_code_trigger_factory.py | 3 | CODE | |
| LOW | tests/unit/lib/utils/test_durable_formatters.py | 7 | CODE | |
| LOW | tests/unit/lib/utils/test_definition_validator.py | 1 | CODE | |
| LOW | tests/unit/lib/utils/test_definition_validator.py | 3 | CODE | |
| LOW | tests/unit/lib/utils/test_async_utils.py | 2 | CODE | |
| LOW | tests/unit/lib/utils/test_version_checker.py | 3 | CODE | |
| LOW | tests/unit/lib/utils/test_version_checker.py | 5 | CODE | |
| LOW | …ts/unit/lib/utils/test_managed_cloudformation_stack.py | 2 | CODE | |
| 395 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/testing_utils.py | 87 | except Exception: | CODE |
| HIGH | tests/testing_utils.py | 220 | except psutil.NoSuchProcess: | CODE |
| HIGH | tests/testing_utils.py | 73 | except Exception: | CODE |
| HIGH | tests/testing_utils.py | 78 | except Exception: | CODE |
| HIGH | tests/testing_utils.py | 83 | except Exception: | CODE |
| HIGH | tests/testing_utils.py | 215 | except psutil.NoSuchProcess: | CODE |
| HIGH | tests/unit/local/docker/test_lambda_image_build_lock.py | 36 | except (OSError, IOError): | CODE |
| HIGH | tests/unit/lib/utils/test_git_repo.py | 132 | except: | CODE |
| HIGH | tests/unit/lib/utils/test_git_repo.py | 147 | except: | CODE |
| HIGH | tests/unit/lib/utils/test_git_repo.py | 172 | except Exception: | CODE |
| HIGH | tests/unit/lib/utils/test_git_repo.py | 189 | except Exception: | CODE |
| HIGH | tests/unit/lib/utils/test_git_repo.py | 203 | except Exception: | CODE |
| HIGH | …t/lib/cfn_language_extensions/test_phase_separation.py | 568 | except Exception: | CODE |
| HIGH | …t/lib/cfn_language_extensions/test_phase_separation.py | 631 | except Exception: | CODE |
| HIGH | …t/commands/validate/lib/test_sam_template_validator.py | 334 | except Exception: | CODE |
| HIGH | …t/commands/validate/lib/test_sam_template_validator.py | 352 | except Exception: | CODE |
| HIGH | …unit/commands/local/cli_common/test_durable_context.py | 59 | except Exception: | CODE |
| HIGH | tests/end_to_end/test_stages.py | 68 | except Exception: | CODE |
| HIGH | tests/integration/pipeline/base.py | 108 | except botocore.exceptions.ClientError: | CODE |
| HIGH | tests/integration/deploy/test_deploy_command.py | 769 | except ClientError: | CODE |
| HIGH | tests/integration/deploy/deploy_integ_base.py | 75 | except s3.meta.client.exceptions.NoSuchBucket: | CODE |
| HIGH | tests/integration/deploy/deploy_integ_base.py | 87 | except iam.meta.client.exceptions.NoSuchEntityException: | CODE |
| HIGH | tests/integration/deploy/deploy_integ_base.py | 95 | except lambda_client.exceptions.ResourceNotFoundException: | CODE |
| HIGH | …egration/buildcmd/test_build_terraform_applications.py | 218 | except FileNotFoundError: | CODE |
| HIGH | …/integration/local/invoke/test_invoke_cdk_templates.py | 153 | except (APIError, AttributeError): | CODE |
| HIGH | …/integration/local/invoke/test_invoke_cdk_templates.py | 159 | except FileNotFoundError: | CODE |
| HIGH | …ion/local/invoke/test_invoke_terraform_applications.py | 65 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | …ion/local/invoke/test_invoke_terraform_applications.py | 270 | except FileNotFoundError: | CODE |
| HIGH | …ion/local/invoke/test_invoke_terraform_applications.py | 283 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | …ion/local/invoke/test_invoke_terraform_applications.py | 315 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | …ion/local/invoke/test_invoke_terraform_applications.py | 364 | except APIError: | CODE |
| HIGH | …ion/local/invoke/test_invoke_terraform_applications.py | 372 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | tests/integration/local/invoke/test_integrations_cli.py | 812 | except Exception: | CODE |
| HIGH | …ntegration/local/invoke/test_integration_cli_images.py | 51 | except (APIError, ImageNotFound): | CODE |
| HIGH | …ntegration/local/invoke/test_integration_cli_images.py | 55 | except (APIError, ImageNotFound): | CODE |
| HIGH | …ntegration/local/invoke/test_integration_cli_images.py | 459 | except (APIError, ImageNotFound): | CODE |
| HIGH | …ntegration/local/invoke/test_integration_cli_images.py | 478 | except APIError: | CODE |
| HIGH | …ntegration/local/invoke/test_invoke_build_in_source.py | 27 | except: | CODE |
| HIGH | …art_lambda/test_start_lambda_terraform_applications.py | 270 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | …art_lambda/test_start_lambda_terraform_applications.py | 354 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | …art_lambda/test_start_lambda_terraform_applications.py | 471 | except APIError: | CODE |
| HIGH | tests/integration/local/start_api/test_start_api.py | 2277 | except Exception: | CODE |
| HIGH | …start_api/test_start_api_with_terraform_application.py | 52 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | …start_api/test_start_api_with_terraform_application.py | 82 | except CalledProcessError: | CODE |
| HIGH | …start_api/test_start_api_with_terraform_application.py | 90 | except (FileNotFoundError, PermissionError): | CODE |
| HIGH | tests/integration/sync/test_sync_watch.py | 854 | except TimeoutError: | CODE |
| HIGH | tests/integration/package/package_integ_base.py | 158 | except ecr_client.exceptions.RepositoryNotFoundException: | CODE |
| HIGH | samcli/local/apigw/local_apigw_service.py | 163 | except (KeyError, StopIteration): | CODE |
| HIGH | …i/local/docker/durable_functions_emulator_container.py | 420 | except Exception: | CODE |
| HIGH | …i/local/docker/durable_functions_emulator_container.py | 408 | except requests.exceptions.RequestException: | CODE |
| HIGH | samcli/local/services/base_local_service.py | 175 | except ValueError: | CODE |
| HIGH | samcli/lib/pipeline/bootstrap/stage.py | 448 | except Exception: | CODE |
| HIGH | samcli/lib/providers/sam_function_provider.py | 874 | except RuntimeError: | CODE |
| HIGH | samcli/lib/utils/osutils.py | 120 | except OSError: | CODE |
| HIGH | samcli/lib/utils/colors.py | 21 | except Exception: | CODE |
| HIGH | samcli/lib/telemetry/project_metadata.py | 37 | except subprocess.CalledProcessError: | CODE |
| HIGH | samcli/lib/telemetry/project_metadata.py | 66 | except subprocess.CalledProcessError: | CODE |
| HIGH | samcli/lib/package/stream_cursor_utils.py | 16 | except Exception: | CODE |
| HIGH | samcli/hook_packages/terraform/hooks/prepare/enrich.py | 697 | except CalledProcessError: | CODE |
| HIGH | samcli/hook_packages/terraform/hooks/prepare/enrich.py | 699 | except OSError: | CODE |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …i/local/docker/durable_functions_emulator_container.py | 108 | Get port from environment variables. External emulator port takes first priority, followed by any overr | STRING |
| HIGH | samcli/local/docker/container_client.py | 143 | Load image from archive with runtime-specific handling. This method handles the differences between co | STRING |
| HIGH | samcli/local/docker/container_client.py | 195 | Get archive from container with runtime-specific handling. Different container runtimes handle file ex | STRING |
| HIGH | samcli/local/docker/container_client.py | 353 | Load image from archive using standard Docker image loading logic. Uses Docker's standard high-level A | STRING |
| HIGH | samcli/local/docker/container_client.py | 558 | Load image from archive with Finch overlayfs workaround using raw API fallback. Finch has known issues | STRING |
| HIGH | samcli/local/docker/container_client.py | 589 | Handle Finch overlayfs workaround using raw API. This method uses the raw Docker API to work around Fi | STRING |
| HIGH | samcli/local/docker/container_client_factory.py | 64 | Create and test client based on administrator enforcement. Creates preferred client instance and tests | STRING |
| HIGH | samcli/lib/cfn_language_extensions/api.py | 684 | Process a CloudFormation template with language extensions. This is the main entry point for processing CloudF | STRING |
| HIGH | samcli/lib/cfn_language_extensions/api.py | 729 | Load a CloudFormation template from a JSON file. This function reads a JSON file and parses it into a dictiona | STRING |
| HIGH | samcli/lib/cfn_language_extensions/api.py | 752 | Load a CloudFormation template from a YAML file. This function reads a YAML file and parses it into a dictiona | STRING |
| HIGH | samcli/lib/cfn_language_extensions/api.py | 778 | Load a CloudFormation template from a file, auto-detecting the format. This function automatically detects the | STRING |
| HIGH | samcli/lib/cfn_language_extensions/pipeline.py | 77 | Run all processors and return the processed fragment. Executes each processor in order, passing the co | STRING |
| HIGH | samcli/lib/cfn_language_extensions/sam_integration.py | 612 | Process a template for SAM CLI commands. This function is designed to be called from SAM CLI's template pr | STRING |
| HIGH | samcli/lib/cfn_language_extensions/resolvers/fn_join.py | 43 | Resolve the Fn::Join intrinsic function. This method extracts the delimiter and list from the Fn::Join | STRING |
| HIGH | …mcli/lib/cfn_language_extensions/resolvers/fn_split.py | 42 | Resolve the Fn::Split intrinsic function. This method extracts the delimiter and source string from th | STRING |
| HIGH | …cli/lib/cfn_language_extensions/resolvers/fn_select.py | 44 | Resolve the Fn::Select intrinsic function. This method extracts the index and list from the Fn::Select | STRING |
| HIGH | …cfn_language_extensions/resolvers/fn_to_json_string.py | 41 | Resolve the Fn::ToJsonString intrinsic function. This method extracts the arguments from the Fn::ToJso | STRING |
| HIGH | samcli/lib/cfn_language_extensions/resolvers/fn_sub.py | 53 | Resolve the Fn::Sub intrinsic function. This method handles both short form and long form Fn::Sub: | STRING |
| HIGH | samcli/lib/cfn_language_extensions/resolvers/fn_sub.py | 83 | Parse Fn::Sub arguments into template string and variable map. Args: args: The Fn::Sub arg | STRING |
| HIGH | samcli/lib/cfn_language_extensions/resolvers/fn_sub.py | 119 | Resolve intrinsic functions in variable map values. Args: variable_map: The variable map f | STRING |
| HIGH | …ib/cfn_language_extensions/resolvers/fn_find_in_map.py | 53 | Resolve the Fn::FindInMap intrinsic function. This method extracts the arguments from the Fn::FindInMa | STRING |
| HIGH | samcli/lib/cfn_language_extensions/resolvers/fn_ref.py | 33 | Resolve the Ref intrinsic function. This method extracts the reference target from the Ref function an | STRING |
| HIGH | …fn_language_extensions/resolvers/condition_resolver.py | 66 | Resolve the condition intrinsic function. This method dispatches to the appropriate handler based on t | STRING |
| HIGH | …fn_language_extensions/resolvers/condition_resolver.py | 100 | Resolve Fn::Equals intrinsic function. Fn::Equals compares two values and returns true if they are equ | STRING |
| HIGH | …fn_language_extensions/resolvers/condition_resolver.py | 165 | Resolve Fn::And intrinsic function. Fn::And returns true if all conditions are true. It accepts 2-10 c | STRING |
| HIGH | …fn_language_extensions/resolvers/condition_resolver.py | 196 | Resolve Fn::Or intrinsic function. Fn::Or returns true if any condition is true. It accepts 2-10 condi | STRING |
| HIGH | …fn_language_extensions/resolvers/condition_resolver.py | 227 | Resolve Fn::Not intrinsic function. Fn::Not returns the inverse of a condition. Args: | STRING |
| HIGH | …fn_language_extensions/resolvers/condition_resolver.py | 290 | Resolve a Condition reference. The Condition intrinsic function references a named condition from | STRING |
| HIGH | samcli/lib/cfn_language_extensions/resolvers/fn_if.py | 46 | Resolve the Fn::If intrinsic function. This method extracts the condition name and two value branches | STRING |
| HIGH | samcli/lib/cfn_language_extensions/resolvers/fn_if.py | 110 | Evaluate a condition by name. This method looks up the condition in the resolved_conditions cache | STRING |
| HIGH | …cli/lib/cfn_language_extensions/resolvers/fn_base64.py | 38 | Resolve the Fn::Base64 intrinsic function. This method extracts the arguments from the Fn::Base64 func | STRING |
| HIGH | …cli/lib/cfn_language_extensions/resolvers/fn_length.py | 36 | Resolve the Fn::Length intrinsic function. This method extracts the arguments from the Fn::Length func | STRING |
| HIGH | samcli/lib/cfn_language_extensions/resolvers/base.py | 127 | Resolve the intrinsic function and return the result. This method must be implemented by subclasses to | STRING |
| HIGH | …/cfn_language_extensions/processors/resource_policy.py | 67 | Resolve and validate a policy value. Args: logical_id: The logical ID of the resource. | STRING |
| HIGH | …/cfn_language_extensions/processors/resource_policy.py | 95 | Resolve an intrinsic function in a policy value. Args: logical_id: The logical ID of the r | STRING |
| HIGH | …mcli/lib/cfn_language_extensions/processors/foreach.py | 197 | Process a template section (or nested dict) for Fn::ForEach constructs. This method iterates through t | STRING |
| HIGH | …mcli/lib/cfn_language_extensions/processors/foreach.py | 306 | Validate a Fn::ForEach construct. The ForEach value must be a list with exactly 3 elements: 1. | STRING |
| HIGH | …mcli/lib/cfn_language_extensions/processors/foreach.py | 547 | Resolve a collection that may contain intrinsic functions. If the collection is an intrinsic function | STRING |
| HIGH | samcli/commands/pipeline/init/interactive_init_flow.py | 381 | parse and return the manifest yaml file located in the root directory of the SAM pipeline templates folder: Pa | STRING |
| HIGH | samcli/commands/pipeline/init/interactive_init_flow.py | 502 | A pipeline template defines its own interactive flow (questionnaire) in a JSON file named questions.json located | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/testing_utils.py | 73 | except Exception: | CODE |
| LOW⚡ | tests/testing_utils.py | 78 | except Exception: | CODE |
| LOW⚡ | tests/testing_utils.py | 83 | except Exception: | CODE |
| LOW⚡ | tests/testing_utils.py | 87 | except Exception: | CODE |
| LOW | tests/testing_utils.py | 276 | except Exception as ex: | CODE |
| MEDIUM | tests/testing_utils.py | 267 | def _read_output(): | CODE |
| LOW | tests/reset_testing_resources.py | 77 | except Exception as e: | CODE |
| LOW | tests/setup_testing_resources.py | 168 | except Exception: | CODE |
| LOW | tests/setup_testing_resources.py | 172 | except Exception as e: | CODE |
| MEDIUM | tests/unit/local/docker/test_container.py | 1657 | def make_request(event_data): | CODE |
| LOW | tests/unit/local/docker/test_container.py | 1663 | except Exception as e: | CODE |
| LOW⚡ | …ib/shared_test_events/test_lambda_shared_test_event.py | 500 | except Exception as e: | CODE |
| LOW⚡ | …ib/shared_test_events/test_lambda_shared_test_event.py | 511 | except Exception as e: | CODE |
| LOW⚡ | tests/unit/lib/utils/test_git_repo.py | 172 | except Exception: | CODE |
| LOW⚡ | tests/unit/lib/utils/test_git_repo.py | 189 | except Exception: | CODE |
| LOW⚡ | tests/unit/lib/utils/test_git_repo.py | 203 | except Exception: | CODE |
| LOW⚡ | …t/lib/cfn_language_extensions/test_phase_separation.py | 631 | except Exception: | CODE |
| LOW | …t/lib/cfn_language_extensions/test_phase_separation.py | 568 | except Exception: | CODE |
| LOW | tests/unit/lib/build_module/test_utils.py | 275 | except Exception as e: | CODE |
| LOW | tests/unit/commands/test_exceptions.py | 15 | except Exception as e: | CODE |
| LOW | …t/commands/validate/lib/test_sam_template_validator.py | 334 | except Exception: | CODE |
| LOW | …t/commands/validate/lib/test_sam_template_validator.py | 352 | except Exception: | CODE |
| LOW | …unit/commands/local/cli_common/test_durable_context.py | 59 | except Exception: | CODE |
| LOW | tests/end_to_end/test_stages.py | 68 | except Exception: | CODE |
| LOW | tests/integration/local/invoke/test_integrations_cli.py | 812 | except Exception: | CODE |
| LOW | tests/integration/local/invoke/test_invoke_dns.py | 73 | except Exception as e: | CODE |
| LOW | …tion/local/start_lambda/start_lambda_api_integ_base.py | 203 | except Exception: | CODE |
| LOW | …tion/local/start_lambda/start_lambda_api_integ_base.py | 226 | except Exception as ex: | CODE |
| LOW⚡ | …ts/integration/local/start_lambda/test_start_lambda.py | 424 | except Exception: | CODE |
| LOW⚡ | …ts/integration/local/start_lambda/test_start_lambda.py | 429 | except Exception: | CODE |
| LOW | …ntegration/local/start_lambda/test_start_lambda_dns.py | 123 | except Exception as e: | CODE |
| LOW | …ts/integration/local/start_api/start_api_integ_base.py | 164 | except Exception: | CODE |
| LOW | …ts/integration/local/start_api/start_api_integ_base.py | 187 | except Exception as ex: | CODE |
| LOW | tests/integration/local/start_api/test_start_api_dns.py | 87 | except Exception as e: | CODE |
| LOW⚡ | tests/integration/local/start_api/test_start_api.py | 2241 | except Exception: | CODE |
| LOW⚡ | tests/integration/local/start_api/test_start_api.py | 2246 | except Exception: | CODE |
| LOW | tests/integration/local/start_api/test_start_api.py | 2269 | except Exception: | CODE |
| LOW | tests/integration/local/start_api/test_start_api.py | 2277 | except Exception: | CODE |
| LOW | tests/integration/sync/sync_integ_base.py | 104 | except Exception: | CODE |
| LOW | tests/integration/sync/sync_integ_base.py | 122 | except Exception: | CODE |
| LOW | tests/integration/sync/sync_integ_base.py | 137 | except Exception: | CODE |
| LOW | tests/integration/sync/sync_integ_base.py | 168 | except Exception: | CODE |
| LOW | …tion/remote/test_event/remote_test_event_integ_base.py | 39 | except Exception as e: | CODE |
| LOW | …tion/remote/test_event/remote_test_event_integ_base.py | 69 | except Exception as e: # Ignore if it doesn't exist (it was correctly deleted during tests) | CODE |
| LOW | samcli/cli/cli_config_file.py | 122 | except Exception as ex: | CODE |
| LOW | samcli/local/apigw/local_apigw_service.py | 712 | except Exception as ex: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 177 | except Exception as e: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 224 | except Exception as e: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 319 | except Exception as e: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 321 | except Exception: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 343 | except Exception as e: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 355 | except Exception: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 363 | except Exception as e: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 387 | except Exception as e: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 410 | except Exception as e: | CODE |
| LOW | …i/local/docker/durable_functions_emulator_container.py | 420 | except Exception: | CODE |
| LOW | samcli/local/docker/lambda_image.py | 301 | except Exception: | CODE |
| LOW | samcli/local/docker/container_client.py | 301 | except Exception as e: | CODE |
| LOW | samcli/local/docker/container_client.py | 310 | except Exception as e: | CODE |
| LOW | samcli/local/docker/container_client.py | 528 | except Exception as e: | CODE |
| 98 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/unit/lib/delete/test_cfn_utils.py | 136 | self.cf_utils._client.get_waiter.return_value.wait.assert_called_with( | CODE |
| CRITICAL | tests/unit/lib/schemas/test_schemas_api_caller.py | 45 | self.client.get_paginator.return_value.paginate.assert_called_once_with( | CODE |
| CRITICAL | tests/unit/lib/schemas/test_schemas_api_caller.py | 71 | self.client.get_paginator.return_value.paginate.assert_called_once_with( | CODE |
| CRITICAL | tests/unit/lib/schemas/test_schemas_api_caller.py | 124 | self.client.get_paginator.return_value.paginate.assert_called_once_with( | CODE |
| CRITICAL | tests/unit/lib/schemas/test_schemas_api_caller.py | 162 | self.client.get_paginator.return_value.paginate.assert_called_once_with( | CODE |
| CRITICAL | tests/unit/lib/schemas/test_schemas_api_caller.py | 379 | self.client.get_paginator.return_value.paginate.assert_called_once_with( | CODE |
| CRITICAL | tests/unit/lib/sync/flows/test_layer_sync_flow.py | 122 | self.layer_sync_flow._get_lock_chain.return_value.__enter__.assert_not_called() | CODE |
| CRITICAL | tests/unit/lib/sync/flows/test_layer_sync_flow.py | 123 | self.layer_sync_flow._get_lock_chain.return_value.__exit__.assert_not_called() | CODE |
| CRITICAL | tests/unit/lib/sync/flows/test_layer_sync_flow.py | 141 | self.layer_sync_flow._get_lock_chain.return_value.__enter__.assert_called_once() | CODE |
| CRITICAL | tests/unit/lib/sync/flows/test_layer_sync_flow.py | 142 | self.layer_sync_flow._get_lock_chain.return_value.__exit__.assert_called_once() | CODE |
| CRITICAL⚡ | tests/unit/lib/sync/flows/test_layer_sync_flow.py | 424 | self.function_layer_sync._get_lock_chain.return_value.__enter__.assert_called_once() | CODE |
| CRITICAL⚡ | tests/unit/lib/sync/flows/test_layer_sync_flow.py | 429 | self.function_layer_sync._get_lock_chain.return_value.__exit__.assert_called_once() | CODE |
| CRITICAL | tests/unit/lib/sync/flows/test_layer_sync_flow.py | 453 | self.function_layer_sync._get_lock_chain.return_value.__enter__.assert_not_called() | CODE |
| CRITICAL | tests/unit/lib/sync/flows/test_layer_sync_flow.py | 456 | self.function_layer_sync._get_lock_chain.return_value.__exit__.assert_not_called() | CODE |
| CRITICAL | …/commands/pipeline/init/test_initeractive_init_flow.py | 356 | templates_path = Path(__file__).parent.parent.parent.parent.parent.joinpath( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/install-rust.sh | 66 | # Create a zig wrapper so SAM CLI's cargo-lambda can find it | COMMENT |
| MEDIUM⚡ | tests/unit/cli/test_cli_config_file.py | 160 | # Create a temporary directory. | COMMENT |
| MEDIUM⚡ | tests/unit/cli/test_cli_config_file.py | 162 | # Create a new config file path that is one layer above the temporary directory. | COMMENT |
| MEDIUM⚡ | tests/unit/cli/test_cli_config_file.py | 190 | # Create a temporary directory. | COMMENT |
| MEDIUM⚡ | tests/unit/cli/test_cli_config_file.py | 192 | # Create a new config file path that is one layer above the temporary directory. | COMMENT |
| MEDIUM⚡ | tests/unit/cli/test_cli_config_file.py | 195 | # Create a new pipe | COMMENT |
| MEDIUM | …nit/local/docker/test_lambda_image_concurrent_build.py | 271 | # Create a layer that is defined within template | COMMENT |
| MEDIUM⚡ | tests/unit/local/docker/test_lambda_image_build_lock.py | 55 | # Create a fresh lock file | COMMENT |
| MEDIUM⚡ | tests/unit/local/docker/test_lambda_image_build_lock.py | 69 | # Create a stale lock file | COMMENT |
| MEDIUM | tests/unit/local/docker/test_lambda_image_build_lock.py | 164 | # Create a stale lock file | COMMENT |
| MEDIUM | tests/unit/local/docker/test_lambda_image_build_lock.py | 183 | # Create a persistent lock file | COMMENT |
| MEDIUM | tests/unit/local/docker/test_container_client.py | 776 | # Create a mock client that doesn't inherit from docker.DockerClient | COMMENT |
| MEDIUM | tests/unit/local/docker/test_platform_config.py | 467 | # Create a concrete implementation that calls the abstract methods directly | COMMENT |
| MEDIUM | tests/unit/local/common/test_file_lock.py | 99 | # Create a lock file manually with old timestamp | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 465 | # Create a deep copy of the original template to compare later | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 513 | # Create a deep copy of the original template to compare later | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 565 | # Create a deep copy of the original template to compare later | COMMENT |
| MEDIUM | tests/unit/lib/samlib/test_wrapper.py | 1132 | # Create a deep copy of the original template to compare later | COMMENT |
| MEDIUM | …t/lib/cfn_language_extensions/test_phase_separation.py | 614 | # Create a minimal PackageContext | COMMENT |
| MEDIUM | …nit/lib/cfn_language_extensions/test_resolvers_base.py | 332 | # Create a subclass that doesn't override resolve | COMMENT |
| MEDIUM | …sts/unit/lib/cfn_language_extensions/test_fn_length.py | 332 | # Create a mock that returns an integer | COMMENT |
| MEDIUM⚡ | tests/unit/lib/cfn_language_extensions/test_api.py | 513 | # Create an invalid JSON file | COMMENT |
| MEDIUM | tests/unit/lib/cfn_language_extensions/test_api.py | 481 | # Create a test JSON file | COMMENT |
| MEDIUM | tests/unit/lib/cfn_language_extensions/test_api.py | 555 | # Create a test YAML file | COMMENT |
| MEDIUM⚡ | tests/unit/lib/cfn_language_extensions/test_api.py | 587 | # Create an invalid YAML file | STRING |
| MEDIUM | tests/unit/lib/build_module/test_app_builder.py | 1571 | # Create a mock WindowsPath object with the necessary attributes | COMMENT |
| MEDIUM | tests/unit/lib/build_module/test_app_builder.py | 1678 | # Create a new builder instance to trigger the exception during initialization | COMMENT |
| MEDIUM | tests/unit/lib/sync/flows/test_function_sync_flow.py | 26 | # Create a mock Lambda client that will be used across all tests | COMMENT |
| MEDIUM | tests/unit/lib/sync/flows/test_function_sync_flow.py | 94 | # Create a mock for the publish params | COMMENT |
| MEDIUM⚡ | …t/commands/_utils/test_template_language_extensions.py | 40 | # Create a source directory | COMMENT |
| MEDIUM⚡ | tests/unit/commands/_utils/test_template.py | 604 | # Create a fake image archive at the resolved relative path from CWD | COMMENT |
| MEDIUM⚡ | tests/unit/commands/_utils/test_template.py | 612 | # Create the archive at the CWD-relative resolved path | COMMENT |
| MEDIUM | …/testdata/remote_invoke/template-kinesis-priority.yaml | 6 | # Define an AWS Kinesis Data Stream | COMMENT |
| MEDIUM | …estdata/remote_invoke/template-multiple-resources.yaml | 107 | # Define an AWS Kinesis Data Stream | COMMENT |
| MEDIUM | …ldcmd/test_build_terraform_applications_other_cases.py | 306 | # The following functions are defined using serverless tf module, and since Serverless TF has some issue | COMMENT |
| MEDIUM | …tion/local/start_lambda/start_lambda_api_integ_base.py | 62 | # Create the Docker client with automatic container selection | COMMENT |
| MEDIUM | samcli/local/layers/layer_downloader.py | 127 | # Create the layer directory with proper race condition handling | COMMENT |
| MEDIUM | samcli/local/lambdafn/zip.py | 106 | # Create a symbolic link pointing to source named link_name. | COMMENT |
| MEDIUM | samcli/local/common/file_lock.py | 63 | # Create a safe filename from the resource name | COMMENT |
| MEDIUM | samcli/lib/clients/lambda_client.py | 53 | # Create a fresh botocore session | COMMENT |
| MEDIUM | samcli/lib/clients/lambda_client.py | 56 | # Create the boto3 client using the fresh session | COMMENT |
| MEDIUM | samcli/lib/pipeline/bootstrap/stage.py | 213 | # Create an IPV4 socket and use TLS for the SSL connection | COMMENT |
| MEDIUM | samcli/lib/providers/provider.py | 576 | # The following code is based on the following spec: | COMMENT |
| MEDIUM | samcli/lib/cookiecutter/question.py | 1 | """This module represents the questions to ask to the user to fulfill the cookiecutter context.""" | STRING |
| MEDIUM | samcli/lib/utils/path_observer.py | 56 | """This class is used to alter the behavior of watchdog folder watches. | STRING |
| MEDIUM | samcli/lib/cfn_language_extensions/api.py | 663 | # Create the intrinsic resolver | COMMENT |
| MEDIUM | samcli/lib/cfn_language_extensions/api.py | 715 | # Create the processing context | COMMENT |
| MEDIUM | samcli/lib/remote_invoke/lambda_invoke_executors.py | 162 | # Create a helpful message for the user | COMMENT |
| MEDIUM | samcli/lib/remote_invoke/sqs_invoke_executors.py | 133 | # Create an object with MD5OfMessageBody and MessageId fields, and write to stdout | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/unit/local/apigw/test_event_constructor.py | 48 | '"c6af9ac6-7b61-11e6-9a41-93e8deadbeef", "path": "endpoint", "extendedRequestId": null, ' | CODE |
| HIGH⚡ | tests/unit/local/apigw/test_event_constructor.py | 49 | '"resourceId": "123456", "apiId": "1234567890", "stage": null, "resourcePath": "endpoint", ' | CODE |
| HIGH⚡ | tests/unit/local/apigw/test_event_constructor.py | 50 | '"identity": {"accountId": null, "apiKey": null, "userArn": null, ' | CODE |
| HIGH⚡ | tests/unit/local/apigw/test_event_constructor.py | 51 | '"cognitoAuthenticationProvider": null, "cognitoIdentityPoolId": null, "userAgent": ' | CODE |
| HIGH⚡ | tests/unit/local/apigw/test_event_constructor.py | 52 | '"Custom User Agent String", "caller": null, "cognitoAuthenticationType": null, "sourceIp": ' | CODE |
| HIGH⚡ | tests/unit/local/apigw/test_event_constructor.py | 53 | '"190.0.0.0", "user": null}, "accountId": "123456789012", "domainName": "190.0.0.1", ' | CODE |
| HIGH⚡ | tests/unit/local/apigw/test_event_constructor.py | 58 | '"stageVariables": null, "path": "path", "pathParameters": {"path": "params"}, ' | CODE |
| HIGH | tests/unit/local/apigw/test_event_constructor.py | 245 | "stageVariables": null, | CODE |
| HIGH⚡ | tests/unit/local/apigw/test_local_apigw_service.py | 1976 | lambda_output = '{"statusCode": 0, "headers": null, "body": null, ' '"isBase64Encoded": null}' | CODE |
| HIGH | tests/unit/local/apigw/test_local_apigw_service.py | 93 | self.ctx.push() | CODE |
| HIGH | tests/unit/local/apigw/test_local_apigw_service.py | 1740 | lambda_output = '{"statusCode": 0, "headers": null, "body": null, ' '"isBase64Encoded": null}' | CODE |
| HIGH | tests/unit/local/docker/test_lambda_image.py | 499 | expected_docker_file = "FROM python\nADD aws-lambda-rie-x86_64 /var/rapid/\nRUN mv /var/rapid/aws-lambda-rie-x86 | CODE |
| HIGH | tests/unit/local/docker/test_lambda_image.py | 511 | expected_docker_file = "FROM python\nADD aws-lambda-rie-arm64 /var/rapid/\nRUN mv /var/rapid/aws-lambda-rie-arm6 | CODE |
| HIGH | tests/unit/lib/pipeline/bootstrap/test_environment.py | 126 | # although all of the resources got fulfilled, `did_user_provide_all_required_resources` should return false | COMMENT |
| HIGH | tests/unit/lib/cfn_language_extensions/test_parsing.py | 209 | """When multiple resources are null, report the first one found.""" | STRING |
| HIGH | tests/unit/lib/cfn_language_extensions/test_parsing.py | 228 | """When multiple outputs are null, report the first one found.""" | STRING |
| HIGH⚡ | tests/unit/lib/package/test_artifact_exporter.py | 2205 | "index.js", "exports handler = (event, context, callback) => {callback(null, event);}" | CODE |
| HIGH | tests/unit/lib/package/test_artifact_exporter.py | 2245 | "index.js", "exports handler = (event, context, callback) => {callback(null, event);}" | CODE |
| HIGH | tests/unit/lib/package/test_artifact_exporter.py | 2291 | "index.js", "exports handler = (event, context, callback) => {callback(null, event);}" | CODE |
| HIGH | tests/unit/lib/package/test_artifact_exporter.py | 2324 | "index.js", "exports handler = (event, context, callback) => {callback(null, event);}" | CODE |
| HIGH | …t/hook_packages/terraform/hooks/prepare/test_enrich.py | 1088 | "[null]", | CODE |
| HIGH | tests/unit/commands/buildcmd/core/test_command.py | 50 | ("$ sam build && sam local invoke\x1b[0m", ""), | CODE |
| HIGH | tests/unit/commands/buildcmd/core/test_command.py | 52 | "Build sam project and deploy": [("$ sam build && sam deploy\x1b[0m", "")], | CODE |
| HIGH | …/integration/local/invoke/test_invoke_cdk_templates.py | 203 | 'pip install -r requirements.txt -t /asset-output && cp -au . /asset-output' | STRING |
| HIGH | samcli/local/docker/lambda_image.py | 530 | + f"RUN mv {rie_path}{rie_name} {rie_path}aws-lambda-rie && chmod +x {rie_path}aws-lambda-rie\n" | CODE |
| HIGH | samcli/lib/providers/cfn_api_provider.py | 655 | parse the route key, and return the methods && path. | STRING |
| HIGH | …mcli/lib/cfn_language_extensions/processors/parsing.py | 56 | The validation step will check if Resources is null/missing. | STRING |
| HIGH | samcli/lib/iac/plugins_interfaces.py | 2 | Provide IAC Plugins Interface && Project representation | STRING |
| HIGH | samcli/lib/package/ecr_uploader.py | 118 | push_logs = self.docker_client.api.push( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 130 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 163 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 195 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 226 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 255 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 285 | CODE | |
| LOW | tests/unit/local/docker/test_lambda_image_additional.py | 310 | CODE | |
| LOW | tests/unit/local/lambdafn/test_zip.py | 55 | CODE | |
| LOW | tests/unit/local/lambdafn/test_zip.py | 153 | CODE | |
| LOW | tests/unit/lib/utils/test_template_hooks.py | 156 | CODE | |
| LOW | tests/unit/lib/utils/test_subprocess_env.py | 141 | CODE | |
| LOW | tests/unit/lib/utils/test_subprocess_env.py | 161 | CODE | |
| LOW | …_extensions/compatibility/test_kotlin_compatibility.py | 78 | CODE | |
| LOW | tests/unit/lib/package/test_artifact_exporter.py | 2202 | CODE | |
| LOW | tests/unit/lib/package/test_artifact_exporter.py | 2321 | CODE | |
| LOW | tests/integration/durable_integ_base.py | 75 | CODE | |
| LOW | tests/integration/durable_integ_base.py | 186 | CODE | |
| LOW | tests/integration/deploy/deploy_integ_base.py | 98 | CODE | |
| LOW | tests/integration/local/invoke/test_integrations_cli.py | 797 | CODE | |
| LOW | tests/integration/local/invoke/test_invoke_dns.py | 26 | CODE | |
| LOW | …tion/local/start_lambda/start_lambda_api_integ_base.py | 207 | CODE | |
| LOW | …ts/integration/local/start_lambda/test_start_lambda.py | 408 | CODE | |
| LOW | …ts/integration/local/start_lambda/test_start_lambda.py | 432 | CODE | |
| LOW | …ntegration/local/start_lambda/test_start_lambda_dns.py | 78 | CODE | |
| LOW | …ts/integration/local/start_api/start_api_integ_base.py | 168 | CODE | |
| LOW | tests/integration/local/start_api/test_start_api_dns.py | 44 | CODE | |
| LOW | tests/integration/local/start_api/test_start_api.py | 2225 | CODE | |
| LOW | tests/integration/local/start_api/test_start_api.py | 2249 | CODE | |
| LOW | tests/integration/logs/test_logs_command.py | 203 | CODE | |
| LOW | tests/integration/sync/sync_integ_base.py | 73 | CODE | |
| LOW | tests/integration/sync/sync_integ_base.py | 143 | CODE | |
| LOW | samcli/cli/types.py | 127 | CODE | |
| LOW | samcli/cli/cli_config_file.py | 129 | CODE | |
| LOW | samcli/cli/main.py | 66 | CODE | |
| LOW | samcli/cli/main.py | 81 | CODE | |
| LOW | samcli/local/docker/lambda_image.py | 174 | CODE | |
| LOW | samcli/local/docker/lambda_image.py | 383 | CODE | |
| LOW | samcli/local/docker/lambda_image.py | 544 | CODE | |
| LOW | samcli/local/docker/container_client.py | 588 | CODE | |
| LOW | samcli/local/docker/container_client.py | 664 | CODE | |
| LOW | samcli/local/docker/container_client.py | 704 | CODE | |
| LOW | samcli/local/docker/container_client.py | 763 | CODE | |
| LOW | samcli/local/docker/durable_lambda_container.py | 175 | CODE | |
| LOW | samcli/local/docker/manager.py | 46 | CODE | |
| LOW | samcli/local/lambdafn/env_vars.py | 220 | CODE | |
| LOW | samcli/local/lambdafn/zip.py | 112 | CODE | |
| LOW | samcli/local/lambdafn/remote_files.py | 18 | CODE | |
| LOW | samcli/local/common/file_lock.py | 185 | CODE | |
| LOW | samcli/local/common/file_lock.py | 119 | CODE | |
| LOW | samcli/lib/init/__init__.py | 33 | CODE | |
| LOW | samcli/lib/pipeline/bootstrap/stage.py | 164 | CODE | |
| LOW | samcli/lib/generated_sample_events/events.py | 155 | CODE | |
| LOW | samcli/lib/deploy/deployer.py | 451 | CODE | |
| LOW | samcli/lib/providers/provider.py | 866 | CODE | |
| LOW | samcli/lib/providers/api_collector.py | 79 | CODE | |
| LOW | samcli/lib/providers/sam_layer_provider.py | 77 | CODE | |
| LOW | samcli/lib/providers/sam_function_provider.py | 206 | CODE | |
| LOW | samcli/lib/providers/sam_function_provider.py | 828 | CODE | |
| LOW | samcli/lib/cookiecutter/question.py | 146 | CODE | |
| LOW | samcli/lib/cookiecutter/interactive_flow_creator.py | 74 | CODE | |
| 77 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/testing_utils.py | 42 | # Check if required environment variables are available | COMMENT |
| LOW | tests/unit/local/lambdafn/test_runtime.py | 982 | # Verify if Lambda Event data is set | COMMENT |
| LOW | …b/remote_invoke/test_remote_invoke_executor_factory.py | 116 | # Check if durable function qualifier mapper is added | COMMENT |
| LOW⚡ | tests/unit/lib/package/test_artifact_exporter.py | 2194 | # Set parent_dir to be a non-existent folder | COMMENT |
| LOW⚡ | tests/unit/lib/package/test_artifact_exporter.py | 2197 | # Set parent_dir to be a real folder, but just a relative path | COMMENT |
| LOW | tests/unit/commands/deploy/test_guided_context.py | 380 | # Set ImageUri to be None, the sam app was never built. | COMMENT |
| LOW | tests/unit/commands/deploy/test_guided_context.py | 462 | # Set ImageUri to be None, the sam app was never built. | COMMENT |
| LOW | tests/unit/commands/deploy/test_guided_context.py | 545 | # Set ImageUri to be None, the sam app was never built. | COMMENT |
| LOW | tests/unit/commands/local/start_lambda/test_cli.py | 111 | # Set no_watch to True | COMMENT |
| LOW | tests/unit/commands/local/start_api/test_cli.py | 130 | # Set no_watch to True | COMMENT |
| LOW | tests/integration/deploy/test_deploy_command.py | 1539 | # Check if the stack is deleted from CloudFormation | COMMENT |
| LOW | tests/integration/deploy/test_deploy_command.py | 1597 | # Check if the stack rolled back successfully | COMMENT |
| LOW | tests/integration/deploy/test_deploy_command.py | 1650 | # Check if the stack is deleted from CloudFormation | COMMENT |
| LOW⚡ | tests/integration/buildcmd/build_integ_base.py | 48 | # Check if any parameter contains "container" in its string representation | COMMENT |
| LOW⚡ | tests/integration/buildcmd/build_integ_base.py | 54 | # Check if this might be a use_container parameter by position | COMMENT |
| LOW | tests/integration/local/invoke/invoke_integ_base.py | 118 | # Close file handles to prevent resource warnings | COMMENT |
| LOW | tests/integration/package/test_package_command_image.py | 313 | # Check if it's the known Finch "overlayfs:" issue | COMMENT |
| LOW | samcli/cli/global_config.py | 101 | # Set dir to the one specified in _DIR_INJECTION_ENV_VAR environmental variable | COMMENT |
| LOW | samcli/cli/lazy_group.py | 26 | # Set context_settings to use our custom formatter | COMMENT |
| LOW | samcli/local/docker/lambda_image.py | 248 | # Check if the base image is up-to-date locally and modify build/pull parameters accordingly | COMMENT |
| LOW⚡ | samcli/local/docker/container_client.py | 684 | # Check if container image matches our expected image | COMMENT |
| LOW⚡ | samcli/local/docker/container_client.py | 687 | # Check if any of the image tags contain our image name | COMMENT |
| LOW | samcli/local/docker/container_client.py | 755 | # Check if this is a Finch-specific error that we can work around | COMMENT |
| LOW | samcli/local/docker/container.py | 442 | # Check if tmp dir exists when mount_with_write is enabled | COMMENT |
| LOW | samcli/local/docker/container.py | 469 | # Check if we're in debug mode | COMMENT |
| LOW | samcli/local/docker/lambda_container.py | 127 | # Set AWS_LAMBDA_FUNCTION_HANDLER to be based of the command for Image based Packagetypes. | COMMENT |
| LOW | samcli/local/lambdafn/runtime.py | 144 | # Check if this is a durable function and create appropriate container type | COMMENT |
| LOW | samcli/local/lambdafn/runtime.py | 615 | # Check if we need to reload the container | COMMENT |
| LOW | samcli/local/lambdafn/runtime.py | 817 | # Check if function configuration has changed | COMMENT |
| LOW | samcli/local/lambdafn/runtime.py | 821 | # Check if debug context has changed | COMMENT |
| LOW | samcli/local/common/file_lock.py | 79 | # Check if lock file exists and is still valid | COMMENT |
| LOW | samcli/local/common/file_lock.py | 92 | # Set status to in progress | COMMENT |
| LOW | samcli/local/common/file_lock.py | 131 | # Check if lock file is gone (operation completed) | COMMENT |
| LOW | samcli/local/common/file_lock.py | 141 | # Check if lock is stale | COMMENT |
| LOW | samcli/lib/samlib/resource_metadata_normalizer.py | 284 | # Check if the Resource is nested Stack | COMMENT |
| LOW | samcli/lib/utils/durable_callback_handler.py | 84 | # Check if execution already completed before prompting | COMMENT |
| LOW | samcli/lib/utils/system_info.py | 63 | # Check if we're using Finch by looking at the runtime type | COMMENT |
| LOW | samcli/lib/utils/managed_cloudformation_stack.py | 211 | # Check if stack information contains the Tags and Outputs as we expected | COMMENT |
| LOW | samcli/lib/utils/name_utils.py | 90 | # Check if it's a Lambda ARN with function resource type | COMMENT |
| LOW | samcli/lib/utils/name_utils.py | 118 | # Check if it matches the partial ARN pattern: account-id:function:function-name[:version] | COMMENT |
| LOW | samcli/lib/utils/durable_formatters.py | 264 | # Check if any event has an error | COMMENT |
| LOW | …mcli/lib/cli_validation/image_repository_validation.py | 53 | # Check if `--image-repository`, `--image-repositories`, or `--resolve-image-repos` are required by | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/api.py | 197 | # Check if condition is false | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/api.py | 325 | # Check if any of the first 3 args are AWS::NoValue | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/api.py | 382 | # Check if condition exists | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/api.py | 507 | # Check if this is an intrinsic function - if so, preserve AWS::NoValue in args | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/api.py | 527 | # Check if value is {"Ref": "AWS::NoValue"} or None | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/sam_integration.py | 407 | # Check if collection is a parameter reference | COMMENT |
| LOW | …mcli/lib/cfn_language_extensions/resolvers/fn_split.py | 88 | # Check if it's an intrinsic function (single key starting with Fn:: or Ref) | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/resolvers/fn_sub.py | 204 | # Check if it's a resource attribute reference (contains a dot) | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/resolvers/fn_sub.py | 207 | # Check if it's in the variable map first | COMMENT |
| LOW⚡ | …ib/cfn_language_extensions/resolvers/fn_find_in_map.py | 137 | # Check if map exists | COMMENT |
| LOW⚡ | …ib/cfn_language_extensions/resolvers/fn_find_in_map.py | 145 | # Check if top-level key exists | COMMENT |
| LOW⚡ | …ib/cfn_language_extensions/resolvers/fn_find_in_map.py | 153 | # Check if second-level key exists | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/resolvers/fn_ref.py | 75 | # Check if it's a pseudo-parameter without a provided value | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/resolvers/fn_ref.py | 134 | # Check if this parameter is a List type | COMMENT |
| LOW | …fn_language_extensions/resolvers/condition_resolver.py | 155 | # Check if it's an intrinsic function (single key starting with Fn:: or Ref or Condition) | COMMENT |
| LOW | …fn_language_extensions/resolvers/condition_resolver.py | 317 | # Check if condition is already resolved in context | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/resolvers/fn_if.py | 131 | # Check if condition is already resolved in context | COMMENT |
| LOW | samcli/lib/cfn_language_extensions/resolvers/base.py | 406 | # Check if this function is in the preserve list | COMMENT |
| 13 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/lib/build_module/test_build_graph.py | 43 | CODE | |
| LOW | tests/unit/commands/buildcmd/test_build_context.py | 45 | CODE | |
| LOW | tests/integration/pipeline/base.py | 111 | CODE | |
| LOW | tests/integration/delete/delete_integ_base.py | 13 | CODE | |
| LOW | tests/integration/deploy/deploy_integ_base.py | 111 | CODE | |
| LOW | tests/integration/buildcmd/build_integ_base.py | 91 | CODE | |
| LOW | tests/integration/local/invoke/invoke_integ_base.py | 33 | CODE | |
| LOW | …tion/local/start_lambda/start_lambda_api_integ_base.py | 100 | CODE | |
| LOW | …ntegration/local/start_lambda/test_start_lambda_dns.py | 26 | CODE | |
| LOW | tests/integration/logs/logs_integ_base.py | 17 | CODE | |
| LOW | tests/integration/sync/sync_integ_base.py | 218 | CODE | |
| LOW | tests/integration/package/package_integ_base.py | 88 | CODE | |
| LOW | …/integration/remote/invoke/remote_invoke_integ_base.py | 100 | CODE | |
| LOW | tests/regression/deploy/regression_deploy_base.py | 26 | CODE | |
| LOW | tests/regression/package/regression_package_base.py | 51 | CODE | |
| LOW | samcli/local/apigw/route.py | 18 | CODE | |
| LOW | samcli/local/docker/lambda_build_container.py | 41 | CODE | |
| LOW | samcli/local/docker/container.py | 81 | CODE | |
| LOW | samcli/local/docker/lambda_container.py | 40 | CODE | |
| LOW | samcli/local/lambdafn/runtime.py | 235 | CODE | |
| LOW | samcli/local/lambdafn/env_vars.py | 44 | CODE | |
| LOW | samcli/local/events/api_event.py | 12 | CODE | |
| LOW | samcli/local/events/api_event.py | 73 | CODE | |
| LOW | samcli/local/events/api_event.py | 161 | CODE | |
| LOW | samcli/local/events/api_event.py | 302 | CODE | |
| LOW | samcli/local/events/api_event.py | 374 | CODE | |
| LOW | samcli/lib/init/__init__.py | 33 | CODE | |
| LOW | samcli/lib/pipeline/bootstrap/stage.py | 118 | CODE | |
| LOW | samcli/lib/providers/sam_stack_provider.py | 212 | CODE | |
| LOW | samcli/lib/iac/plugins_interfaces.py | 122 | CODE | |
| LOW | samcli/lib/iac/plugins_interfaces.py | 187 | CODE | |
| LOW | samcli/lib/iac/plugins_interfaces.py | 543 | CODE | |
| LOW | samcli/lib/list/data_to_json_mapper.py | 14 | CODE | |
| LOW | samcli/lib/hook/hook_wrapper.py | 44 | CODE | |
| LOW | samcli/lib/package/artifact_exporter.py | 471 | CODE | |
| LOW | samcli/commands/pipeline/bootstrap/guided_context.py | 48 | CODE | |
| LOW | samcli/commands/deploy/guided_context.py | 44 | CODE | |
| LOW | samcli/commands/local/lib/local_lambda.py | 55 | CODE | |
| LOW | samcli/commands/local/cli_common/invoke_context.py | 78 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | samcli/cli/command.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | samcli/cli/global_config.py | 263 | def set_value(self, config_entry: ConfigEntry, value: Any, is_flag: bool = False, flush: bool = True) -> None: | CODE |
| LOW | samcli/cli/global_config.py | 283 | def _set_value(self, config_entry: ConfigEntry, value: Any, is_flag: bool, flush: bool) -> None: | CODE |
| LOW⚡ | samcli/cli/global_config.py | 435 | def set_accelerate_opt_in_stack(self, template_file: str, stack_name: str) -> None: | CODE |
| LOW | samcli/local/docker/container_client_factory.py | 208 | def _set_context_preference(value: str) -> None: | CODE |
| LOW | …b/bootstrap/companion_stack/companion_stack_manager.py | 94 | def update_companion_stack(self) -> None: | CODE |
| LOW | samcli/lib/providers/api_collector.py | 66 | def set_default_authorizer(self, logical_id: str, authorizer_name: str) -> None: | CODE |
| LOW | samcli/lib/providers/sam_function_provider.py | 1001 | def _set_templates_changed(self, paths: List[str]) -> None: | CODE |
| LOW | samcli/lib/cookiecutter/question.py | 143 | def set_default_next_question_key(self, next_question_key: str) -> None: | CODE |
| LOW | samcli/lib/utils/version_checker.py | 99 | def update_last_check_time() -> None: | CODE |
| LOW | samcli/lib/cfn_language_extensions/__init__.py | 78 | __all__ = [ | CODE |
| LOW | …mcli/lib/cfn_language_extensions/resolvers/__init__.py | 27 | __all__ = [ | CODE |
| LOW | …cli/lib/cfn_language_extensions/processors/__init__.py | 14 | __all__ = [ | CODE |
| LOW | samcli/lib/telemetry/event.py | 253 | def _set_context_property(event_prop: str, context_prop: str) -> None: | CODE |
| LOW | samcli/lib/sync/sync_flow.py | 110 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/sync_flow.py | 146 | def _update_local_hash(self) -> None: | CODE |
| LOW | samcli/lib/sync/watch_manager.py | 117 | def _update_stacks(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/http_api_sync_flow.py | 58 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/layer_sync_flow.py | 83 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/layer_sync_flow.py | 226 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/layer_sync_flow.py | 378 | def set_up(self) -> None: | CODE |
| LOW | …mcli/lib/sync/flows/auto_dependency_layer_sync_flow.py | 72 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/rest_api_sync_flow.py | 63 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/rest_api_sync_flow.py | 78 | def _update_api(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/alias_version_sync_flow.py | 78 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/zip_function_sync_flow.py | 89 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/stepfunctions_sync_flow.py | 78 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/function_sync_flow.py | 117 | def set_up(self) -> None: | CODE |
| LOW | samcli/lib/sync/flows/function_sync_flow.py | 174 | def update_function_with_lock(self, update_params: FunctionUpdateParams) -> None: | CODE |
| LOW | samcli/lib/package/language_extensions_packaging.py | 133 | def _set_prop_value(props: Dict[str, Any], prop_name: str, value: Any) -> None: | CODE |
| LOW | samcli/hook_packages/terraform/hooks/prepare/hook.py | 142 | def _update_resources_paths(cfn_resources: Dict[str, Any], terraform_application_dir: str) -> None: | CODE |
| LOW | samcli/commands/_utils/experimental.py | 83 | def set_experimental(config_entry: ExperimentalEntry = ExperimentalFlag.All, enabled: bool = True) -> None: | CODE |
| LOW | samcli/commands/pipeline/bootstrap/oidc_config.py | 81 | def update_values(self, bitbucket_repo_uuid: Optional[str]) -> None: | CODE |
| LOW | samcli/commands/sync/sync_context.py | 48 | def update_resource_sync_state(self, resource_id: str, hash_value: str) -> None: | CODE |
| LOW | samcli/commands/sync/sync_context.py | 62 | def update_infra_sync_time(self) -> None: | CODE |
| LOW | samcli/commands/sync/sync_context.py | 241 | def update_infra_sync_time(self) -> None: | CODE |
| LOW | samcli/commands/sync/sync_context.py | 267 | def update_resource_sync_state(self, resource_id: str, hash_value: str) -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/setup_wsl2_docker.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tests/setup-wsl.sh | 1 | #!/bin/bash | COMMENT |
| LOW | tests/unit/test_yamlhelper.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | …ges/terraform/hooks/prepare/test_makefile_generator.py | 141 | # The args file is named by hashing logical_id to a fixed-length string, rather than | COMMENT |
| LOW | tests/unit/commands/init/test_cli.py | 921 | schemas_api_caller_mock.return_value.download_source_code_binding.return_value = "result.zip" | COMMENT |
| LOW | tests/unit/commands/init/test_cli.py | 1141 | # WHEN the user follows interactive init prompts | COMMENT |
| LOW | tests/unit/commands/init/test_cli.py | 1541 | } | COMMENT |
| LOW | …/unit/commands/local/lib/test_sam_function_provider.py | 41 | }, | COMMENT |
| LOW | …/unit/commands/local/lib/test_sam_function_provider.py | 401 | # function_id="SamFunctions", | COMMENT |
| LOW | …gration/init/schemas/test_init_with_schemas_command.py | 161 | "schema", | COMMENT |
| LOW | …gration/init/schemas/test_init_with_schemas_command.py | 261 | "java", | COMMENT |
| LOW | …gration/init/schemas/test_init_with_schemas_command.py | 301 | expected_output_folder = Path(temp, "eb-app-python39") | COMMENT |
| LOW | …gration/init/schemas/test_init_with_schemas_command.py | 341 | self.assertTrue(expected_output_folder.is_dir()) | COMMENT |
| LOW | …egration/testdata/start_api/cdk/template-rest-api.yaml | 1 | # Generated from: | COMMENT |
| LOW | requirements/reproducible-win.txt | 1241 | --hash=sha256:481caa481374e813c1b176ada14e97f1f67a4539ce9cfeb3f350d78d6370c2e8 \ | COMMENT |
| LOW | requirements/reproducible-mac.txt | 1221 | # mypy-boto3-apigateway | COMMENT |
| LOW | requirements/reproducible-linux.txt | 1221 | # mypy-boto3-apigateway | COMMENT |
| LOW | .github/workflows/codeql.yml | 1 | # For most projects, this workflow file will not need changing; you simply need | COMMENT |
| LOW | samcli/yamlhelper.py | 1 | # Copyright 2012-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | samcli/lib/samlib/resource_metadata_normalizer.py | 101 | {SAM_RESOURCE_ID_KEY: ResourceMetadataNormalizer.get_resource_id(resource, logical_id)}, | COMMENT |
| LOW | …-ruby/{{cookiecutter.project_name}}/hello_world/app.rb | 1 | # require 'httparty' | COMMENT |
| LOW | samcli/lib/deploy/deployer.py | 1 | """ | COMMENT |
| LOW | samcli/lib/providers/provider.py | 121 | # Path to the code. This could be a S3 URI or local path or a dictionary of S3 Bucket, Key, Version | COMMENT |
| LOW | samcli/lib/package/artifact_exporter.py | 1 | """ | COMMENT |
| LOW | samcli/lib/package/s3_uploader.py | 1 | """ | COMMENT |
| LOW | …k_packages/terraform/copy_terraform_built_artifacts.py | 21 | # "root_module": { | COMMENT |
| LOW | …k_packages/terraform/hooks/prepare/resource_linking.py | 201 | """ | COMMENT |
| LOW | samcli/commands/deploy/deploy_context.py | 1 | """ | COMMENT |
| LOW | samcli/commands/local/lib/swagger/integration_uri.py | 21 | # Extract the precise Lambda Function ARN | COMMENT |
| LOW | samcli/commands/package/package_context.py | 1 | """ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/local/lambdafn/test_env_vars.py | 171 | # With no additional environment variables, resolve() should just return all AWS variables | COMMENT |
| LOW⚡ | tests/unit/lib/telemetry/test_metric.py | 226 | # simply return the arguments to be able to examine & assert | COMMENT |
| LOW | tests/unit/lib/telemetry/test_event.py | 150 | # simply call this method in a new thread | COMMENT |
| LOW | …ib/models/explicit_api_with_invalid_events_config.yaml | 5 | # When a Function's Event contains a path that is "not" in the Swagger, the behavior would be just add Lambda::Permissio | COMMENT |
| MEDIUM | samcli/local/docker/lambda_container.py | 218 | # These options are required for delve to function properly inside a docker container on docker < 1.12 | COMMENT |
| MEDIUM | samcli/lib/providers/sam_stack_provider.py | 421 | # absolute paths are not robust as relative paths. So here prefer to use relative path. | COMMENT |
| MEDIUM | samcli/lib/utils/file_observer.py | 286 | # specifically. This could be abstracted to potentially utilize a | COMMENT |
| LOW | samcli/lib/telemetry/telemetry.py | 62 | # Endpoint not configured. So simply return | COMMENT |
| LOW | samcli/commands/local/lib/local_lambda.py | 457 | # If we were unable to load credentials, then just return result. We will use the default | STRING |
| LOW | samcli/commands/local/lib/swagger/reader.py | 135 | # Inline Swagger, just return the contents which should already be a dictionary | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …templates/sar/api-lambda-update-dynamodb-template.yaml | 24 | Description: The URL of the API Gateway to which you send a PUT request with edited data to update an item in your D | CODE |
| LOW | …emplates/sar/api-lambda-get-one-dynamodb-template.yaml | 21 | Description: The URL of the API Gateway you invoke with a GET request to retrieve all of your items in the DynamoDB | CODE |
| MEDIUM | …ation/testdata/buildcmd/Rust/multi-binaries/Cargo.toml | 6 | # Starting in Rust 1.62 you can use `cargo add` to add dependencies | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/commands/package/test_package_context.py | 4136 | # Step 1: Detect dynamic properties | COMMENT |
| LOW⚡ | tests/unit/commands/package/test_package_context.py | 4140 | # Step 2: Simulate exported resources | COMMENT |
| LOW⚡ | tests/unit/commands/package/test_package_context.py | 4152 | # Step 3: Generate Mappings | COMMENT |
| LOW⚡ | tests/unit/commands/package/test_package_context.py | 4155 | # Step 4: Apply Mappings to template | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/commands/package/test_package_context.py | 4136 | # Step 1: Detect dynamic properties | COMMENT |
| LOW⚡ | tests/unit/commands/package/test_package_context.py | 4140 | # Step 2: Simulate exported resources | COMMENT |
| LOW⚡ | tests/unit/commands/package/test_package_context.py | 4152 | # Step 3: Generate Mappings | COMMENT |
| LOW⚡ | tests/unit/commands/package/test_package_context.py | 4155 | # Step 4: Apply Mappings to template | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …local/lambda_service/test_local_lambda_http_service.py | 1366 | ("placeholder", PLACEHOLDER_ARN), | CODE |
| LOW | …local/lambda_service/test_local_lambda_http_service.py | 1387 | ("placeholder", PLACEHOLDER_ARN), | CODE |
| LOW | …local/lambda_service/test_local_lambda_http_service.py | 1407 | ("placeholder", PLACEHOLDER_ARN), | CODE |
| LOW | tests/unit/lib/utils/test_hash.py | 129 | str_checksum("dummy-data") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/lib/hook/test_hook_wrapper.py | 227 | def my_method(params): | CODE |