💻 A fully functional local AWS cloud stack. Develop and test your cloud & Serverless apps offline
This report summarizes scanner evidence for localstack/localstack, a Python project with 65,100 GitHub stars. SynthScan examined 945,571 lines of code across 3034 source files, recording 8447 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 9.4 (Moderate 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.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-11-27.
Can maintainers explain intent, assumptions, and trade-offs? 6854 finding(s).
Are imports declared and package/API names verified? 694 finding(s).
Are wrappers, guards, and repeated structures necessary? 6992 finding(s).
Which changes need focused human review? 8447 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 8447 distinct pattern matches across 23 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 | tests/conftest.py | 59 | def secondary_aws_client_factory(secondary_aws_session): | CODE |
| LOW | tests/conftest.py | 96 | def enable_stack_trace_for_tests(): | CODE |
| LOW | tests/unit/test_cors.py | 15 | def test_allowed_cors_origins_different_ports_and_protocols(monkeypatch): | CODE |
| LOW | tests/unit/test_cors.py | 34 | def test_dynamic_allowed_cors_origins(monkeypatch): | CODE |
| LOW | tests/unit/test_cors.py | 44 | def test_dynamic_allowed_cors_origins_different_ports(monkeypatch): | CODE |
| LOW | tests/unit/test_cors.py | 65 | def test_dynamic_allowed_cors_origins_different_domains(monkeypatch): | CODE |
| LOW | tests/unit/conftest.py | 11 | def set_boto_test_credentials_and_region(monkeypatch): | CODE |
| LOW | tests/unit/test_common.py | 44 | def test_isoformat_milliseconds(self): | CODE |
| LOW | tests/unit/test_common.py | 57 | def test_parse_timestamp_timezone_aware(self, str_format): | CODE |
| LOW | tests/unit/test_common.py | 131 | def test_mktime_millis_with_tz(self): | CODE |
| LOW | tests/unit/test_common.py | 233 | def test_retry_raises_last_exception(self): | CODE |
| LOW | tests/unit/test_common.py | 255 | def test_is_command_available(self): | CODE |
| LOW | tests/unit/test_common.py | 302 | def test_parse_json_or_yaml_with_json(self): | CODE |
| LOW | tests/unit/test_common.py | 308 | def test_parse_json_or_yaml_with_yaml(self): | CODE |
| LOW⚡ | tests/unit/test_common.py | 585 | def test_reserve_port_within_range( | STRING |
| LOW⚡ | tests/unit/test_common.py | 591 | def test_reserve_port_outside_range( | STRING |
| LOW⚡ | tests/unit/test_common.py | 597 | def test_reserve_any_port_within_range( | STRING |
| LOW⚡ | tests/unit/test_common.py | 603 | def test_reserve_port_all_reserved( | STRING |
| LOW⚡ | tests/unit/test_common.py | 614 | def test_reserve_same_port_twice( | STRING |
| LOW⚡ | tests/unit/test_common.py | 621 | def test_reserve_custom_expiry( | STRING |
| LOW⚡ | tests/unit/test_common.py | 630 | def test_check_is_port_reserved( | STRING |
| LOW | tests/unit/test_common.py | 320 | def test_parse_json_or_yaml_with_invalid_syntax_returns_content(self): | STRING |
| LOW | tests/unit/test_common.py | 325 | def test_parse_json_or_yaml_with_empty_string_returns_none(self): | STRING |
| LOW | tests/unit/test_common.py | 381 | def test_fully_qualified_class_name(self): | STRING |
| LOW | tests/unit/test_common.py | 435 | def test_replace_in_file_with_non_existing_path(self, tmp_path): | STRING |
| LOW | tests/unit/test_common.py | 539 | def test_save_load_file_with_permissions(tmp_path): | STRING |
| LOW | tests/unit/test_common.py | 553 | def test_save_load_file_with_changing_permissions(tmp_path): | STRING |
| LOW | tests/unit/test_common.py | 573 | def external_service_ports_manager(): | STRING |
| LOW | tests/unit/test_common.py | 646 | def test_list_smaller_than_max(self, paginated_list): | STRING |
| LOW | tests/unit/test_edge.py | 41 | def test_edge_tcp_proxy_does_not_terminate_on_connection_error(): | CODE |
| LOW | tests/unit/test_misc.py | 31 | def test_convert_yaml_date_strings(self): | CODE |
| LOW⚡ | tests/unit/test_misc.py | 70 | def test_port_mappings_single_protocol(self): | CODE |
| LOW⚡ | tests/unit/test_misc.py | 75 | def test_port_mappings_single_protocol_range(self): | CODE |
| LOW⚡ | tests/unit/test_misc.py | 81 | def test_port_mappings_multi_protocol(self): | CODE |
| LOW⚡ | tests/unit/test_misc.py | 87 | def test_port_mappings_multi_protocol_range(self): | CODE |
| LOW | tests/unit/test_misc.py | 139 | def test_update_config_variable(self): | CODE |
| LOW | tests/unit/test_misc.py | 143 | def test_async_parallelization(self): | CODE |
| LOW | tests/unit/test_dockerclient.py | 70 | def test_parsing_with_defaults(self): | CODE |
| LOW | tests/unit/test_dockerclient.py | 330 | def test_overlapping_port_ranges(self): | STRING |
| LOW | tests/unit/test_dockerclient.py | 342 | def test_port_ranges_with_bind_host(self): | STRING |
| LOW | tests/unit/test_dockerclient.py | 354 | def test_port_ranges_with_bind_host_to_dict(self): | STRING |
| LOW | tests/unit/test_dockerclient.py | 369 | def test_many_to_one_adjacent_to_uniform(self): | STRING |
| LOW | tests/unit/test_dockerclient.py | 382 | def test_adjacent_port_to_many_to_one(self): | STRING |
| LOW | tests/unit/test_dockerclient.py | 437 | def test_extract_registry_from_various_image_formats(self, image_name, expected): | CODE |
| LOW | tests/unit/test_dockerclient.py | 450 | def test_with_docker_global_image_prefix(self, image_name, expected, prefix, monkeypatch): | CODE |
| LOW | tests/unit/test_checksum.py | 12 | def test_can_parse_standard_format(self): | CODE |
| LOW | tests/unit/test_checksum.py | 36 | def test_parse_standard_format(self): | STRING |
| LOW | tests/unit/test_checksum.py | 84 | def test_can_parse_bsd_format(self): | CODE |
| LOW | tests/unit/test_checksum.py | 142 | def test_parse_mixed_algorithms(self): | STRING |
| LOW | tests/unit/test_checksum.py | 165 | def test_can_parse_apache_bsd_format(self): | CODE |
| LOW | tests/unit/test_checksum.py | 180 | def test_parse_apache_bsd_format_single_line(self): | CODE |
| LOW | tests/unit/test_checksum.py | 198 | def test_parse_apache_bsd_format_multi_line(self): | STRING |
| LOW | tests/unit/test_checksum.py | 224 | def test_parse_apache_bsd_format_with_spaces(self): | STRING |
| LOW | tests/unit/test_checksum.py | 243 | def test_parse_apache_bsd_invalid_checksum(self): | STRING |
| LOW | tests/unit/test_checksum.py | 266 | def test_parse_standard_format(self): | CODE |
| LOW | tests/unit/test_checksum.py | 288 | def test_parse_apache_bsd_format(self): | CODE |
| LOW | tests/unit/test_checksum.py | 305 | def test_parse_unknown_format(self): | CODE |
| LOW | tests/unit/test_moto.py | 6 | def test_get_dispatcher_for_path_with_optional_slashes(): | CODE |
| LOW | tests/unit/test_moto.py | 11 | def test_get_dispatcher_for_non_existing_path_raises_not_implemented(): | CODE |
| LOW | tests/unit/test_templating.py | 95 | def test_quiet_return_function(self): | STRING |
| 5795 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/unit/utils/test_tcp_proxy.py | 43 | except OSError: | CODE |
| HIGH | tests/unit/aws/protocol/test_op_router.py | 27 | except NotFound: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1074 | except ContainerException: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1087 | except ContainerException: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1268 | except ContainerException: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1285 | except ContainerException: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1298 | except ContainerException: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1334 | except ContainerException: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1624 | except ContainerException: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1672 | except ContainerException: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1406 | except Exception: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1427 | except Exception: | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 1489 | except Exception: | CODE |
| HIGH | tests/aws/conftest.py | 175 | except ImportError: | CODE |
| HIGH | tests/aws/services/lambda_/test_lambda_unzip_crash.py | 59 | except RuntimeError: | CODE |
| HIGH | …ces/lambda_/functions/lambda_sqs_batch_item_failure.py | 56 | except Exception: | CODE |
| HIGH | …sts/aws/services/cloudcontrol/test_cloudcontrol_api.py | 600 | except Exception: | CODE |
| HIGH | tests/aws/services/logs/test_logs_export_tasks.py | 101 | except ClientError: | CODE |
| HIGH | tests/aws/services/logs/test_logs_export_tasks.py | 151 | except ClientError: | CODE |
| HIGH | tests/aws/services/logs/test_logs_export_tasks.py | 224 | except ClientError: | CODE |
| HIGH | …ws/services/events/test_events_cross_account_region.py | 295 | except Exception: | CODE |
| HIGH | …ws/services/events/test_events_cross_account_region.py | 310 | except Exception: | CODE |
| HIGH | tests/aws/services/events/test_events.py | 742 | except Exception: | CODE |
| HIGH | tests/aws/services/events/test_events.py | 833 | except Exception: | CODE |
| HIGH | tests/aws/services/events/test_events.py | 654 | except Exception: | CODE |
| HIGH | tests/aws/services/events/test_events.py | 786 | except Exception: | CODE |
| HIGH | tests/aws/services/events/test_events.py | 854 | except Exception: | CODE |
| HIGH | …rvices/cloudformation/resources/test_cloudformation.py | 18 | except ImportError: | CODE |
| HIGH | tests/aws/services/cloudformation/resources/test_sns.py | 456 | except aws_client.sns.exceptions.NotFoundException: | CODE |
| HIGH | …ervices/cloudformation/api/test_reference_resolving.py | 160 | except Exception: | CODE |
| HIGH | …functions/v2/assign/test_assign_reference_variables.py | 350 | except json.JSONDecodeError: | CODE |
| HIGH | …ts/aws/services/apigateway/test_apigateway_extended.py | 34 | except aws_client.apigateway.exceptions.NotFoundException: | CODE |
| HIGH | tests/aws/services/apigateway/test_apigateway_api.py | 2780 | except aws_client.apigateway.exceptions.NotFoundException: | CODE |
| HIGH | tests/aws/services/ec2/test_ec2.py | 68 | except Exception: | CODE |
| HIGH | localstack-core/localstack/config.py | 345 | except Exception: | CODE |
| HIGH | localstack-core/localstack/config.py | 386 | except FileNotFoundError: | CODE |
| HIGH | localstack-core/localstack/config.py | 203 | except Exception: | CODE |
| HIGH | localstack-core/localstack/runtime/shutdown.py | 39 | except ValueError: | CODE |
| HIGH | localstack-core/localstack/runtime/current.py | 36 | except ValueError: | CODE |
| HIGH | localstack-core/localstack/runtime/patches.py | 51 | except Exception: | CODE |
| HIGH | localstack-core/localstack/runtime/patches.py | 27 | except KeyError: | CODE |
| HIGH | localstack-core/localstack/utils/bootstrap.py | 991 | except NoSuchContainer: | CODE |
| HIGH | localstack-core/localstack/utils/time.py | 61 | except ValueError: | CODE |
| HIGH | localstack-core/localstack/utils/files.py | 165 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/files.py | 276 | except PermissionError: | CODE |
| HIGH | localstack-core/localstack/utils/files.py | 271 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/files.py | 352 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/files.py | 297 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/run.py | 144 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/run.py | 182 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/asyncio.py | 31 | except KeyError: | CODE |
| HIGH | localstack-core/localstack/utils/asyncio.py | 153 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/net.py | 481 | except OSError: | CODE |
| HIGH | localstack-core/localstack/utils/net.py | 230 | except ValueError: | CODE |
| HIGH | localstack-core/localstack/utils/net.py | 390 | except PortNotAvailableException: | CODE |
| HIGH | localstack-core/localstack/utils/threads.py | 155 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/collections.py | 137 | except StopIteration: | CODE |
| HIGH | localstack-core/localstack/utils/http.py | 159 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/testutil.py | 443 | except Exception: | CODE |
| HIGH | localstack-core/localstack/utils/testutil.py | 237 | except Exception: | CODE |
| 85 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/http_/test_asgi.py | 300 | except Exception: | CODE |
| LOW | tests/bootstrap/resources/apigw_handler.py | 36 | except Exception as e: | CODE |
| LOW | tests/bootstrap/resources/event_handler.py | 32 | except Exception as e: | CODE |
| MEDIUM | tests/bootstrap/resources/event_handler.py | 33 | print(f"Error fetching cluster health status: {e!r}") | CODE |
| LOW | tests/integration/docker_utils/test_docker.py | 110 | except Exception: | CODE |
| LOW | tests/integration/docker_utils/test_docker.py | 211 | except Exception: | CODE |
| LOW | tests/integration/docker_utils/test_docker.py | 1406 | except Exception: | CODE |
| LOW | tests/integration/docker_utils/test_docker.py | 1427 | except Exception: | CODE |
| LOW | tests/integration/docker_utils/test_docker.py | 1489 | except Exception: | CODE |
| LOW | tests/integration/docker_utils/test_docker.py | 1516 | except Exception as e: | CODE |
| LOW | tests/aws/test_serverless.py | 77 | except Exception: | CODE |
| LOW | tests/aws/templates/pyplate_deploy_template.yml | 86 | except Exception as e: | CODE |
| LOW⚡ | tests/aws/services/kinesis/conftest.py | 29 | except Exception: | CODE |
| LOW | tests/aws/services/lambda_/test_lambda_performance.py | 322 | except Exception as e: | CODE |
| LOW | tests/aws/services/lambda_/test_lambda_performance.py | 460 | except Exception as e: | CODE |
| LOW | tests/aws/services/lambda_/test_lambda_performance.py | 611 | except Exception as e: | CODE |
| LOW | tests/aws/services/lambda_/test_lambda_api.py | 1680 | except Exception as e: | CODE |
| LOW | tests/aws/services/lambda_/test_lambda_api.py | 1694 | except Exception as e: | CODE |
| MEDIUM | tests/aws/services/lambda_/test_lambda.py | 1346 | def _is_url_config_deleted(): | CODE |
| LOW | tests/aws/services/lambda_/test_lambda.py | 2119 | except Exception: | CODE |
| LOW | tests/aws/services/lambda_/test_lambda.py | 2821 | except Exception: | CODE |
| LOW | tests/aws/services/lambda_/test_lambda.py | 3259 | except Exception: | CODE |
| LOW | tests/aws/services/lambda_/functions/lambda_timeout.py | 10 | except Exception as e: | CODE |
| MEDIUM | tests/aws/services/lambda_/functions/lambda_timeout.py | 5 | def handler(event, context): | CODE |
| LOW | …s/services/lambda_/functions/lambda_sqs_integration.py | 37 | except Exception as e: | CODE |
| LOW | …s/aws/services/lambda_/functions/lambda_integration.py | 61 | except Exception: | CODE |
| LOW | …s/aws/services/lambda_/functions/lambda_timeout_env.py | 28 | except Exception as e: | CODE |
| LOW | …ces/lambda_/functions/lambda_sqs_batch_item_failure.py | 56 | except Exception: | CODE |
| LOW | …ws/services/lambda_/functions/host_prefix_operation.py | 28 | except Exception as e: | CODE |
| LOW | …sts/aws/services/secretsmanager/test_secretsmanager.py | 147 | except Exception as ex: | CODE |
| LOW | …aws/services/cloudwatch/test_cloudwatch_performance.py | 82 | except Exception as e: | STRING |
| LOW | …aws/services/cloudwatch/test_cloudwatch_performance.py | 183 | except Exception as e: | STRING |
| LOW | tests/aws/services/cloudwatch/test_cloudwatch.py | 2838 | except Exception as e: | CODE |
| LOW | tests/aws/services/s3/test_s3_concurrency.py | 29 | except Exception: | CODE |
| LOW | tests/aws/services/s3/test_s3_concurrency.py | 60 | except Exception: | CODE |
| LOW | tests/aws/services/s3/test_s3_concurrency.py | 90 | except Exception: | CODE |
| LOW | tests/aws/services/s3/test_s3_concurrency.py | 125 | except Exception: | CODE |
| LOW | tests/aws/services/s3/test_s3_notifications_sqs.py | 174 | except Exception as e: | CODE |
| LOW | tests/aws/services/s3/test_s3.py | 260 | except Exception: | CODE |
| LOW⚡ | tests/aws/services/sns/test_sns.py | 80 | except Exception as e: | CODE |
| LOW⚡ | tests/aws/services/sns/test_sns.py | 90 | except Exception as e: | CODE |
| LOW⚡ | tests/aws/services/sns/test_sns.py | 99 | except Exception as e: | CODE |
| LOW | tests/aws/services/sns/test_sns.py | 119 | except Exception as e: | CODE |
| LOW | tests/aws/services/scheduler/conftest.py | 31 | except Exception: | CODE |
| LOW | tests/aws/services/scheduler/conftest.py | 62 | except Exception: | CODE |
| MEDIUM | tests/aws/services/dynamodb/test_dynamodb.py | 2426 | def wait_for_continuous_backend(): | CODE |
| LOW⚡ | tests/aws/services/dynamodb/test_dynamodb.py | 2435 | except Exception: # noqa | CODE |
| MEDIUM | …s/aws/services/route53resolver/test_route53resolver.py | 77 | def _is_endpoint_deleted(): | CODE |
| LOW | …s/aws/services/route53resolver/test_route53resolver.py | 82 | except Exception: | CODE |
| LOW | …sts/aws/services/cloudcontrol/test_cloudcontrol_api.py | 42 | except Exception: | CODE |
| LOW | …sts/aws/services/cloudcontrol/test_cloudcontrol_api.py | 67 | except Exception: | CODE |
| LOW | …sts/aws/services/cloudcontrol/test_cloudcontrol_api.py | 600 | except Exception: | CODE |
| LOW⚡ | tests/aws/services/iam/test_iam.py | 1367 | except Exception as e: | CODE |
| LOW | tests/aws/services/iam/test_iam.py | 953 | except Exception: | STRING |
| LOW | tests/aws/services/logs/test_logs_destinations.py | 68 | except Exception: | CODE |
| MEDIUM | tests/aws/services/logs/test_logs_destinations.py | 61 | def _assume_role(): | CODE |
| LOW | tests/aws/services/events/conftest.py | 54 | except Exception as e: | CODE |
| LOW | tests/aws/services/events/conftest.py | 250 | except Exception as e: | CODE |
| LOW | tests/aws/services/events/conftest.py | 256 | except Exception as e: | CODE |
| LOW⚡ | tests/aws/services/events/conftest.py | 278 | except Exception as e: | CODE |
| 510 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/bootstrap/resources/apigw_handler.py | 8 | CODE | |
| LOW | …aws/scenario/mythical_mysfits/test_mythical_misfits.py | 16 | CODE | |
| LOW | tests/aws/services/lambda_/test_lambda_destinations.py | 24 | CODE | |
| LOW | tests/aws/services/cloudwatch/conftest.py | 12 | CODE | |
| LOW | …sts/aws/services/cloudwatch/test_cloudwatch_metrics.py | 12 | CODE | |
| LOW | …sts/aws/services/cloudwatch/test_cloudwatch_metrics.py | 13 | CODE | |
| LOW | …aws/services/cloudwatch/test_cloudwatch_performance.py | 15 | CODE | |
| LOW | tests/aws/services/cloudwatch/test_cloudwatch.py | 31 | CODE | |
| LOW | tests/aws/services/s3/test_s3_notifications_sqs.py | 20 | CODE | |
| LOW | tests/aws/services/s3/test_s3_notifications_sqs.py | 21 | CODE | |
| LOW | tests/aws/services/s3/test_s3_notifications_sqs.py | 22 | CODE | |
| LOW | tests/aws/services/s3/test_s3_notifications_sns.py | 16 | CODE | |
| LOW | tests/aws/services/s3/test_s3_notifications_sns.py | 17 | CODE | |
| LOW | tests/aws/services/s3/test_s3_notifications_sns.py | 18 | CODE | |
| LOW | tests/aws/services/s3/test_s3_notifications_sns.py | 19 | CODE | |
| LOW | tests/aws/services/s3/test_s3.py | 85 | CODE | |
| LOW | tests/aws/services/sqs/test_sqs.py | 38 | CODE | |
| LOW | tests/aws/services/sqs/utils.py | 6 | CODE | |
| LOW | …rvices/cloudformation/resources/test_cloudformation.py | 17 | CODE | |
| LOW | tests/aws/services/apigateway/conftest.py | 24 | CODE | |
| LOW | tests/aws/services/apigateway/test_apigateway_api.py | 30 | CODE | |
| LOW | tests/aws/services/apigateway/test_apigateway_api.py | 30 | CODE | |
| LOW | localstack-core/localstack/runtime/__init__.py | 1 | CODE | |
| LOW | localstack-core/localstack/runtime/current.py | 10 | CODE | |
| LOW | localstack-core/localstack/runtime/server/__init__.py | 1 | CODE | |
| LOW | localstack-core/localstack/utils/bootstrap.py | 1 | CODE | |
| LOW | localstack-core/localstack/utils/run.py | 18 | CODE | |
| LOW | localstack-core/localstack/utils/docker_utils.py | 30 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/async_utils.py | 2 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 4 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 4 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 4 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 4 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 7 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 27 | CODE | |
| LOW | localstack-core/localstack/utils/common.py | 27 | CODE | |
| 548 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/utils/test_tcp_proxy.py | 30 | CODE | |
| LOW | tests/unit/utils/test_tcp_proxy.py | 37 | CODE | |
| LOW | …s/unit/utils/analytics/test_service_call_aggregator.py | 16 | CODE | |
| LOW | tests/unit/aws/test_service_router.py | 43 | CODE | |
| LOW | …s/aws/services/lambda_/functions/lambda_integration.py | 46 | CODE | |
| LOW | …/services/lambda_/functions/lambda_aws_proxy_format.py | 4 | CODE | |
| LOW | …s/aws/services/lambda_/functions/lambda_timeout_env.py | 7 | CODE | |
| LOW | …vices/secretsmanager/functions/lambda_rotate_secret.py | 28 | CODE | |
| LOW | tests/aws/services/kms/test_kms.py | 41 | CODE | |
| LOW | tests/aws/services/s3/test_s3.py | 11898 | CODE | |
| LOW | tests/aws/services/dynamodb/test_dynamodb.py | 1053 | CODE | |
| LOW | …functions/v2/assign/test_assign_reference_variables.py | 333 | CODE | |
| LOW | …functions/v2/assign/test_assign_reference_variables.py | 341 | CODE | |
| LOW | tests/aws/services/apigateway/test_apigateway_import.py | 141 | CODE | |
| LOW | tests/aws/services/apigateway/test_apigateway_api.py | 52 | CODE | |
| LOW | scripts/capture_notimplemented_responses.py | 56 | CODE | |
| LOW | scripts/capture_notimplemented_responses.py | 247 | CODE | |
| LOW | scripts/update_cfn_resources.py | 93 | CODE | |
| LOW | scripts/gather_outdated_snapshots.py | 8 | CODE | |
| LOW | scripts/gather_outdated_snapshots.py | 29 | CODE | |
| LOW | scripts/tinybird/retrieve_legacy_data_from_circleci.py | 49 | CODE | |
| LOW | …ripts/tinybird/upload_raw_test_metrics_and_coverage.py | 187 | CODE | |
| LOW | scripts/metrics_coverage/diff_metrics_coverage.py | 27 | CODE | |
| LOW | scripts/metrics_coverage/diff_metrics_coverage.py | 60 | CODE | |
| LOW | scripts/metrics_coverage/diff_metrics_coverage.py | 119 | CODE | |
| LOW | localstack-core/localstack/config.py | 304 | CODE | |
| LOW | localstack-core/localstack/runtime/init.py | 140 | CODE | |
| LOW | localstack-core/localstack/runtime/init.py | 190 | CODE | |
| LOW | localstack-core/localstack/utils/bootstrap.py | 547 | CODE | |
| LOW | localstack-core/localstack/utils/bootstrap.py | 740 | CODE | |
| LOW | localstack-core/localstack/utils/bootstrap.py | 748 | CODE | |
| LOW | localstack-core/localstack/utils/run.py | 26 | CODE | |
| LOW | localstack-core/localstack/utils/run.py | 266 | CODE | |
| LOW | localstack-core/localstack/utils/run.py | 102 | CODE | |
| LOW | localstack-core/localstack/utils/checksum.py | 232 | CODE | |
| LOW | localstack-core/localstack/utils/checksum.py | 127 | CODE | |
| LOW | …calstack-core/localstack/utils/container_networking.py | 52 | CODE | |
| LOW | localstack-core/localstack/utils/openapi.py | 38 | CODE | |
| LOW | localstack-core/localstack/utils/net.py | 56 | CODE | |
| LOW | localstack-core/localstack/utils/net.py | 365 | CODE | |
| LOW | localstack-core/localstack/utils/archives.py | 98 | CODE | |
| LOW | localstack-core/localstack/utils/archives.py | 174 | CODE | |
| LOW | localstack-core/localstack/utils/threads.py | 121 | CODE | |
| LOW | localstack-core/localstack/utils/crypto.py | 42 | CODE | |
| LOW | localstack-core/localstack/utils/collections.py | 452 | CODE | |
| LOW | localstack-core/localstack/utils/collections.py | 486 | CODE | |
| LOW | localstack-core/localstack/utils/http.py | 176 | CODE | |
| LOW | localstack-core/localstack/utils/scheduler.py | 160 | CODE | |
| LOW | localstack-core/localstack/utils/testutil.py | 72 | CODE | |
| LOW | localstack-core/localstack/utils/testutil.py | 389 | CODE | |
| LOW | localstack-core/localstack/utils/testutil.py | 410 | CODE | |
| LOW | localstack-core/localstack/utils/testutil.py | 454 | CODE | |
| LOW | …ack-core/localstack/utils/kinesis/kinesis_connector.py | 56 | CODE | |
| LOW | …ack-core/localstack/utils/kinesis/kinesis_connector.py | 93 | CODE | |
| LOW | …e/localstack/utils/container_utils/container_client.py | 193 | CODE | |
| LOW | …e/localstack/utils/container_utils/container_client.py | 1329 | CODE | |
| LOW | …/localstack/utils/container_utils/docker_sdk_client.py | 159 | CODE | |
| LOW | …/localstack/utils/container_utils/docker_sdk_client.py | 637 | CODE | |
| LOW | …/localstack/utils/container_utils/docker_sdk_client.py | 937 | CODE | |
| LOW | localstack-core/localstack/utils/server/tcp_proxy.py | 43 | CODE | |
| 278 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/unit/packages/test_api.py | 90 | # Create a single instance of the installer (by default single instance installer's install methods are mutex) | COMMENT |
| MEDIUM⚡ | tests/unit/packages/test_api.py | 100 | # Create a new event and set it as the new event to wait for | COMMENT |
| MEDIUM⚡ | tests/unit/packages/test_api.py | 118 | # Create the two installers with the same shared lock | COMMENT |
| MEDIUM⚡ | tests/unit/packages/test_api.py | 127 | # Create a new event and set it as the new event for installer 2 to wait for | COMMENT |
| MEDIUM | tests/unit/aws/test_service_router.py | 215 | # Create a dummy request for the service router | COMMENT |
| MEDIUM | tests/unit/aws/protocol/test_serializer.py | 1845 | # Create the response which contains the generator | COMMENT |
| MEDIUM | tests/unit/aws/protocol/test_serializer.py | 1860 | # Create the response which contains the generator | COMMENT |
| MEDIUM | …sts/unit/services/apigateway/test_handler_exception.py | 73 | # Create an UnauthorizedError exception with no Gateway Response configured | COMMENT |
| MEDIUM | …sts/unit/services/apigateway/test_handler_exception.py | 92 | # Create an UnauthorizedError exception with DEFAULT_4xx configured | COMMENT |
| MEDIUM | …sts/unit/services/apigateway/test_handler_exception.py | 111 | # Create an UnauthorizedError exception with UNAUTHORIZED configured | COMMENT |
| MEDIUM | …sts/unit/services/apigateway/test_handler_exception.py | 128 | # Create an AccessDeniedError exception with no Gateway Response configured | COMMENT |
| MEDIUM | tests/integration/test_stores.py | 11 | # Create a resource in Moto backend | COMMENT |
| MEDIUM | tests/integration/test_stores.py | 17 | # Create a resource in LocalStack store | COMMENT |
| MEDIUM | tests/integration/docker_utils/test_docker.py | 1578 | # Create a custom Dockerfile that creates an anonymous volume | STRING |
| MEDIUM | …dk_templates/MythicalMisfits/MythicalMisfitsStack.json | 146 | "ZipFile": "# Source adapted from: https://github.com/aws-samples/aws-modern-application-workshop/blob/python- | CODE |
| MEDIUM | …thical_mysfits/artefacts/functions/stream_processor.py | 54 | # The below method will serve as the "handler" for the Lambda function. The | COMMENT |
| MEDIUM | tests/aws/scenario/bookstore/functions/search.py | 47 | # Create the response and add some extra content to support CORS | COMMENT |
| MEDIUM | tests/aws/services/lambda_/test_lambda_api.py | 2845 | # Create an SQS queue and pass it as an event source for the mapping | COMMENT |
| MEDIUM | tests/aws/services/lambda_/test_lambda_api.py | 4902 | # Create a URL for an unpublished function | COMMENT |
| MEDIUM | tests/aws/services/lambda_/test_lambda.py | 1312 | # Create an aliased URL | STRING |
| MEDIUM⚡ | tests/aws/services/kms/test_kms.py | 2648 | # Create a key with invalid key usage | COMMENT |
| MEDIUM⚡ | tests/aws/services/kms/test_kms.py | 2656 | # Create a key with invalid key spec | COMMENT |
| MEDIUM⚡ | tests/aws/services/kms/test_kms.py | 2661 | # Create a key with invalid key agreement algorithm | COMMENT |
| MEDIUM⚡ | tests/aws/services/kms/test_kms.py | 2668 | # Create a symmetric and try to derive the shared secret | COMMENT |
| MEDIUM | tests/aws/services/kms/test_kms.py | 2773 | # Create the keys in the primary AWS account. They will only be referred to by their ARNs hereon | COMMENT |
| MEDIUM | tests/aws/services/s3/test_s3_api.py | 3235 | # Create a new destination object | COMMENT |
| MEDIUM | tests/aws/services/sns/test_sns.py | 4729 | # Create an Apple platform application | COMMENT |
| MEDIUM⚡ | tests/aws/services/dynamodb/test_dynamodb.py | 2328 | # Create a table in the `us-east-1` region | COMMENT |
| MEDIUM | tests/aws/services/dynamodb/test_dynamodb.py | 95 | # Create a large amount of items | COMMENT |
| MEDIUM⚡ | tests/aws/services/sqs/test_sqs.py | 5543 | # Create a queue using primary test credentials | COMMENT |
| MEDIUM⚡ | tests/aws/services/sqs/test_sqs.py | 5546 | # Create a client configured with secondary test credentials | COMMENT |
| MEDIUM | …iders/templates/sqs_fifo_queue_required_properties.yml | 2 | # Define an SQS FIFO Queue with only the required properties set. All other properties will | COMMENT |
| MEDIUM | …_providers/templates/sqs_fifo_queue_all_properties.yml | 2 | # Define an SQS FIFO Queue with all possible properties set to valid values. | COMMENT |
| MEDIUM | …_providers/templates/sqs_fifo_queue_with_name_only.yml | 2 | # Define an SQS FIFO Queue with only the QueueName attribute set. | COMMENT |
| MEDIUM | tests/aws/services/iam/test_iam.py | 1101 | # Create a proper credential for codecommit | COMMENT |
| MEDIUM | tests/aws/services/iam/test_iam.py | 1132 | # Create a credential | COMMENT |
| MEDIUM | tests/aws/services/logs/test_logs_export_tasks.py | 135 | # Create an export task | COMMENT |
| MEDIUM | tests/aws/services/logs/test_logs_resource_policies.py | 40 | # Create a log group to use its ARN in the policy | COMMENT |
| MEDIUM | tests/aws/services/logs/test_logs_resource_policies.py | 181 | # Create the maximum number of resource policies | COMMENT |
| MEDIUM | tests/aws/services/logs/test_logs_resource_policies.py | 203 | # Create the maximum number of resource policies | COMMENT |
| MEDIUM | …ts/aws/services/events/test_x_ray_trace_propagation.py | 111 | # Create an IAM Role for EventBridge to invoke API Gateway | COMMENT |
| MEDIUM | tests/aws/services/events/test_events_targets.py | 225 | # Create a blocking event to control when the handler can respond | COMMENT |
| MEDIUM | tests/aws/services/events/test_events_targets.py | 228 | # Create an endpoint that blocks until the event is set | COMMENT |
| MEDIUM | tests/aws/services/events/test_events_targets.py | 421 | # Create the Lambda function with the correct handler | COMMENT |
| MEDIUM | tests/aws/services/events/test_events_targets.py | 437 | # Create a resource under the root | COMMENT |
| MEDIUM | tests/aws/services/events/test_events_targets.py | 934 | # Create a Kinesis stream | COMMENT |
| MEDIUM | tests/aws/services/events/test_events_targets.py | 969 | # Create an event bus | COMMENT |
| MEDIUM | tests/aws/services/events/test_events.py | 400 | # Create a queue and get its ARN | COMMENT |
| MEDIUM | tests/aws/services/events/test_events.py | 1760 | # Create an SQS queue to use as a target | COMMENT |
| MEDIUM | tests/aws/services/events/test_events.py | 1765 | # Create an event bus if using custom bus | COMMENT |
| MEDIUM | tests/aws/services/events/test_events.py | 1793 | # Create a rule targeting a different resource (to verify filtering) | COMMENT |
| MEDIUM | tests/aws/services/events/test_events.py | 1824 | # Create an SQS queue to use as a target | COMMENT |
| MEDIUM | tests/aws/services/events/test_events.py | 1829 | # Create an event bus if using custom bus | COMMENT |
| MEDIUM | …rvices/cloudformation/test_change_set_global_macros.py | 127 | # Create the macro to be used in the first version of the template. | COMMENT |
| MEDIUM | …rvices/cloudformation/test_change_set_global_macros.py | 145 | # Create the first version of the stack. | COMMENT |
| MEDIUM | …rvices/cloudformation/test_change_set_global_macros.py | 208 | # Create the macro to be used in the second version of the template. | COMMENT |
| MEDIUM | …ws/services/stepfunctions/v2/callback/test_callback.py | 840 | # Create the child state machine, which receives the parent's TaskToken, forwards it to the SendTaskSuccess | COMMENT |
| MEDIUM | …ws/services/stepfunctions/v2/callback/test_callback.py | 852 | # Create the parent state machine, which starts the child state machine with a sync integration pattern. | COMMENT |
| MEDIUM | tests/aws/services/apigateway/test_apigateway_common.py | 1062 | # Create a REST API with the apiKeySource set to "HEADER" | STRING |
| MEDIUM⚡ | tests/aws/services/apigateway/test_apigateway_api.py | 2876 | # Create the response for method GET /pets | STRING |
| 34 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …/services/apigateway/test_handler_response_enricher.py | 0 | create a context populated with what we would expect to receive from the chain at runtime. we assume that the parser and | STRING |
| HIGH | …ervices/apigateway/test_handler_integration_request.py | 0 | create a context populated with what we would expect to receive from the chain at runtime. we assume that the parser and | STRING |
| HIGH | …services/apigateway/test_handler_api_key_validation.py | 0 | create a context populated with what we would expect to receive from the chain at runtime. we assume that the parser and | STRING |
| HIGH | …rvices/apigateway/test_handler_integration_response.py | 0 | create a context populated with what we would expect to receive from the chain at runtime. we assume that the parser and | STRING |
| HIGH | …it/services/apigateway/test_handler_method_response.py | 0 | create a context populated with what we would expect to receive from the chain at runtime. we assume that the parser and | STRING |
| HIGH | …/services/apigateway/test_handler_response_enricher.py | 0 | returns a dummy integration response handler invoker for testing. | STRING |
| HIGH | …rvices/apigateway/test_handler_integration_response.py | 0 | returns a dummy integration response handler invoker for testing. | STRING |
| HIGH | …it/services/apigateway/test_handler_method_response.py | 0 | returns a dummy integration response handler invoker for testing. | STRING |
| HIGH | …s/resource_providers/test_aws_sqs_queueinlinepolicy.py | 0 | helper function to deploy a cloudformation stack using a template file. this exists to reduce boilerplate in the test ca | STRING |
| HIGH | …ces/sqs/resource_providers/test_aws_sqs_queuepolicy.py | 0 | helper function to deploy a cloudformation stack using a template file. this exists to reduce boilerplate in the test ca | STRING |
| HIGH | …/services/sqs/resource_providers/test_aws_sqs_queue.py | 0 | helper function to deploy a cloudformation stack using a template file. this exists to reduce boilerplate in the test ca | STRING |
| HIGH | …calstack-core/localstack/services/dynamodb/provider.py | 0 | modify the context region and then forward request to dynamodb local. this is used for operations impacted by global tab | STRING |
| HIGH | …stack-core/localstack/services/dynamodb/v2/provider.py | 0 | modify the context region and then forward request to dynamodb local. this is used for operations impacted by global tab | STRING |
| HIGH | …ore/localstack/services/dynamodbstreams/v2/provider.py | 0 | modify the context region and then forward request to dynamodb local. this is used for operations impacted by global tab | STRING |
| HIGH | …gateway/resource_providers/aws_apigateway_usageplan.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …igateway/resource_providers/aws_apigateway_resource.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …/apigateway/resource_providers/aws_apigateway_model.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …ateway/resource_providers/aws_apigateway_deployment.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …/apigateway/resource_providers/aws_apigateway_stage.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …/resource_providers/aws_apigateway_requestvalidator.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …apigateway/resource_providers/aws_apigateway_method.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …y/resource_providers/aws_apigateway_basepathmapping.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …eway/resource_providers/aws_apigateway_usageplankey.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …pigateway/resource_providers/aws_apigateway_account.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …apigateway/resource_providers/aws_apigateway_apikey.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …pigateway/resource_providers/aws_apigateway_restapi.py | 0 | fetch resource information iam permissions required: - apigateway:get | STRING |
| HIGH | …gateway/resource_providers/aws_apigateway_usageplan.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …igateway/resource_providers/aws_apigateway_resource.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …/apigateway/resource_providers/aws_apigateway_stage.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …/resource_providers/aws_apigateway_requestvalidator.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …apigateway/resource_providers/aws_apigateway_method.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …y/resource_providers/aws_apigateway_basepathmapping.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …eway/resource_providers/aws_apigateway_usageplankey.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …apigateway/resource_providers/aws_apigateway_apikey.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …pigateway/resource_providers/aws_apigateway_restapi.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …y/resource_providers/aws_apigateway_gatewayresponse.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …/apigateway/resource_providers/aws_apigateway_model.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …ateway/resource_providers/aws_apigateway_deployment.py | 0 | delete a resource iam permissions required: - apigateway:get - apigateway:delete | STRING |
| HIGH | …gateway/resource_providers/aws_apigateway_usageplan.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …y/resource_providers/aws_apigateway_gatewayresponse.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …igateway/resource_providers/aws_apigateway_resource.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …/apigateway/resource_providers/aws_apigateway_model.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …ateway/resource_providers/aws_apigateway_deployment.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …/apigateway/resource_providers/aws_apigateway_stage.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …apigateway/resource_providers/aws_apigateway_apikey.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …/resource_providers/aws_apigateway_requestvalidator.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …apigateway/resource_providers/aws_apigateway_method.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …y/resource_providers/aws_apigateway_basepathmapping.py | 0 | update a resource iam permissions required: - apigateway:patch | STRING |
| HIGH | …services/ec2/resource_providers/aws_ec2_dhcpoptions.py | 0 | update a resource iam permissions required: - ec2:describenetworkacls - ec2:deletetags - ec2:createtags | STRING |
| HIGH | …/services/ec2/resource_providers/aws_ec2_routetable.py | 0 | update a resource iam permissions required: - ec2:describenetworkacls - ec2:deletetags - ec2:createtags | STRING |
| HIGH | …ices/ec2/resource_providers/aws_ec2_internetgateway.py | 0 | update a resource iam permissions required: - ec2:describenetworkacls - ec2:deletetags - ec2:createtags | STRING |
| HIGH | …/services/ec2/resource_providers/aws_ec2_networkacl.py | 0 | update a resource iam permissions required: - ec2:describenetworkacls - ec2:deletetags - ec2:createtags | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/aws/test_integration.py | 759 | # --------------- | COMMENT |
| MEDIUM | tests/aws/test_integration.py | 761 | # --------------- | COMMENT |
| MEDIUM | …scenario/mythical_mysfits/stacks/mysfits_core_stack.py | 56 | # ================================================================================================ | COMMENT |
| MEDIUM | …scenario/mythical_mysfits/stacks/mysfits_core_stack.py | 58 | # ================================================================================================ | COMMENT |
| MEDIUM | …scenario/mythical_mysfits/stacks/mysfits_core_stack.py | 75 | # ================================================================================================ | COMMENT |
| MEDIUM | …scenario/mythical_mysfits/stacks/mysfits_core_stack.py | 77 | # ================================================================================================ | COMMENT |
| MEDIUM | …ces/stepfunctions/templates/assign/assign_templates.py | 100 | # ---------------------------------- | COMMENT |
| MEDIUM | …ces/stepfunctions/templates/assign/assign_templates.py | 102 | # ---------------------------------- | COMMENT |
| MEDIUM | localstack-core/localstack/utils/bootstrap.py | 251 | # -------------- | COMMENT |
| MEDIUM | localstack-core/localstack/utils/bootstrap.py | 253 | # -------------- | COMMENT |
| MEDIUM | localstack-core/localstack/utils/bootstrap.py | 1382 | # --------------- | COMMENT |
| MEDIUM | localstack-core/localstack/utils/bootstrap.py | 1384 | # --------------- | COMMENT |
| MEDIUM | …ck-core/localstack/utils/cloudwatch/cloudwatch_util.py | 17 | # --------------- | COMMENT |
| MEDIUM | …ck-core/localstack/utils/cloudwatch/cloudwatch_util.py | 19 | # --------------- | COMMENT |
| MEDIUM | …ck-core/localstack/utils/cloudwatch/cloudwatch_util.py | 204 | # --------------- | COMMENT |
| MEDIUM | …ck-core/localstack/utils/cloudwatch/cloudwatch_util.py | 206 | # --------------- | COMMENT |
| MEDIUM | localstack-core/localstack/services/plugins.py | 32 | # ----------------- | COMMENT |
| MEDIUM | localstack-core/localstack/services/plugins.py | 34 | # ----------------- | COMMENT |
| MEDIUM | localstack-core/localstack/services/plugins.py | 669 | # ----------------------------- | COMMENT |
| MEDIUM | localstack-core/localstack/services/plugins.py | 671 | # ----------------------------- | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 2173 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 2175 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 2576 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 2578 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 3046 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 3048 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 3560 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 3562 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 4157 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 4159 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 4427 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/lambda_/provider.py | 4429 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 2855 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 2857 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 3243 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 3245 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 3283 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 3285 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 3880 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 3882 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 4341 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 4343 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 4600 | # ======================================= | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 4602 | # ======================================= | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/kms/provider.py | 1773 | # --------------- | COMMENT |
| MEDIUM⚡ | localstack-core/localstack/services/kms/provider.py | 1775 | # --------------- | COMMENT |
| MEDIUM⚡ | …ck-core/localstack/services/cloudformation/provider.py | 1086 | # ======================================= | COMMENT |
| MEDIUM⚡ | …ck-core/localstack/services/cloudformation/provider.py | 1088 | # ======================================= | COMMENT |
| MEDIUM | …e/localstack/services/cloudformation/service_models.py | 50 | # ---------------------- | COMMENT |
| MEDIUM | …e/localstack/services/cloudformation/service_models.py | 52 | # ---------------------- | COMMENT |
| MEDIUM | …e/localstack/services/cloudformation/service_models.py | 81 | # --------------------- | COMMENT |
| MEDIUM | …e/localstack/services/cloudformation/service_models.py | 83 | # --------------------- | COMMENT |
| MEDIUM | …ore/localstack/services/cloudformation/engine/types.py | 4 | # --------------------- | COMMENT |
| MEDIUM | …ore/localstack/services/cloudformation/engine/types.py | 6 | # --------------------- | COMMENT |
| MEDIUM⚡ | …ck/services/cloudformation/engine/template_deployer.py | 78 | # --------------------- | COMMENT |
| MEDIUM⚡ | …ck/services/cloudformation/engine/template_deployer.py | 80 | # --------------------- | COMMENT |
| MEDIUM⚡ | …ck/services/cloudformation/engine/template_deployer.py | 886 | # ----------------------- | COMMENT |
| MEDIUM⚡ | …ck/services/cloudformation/engine/template_deployer.py | 888 | # ----------------------- | COMMENT |
| MEDIUM⚡ | …ck/services/cloudformation/engine/template_deployer.py | 965 | # ---------------------------- | COMMENT |
| MEDIUM⚡ | …ck/services/cloudformation/engine/template_deployer.py | 967 | # ---------------------------- | COMMENT |
| 10 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/aws/services/kinesis/test_kinesis.py | 71 | CODE | |
| LOW | tests/aws/services/cloudwatch/utils.py | 79 | CODE | |
| LOW | tests/aws/services/sns/test_sns.py | 1483 | CODE | |
| LOW | tests/aws/services/logs/test_logs_queries.py | 109 | CODE | |
| LOW | tests/aws/services/cloudformation/resources/test_sns.py | 96 | CODE | |
| LOW | …aws/services/stepfunctions/v2/test_stepfunctions_v2.py | 258 | CODE | |
| LOW | tests/aws/services/apigateway/conftest.py | 83 | CODE | |
| LOW | tests/aws/services/apigateway/test_apigateway_basic.py | 1209 | CODE | |
| LOW | tests/aws/services/apigateway/test_apigateway_import.py | 258 | CODE | |
| LOW | localstack-core/localstack/utils/bootstrap.py | 178 | CODE | |
| LOW | localstack-core/localstack/utils/run.py | 26 | CODE | |
| LOW | localstack-core/localstack/utils/run.py | 213 | CODE | |
| LOW | localstack-core/localstack/utils/http.py | 66 | CODE | |
| LOW | localstack-core/localstack/utils/http.py | 164 | CODE | |
| LOW | localstack-core/localstack/utils/testutil.py | 184 | CODE | |
| LOW | localstack-core/localstack/utils/testutil.py | 283 | CODE | |
| LOW | localstack-core/localstack/utils/testutil.py | 366 | CODE | |
| LOW | localstack-core/localstack/utils/objects.py | 176 | CODE | |
| LOW | localstack-core/localstack/utils/json.py | 169 | CODE | |
| LOW | …e/localstack/utils/container_utils/container_client.py | 1020 | CODE | |
| LOW | …e/localstack/utils/container_utils/container_client.py | 1059 | CODE | |
| LOW | …e/localstack/utils/container_utils/container_client.py | 1185 | CODE | |
| LOW | …e/localstack/utils/container_utils/container_client.py | 1329 | CODE | |
| LOW | …/localstack/utils/container_utils/docker_cmd_client.py | 817 | CODE | |
| LOW | …/localstack/utils/container_utils/docker_sdk_client.py | 721 | CODE | |
| LOW | …/localstack/utils/container_utils/docker_sdk_client.py | 858 | CODE | |
| LOW | …lstack-core/localstack/utils/aws/message_forwarding.py | 31 | CODE | |
| LOW | localstack-core/localstack/utils/aws/arns.py | 590 | CODE | |
| LOW | localstack-core/localstack/utils/aws/queries.py | 11 | CODE | |
| LOW | localstack-core/localstack/testing/pytest/fixtures.py | 1088 | CODE | |
| LOW | …-core/localstack/testing/pytest/stepfunctions/utils.py | 398 | CODE | |
| LOW | localstack-core/localstack/testing/aws/lambda_utils.py | 179 | CODE | |
| LOW | localstack-core/localstack/http/duplex_socket.py | 77 | CODE | |
| LOW | localstack-core/localstack/dev/run/__main__.py | 133 | CODE | |
| LOW | localstack-core/localstack/dev/kubernetes/__main__.py | 414 | CODE | |
| LOW | localstack-core/localstack/aws/protocol/serializer.py | 1238 | CODE | |
| LOW | localstack-core/localstack/aws/protocol/serializer.py | 1511 | CODE | |
| LOW | localstack-core/localstack/aws/protocol/serializer.py | 1948 | CODE | |
| LOW | localstack-core/localstack/aws/protocol/serializer.py | 2043 | CODE | |
| LOW | localstack-core/localstack/aws/api/kinesis/__init__.py | 988 | CODE | |
| LOW | localstack-core/localstack/aws/api/lambda_/__init__.py | 2701 | CODE | |
| LOW | localstack-core/localstack/aws/api/lambda_/__init__.py | 2773 | CODE | |
| LOW | localstack-core/localstack/aws/api/lambda_/__init__.py | 2809 | CODE | |
| LOW | localstack-core/localstack/aws/api/lambda_/__init__.py | 3193 | CODE | |
| LOW | localstack-core/localstack/aws/api/lambda_/__init__.py | 3543 | CODE | |
| LOW | localstack-core/localstack/aws/api/lambda_/__init__.py | 3573 | CODE | |
| LOW | localstack-core/localstack/aws/api/lambda_/__init__.py | 3593 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 6047 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 6087 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 6125 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 6160 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7280 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7338 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7381 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7403 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7468 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7546 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7582 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7612 | CODE | |
| LOW | localstack-core/localstack/aws/api/ssm/__init__.py | 7647 | CODE | |
| 178 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | tests/unit/test_templating.py | 225 | template3 = "${foo.bar.toString().lower().replace(' ','-')}" | STRING |
| HIGH⚡ | tests/unit/test_templating.py | 231 | contains_template1 = ("${foo.bar.toString().lower().contains('baz')}", "true") | STRING |
| HIGH⚡ | tests/unit/test_templating.py | 232 | contains_template2 = ("${foo.bar.toString().lower().contains('bar')}", "false") | STRING |
| HIGH⚡ | tests/unit/logging_/test_format.py | 176 | "input": b'{"sensitive_key": null, "other_key": "value"}', | CODE |
| HIGH⚡ | tests/unit/logging_/test_format.py | 185 | assert """b'{"sensitive_key": null, "other_key": "value"}'""" in log_message | CODE |
| HIGH | tests/unit/services/apigateway/test_mock_integration.py | 72 | '{"statusCode": 200 , null: null }', | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 170 | f"mkdir -p /auth && echo '{htpasswd_content_str}' > /auth/htpasswd && exec /entrypoint.sh /etc/docker/regist | CODE |
| HIGH | tests/integration/docker_utils/test_docker.py | 2230 | "ip link add dummy0 type dummy && ip link delete dummy0 && echo test", | STRING |
| HIGH | tests/integration/docker_utils/test_docker.py | 2242 | "ip link add dummy0 type dummy && ip link delete dummy0 && echo test", | STRING |
| HIGH | tests/aws/services/lambda_/test_lambda.py | 1401 | assert response.text == '{"Message":null}' | STRING |
| HIGH | …sts/aws/services/apigateway/test_apigateway_kinesis.py | 21 | "PartitionKey": #if( $foo.bar.stuff != '')"$elem.partitionKey"#else"$elemJsonB64.length()"#end | CODE |
| HIGH⚡ | tests/aws/services/apigateway/test_apigateway_common.py | 841 | _create_route("to-string", '#set($result = $input.path("$.json"))$result.toString()') | CODE |
| HIGH⚡ | tests/aws/services/apigateway/test_apigateway_common.py | 844 | '#set($result = $input.path("$.nonExisting")){"body": $result, "nested": $result.nested, "isNull": #if( $res | CODE |
| HIGH⚡ | tests/aws/services/apigateway/test_apigateway_common.py | 848 | '#set($result = $input.path("$.json.listValue")){"body": $result, "nested": $result.nested, "isNull": #if( $ | CODE |
| HIGH | localstack-core/localstack/utils/batching.py | 89 | # always return true | COMMENT |
| HIGH | …/localstack/utils/container_utils/docker_sdk_client.py | 374 | result = self.client().images.push(docker_image, **kwargs) | CODE |
| HIGH | localstack-core/localstack/testing/pytest/container.py | 235 | f"apt-get install -y --no-install-recommends dnsutils >/dev/null && dig +short @{ip_address} -p {port} {name | CODE |
| HIGH | localstack-core/localstack/aws/protocol/parser.py | 1138 | # currently boolean values, CBOR's null, and CBOR's undefined type. All other | COMMENT |
| HIGH | localstack-core/localstack/services/lambda_/provider.py | 837 | + "(arn:(aws[a-zA-Z-]*)?:lambda:(eusc-)?[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:\\d{12}:layer | CODE |
| HIGH | localstack-core/localstack/services/lambda_/provider.py | 999 | f"[x86_64, arm64], Member must not be null]", | CODE |
| HIGH | localstack-core/localstack/services/lambda_/provider.py | 1596 | f"[x86_64, arm64], Member must not be null]", | CODE |
| HIGH | localstack-core/localstack/services/lambda_/provider.py | 1979 | f"1 validation error detected: Value '{{{key}={value}}}' at 'routingConfig.additionalVersionWeights' | CODE |
| HIGH | …calstack-core/localstack/services/lambda_/urlrouter.py | 82 | response.data = '{"Message":null}' | CODE |
| HIGH | …calstack-core/localstack/services/lambda_/api_utils.py | 743 | "[Member must satisfy enum value set: [x86_64, arm64], Member must not be null]" | CODE |
| HIGH | …ices/lambda_/resource_providers/aws_lambda_function.py | 197 | PhysicalResourceId: physicalResourceId || context.logStreamName, | CODE |
| HIGH | …ices/lambda_/resource_providers/aws_lambda_function.py | 201 | NoEcho: noEcho || false, | CODE |
| HIGH | …ck-core/localstack/services/secretsmanager/provider.py | 468 | # in which case this field is non-null, but an integer. | COMMENT |
| HIGH | localstack-core/localstack/services/sqs/models.py | 1153 | message_group.push(message) | CODE |
| HIGH | …tack/services/stepfunctions/asl/jsonata/validations.py | 45 | cause=f"The JSONata expression '{expression}' returned nothing (undefined).", | CODE |
| HIGH | …execution/state_task/service/state_task_service_sns.py | 70 | f"Proxy: null)" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements-basic.txt | 1 | # | COMMENT |
| LOW | requirements-test.txt | 1 | # | COMMENT |
| LOW | requirements-test.txt | 21 | asn1crypto==1.5.1 | COMMENT |
| LOW | requirements-test.txt | 41 | # via | COMMENT |
| LOW | requirements-test.txt | 61 | # boto3 | COMMENT |
| LOW | requirements-test.txt | 81 | # via cryptography | COMMENT |
| LOW | requirements-test.txt | 101 | # via | COMMENT |
| LOW | requirements-test.txt | 121 | # pymongo | COMMENT |
| LOW | requirements-test.txt | 141 | # httpx | COMMENT |
| LOW | requirements-test.txt | 161 | # localstack-twisted | COMMENT |
| LOW | requirements-test.txt | 181 | jpype1==1.6.0 | COMMENT |
| LOW | requirements-test.txt | 201 | jsonpath-rw==1.4.0 | COMMENT |
| LOW | requirements-test.txt | 221 | # jsonschema | COMMENT |
| LOW | requirements-test.txt | 241 | moto-ext==5.1.25 | COMMENT |
| LOW | requirements-test.txt | 261 | opensearch-py==3.1.0 | COMMENT |
| LOW | requirements-test.txt | 281 | # localstack-core (pyproject.toml) | COMMENT |
| LOW | requirements-test.txt | 301 | # aws-cdk-lib | COMMENT |
| LOW | requirements-test.txt | 321 | # via localstack-core | COMMENT |
| LOW | requirements-test.txt | 341 | # via localstack-core (pyproject.toml) | COMMENT |
| LOW | requirements-test.txt | 361 | # responses | COMMENT |
| LOW | requirements-test.txt | 381 | # responses | COMMENT |
| LOW | requirements-test.txt | 401 | rsa==4.7.2 | COMMENT |
| LOW | requirements-test.txt | 421 | # aws-cdk-asset-awscli-v1 | COMMENT |
| LOW | requirements-test.txt | 441 | # via pydantic | COMMENT |
| LOW | requirements-test.txt | 461 | wsproto==1.3.2 | COMMENT |
| LOW | requirements-runtime.txt | 1 | # | COMMENT |
| LOW | requirements-runtime.txt | 21 | # localstack-core | COMMENT |
| LOW | requirements-runtime.txt | 41 | # aws-sam-translator | COMMENT |
| LOW | requirements-runtime.txt | 61 | # via | COMMENT |
| LOW | requirements-runtime.txt | 81 | # via | COMMENT |
| LOW | requirements-runtime.txt | 101 | # via | COMMENT |
| LOW | requirements-runtime.txt | 121 | # via h2 | COMMENT |
| LOW | requirements-runtime.txt | 141 | jmespath==1.1.0 | COMMENT |
| LOW | requirements-runtime.txt | 161 | # jsonpatch | COMMENT |
| LOW | requirements-runtime.txt | 181 | lazy-object-proxy==1.12.0 | COMMENT |
| LOW | requirements-runtime.txt | 201 | networkx==3.6.1 | COMMENT |
| LOW | requirements-runtime.txt | 221 | # jpype1 | COMMENT |
| LOW | requirements-runtime.txt | 241 | # localstack-core (pyproject.toml) | COMMENT |
| LOW | requirements-runtime.txt | 261 | # localstack-core (pyproject.toml) | COMMENT |
| LOW | requirements-runtime.txt | 281 | # localstack-core (pyproject.toml) | COMMENT |
| LOW | requirements-runtime.txt | 301 | # requests-aws4auth | COMMENT |
| LOW | requirements-runtime.txt | 321 | # referencing | COMMENT |
| LOW | requirements-runtime.txt | 341 | # via | COMMENT |
| LOW | requirements-runtime.txt | 361 | werkzeug==3.1.6 | COMMENT |
| LOW | requirements-typehint.txt | 1 | # | COMMENT |
| LOW | requirements-typehint.txt | 21 | argparse==1.4.0 | COMMENT |
| LOW | requirements-typehint.txt | 41 | # via localstack-core | COMMENT |
| LOW | requirements-typehint.txt | 61 | botocore==1.42.59 | COMMENT |
| LOW | requirements-typehint.txt | 81 | # via | COMMENT |
| LOW | requirements-typehint.txt | 101 | # via awscli | COMMENT |
| LOW | requirements-typehint.txt | 121 | cython==3.2.4 | COMMENT |
| LOW | requirements-typehint.txt | 141 | # pymongo | COMMENT |
| LOW | requirements-typehint.txt | 161 | # hypercorn | COMMENT |
| LOW | requirements-typehint.txt | 181 | # via pre-commit | COMMENT |
| LOW | requirements-typehint.txt | 201 | jmespath==1.1.0 | COMMENT |
| LOW | requirements-typehint.txt | 221 | # localstack-core | COMMENT |
| LOW | requirements-typehint.txt | 241 | jsonschema-path==0.3.4 | COMMENT |
| LOW | requirements-typehint.txt | 261 | markupsafe==3.0.3 | COMMENT |
| LOW | requirements-typehint.txt | 461 | mypy-boto3-timestream-query==1.42.3 | COMMENT |
| LOW | requirements-typehint.txt | 481 | openapi-core==0.22.0 | COMMENT |
| 104 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/aws/services/lambda_/test_lambda_common.py | 110 | # TODO: implement logging config | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda_common.py | 186 | # TODO: implement logging config | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda_common.py | 215 | # TODO: implement logging config | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda_api.py | 3897 | # TODO: implement updates while IN_PROGRESS in LocalStack (currently not supported) | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda_api.py | 4015 | # TODO: implement AWS principle matching based on explicit list | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda.py | 1668 | # TODO: implement for new provider (was tested in old provider) | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda.py | 1814 | # TODO: implement in new provider (was tested in old provider) | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda.py | 2711 | # TODO: implement and enable this validation in LS | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda_runtimes.py | 67 | # TODO: consider using the multiruntime annotation directly?! | COMMENT |
| LOW | tests/aws/services/lambda_/test_lambda_runtimes.py | 449 | # TODO: implement logging config | COMMENT |
| LOW | …vent_source_mapping/test_lambda_integration_kinesis.py | 1405 | # TODO: add tests for different edge cases in filtering (e.g. message isn't json => needs to be dropped) | COMMENT |
| LOW | tests/aws/services/s3/test_s3.py | 3807 | # TODO: implement ContentMD5 in ASF | COMMENT |
| LOW | …loudformation/resource_providers/ssm/test_parameter.py | 22 | # TODO: implement fetching the resource and performing any required validations here | COMMENT |
| LOW | …loudformation/resource_providers/ssm/test_parameter.py | 50 | # TODO: implement fetching the resource and performing any required validations here | COMMENT |
| LOW | …sts/aws/services/cloudformation/api/test_changesets.py | 214 | # TODO: implement | COMMENT |
| LOW | …aws/services/stepfunctions/v2/test_stepfunctions_v2.py | 544 | # TODO: implement list_tags_for_resource | COMMENT |
| LOW | …aws/services/stepfunctions/v2/test_stepfunctions_v2.py | 761 | # TODO: implement stepfunction's 'describe_state_machine_for_execution'. | COMMENT |
| LOW⚡ | tests/aws/services/stepfunctions/v2/base/test_wait.py | 14 | # TODO: add tests for seconds, secondspath, timestamp | COMMENT |
| LOW⚡ | tests/aws/services/stepfunctions/v2/base/test_wait.py | 15 | # TODO: add tests that actually validate waiting time (e.g. x minutes) BUT mark them accordingly and skip them by defaul | COMMENT |
| LOW | localstack-core/localstack/utils/platform.py | 57 | # TODO: implement proper architecture detection (e.g., test whether an architecture-specific binary actually runs) | COMMENT |
| LOW | localstack-core/localstack/utils/analytics/cli.py | 23 | client_time=str(datetime.datetime.now()), # TODO: consider using utcnow() | CODE |
| LOW | localstack-core/localstack/aws/protocol/parser.py | 1598 | # TODO: implement multi-protocol support for Kinesis, so that it can uses the `cbor` protocol and remove | COMMENT |
| LOW | localstack-core/localstack/aws/protocol/serializer.py | 2398 | # TODO: implement multi-protocol support for Kinesis, so that it can uses the `cbor` protocol and remove | COMMENT |
| LOW | localstack-core/localstack/services/lambda_/provider.py | 2694 | # TODO: implement URL invoke | COMMENT |
| LOW | …stack-core/localstack/services/lambda_/lambda_utils.py | 19 | # TODO: consider using localstack/testing/aws/lambda_utils.py:RUNTIMES_AGGREGATED for testing or moving the constant | COMMENT |
| LOW | …alstack/services/lambda_/invocation/version_manager.py | 321 | # TODO: consider using the same prefix logging as in error case for execution environment. | COMMENT |
| LOW | …k/services/lambda_/invocation/execution_environment.py | 163 | # TODO: implement mixed permissions (maybe in RIE) | COMMENT |
| LOW | …k/services/lambda_/invocation/execution_environment.py | 381 | # TODO: implement Lambda lineage: https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html | COMMENT |
| LOW | …ck/services/lambda_/event_source_mapping/esm_worker.py | 79 | # TODO: implement lifecycle locking | COMMENT |
| LOW | …/lambda_/event_source_mapping/pollers/stream_poller.py | 219 | # TODO: implement format detection behavior (e.g., for JSON body): | COMMENT |
| LOW | …/lambda_/event_source_mapping/pollers/stream_poller.py | 235 | # TODO: implement MaximumBatchingWindowInSeconds flush condition (before or after filter?) | COMMENT |
| LOW | …/lambda_/event_source_mapping/pollers/stream_poller.py | 280 | # TODO: add tests for partial batch failure scenarios | COMMENT |
| LOW | …/lambda_/event_source_mapping/pollers/stream_poller.py | 285 | # TODO: implement and test splitting batches in half until batch size 1 | COMMENT |
| LOW | …lambda_/event_source_mapping/pollers/kinesis_poller.py | 122 | # TODO: implement heuristic based on content type: https://docs.aws.amazon.com/eventbridge/latest/usergu | COMMENT |
| LOW | …ces/lambda_/event_source_mapping/pollers/sqs_poller.py | 149 | # TODO: Handle exceptions differently i.e QueueNotExist or ConnectionFailed should retry with backoff | COMMENT |
| LOW | …ces/lambda_/event_source_mapping/pollers/sqs_poller.py | 167 | # TODO: implement invocation payload size quota | COMMENT |
| LOW | …ces/lambda_/event_source_mapping/pollers/sqs_poller.py | 200 | # TODO: implement format detection behavior (e.g., for JSON body): | COMMENT |
| LOW | …ces/lambda_/event_source_mapping/pollers/sqs_poller.py | 305 | # TODO: implement heuristic based on content type: https://docs.aws.amazon.com/eventbridge/latest/userguide/ | COMMENT |
| LOW | localstack-core/localstack/services/s3/notifications.py | 199 | # TODO: implement wildcard filtering | COMMENT |
| LOW | localstack-core/localstack/services/s3/validation.py | 186 | # TODO: add validation here | COMMENT |
| LOW | …k-core/localstack/services/route53resolver/provider.py | 409 | # TODO: implement max_results filtering and next_token handling | COMMENT |
| LOW | …ck-core/localstack/services/cloudformation/provider.py | 717 | raise NotImplementedError() # TODO: implement importing resources | CODE |
| LOW | …core/localstack/services/cloudformation/v2/provider.py | 561 | raise NotImplementedError() # TODO: implement importing resources | CODE |
| LOW | …s/cloudformation/engine/v2/change_set_model_preproc.py | 888 | # TODO: add tests for joining non string values. | COMMENT |
| LOW | …/cloudformation/engine/v2/change_set_model_executor.py | 398 | # TODO: Add test to assert that on type change the resources are replaced. | COMMENT |
| LOW | …cloudformation/engine/v2/change_set_model_describer.py | 218 | # TODO: Add test to assert that on type change the resources are replaced. | COMMENT |
| LOW | …ack-core/localstack/services/stepfunctions/provider.py | 1517 | # TODO: Add validation ensuring only present if 'mock' is specified | COMMENT |
| LOW | …stack/services/stepfunctions/asl/parse/preprocessor.py | 1109 | # TODO: add tests for arguments in jsonata blocks using result writer | COMMENT |
| LOW | …tion/state_task/service/state_task_service_callback.py | 47 | # TODO: consider implementing a polling pattern similar to that observable from AWS: | COMMENT |
| LOW | …rvices/stepfunctions/local_mocking/mock_config_file.py | 149 | # TODO: add tests to ensure the hot-reloading of the mock configuration | COMMENT |
| LOW⚡ | …rvices/stepfunctions/local_mocking/mock_config_file.py | 162 | # TODO: add tests to ensure the hot-reloading of the mock configuration | COMMENT |
| LOW | …re/localstack/services/apigateway/next_gen/provider.py | 268 | # TODO: add validation to the canary settings | COMMENT |
| LOW | …re/localstack/services/apigateway/next_gen/provider.py | 406 | # TODO: add validation with the parameters? seems like it validated client side? how to try? | COMMENT |
| LOW | …core/localstack/services/apigateway/legacy/provider.py | 1267 | # TODO: add validation for unsupported paths | COMMENT |
| LOW | …core/localstack/services/apigateway/legacy/provider.py | 1284 | # TODO: add validation | COMMENT |
| LOW | …core/localstack/services/apigateway/legacy/provider.py | 1338 | # TODO: add validation if authorizer does not exist | COMMENT |
| LOW | …core/localstack/services/apigateway/legacy/provider.py | 1352 | # TODO: add validation | COMMENT |
| LOW | …core/localstack/services/apigateway/legacy/provider.py | 1395 | # TODO: add validation | COMMENT |
| LOW | …core/localstack/services/apigateway/legacy/provider.py | 1408 | # TODO: add validation | COMMENT |
| LOW | …core/localstack/services/apigateway/legacy/provider.py | 1479 | # TODO: add validation | COMMENT |
| 8 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | localstack-core/localstack/config.py | 1642 | def set_provider_if_not_exists(self, service: str, provider: str) -> None: | CODE |
| LOW | localstack-core/localstack/runtime/__init__.py | 3 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/runtime/server/__init__.py | 3 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/utils/auth.py | 6 | logger = logging.getLogger(__name__) | CODE |
| LOW | localstack-core/localstack/utils/tagging.py | 83 | def update_tags(self, arn: ResourceARN, tags: TagMap) -> None: | CODE |
| LOW | …ck-core/localstack/utils/analytics/metrics/__init__.py | 6 | __all__ = ["Counter", "LabeledCounter", "MetricRegistry", "MetricRegistryKey"] | CODE |
| LOW | localstack-core/localstack/state/__init__.py | 11 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/extensions/api/services.py | 3 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/extensions/api/__init__.py | 7 | __all__ = ["Extension"] | CODE |
| LOW | localstack-core/localstack/extensions/api/aws.py | 19 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/extensions/api/runtime.py | 3 | __all__ = ["get_session_id"] | CODE |
| LOW | localstack-core/localstack/extensions/api/http.py | 6 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/http/dispatcher.py | 9 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/http/proxy.py | 3 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/http/client.py | 3 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/http/asgi.py | 12 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/http/request.py | 12 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/http/resource.py | 3 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/http/__init__.py | 6 | __all__ = ["route", "resource", "Resource", "Router", "Response", "Request"] | CODE |
| LOW | localstack-core/localstack/http/router.py | 39 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/http/websocket.py | 9 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/packages/__init__.py | 13 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/packages/core.py | 340 | def _setup_existing_installation(self, target: InstallTarget) -> None: | CODE |
| LOW | localstack-core/localstack/packages/api.py | 148 | def _setup_existing_installation(self, target: InstallTarget) -> None: | CODE |
| LOW | localstack-core/localstack/aws/gateway.py | 6 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/aws/chain.py | 34 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/aws/serving/asgi.py | 3 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/aws/serving/wsgi.py | 3 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/aws/api/__init__.py | 10 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/aws/handlers/fallback.py | 13 | __all__ = ["EmptyResponseHandler", "InternalFailureHandler"] | CODE |
| LOW | localstack-core/localstack/aws/handlers/routes.py | 3 | __all__ = [ | CODE |
| LOW | …lambda_/event_source_mapping/pollers/kinesis_poller.py | 194 | def set_data(self, event: dict, data: bytes) -> None: | CODE |
| LOW⚡ | localstack-core/localstack/services/kms/models.py | 626 | def _update_key_rotation_date(self) -> None: | CODE |
| LOW⚡ | localstack-core/localstack/services/kms/provider.py | 1784 | def set_key_managed(key_id: str, account_id: str, region_name: str) -> None: | CODE |
| LOW | localstack-core/localstack/services/kms/provider.py | 410 | def _set_key_tags(self, account_id: str, region: str, resource_arn: str, tags: TagList) -> None: | CODE |
| LOW | localstack-core/localstack/services/kms/provider.py | 1366 | def update_alias(self, context: RequestContext, request: UpdateAliasRequest) -> None: | CODE |
| LOW | localstack-core/localstack/services/s3/checksums.py | 169 | __all__ = ["combine_crc32", "combine_crc32c", "combine_crc64_nvme"] | CODE |
| LOW | …lstack-core/localstack/services/s3/storage/__init__.py | 9 | __all__ = [ | CODE |
| LOW | localstack-core/localstack/services/sns/provider.py | 1537 | def _set_sms_attribute_default(store: SnsStore) -> None: | CODE |
| LOW⚡ | localstack-core/localstack/services/sqs/utils.py | 273 | def _update_binary_length_and_value(md5: Any, value: bytes) -> None: # type: ignore[misc] | CODE |
| LOW | …ack-core/localstack/services/events/api_destination.py | 100 | def set_state(self, state: ApiDestinationState) -> None: | CODE |
| LOW | …calstack-core/localstack/services/events/connection.py | 100 | def set_state(self, state: ConnectionState) -> None: | CODE |
| LOW | localstack-core/localstack/services/events/replay.py | 59 | def set_state(self, state: ReplayState) -> None: | CODE |
| LOW | localstack-core/localstack/services/events/replay.py | 89 | def _set_event_last_replayed_time(self, events: FormattedEventList) -> None: | CODE |
| LOW | localstack-core/localstack/services/events/archive.py | 94 | def set_state(self, state: ArchiveState) -> None: | CODE |
| LOW | localstack-core/localstack/services/events/archive.py | 97 | def set_creation_time(self) -> None: | CODE |
| LOW | …/localstack/services/cloudformation/models/__init__.py | 1 | __all__ = [] | CODE |
| LOW | …core/localstack/services/cloudformation/v2/entities.py | 236 | def set_update_model(self, update_model: UpdateModel) -> None: | CODE |
| LOW | …s/cloudformation/engine/v2/change_set_model_preproc.py | 225 | def _setup_runtime_cache(self) -> None: | CODE |
| LOW | …cloudformation/engine/v2/change_set_model_describer.py | 46 | def _setup_runtime_cache(self) -> None: | CODE |
| LOW | …lstack-core/localstack/services/transcribe/provider.py | 134 | def _setup_vosk() -> None: | CODE |
| LOW | …ck/services/stepfunctions/asl/component/state/state.py | 125 | def _set_next(self, env: Environment) -> None: | CODE |
| LOW | …tions/asl/component/state/state_choice/state_choice.py | 39 | def _set_next(self, env: Environment) -> None: | CODE |
| LOW⚡ | …alstack/services/stepfunctions/asl/eval/environment.py | 208 | def set_ended(self) -> None: | CODE |
| LOW⚡ | …alstack/services/stepfunctions/asl/eval/environment.py | 217 | def set_error(self, error: ExecutionFailedEventDetails) -> None: | CODE |
| LOW⚡ | …alstack/services/stepfunctions/asl/eval/environment.py | 225 | def set_timed_out(self) -> None: | CODE |
| LOW⚡ | …alstack/services/stepfunctions/asl/eval/environment.py | 233 | def set_stop(self, stop_date: Timestamp, cause: str | None, error: str | None) -> None: | CODE |
| LOW | …e/localstack/services/stepfunctions/asl/eval/states.py | 129 | def set_error_output(self, error_output: Any) -> None: | CODE |
| LOW | …vices/stepfunctions/asl/eval/test_state/environment.py | 93 | def set_choice_selected(self, next_state_name: str) -> None: | CODE |
| LOW | …vices/stepfunctions/asl/eval/test_state/environment.py | 100 | def set_caught_error(self, next_state_name: str, error: str, cause: str) -> None: | CODE |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/unit/aws/handlers/test_service.py | 4 | from moto.core.exceptions import RESTError, ServiceException | CODE |
| CRITICAL | localstack-core/localstack/services/moto.py | 12 | from moto.core.exceptions import RESTError | CODE |
| CRITICAL | localstack-core/localstack/services/dynamodb/utils.py | 7 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | …localstack/services/stepfunctions/backend/execution.py | 77 | self.execution.output = self.execution.exec_worker.env.states.get_input() | CODE |
| CRITICAL | …services/stepfunctions/backend/test_state/execution.py | 57 | self.execution.output = self.execution.exec_worker.env.states.get_input() | CODE |
| CRITICAL | …services/stepfunctions/backend/test_state/execution.py | 63 | self.execution.output = self.execution.exec_worker.env.states.get_input() | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/http_/test_client.py | 45 | # just set the same path as requests uses anyway (the issues is caused just by the variables being set). | COMMENT |
| LOW | tests/unit/aws/test_service_router.py | 228 | # The endpoint URL is mandatory here, just set a dummy (doesn't _need_ to be localstack specific) | COMMENT |
| MEDIUM | tests/integration/services/test_internal.py | 58 | # we're being specifically vague here since we want this test to be robust against pro or community | COMMENT |
| MEDIUM | …dk_templates/MythicalMisfits/MythicalMisfitsStack.json | 681 | "ZipFile": "# Source adapted from: https://github.com/aws-samples/aws-modern-application-workshop/blob/python- | CODE |
| MEDIUM | tests/aws/services/lambda_/test_lambda_api.py | 4807 | # Since we're not comparing the entire string, this should be robust to | COMMENT |
| MEDIUM | tests/aws/services/lambda_/functions/__init__.py | 3 | """Importing this variable is more robust with respect to refactorings compared to relative paths everywhere.""" | STRING |
| LOW | tests/aws/services/iam/test_iam.py | 1399 | # some roles are already present and not deletable - so we just create them if they exist, and snapshot later | COMMENT |
| LOW | …ces/iam/resource_providers/aws_iam_user/test_parity.py | 41 | # alternatively you can also just add another resource to the template creating a group and referencing it direc | COMMENT |
| LOW | tests/aws/services/apigateway/test_apigateway_api.py | 2734 | # ElbV2 is not available in community, so we just use a dummy arn | STRING |
| MEDIUM | localstack-core/localstack/config.py | 1088 | # DEV: 0 (default) Enable for mounting of RIE init binary and delve debugger | COMMENT |
| MEDIUM | localstack-core/localstack/config.py | 1094 | # DEV: path to delve debugger (e.g., var/rapid/dlv) | COMMENT |
| LOW | localstack-core/localstack/config.py | 419 | # directory for persisting data (TODO: deprecated, simply use PERSISTENCE=1) | COMMENT |
| LOW | localstack-core/localstack/utils/net.py | 482 | # TODO if neither host resolves, we might be in linux. We could just use the default gateway then | COMMENT |
| MEDIUM | localstack-core/localstack/utils/analytics/metadata.py | 174 | # try to get a robust ID from the docker socket (which will be the same from the host and the | COMMENT |
| LOW | …calstack-core/localstack/testing/pytest/path_filter.py | 58 | # this is technically redundant since we can just add "tests/" instead as a line item. still prefer to be explic | COMMENT |
| LOW | localstack-core/localstack/aws/handlers/service.py | 247 | # just use any operation for mocking purposes (the parser needs it to populate the default response) | COMMENT |
| LOW | localstack-core/localstack/aws/handlers/response.py | 18 | # Currently, we just add 'x-localstack' in response headers. | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/provider.py | 3406 | # TODO: might be useful other places, utilize | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/runtimes.py | 1 | """This Lambda Runtimes reference defines everything around Lambda runtimes to facilitate adding new runtimes.""" | STRING |
| MEDIUM | …calstack-core/localstack/services/lambda_/api_utils.py | 373 | # See AWS service principals for comprehensive docs: | COMMENT |
| MEDIUM | …ces/lambda_/event_source_mapping/pollers/sqs_poller.py | 133 | # * Our LS-internal optimizations leverage custom boto-headers to set larger batch sizes and longer wait times t | COMMENT |
| LOW⚡ | localstack-core/localstack/services/kms/models.py | 618 | # becomes "PendingReplicaDeletion". Here we just set all keys to "PendingDeletion", as we do not have any | COMMENT |
| LOW | localstack-core/localstack/services/s3/provider.py | 3768 | # does not raise error if the bucket did not have a config, will simply return | COMMENT |
| LOW | localstack-core/localstack/services/s3/cors.py | 159 | # if it's a regular request, simply return without adding CORS | COMMENT |
| LOW | localstack-core/localstack/services/s3/cors.py | 286 | # if we can't parse the request, just set GetObject | COMMENT |
| LOW⚡ | localstack-core/localstack/services/s3/presigned_url.py | 226 | # if we can't parse the request, just set GetObject | COMMENT |
| LOW⚡ | localstack-core/localstack/services/s3/utils.py | 1120 | # if the Tagging does not respect the schema, just return | COMMENT |
| LOW | localstack-core/localstack/services/sns/filter.py | 388 | # TODO: AWS says they support only from -10^9 to 10^9 but seems to accept it, so we just return | COMMENT |
| LOW | …lstack/services/dynamodbstreams/dynamodbstreams_api.py | 150 | # simply pass along the records, they already have the right format | COMMENT |
| LOW | …k-core/localstack/services/events/event_rule_engine.py | 410 | # TODO: AWS says they support only from -10^9 to 10^9 but seems to accept it, so we just return | COMMENT |
| LOW | …-core/localstack/services/apigateway/legacy/helpers.py | 356 | # TODO: for now we simply return "allow-all" CORS headers, but in the future | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/aws/protocol/test_parser.py | 393 | # Check if the determined operation_model is correct | COMMENT |
| LOW⚡ | tests/unit/aws/protocol/test_parser.py | 396 | # Check if the result is equal to the given "expected" dict or the kwargs (if "expected" has not been set) | COMMENT |
| LOW | tests/unit/aws/protocol/test_parser.py | 681 | # Check if the determined operation_model is correct | COMMENT |
| LOW | tests/unit/aws/protocol/test_parser.py | 736 | # Check if the determined operation_model is correct | COMMENT |
| LOW | tests/unit/aws/protocol/test_serializer.py | 110 | # Check if the result is equal to the initial response params | COMMENT |
| LOW | tests/unit/aws/protocol/test_serializer.py | 185 | # Check if the result is equal to the initial response params | COMMENT |
| LOW | …a_/event_source_mapping/test_lambda_integration_sqs.py | 389 | # Set retries to zero to speed up the test | COMMENT |
| LOW | tests/aws/services/cloudwatch/test_cloudwatch.py | 3096 | # Check if x-amzn-RequestId is in the response headers - case-sensitive check | COMMENT |
| LOW | tests/aws/services/sns/test_sns.py | 2035 | # Set retries to zero to speed up the test | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 496 | # Check if the custom ID is present | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 510 | # Check if the custom ID is present in the describe_vpcs response as well | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 517 | # Check if an duplicate custom ID exception is thrown if we try to recreate the VPC with the same custom ID | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 585 | # Check if subnet ID matches the custom ID | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 601 | # Check if the custom ID is present in the describe_subnets response as well | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 607 | # Check if a duplicate custom ID exception is thrown if we try to recreate the subnet with the same custom ID | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 644 | # Check if subnet ID matches the custom ID | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 660 | # Check if the custom ID is present in the describe_subnets response as well | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 722 | # Check if security group ID matches the custom ID | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 727 | # Check if the custom ID is present in the describe_security_groups response as well | COMMENT |
| LOW | tests/aws/services/ec2/test_ec2.py | 740 | # Check if a duplicate custom ID exception is thrown if we try to recreate the security group with the same cust | COMMENT |
| LOW | .github/workflows/asf-updates.yml | 52 | # Check if there are changed files and store the result in target/diff-check.log | COMMENT |
| LOW | .github/workflows/aws-tests-mamr.yml | 48 | # Set TEST_AWS_REGION_NAME to a random AWS region other than us-east-1 | COMMENT |
| LOW | localstack-core/localstack/utils/batching.py | 115 | # Check if the last addition triggered the batch policy | COMMENT |
| LOW | localstack-core/localstack/utils/checksum.py | 121 | # Check if it looks like filename: hex_data | COMMENT |
| LOW | localstack-core/localstack/utils/checksum.py | 225 | # Read file in chunks to handle large files efficiently | COMMENT |
| LOW⚡ | localstack-core/localstack/aws/protocol/serializer.py | 1211 | # Check if we need to add a namespace | COMMENT |
| LOW | localstack-core/localstack/aws/protocol/serializer.py | 696 | # Check if we need to add a namespace | COMMENT |
| LOW⚡ | …ck-core/localstack/services/secretsmanager/provider.py | 147 | ): # Check if it appears to be an arn: so to skip secret_id check: delegate parsing of arn to handlers. | CODE |
| LOW | …stack/services/sns/resource_providers/aws_sns_topic.py | 186 | # Check if TopicName has changed (requires recreation) | COMMENT |
| LOW | …calstack-core/localstack/services/dynamodb/provider.py | 906 | # Check if replicated region is valid | COMMENT |
| LOW | …stack-core/localstack/services/dynamodb/v2/provider.py | 714 | # Check if replicated region is valid | COMMENT |
| LOW | …lstack-core/localstack/services/transcribe/provider.py | 342 | # Check if file is valid wav | COMMENT |
| LOW | localstack-core/localstack/services/ec2/patches.py | 143 | # Check if custom id is unique within a given VPC | COMMENT |
| LOW | localstack-core/localstack/services/ec2/patches.py | 222 | # Check if custom id is unique | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/aws/test_service_router.py | 161 | "string": "dummy-value", | CODE |
| LOW | tests/aws/services/kinesis/test_kinesis.py | 831 | fake_name = "wrong-stream-name" | CODE |
| LOW | tests/aws/services/kinesis/test_kinesis.py | 833 | account_id=account_id, region_name=region_name, stream_name=fake_name | CODE |
| LOW | tests/aws/services/kms/test_kms.py | 511 | aws_client.kms.describe_key(KeyId="fake-key-id") | CODE |
| LOW | tests/aws/services/kms/test_kms.py | 523 | aws_client.kms.describe_key(KeyId="mrk-fake-key-id") | CODE |
| LOW | tests/aws/services/kms/test_kms.snapshot.json | 312 | "Message": "Invalid keyId 'fake-key-id'" | CODE |
| LOW | tests/aws/services/kms/test_kms.snapshot.json | 314 | "message": "Invalid keyId 'fake-key-id'", | CODE |
| LOW | tests/aws/services/kms/test_kms.snapshot.json | 334 | "Message": "Invalid keyId 'mrk-fake-key-id'" | CODE |
| LOW | tests/aws/services/kms/test_kms.snapshot.json | 336 | "message": "Invalid keyId 'mrk-fake-key-id'", | CODE |
| LOW | tests/aws/services/s3/test_s3_api.snapshot.json | 2195 | "Key": "<bucket:1>/fake-key", | CODE |
| LOW | tests/aws/services/s3/test_s3_api.snapshot.json | 2206 | "Key": "fake-key", | CODE |
| LOW | tests/aws/services/s3/test_s3_api.snapshot.json | 2217 | "Key": "fake-key", | CODE |
| LOW | tests/aws/services/s3/test_s3.snapshot.json | 2513 | "Body": "Lorem ipsum dolor sit amet, ... Lorem ipsum dolor sit amet, ... Lorem ipsum dolor sit amet, ... Lorem i | CODE |
| LOW | tests/aws/services/s3/test_s3.snapshot.json | 2513 | "Body": "Lorem ipsum dolor sit amet, ... Lorem ipsum dolor sit amet, ... Lorem ipsum dolor sit amet, ... Lorem i | CODE |
| LOW | tests/aws/services/s3/test_s3.snapshot.json | 2529 | "Body": "Lorem ipsum dolor", | CODE |
| LOW | tests/aws/services/s3/test_s3.snapshot.json | 2900 | "put-bucket-grant-acl-fake-key": { | CODE |
| LOW | tests/aws/services/s3/test_s3.snapshot.json | 4576 | "Message": "Invalid keyId 'fake-key-id'" | CODE |
| LOW | tests/aws/services/s3/test_s3.snapshot.json | 4626 | "Message": "Invalid keyId 'fake-key-id'" | CODE |
| LOW | tests/aws/services/s3/test_s3.snapshot.json | 4636 | "Message": "Invalid keyId 'fake-key-id'" | CODE |
| LOW | tests/aws/services/s3/test_s3.snapshot.json | 10865 | "put-object-grant-acl-fake-key": { | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1740 | fake_key = "fake-key" | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1742 | aws_client.s3.get_object_tagging(Bucket=fake_bucket, Key=fake_key) | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1746 | aws_client.s3.delete_object_tagging(Bucket=fake_bucket, Key=fake_key) | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1751 | Bucket=fake_bucket, Tagging={"TagSet": []}, Key=fake_key | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1756 | aws_client.s3.get_object_tagging(Bucket=s3_bucket, Key=fake_key) | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1760 | aws_client.s3.delete_object_tagging(Bucket=s3_bucket, Key=fake_key) | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1764 | aws_client.s3.put_object_tagging(Bucket=s3_bucket, Tagging={"TagSet": []}, Key=fake_key) | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1769 | aws_client.s3.put_object(Bucket=s3_bucket, Key=fake_key, Body="", Tagging=tagging) | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3_api.py | 1774 | aws_client.s3.put_object(Bucket=s3_bucket, Key=fake_key, Body="", Tagging=tagging) | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 966 | fake_key = "fake-key" | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 971 | Key=fake_key, | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 980 | Bucket=s3_bucket, Key=fake_key, UploadId=fake_upload_id | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 986 | Bucket=s3_bucket, Key=fake_key, UploadId=fake_upload_id | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 4563 | body = "Lorem ipsum dolor sit amet, ... " * 30 | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 4563 | body = "Lorem ipsum dolor sit amet, ... " * 30 | CODE |
| LOW | tests/aws/services/s3/test_s3.py | 2441 | snapshot.match("put-bucket-grant-acl-fake-key", e.value.response) | CODE |
| LOW | tests/aws/services/s3/test_s3.py | 2630 | snapshot.match("put-object-grant-acl-fake-key", e.value.response) | CODE |
| LOW | tests/aws/services/s3/test_s3.py | 4583 | body = "Lorem ipsum dolor sit amet, ... " * 30 | CODE |
| LOW | tests/aws/services/s3/test_s3.py | 4583 | body = "Lorem ipsum dolor sit amet, ... " * 30 | CODE |
| LOW | tests/aws/services/s3/test_s3.py | 9699 | Key="fake-key", | CODE |
| LOW | tests/aws/services/s3/test_s3.py | 10269 | Key="fake-key", | CODE |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 4903 | SSEKMSKeyId="fake-key-id", | STRING |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 4911 | SSEKMSKeyId="fake-key-id", | STRING |
| LOW⚡ | tests/aws/services/s3/test_s3.py | 4920 | SSEKMSKeyId="fake-key-id", | STRING |
| LOW | tests/aws/services/s3/test_s3.py | 4935 | SSEKMSKeyId="fake-key-id", | STRING |
| LOW | tests/aws/services/s3/test_s3.py | 4990 | SSEKMSKeyId="fake-key-id", | STRING |
| LOW | tests/aws/services/s3/test_s3.py | 5003 | SSEKMSKeyId="fake-key-id", | STRING |
| LOW | …s/aws/services/cloudformation/resources/test_lambda.py | 946 | "name": {"S": "John Doe"}, | CODE |
| LOW⚡ | tests/aws/services/apigateway/test_apigateway_api.py | 3503 | restApiId="wrong-api", resourceId="dummy-value", httpMethod="GET", statusCode="200" | STRING |
| LOW⚡ | tests/aws/services/apigateway/test_apigateway_api.py | 3509 | restApiId="wrong-api", resourceId="dummy-value", httpMethod="GET", statusCode="200" | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unit/services/kms/test_kms.py | 111 | # through dependency injection (e.g., by abstracting the KMS store), so that | COMMENT |
| MEDIUM | tests/unit/services/kms/test_kms.py | 141 | # through dependency injection (e.g., by abstracting the KMS store), so that | COMMENT |
| MEDIUM | tests/unit/services/kms/test_kms.py | 168 | # the store through dependency injection to isolate test concerns. | COMMENT |
| MEDIUM | …dk_templates/MythicalMisfits/MythicalMisfitsStack.json | 146 | "ZipFile": "# Source adapted from: https://github.com/aws-samples/aws-modern-application-workshop/blob/python- | CODE |
| MEDIUM | …thical_mysfits/artefacts/functions/stream_processor.py | 27 | # Directly fetch the data from the DynamoDB table as we don't have the Mysfits microservice yet | COMMENT |
| MEDIUM | …scenario/mythical_mysfits/stacks/mysfits_core_stack.py | 14 | # TODO: full Mysfits microservice with Fargate + NLB | COMMENT |
| MEDIUM | .github/bot_templates/ASF_UPGRADE_PR.md | 3 | It uses the latest code-generator from the _main_ branch ([scaffold.py](https://github.com/localstack/localstack/blob/ma | CODE |
| MEDIUM | localstack-core/localstack/aws/handlers/service.py | 287 | # FIXME: we should set the exception attributes in the scaffold when we generate the exceptions. | COMMENT |
| MEDIUM | localstack-core/localstack/services/lambda_/runtimes.py | 11 | # 1. Update botocore and generate the Lambda API stubs using `python3 -m localstack.aws.scaffold upgrade` | COMMENT |
| MEDIUM | …lstack/services/cloudformation/scaffolding/__main__.py | 35 | # increase when any major changes are done to the scaffolding, | COMMENT |
| MEDIUM | …lstack/services/cloudformation/scaffolding/__main__.py | 740 | # for Python files, use ruff to clean up formatting errors introduced by scaffolding | COMMENT |
| MEDIUM | …re/localstack/services/cloudformation/engine/schema.py | 6 | # TODO: unify with scaffolding | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/aws/services/s3/test_s3.py | 7965 | # assert that the regular Boto3 client does not work, and does not sign the parameter as requested | COMMENT |
| HIGH | tests/aws/services/s3/test_s3.py | 8008 | # assert that the regular Boto3 client does not work, and does not sign the parameter as requested | COMMENT |
| HIGH | localstack-core/localstack/testing/pytest/fixtures.py | 1768 | # by adding some CNAME records as requested by ASW in response to a certificate request. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/aws/services/s3/test_s3.py | 12568 | # assert that you can use different encryption keys for different versions | COMMENT |
| LOW | tests/aws/services/s3/test_s3.py | 2806 | # make sure to have a non created bucket, got some AccessDenied against AWS | COMMENT |
| MEDIUM | tests/aws/services/sns/test_sns.py | 4893 | # if the secondary region is already modified, you can use SECONDARY_TEST_AWS_PROFILE and similar | COMMENT |
| LOW | tests/aws/services/sns/test_sns.py | 3865 | # make sure to reset all received emails in SES | COMMENT |
| LOW | tests/aws/services/opensearch/test_opensearch.py | 609 | # make sure to close the connectio *after* we've called ``response.read()``. | COMMENT |
| LOW | …ithub/workflows/pr-welcome-first-time-contributors.yml | 20 | const prMessage = `Welcome to LocalStack! Thanks for raising your first Pull Request and landing in your contr | CODE |
| LOW⚡ | …ack-core/localstack/utils/kinesis/kinesis_connector.py | 243 | # make sure to convert stream ARN to stream name | COMMENT |
| MEDIUM⚡ | …lstack/services/s3/resource_providers/aws_s3_bucket.py | 597 | # you can use Amazon CloudFront [...]" | COMMENT |
| LOW | …k-core/localstack/services/cloudformation/api_utils.py | 150 | # note: make sure to normalize the bucket name here! | COMMENT |
| LOW | …core/localstack/services/cloudformation/v2/provider.py | 228 | # TODO: make sure to bring `_validate_config` from the base class when removing it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | localstack-core/localstack/utils/event_matcher.py | 14 | Match events based on configured rule engine. Note: Different services handle patterns/events differently: | STRING |
| HIGH | …stack/services/lambda_/invocation/executor_endpoint.py | 225 | Dispatches a Lambda invocation request to the specified container endpoint, with automatic retries in c | STRING |
| HIGH | …rvices/stepfunctions/local_mocking/mock_config_file.py | 95 | Load and cache the Step Functions mock configuration from a JSON file. This function is memoized using `functo | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …epfunctions/v2/test_state/test_test_state_scenarios.py | 342 | # Step 1 - Testing the Approval Required state | COMMENT |
| LOW | …epfunctions/v2/test_state/test_test_state_scenarios.py | 375 | # Step 2 - Testing the Approval Ask state | COMMENT |
| LOW | …epfunctions/v2/test_state/test_test_state_scenarios.py | 393 | # Step 3 - Testing the Check Approval state | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | localstack-core/localstack/services/sqs/query_api.py | 149 | def handle_request(request: Request, region: str) -> Response: | CODE |