A library that allows you to easily mock out tests based on AWS infrastructure.
This report presents the forensic synthetic code analysis of getmoto/moto, a Python project with 8,581 GitHub stars. SynthScan v2.0 examined 1,946,277 lines of code across 3116 source files, recording 12532 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 6.9 places this repository in the Low AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 12532 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_timestreamquery/test_timestreamquery.py | 16 | def test_create_scheduled_query(): | CODE |
| LOW | tests/test_timestreamquery/test_timestreamquery.py | 60 | def test_delete_scheduled_query(): | CODE |
| LOW | tests/test_timestreamquery/test_timestreamquery.py | 81 | def test_update_scheduled_query(): | CODE |
| LOW | tests/test_timestreamquery/test_timestreamquery.py | 102 | def test_query_default_results(): | CODE |
| LOW | tests/test_timestreamquery/test_timestreamquery.py | 112 | def test_query__configured_results(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 23 | def test_create_network_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 37 | def test_list_network_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 51 | def test_get_network_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 64 | def test_delete_network_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 78 | def test_create_browser_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 93 | def test_list_browser_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 107 | def test_get_browser_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 121 | def test_delete_browser_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 215 | def test_associate_browser_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 246 | def test_associate_network_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 276 | def test_create_user_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 325 | def test_delete_user_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 339 | def test_associate_user_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 368 | def test_create_user_access_logging_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 378 | def test_get_user_access_logging_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 394 | def test_list_user_access_logging_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 404 | def test_delete_user_access_logging_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 415 | def test_associate_user_access_logging_settings(): | CODE |
| LOW | tests/test_workspacesweb/test_workspacesweb.py | 443 | def test_list_tags_for_resource(): | CODE |
| LOW | …sts/test_ssm/test_ssm_parameterstore_cloudformation.py | 11 | def test_cloudformation_lifecycle(): | CODE |
| LOW | …sts/test_ssm/test_ssm_parameterstore_cloudformation.py | 79 | def test_cloudformation_lifecycle_with_parsing(): | CODE |
| LOW | tests/test_ssm/test_ssm_secretsmanager.py | 13 | def test_get_value_from_secrets_manager__by_name(): | CODE |
| LOW | tests/test_ssm/test_ssm_secretsmanager.py | 39 | def test_get_value_from_secrets_manager__without_decryption(): | CODE |
| LOW | tests/test_ssm/test_ssm_secretsmanager.py | 52 | def test_get_value_from_secrets_manager__with_decryption_false(): | CODE |
| LOW | tests/test_ssm/test_ssm_secretsmanager.py | 67 | def test_get_value_from_secrets_manager__by_id(): | CODE |
| LOW | tests/test_ssm/test_ssm_secretsmanager.py | 97 | def test_get_value_from_secrets_manager__by_version(): | CODE |
| LOW | tests/test_ssm/test_ssm_secretsmanager.py | 114 | def test_get_value_from_secrets_manager__param_does_not_exist(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 9 | def test_describe_maintenance_window(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 22 | def test_create_maintenance_windows_simple(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 54 | def test_create_maintenance_windows_advanced(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 91 | def test_get_maintenance_windows(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 126 | def test_describe_maintenance_windows(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 148 | def test_delete_maintenance_windows(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 232 | def test_register_maintenance_window_target(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 263 | def test_deregister_target_from_maintenance_window(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 294 | def test_describe_maintenance_window_with_no_task_or_targets(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 318 | def test_register_maintenance_window_task(): | CODE |
| LOW | tests/test_ssm/test_ssm_maintenance_windows.py | 361 | def test_deregister_maintenance_window_task(): | CODE |
| LOW | tests/test_ssm/test_ssm_cloudformation.py | 11 | def test_get_command_invocations_from_stack(): | CODE |
| LOW | tests/test_ssm/test_ssm_cloudformation.py | 129 | def get_ssm_document_template(document_name: str): | CODE |
| LOW | tests/test_ssm/test_ssm_patch_group.py | 13 | def test_register_patch_baseline_for_patch_group(): | CODE |
| LOW | tests/test_ssm/test_ssm_patch_group.py | 52 | def test_register_patch_baseline_for_patch_group_invalid_id(): | CODE |
| LOW | tests/test_ssm/test_ssm_patch_group.py | 66 | def test_register_patch_baseline_for_patch_group_already_exists(): | CODE |
| LOW | tests/test_ssm/test_ssm_patch_group.py | 118 | def test_get_patch_baseline_for_patch_group(): | CODE |
| LOW | tests/test_ssm/test_ssm_patch_group.py | 161 | def test_get_patch_baseline_for_patch_group_default(): | CODE |
| LOW | tests/test_ssm/test_ssm_patch_group.py | 178 | def test_deregister_patch_baseline_for_patch_group(): | CODE |
| LOW | tests/test_ssm/test_ssm_patch_group.py | 221 | def test_deregister_patch_baseline_for_patch_group_default(): | CODE |
| LOW | tests/test_ssm/test_ssm_patch_group.py | 237 | def test_deregister_patch_baseline_for_patch_group_invalid_id(): | CODE |
| LOW | tests/test_ssm/test_ssm_ec2_integration.py | 15 | def test_ssm_get_latest_ami_by_path(): | CODE |
| LOW | tests/test_ssm/test_ssm_docs.py | 22 | def _validate_document_description( | CODE |
| LOW | tests/test_ssm/test_ssm_docs.py | 463 | def test_update_document_default_version(): | CODE |
| LOW | tests/test_ssm/test_ssm_docs.py | 762 | def test_tags_in_list_tags_from_resource_document(): | CODE |
| LOW⚡ | tests/test_ssm/test_ssm.py | 1431 | def test_tags_invalid_resource_id(): | CODE |
| LOW⚡ | tests/test_ssm/test_ssm.py | 1440 | def test_tags_invalid_resource_type(): | CODE |
| LOW⚡ | tests/test_ssm/test_ssm.py | 1449 | def test_get_parameter_invalid(): | CODE |
| 10501 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/test_cognitoidp/test_cognitoidp.py | 91 | ) in moto.cognitoidp.models.CognitoIdpUserPoolAttribute.STANDARD_SCHEMA.items(): | CODE |
| CRITICAL | tests/test_acmpca/test_acmpca.py | 469 | private_key = cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key( | CODE |
| CRITICAL | tests/test_acmpca/test_acmpca.py | 660 | key = cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key( | CODE |
| CRITICAL | tests/test_acmpca/test_acmpca.py | 962 | private_key = cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key( | CODE |
| CRITICAL | tests/test_acmpca/test_acmpca.py | 1019 | private_key = cryptography.hazmat.primitives.asymmetric.rsa.generate_private_key( | CODE |
| CRITICAL | tests/test_s3/test_s3_acl.py | 91 | s3_anonymous.meta.client.meta.events.register("choose-signer.s3.*", disable_signing) | CODE |
| CRITICAL | tests/test_s3/test_s3_acl.py | 134 | s3_anonymous.meta.client.meta.events.register("choose-signer.s3.*", disable_signing) | CODE |
| CRITICAL | tests/test_s3/test_s3.py | 1067 | s3_anonymous.meta.client.meta.events.register("choose-signer.s3.*", disable_signing) | CODE |
| CRITICAL | moto/forecast/exceptions.py | 1 | from moto.core.exceptions import AWSError | CODE |
| CRITICAL | moto/timestreamwrite/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/codebuild/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/kinesis/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/pinpoint/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/shield/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/mediastoredata/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/servicecatalog/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/timestreaminfluxdb/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/lakeformation/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/secretsmanager/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/mediaconnect/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/kms/models.py | 10 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/kms/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/iotdata/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/quicksight/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/glue/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/servicequotas/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/personalize/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/networkmanager/exceptions.py | 5 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/mediapackage/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/datasync/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/fis/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/ds/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/cognitoidentity/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/config/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/osis/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/memorydb/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/vpclattice/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/wafv2/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/opensearch/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/cognitoidp/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/glacier/models.py | 7 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/bedrockagent/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/transfer/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/scheduler/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/resourcegroups/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/dynamodb/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/dynamodb/models/__init__.py | 8 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/resiliencehub/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/route53domains/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/macie2/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/applicationautoscaling/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/route53resolver/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/workspaces/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/fsx/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/codepipeline/exceptions.py | 1 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/servicecatalogappregistry/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/appmesh/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/iot/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/bedrock/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| CRITICAL | moto/cloudtrail/exceptions.py | 3 | from moto.core.exceptions import JsonRESTError | CODE |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_ssm/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 20 | # Define the approval rules for the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 36 | # Create the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 73 | # Define the approval rules for the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 89 | # Create the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 125 | # Define the approval rules for the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 141 | # Create the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 185 | # Define the approval rules for the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 201 | # Create the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 244 | # Define the approval rules for the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_group.py | 260 | # Create the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_baseline.py | 13 | # Define the approval rules for the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_baseline.py | 29 | # Create the patch baseline | COMMENT |
| MEDIUM | tests/test_ssm/test_ssm_patch_baseline.py | 65 | # Create the patch baseline | COMMENT |
| MEDIUM | tests/test_redshift/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_dynamodb_v20111205/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_dynamodbstreams/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_emr/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_logs/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_logs/test_logs.py | 446 | # Create the maximum number of resource policies. | COMMENT |
| MEDIUM | tests/test_logs/test_logs.py | 474 | # Create a bunch of resource policies so we can give delete a workout. | COMMENT |
| MEDIUM | tests/test_logs/test_logs.py | 507 | # Create the maximum number of resource policies so there's something | COMMENT |
| MEDIUM | tests/test_logs/test_integration.py | 276 | # Create a S3 bucket. | COMMENT |
| MEDIUM | tests/test_logs/test_integration.py | 281 | # Create the Firehose delivery stream that uses that S3 bucket as | COMMENT |
| MEDIUM | tests/test_logs/test_integration.py | 353 | # Create a DataStream | COMMENT |
| MEDIUM | tests/test_logs/test_integration.py | 409 | # Create a LogGroup in a different region | COMMENT |
| MEDIUM | tests/test_sns/test_application.py | 253 | # Creating a platform endpoint with different attributes fails | COMMENT |
| MEDIUM | tests/test_databrew/test_databrew_jobs.py | 191 | # Create the job | COMMENT |
| MEDIUM | tests/test_databrew/test_databrew_jobs.py | 212 | # Create the job | COMMENT |
| MEDIUM | tests/test_databrew/test_databrew_jobs.py | 257 | # Create the job | COMMENT |
| MEDIUM | …ourcegroupstaggingapi/test_resourcegroupstaggingapi.py | 541 | # Create a bot | COMMENT |
| MEDIUM | …ourcegroupstaggingapi/test_resourcegroupstaggingapi.py | 551 | # Create a bot alias with tags | COMMENT |
| MEDIUM | …taggingapi/test_resourcegroupstaggingapi_workspaces.py | 61 | # Create a tagged Workspace | COMMENT |
| MEDIUM | tests/test_kinesis/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_stepfunctions/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_identitystore/test_identitystore.py | 499 | # Create a bunch of groups | COMMENT |
| MEDIUM | tests/test_identitystore/test_identitystore.py | 612 | # Create a second test group to see if it is not returned | COMMENT |
| MEDIUM | tests/test_identitystore/test_identitystore.py | 808 | # Create a second user to see if it is not returned | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose_tags.py | 23 | # Create a delivery stream to work with. | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose_tags.py | 81 | # Create a delivery stream for testing purposes. | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose_tags.py | 142 | # Create a delivery stream for testing purposes. | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose_put.py | 111 | # Create a S3 bucket. | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose_integration.py | 11 | # Create a tagged delivery stream | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose.py | 98 | # Create a stream with the same name as an existing stream. | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose.py | 168 | # Create a couple of streams to test with. | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose.py | 362 | # Create a couple of streams of both types to test with. | COMMENT |
| MEDIUM | tests/test_firehose/test_firehose.py | 451 | # Create a delivery stream for testing purposes. | COMMENT |
| MEDIUM | tests/test_networkfirewall/test_networkfirewall.py | 51 | # Create a logging configuration | COMMENT |
| MEDIUM | tests/test_secretsmanager/test_server.py | 916 | # Create a new version | COMMENT |
| MEDIUM | tests/test_secretsmanager/test_server.py | 996 | # Create a new version | COMMENT |
| MEDIUM | tests/test_secretsmanager/test_secretsmanager.py | 1933 | # Create a third version with one of the old stages | STRING |
| MEDIUM | tests/test_datapipeline/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | tests/test_networkmanager/test_networkmanager.py | 48 | # Create a global network | COMMENT |
| MEDIUM | tests/test_glacier/__init__.py | 1 | # This file is intentionally left blank. | COMMENT |
| MEDIUM | …agedblockchain/test_managedblockchain_proposalvotes.py | 143 | # Create the member | COMMENT |
| MEDIUM | …agedblockchain/test_managedblockchain_proposalvotes.py | 223 | # Create the member | COMMENT |
| MEDIUM | …agedblockchain/test_managedblockchain_proposalvotes.py | 352 | # Create the member | COMMENT |
| MEDIUM | …agedblockchain/test_managedblockchain_proposalvotes.py | 576 | # Create the member | COMMENT |
| MEDIUM | …st_managedblockchain/test_managedblockchain_members.py | 52 | # Create the member | COMMENT |
| MEDIUM | …st_managedblockchain/test_managedblockchain_members.py | 144 | # Create the member | COMMENT |
| 254 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_iotdata/__init__.py | 2 | CODE | |
| LOW | tests/test_stepfunctions/parser/__init__.py | 2 | CODE | |
| LOW | tests/test_ec2/test_utils.py | 19 | CODE | |
| LOW | tests/test_efs/test_filesystem_policy.py | 4 | CODE | |
| LOW | tests/test_efs/test_mount_target.py | 10 | CODE | |
| LOW | tests/test_efs/test_mount_target.py | 10 | CODE | |
| LOW | tests/test_efs/test_filesystem_tagging.py | 1 | CODE | |
| LOW | tests/test_efs/test_file_system.py | 8 | CODE | |
| LOW | tests/test_efs/test_mount_target_security_groups.py | 4 | CODE | |
| LOW | tests/test_efs/test_mount_target_security_groups.py | 4 | CODE | |
| LOW | tests/test_efs/test_lifecycle_config.py | 4 | CODE | |
| LOW | tests/test_efs/test_access_points.py | 6 | CODE | |
| LOW | tests/test_efs/test_access_point_tagging.py | 3 | CODE | |
| LOW | moto/server.py | 10 | CODE | |
| LOW | moto/__init__.py | 1 | CODE | |
| LOW | moto/backends.py | 9 | CODE | |
| LOW | moto/backends.py | 11 | CODE | |
| LOW | moto/backends.py | 12 | CODE | |
| LOW | moto/backends.py | 13 | CODE | |
| LOW | moto/backends.py | 14 | CODE | |
| LOW | moto/backends.py | 15 | CODE | |
| LOW | moto/backends.py | 16 | CODE | |
| LOW | moto/backends.py | 17 | CODE | |
| LOW | moto/backends.py | 18 | CODE | |
| LOW | moto/backends.py | 19 | CODE | |
| LOW | moto/backends.py | 20 | CODE | |
| LOW | moto/backends.py | 21 | CODE | |
| LOW | moto/backends.py | 22 | CODE | |
| LOW | moto/backends.py | 23 | CODE | |
| LOW | moto/backends.py | 24 | CODE | |
| LOW | moto/backends.py | 25 | CODE | |
| LOW | moto/backends.py | 26 | CODE | |
| LOW | moto/backends.py | 27 | CODE | |
| LOW | moto/backends.py | 28 | CODE | |
| LOW | moto/backends.py | 29 | CODE | |
| LOW | moto/backends.py | 30 | CODE | |
| LOW | moto/backends.py | 31 | CODE | |
| LOW | moto/backends.py | 32 | CODE | |
| LOW | moto/backends.py | 33 | CODE | |
| LOW | moto/backends.py | 34 | CODE | |
| LOW | moto/backends.py | 35 | CODE | |
| LOW | moto/backends.py | 36 | CODE | |
| LOW | moto/backends.py | 37 | CODE | |
| LOW | moto/backends.py | 38 | CODE | |
| LOW | moto/backends.py | 39 | CODE | |
| LOW | moto/backends.py | 40 | CODE | |
| LOW | moto/backends.py | 41 | CODE | |
| LOW | moto/backends.py | 42 | CODE | |
| LOW | moto/backends.py | 43 | CODE | |
| LOW | moto/backends.py | 44 | CODE | |
| LOW | moto/backends.py | 45 | CODE | |
| LOW | moto/backends.py | 46 | CODE | |
| LOW | moto/backends.py | 46 | CODE | |
| LOW | moto/backends.py | 47 | CODE | |
| LOW | moto/backends.py | 48 | CODE | |
| LOW | moto/backends.py | 49 | CODE | |
| LOW | moto/backends.py | 50 | CODE | |
| LOW | moto/backends.py | 51 | CODE | |
| LOW | moto/backends.py | 52 | CODE | |
| LOW | moto/backends.py | 53 | CODE | |
| 441 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | setup.py | 18 | CODE | |
| LOW | tests/test_awslambda/utilities.py | 181 | CODE | |
| LOW | tests/test_databrew/test_databrew_datasets.py | 16 | CODE | |
| LOW | tests/test_stepfunctions/parser/__init__.py | 53 | CODE | |
| LOW | tests/test_batch/test_utils.py | 62 | CODE | |
| LOW | tests/test_eks/test_eks.py | 815 | CODE | |
| LOW | tests/test_events/test_events.py | 66 | CODE | |
| LOW | …/test_cloudformation/test_cloudformation_stack_crud.py | 2371 | CODE | |
| LOW | tests/test_core/test_protocols.py | 35 | CODE | |
| LOW | tests/test_s3/test_s3_lifecycle.py | 516 | CODE | |
| LOW | tests/test_rds/test_rds_proxy_target_groups.py | 99 | CODE | |
| LOW | tests/test_ec2/test_security_groups.py | 1359 | CODE | |
| LOW | tests/test_ec2/__init__.py | 253 | CODE | |
| LOW | moto/codebuild/models.py | 208 | CODE | |
| LOW | moto/kinesis/utils.py | 22 | CODE | |
| LOW | moto/organizations/models.py | 246 | CODE | |
| LOW | moto/organizations/models.py | 747 | CODE | |
| LOW | moto/organizations/models.py | 801 | CODE | |
| LOW | moto/organizations/models.py | 1019 | CODE | |
| LOW | moto/ssm/models.py | 991 | CODE | |
| LOW | moto/ssm/models.py | 476 | CODE | |
| LOW | moto/ssm/models.py | 601 | CODE | |
| LOW | moto/ssm/models.py | 1671 | CODE | |
| LOW | moto/ssm/models.py | 1712 | CODE | |
| LOW | moto/ssm/models.py | 1874 | CODE | |
| LOW | moto/ssm/models.py | 1969 | CODE | |
| LOW | moto/ssm/models.py | 2052 | CODE | |
| LOW | moto/ssm/models.py | 2089 | CODE | |
| LOW | moto/ssm/models.py | 2347 | CODE | |
| LOW | moto/servicecatalog/models.py | 173 | CODE | |
| LOW | moto/servicecatalog/models.py | 303 | CODE | |
| LOW | moto/lakeformation/models.py | 349 | CODE | |
| LOW | moto/lakeformation/models.py | 370 | CODE | |
| LOW | moto/secretsmanager/models.py | 503 | CODE | |
| LOW | moto/secretsmanager/models.py | 1131 | CODE | |
| LOW | moto/kms/models.py | 252 | CODE | |
| LOW | moto/kms/utils.py | 297 | CODE | |
| LOW | moto/kms/utils.py | 191 | CODE | |
| LOW | moto/cloudwatch/responses.py | 127 | CODE | |
| LOW | moto/cloudwatch/models.py | 645 | CODE | |
| LOW | moto/glue/models.py | 497 | CODE | |
| LOW | moto/glue/models.py | 831 | CODE | |
| LOW | moto/glue/models.py | 904 | CODE | |
| LOW | moto/glue/models.py | 1123 | CODE | |
| LOW | moto/glue/models.py | 1135 | CODE | |
| LOW | moto/glue/models.py | 1933 | CODE | |
| LOW | moto/s3/responses.py | 421 | CODE | |
| LOW | moto/s3/responses.py | 573 | CODE | |
| LOW | moto/s3/responses.py | 618 | CODE | |
| LOW | moto/s3/responses.py | 968 | CODE | |
| LOW | moto/s3/responses.py | 1216 | CODE | |
| LOW | moto/s3/responses.py | 1551 | CODE | |
| LOW | moto/s3/responses.py | 1882 | CODE | |
| LOW | moto/s3/responses.py | 2602 | CODE | |
| LOW | moto/s3/responses.py | 2844 | CODE | |
| LOW | moto/s3/responses.py | 2956 | CODE | |
| LOW | moto/s3/models.py | 702 | CODE | |
| LOW | moto/s3/models.py | 657 | CODE | |
| LOW | moto/s3/models.py | 1162 | CODE | |
| LOW | moto/s3/models.py | 1390 | CODE | |
| 356 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_awslambda/test_lambda.py | 1718 | except Exception: | CODE |
| LOW | tests/test_stepfunctions/parser/__init__.py | 82 | except Exception: | CODE |
| LOW | tests/test_stepfunctions/parser/__init__.py | 98 | except Exception as e: | CODE |
| LOW | tests/test_secretsmanager/test_secretsmanager.py | 1217 | except Exception as e: | CODE |
| LOW | tests/test_glacier/test_glacier_jobs.py | 122 | except Exception: | CODE |
| LOW | tests/test_core/test_importorder.py | 137 | except Exception as e: | CODE |
| LOW | tests/test_dynamodb/test_dynamodb_batch_write.py | 77 | except Exception as e: | CODE |
| LOW | moto/server.py | 66 | except Exception: | CODE |
| LOW | moto/proxy.py | 82 | except Exception: | CODE |
| LOW⚡ | moto/settings.py | 176 | except Exception as e: # noqa | CODE |
| MEDIUM | moto/settings.py | 161 | def get_docker_host() -> str: | CODE |
| LOW | moto/secretsmanager/models.py | 938 | except Exception: | CODE |
| LOW | moto/kms/utils.py | 418 | except Exception: | CODE |
| LOW | moto/kms/utils.py | 439 | except Exception: | CODE |
| LOW | moto/core/responses.py | 590 | except Exception: # Will just ignore if it cant work | CODE |
| LOW | moto/sns/models.py | 1201 | except Exception as e: | STRING |
| LOW | moto/config/models.py | 692 | except Exception: | CODE |
| LOW | moto/ecr/policy_validation.py | 41 | except Exception: | CODE |
| LOW | moto/ecr/policy_validation.py | 53 | except Exception: | CODE |
| MEDIUM | moto/ecr/policy_validation.py | 38 | def validate(self) -> None: | CODE |
| LOW | moto/dynamodb/models/table_export.py | 58 | except Exception as e: | CODE |
| MEDIUM | moto/dynamodb/models/table_export.py | 43 | def run(self) -> None: | CODE |
| LOW⚡ | moto/dynamodb/models/__init__.py | 708 | except Exception as e: # noqa: E722 Do not use bare except | CODE |
| LOW | moto/dynamodb/models/__init__.py | 963 | except Exception as e: | CODE |
| LOW | moto/dynamodb/models/table_import.py | 70 | except Exception as e: | CODE |
| LOW | moto/dynamodb/models/table_import.py | 119 | except Exception as e: | CODE |
| LOW | moto/cloudtrail/models.py | 142 | except Exception: | CODE |
| LOW | moto/cloudtrail/models.py | 154 | except Exception: | CODE |
| LOW | moto/awslambda/models.py | 289 | except Exception: | CODE |
| LOW | moto/awslambda/models.py | 975 | except Exception: | CODE |
| LOW | moto/iam/models.py | 2743 | except Exception: | CODE |
| MEDIUM | moto/iam/policy_validation.py | 100 | def validate(self) -> None: | CODE |
| LOW⚡ | moto/iam/policy_validation.py | 103 | except Exception: | CODE |
| LOW⚡ | moto/iam/policy_validation.py | 107 | except Exception: | CODE |
| LOW⚡ | moto/iam/policy_validation.py | 115 | except Exception: | CODE |
| LOW⚡ | moto/iam/policy_validation.py | 119 | except Exception: | CODE |
| LOW⚡ | moto/iam/policy_validation.py | 125 | except Exception: | CODE |
| LOW⚡ | moto/iam/policy_validation.py | 576 | except Exception: | CODE |
| LOW⚡ | moto/iam/policy_validation.py | 583 | except Exception: | CODE |
| LOW | moto/iam/policy_validation.py | 555 | except Exception: | CODE |
| LOW | moto/logs/models.py | 282 | except Exception: | CODE |
| LOW | moto/logs/models.py | 1394 | except Exception: | CODE |
| LOW | moto/logs/models.py | 1418 | except Exception: | CODE |
| LOW | moto/batch/models.py | 1053 | except Exception as err: | CODE |
| LOW | moto/batch/models.py | 1060 | except Exception as err: | CODE |
| LOW | moto/batch/models.py | 1705 | except Exception: | CODE |
| LOW | moto/batch/models.py | 1784 | except Exception: | CODE |
| LOW | moto/packages/cfnresponse/cfnresponse.py | 57 | except Exception as e: | CODE |
| LOW | moto/mq/models.py | 50 | except Exception: | CODE |
| MEDIUM | moto/mq/models.py | 42 | def has_ldap_auth(self) -> bool: | CODE |
| LOW | moto/firehose/models.py | 444 | except Exception as exc: | CODE |
| LOW | moto/firehose/models.py | 489 | except Exception as exc: | CODE |
| LOW | moto/ses/models.py | 999 | except Exception: | CODE |
| LOW | moto/ses/models.py | 1021 | except Exception: | CODE |
| LOW | moto/ses/models.py | 1035 | except Exception: | CODE |
| LOW | moto/events/models.py | 1089 | except Exception: | CODE |
| LOW | moto/elbv2/models.py | 1751 | except Exception: | CODE |
| LOW | moto/securityhub/models.py | 190 | except Exception as e: | CODE |
| LOW | moto/securityhub/models.py | 409 | except Exception: | CODE |
| LOW | moto/securityhub/models.py | 437 | except Exception: | CODE |
| 75 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_sns/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_iotdata/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_cloudwatch/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_stepfunctions/parser/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_secretsmanager/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_iam/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_ec2/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_elbv2/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_awslambda/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | …ctions/parser/test_stepfunctions_lambda_integration.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | …ions/parser/test_stepfunctions_dynamodb_integration.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_s3vectors/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_sqs/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_cognitoidp/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_s3/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_dynamodb/__init__.py | 0 | function that is verified to work against aws. can be run against aws at any time by setting: moto_test_allow_aws_reques | STRING |
| HIGH | tests/test_ds/test_ds_simple_ad_directory.py | 0 | test creation of microsoft ad directory using good arguments. | STRING |
| HIGH | tests/test_ds/test_ds_ad_connect.py | 0 | test creation of microsoft ad directory using good arguments. | STRING |
| HIGH | tests/test_ds/test_ds_microsoft_ad.py | 0 | test creation of microsoft ad directory using good arguments. | STRING |
| HIGH | tests/test_ds/test_ds_ad_connect.py | 0 | test good and bad invocations of describe_directories(). | STRING |
| HIGH | tests/test_ds/test_ds.py | 0 | test good and bad invocations of describe_directories(). | STRING |
| HIGH | tests/test_ds/test_ds_microsoft_ad.py | 0 | test good and bad invocations of describe_directories(). | STRING |
| HIGH | moto/s3/models.py | 0 | list of dicts representing default vpc endpoints for this service. | STRING |
| HIGH | moto/core/base_backend.py | 0 | list of dicts representing default vpc endpoints for this service. | STRING |
| HIGH | moto/route53resolver/models.py | 0 | list of dicts representing default vpc endpoints for this service. | STRING |
| HIGH | moto/elb/models.py | 0 | not exposed as part of the elb api - used for cloudformation. | STRING |
| HIGH | moto/elbv2/models.py | 0 | not exposed as part of the elb api - used for cloudformation. | STRING |
| HIGH | moto/ec2/models/security_groups.py | 0 | not exposed as part of the elb api - used for cloudformation. | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | update_version_from_git.py | 21 | git symbolic-ref -q --short HEAD || git describe --tags --exact-match | STRING |
| HIGH | tests/test_awslambda/test_lambda.py | 340 | "[x86_64, arm64], Member must not be null]" | CODE |
| HIGH | tests/test_wafv2/test_wafv2_rules.py | 319 | == "Critical information is missing in your request: GetRuleGroupRequest(name=test-group, scope=null, id=null, a | CODE |
| HIGH | tests/test_config/test_config_rules.py | 134 | bad_json_string = "{'name': 'test', 'type': null, }" | CODE |
| HIGH | tests/test_batch/test_batch_jobs.py | 377 | commands = ["sh", "-c", "echo start && sleep 30 && echo stop"] | CODE |
| HIGH | tests/test_glue/test_schema_registry.py | 643 | == f"Compatibility DISABLED does not allow versioning. SchemaId: SchemaId(schemaArn=null, schemaName={TEST_SCHEM | CODE |
| HIGH | tests/test_s3/test_s3_select.py | 91 | assert {"Records": {"Payload": b'{"a1":"b1","a2":"b2","a3":null},'}} in result | CODE |
| HIGH | tests/test_route53/test_route53.py | 1218 | == "Invalid request: Expected exactly one of [AliasTarget, all of [TTL, and ResourceRecords], or TrafficPolicyIn | CODE |
| HIGH | tests/test_swf/test_exceptions.py | 158 | r"failed to satisfy constraint: Member must not be null;", | CODE |
| HIGH | moto/settings.py | 56 | returned. Default value is SUCCESS, currently supports (SUCCESS || FAILURE) | STRING |
| HIGH | moto/settings.py | 88 | # True by default - only the value 'false' will return false | COMMENT |
| HIGH | moto/settings.py | 93 | # True by default - only the value 'false' will return false | COMMENT |
| HIGH | moto/codebuild/models.py | 79 | "deepLink": "https://console.aws.amazon.com/cloudwatch/home?region=eu-west-2#logEvent:group=null;stream=null | CODE |
| HIGH | moto/glue/utils.py | 504 | (ident + is_ + null).set_parse_action(_IsNull) | CODE |
| HIGH | moto/glue/utils.py | 505 | | (ident + is_ + not_ + null).set_parse_action(_IsNotNull) | CODE |
| HIGH | moto/glue/exceptions.py | 87 | f"Schema is not found. RegistryName: {registry_name if registry_name else null}, SchemaName: {schema_name if | CODE |
| HIGH | moto/glue/exceptions.py | 103 | f"Schema version is not found. RegistryName: {registry_name if registry_name else null}, SchemaName: {schema | CODE |
| HIGH | moto/glue/exceptions.py | 306 | f"Compatibility DISABLED does not allow versioning. SchemaId: SchemaId(schemaArn={schema_arn if schema_arn e | CODE |
| HIGH | moto/transfer/types.py | 13 | responses rather than returning them as null, so the serialized model must | STRING |
| HIGH⚡ | moto/ecr/models.py | 1456 | # If imageTagMutabilityExclusionFilters isn't null, then imageTagMutability can only be the _EXCLUSION variant | COMMENT |
| HIGH⚡ | moto/ecr/models.py | 1466 | # If it is null, then imageTagMutability cannot be the _EXCLUSION variant | COMMENT |
| HIGH | moto/awslambda/models.py | 725 | "[Member must satisfy enum value set: [x86_64, arm64], Member must not be null]", | CODE |
| HIGH | moto/firehose/models.py | 76 | # If the destination config value is non-null, save it. | COMMENT |
| HIGH | moto/stepfunctions/parser/asl/jsonata/validations.py | 47 | cause=f"The JSONata expression '{expression}' returned nothing (undefined).", | CODE |
| HIGH | …tate/exec/state_task/service/state_task_service_sns.py | 70 | f"Proxy: null)" | CODE |
| HIGH | moto/acm/models.py | 615 | if arn and self._certificates[arn].tags.equals(tags): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_core/test_docker.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/test_rds/test_rds_blue_green_deployment.py | 786 | def update_status_from_create_blue_green_response(bg_response: dict) -> None: | CODE |
| LOW | moto/kinesis/models.py | 330 | def update_shard_count(self, target_shard_count: int) -> None: | CODE |
| LOW | moto/kinesis/models.py | 990 | def update_stream_mode(self, stream_arn: str, stream_mode: dict[str, str]) -> None: | CODE |
| LOW | moto/secretsmanager/models.py | 181 | def set_default_version_id(self, version_id: str | None) -> None: | CODE |
| LOW | moto/kms/models.py | 446 | def update_key_description(self, key_id: str, description: str) -> None: | CODE |
| LOW | moto/cloudwatch/models.py | 185 | def update_state(self, reason: str, reason_data: str, state_value: str) -> None: | CODE |
| LOW⚡ | moto/glue/models.py | 2254 | def update_next_schema_version(self) -> None: | CODE |
| LOW⚡ | moto/glue/models.py | 2257 | def update_latest_schema_version(self) -> None: | CODE |
| LOW | moto/glue/models.py | 1784 | def update_partition(self, old_values: str, partiton_input: dict[str, Any]) -> None: | CODE |
| LOW⚡ | moto/s3/models.py | 257 | def set_storage_class(self, storage: str | None) -> None: | CODE |
| LOW⚡ | moto/s3/models.py | 262 | def set_expiry(self, expiry: datetime.datetime | None) -> None: | CODE |
| LOW⚡ | moto/s3/models.py | 265 | def set_acl(self, acl: FakeAcl | None) -> None: | CODE |
| LOW | moto/s3/models.py | 244 | def set_metadata(self, metadata: Any, replace: bool = False) -> None: | CODE |
| LOW | moto/s3/models.py | 1162 | def set_lifecycle(self, rules: list[dict[str, Any]]) -> None: | CODE |
| LOW | moto/s3/models.py | 1314 | def set_cors(self, rules: list[dict[str, Any]]) -> None: | CODE |
| LOW | moto/s3/models.py | 1469 | def set_accelerate_configuration(self, accelerate_config: str) -> None: | CODE |
| LOW | moto/s3/models.py | 1501 | def set_acl(self, acl: FakeAcl | None) -> None: | CODE |
| LOW⚡ | moto/emr/models.py | 708 | def set_termination_protection(self, value: bool) -> None: | CODE |
| LOW⚡ | moto/emr/models.py | 711 | def set_visibility(self, visibility: bool) -> None: | CODE |
| LOW | moto/emr/models.py | 167 | def set_instance_count(self, instance_count: int) -> None: | CODE |
| LOW | moto/emr/models.py | 1069 | def set_termination_protection(self, job_flow_ids: list[str], value: bool) -> None: | CODE |
| LOW | moto/networkmanager/models.py | 275 | def update_resource_state(self, resource_arn: str, state: str) -> None: | CODE |
| LOW | moto/core/utils.py | 504 | def set_value(obj: Any, key: str, value: Any) -> None: | CODE |
| LOW | moto/core/utils.py | 517 | def _set_value_for_key(obj: Any, key: str, value: Any) -> None: | CODE |
| LOW | moto/sns/models.py | 547 | def set_sms_attributes(self, attrs: dict[str, str]) -> None: | STRING |
| LOW | moto/sns/models.py | 899 | def set_subscription_attributes(self, arn: str, name: str, value: Any) -> None: | STRING |
| LOW | moto/datasync/models.py | 174 | def update_task(self, task_arn: str, name: str, metadata: dict[str, Any]) -> None: | CODE |
| LOW | moto/ds/models.py | 233 | def update_alias(self, alias: str) -> None: | CODE |
| LOW | moto/osis/models.py | 175 | def set_last_updated(self) -> None: | CODE |
| LOW | moto/s3control/models.py | 80 | def set_policy(self, policy: str) -> None: | CODE |
| LOW | moto/s3control/models.py | 107 | def set_policy(self, policy: str) -> None: | CODE |
| LOW | moto/synthetics/__init__.py | 7 | __all__ = ["synthetics_backends"] | CODE |
| LOW | moto/cognitoidp/responses.py | 88 | def update_user_pool(self) -> None: | CODE |
| LOW | moto/cognitoidp/models.py | 467 | def update_extended_config(self, extended_config: dict[str, Any]) -> None: | CODE |
| LOW | moto/cognitoidp/models.py | 913 | def update_attributes(self, new_attributes: list[dict[str, Any]]) -> None: | CODE |
| LOW | moto/moto_api/_internal/state_manager.py | 20 | def set_transition(self, model_name: str, transition: dict[str, Any]) -> None: | CODE |
| LOW | moto/moto_api/_internal/models.py | 28 | def set_transition(self, model_name: str, transition: dict[str, Any]) -> None: | CODE |
| LOW | moto/moto_api/_internal/models.py | 51 | def set_ce_cost_usage(self, result: dict[str, Any], account_id: str) -> None: | CODE |
| LOW | moto/moto_api/_internal/models.py | 182 | def set_config(self, config: dict[str, Any]) -> None: | CODE |
| LOW | moto/ecr/models.py | 429 | def update_tag(self, tag: str) -> None: | CODE |
| LOW | moto/dynamodb/models/__init__.py | 578 | def update_time_to_live(self, table_name: str, ttl_spec: dict[str, Any]) -> None: | CODE |
| LOW | moto/dynamodb/models/dynamo_type.py | 416 | def update_with_attribute_updates(self, attribute_updates: dict[str, Any]) -> None: | CODE |
| LOW | moto/dynamodb/models/table.py | 461 | def set_stream_specification(self, streams: dict[str, Any] | None) -> None: | CODE |
| LOW | moto/dynamodb/parsing/expressions.py | 35 | logger = logging.getLogger(__name__) | CODE |
| LOW | moto/route53resolver/models.py | 299 | def update_name(self, name: str) -> None: | CODE |
| LOW | moto/sqs/models.py | 127 | def update_binary_length_and_value(md5: Any, value: bytes) -> None: # type: ignore[misc] | CODE |
| LOW | moto/sqs/models.py | 367 | def _setup_dlq(self, policy: Any) -> None: | CODE |
| LOW | moto/appmesh/dataclasses/shared.py | 21 | def update_timestamp(self) -> None: | CODE |
| LOW | moto/iot/models.py | 1981 | def update_certificate(self, certificate_id: str, new_status: str) -> None: | CODE |
| LOW | moto/iot/models.py | 2077 | def set_default_policy_version(self, policy_name: str, version_id: str) -> None: | CODE |
| LOW | moto/awslambda/models.py | 77 | logger = logging.getLogger(__name__) | CODE |
| LOW | moto/awslambda/models.py | 703 | def set_version(self, version: int) -> None: | CODE |
| LOW | moto/awslambda/models.py | 872 | def _set_function_code(self, updated_spec: dict[str, Any]) -> None: | CODE |
| LOW | moto/iam/models.py | 185 | def update_default_version(self, new_default_version_id: str) -> None: | CODE |
| LOW | moto/iam/models.py | 1476 | def update_ssh_public_key(self, ssh_public_key_id: str, status: str) -> None: | CODE |
| LOW | moto/iam/models.py | 2220 | def update_assume_role_policy(self, role_name: str, policy_document: str) -> None: | CODE |
| LOW | moto/logs/models.py | 628 | def set_retention_policy(self, retention_in_days: str | None) -> None: | CODE |
| LOW | moto/amp/models.py | 111 | def update_workspace_alias(self, alias: str, workspace_id: str) -> None: | CODE |
| LOW | moto/batch/models.py | 41 | logger = logging.getLogger(__name__) | CODE |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_textract/test_textract.py | 126 | # Check if notification was sent to SQS | COMMENT |
| LOW⚡ | tests/test_secretsmanager/test_secretsmanager.py | 1949 | # Check if indeed the third version is returned | STRING |
| LOW⚡ | tests/test_secretsmanager/test_secretsmanager.py | 1954 | # Check if all the versions have the proper labels | STRING |
| LOW | tests/test_iot/test_iot.py | 170 | # Verify if Principal is correct. | COMMENT |
| LOW | tests/test_iam/test_iam_signing_certificates.py | 115 | # Set Certificate to Inactive | COMMENT |
| LOW | tests/test_route53resolver/test_route53resolver_rule.py | 408 | # Set max_results to return 1 rule, use next_token to get remaining 3. | COMMENT |
| LOW | …te53resolver/test_route53resolver_rule_associations.py | 274 | # Set max_results to return 1 association, use next_token to get | COMMENT |
| LOW | …/test_route53resolver/test_route53resolver_endpoint.py | 597 | # Set max_results to return 1 address, use next_token to get remaining. | COMMENT |
| LOW | …/test_route53resolver/test_route53resolver_endpoint.py | 673 | # Set max_results to return 1 endpoint, use next_token to get remaining 3. | COMMENT |
| LOW | tests/test_s3/test_s3_lambda_integration.py | 312 | # Set S3 to send ObjectCreated to SNS | COMMENT |
| LOW | tests/test_s3/test_s3_lambda_integration.py | 437 | # Set S3 to send ObjectCreated to SNS | COMMENT |
| LOW | tests/test_ec2/test_instances.py | 1127 | # Set back to true | COMMENT |
| LOW | moto/secretsmanager/models.py | 659 | # Check if the secret_string/secret_binary values corresponding to this version matches that of the current requ | COMMENT |
| LOW | moto/s3/responses.py | 2264 | # Check if the ETags are the same. S3 doesn't seem to care about quotes, so we shouldn't either | COMMENT |
| LOW | moto/s3/responses.py | 3063 | # Check if the ETags are the same. S3 doesn't seem to care about quotes, so we shouldn't either | COMMENT |
| LOW | moto/networkmanager/models.py | 325 | # Check if core network exists | COMMENT |
| LOW | moto/core/models.py | 158 | # Check if this is a classmethod. If so, skip patching | COMMENT |
| LOW | moto/core/models.py | 162 | # Check if this is a staticmethod. If so, skip patching | COMMENT |
| LOW | moto/core/models.py | 287 | # Check if our event handler was already registered | COMMENT |
| LOW⚡ | moto/config/models.py | 1435 | # Check if a channel is recording -- if so, bad -- (there can only be 1 recorder): | COMMENT |
| LOW | moto/kinesisanalyticsv2/models.py | 227 | # Check if the current key is in key_map, else keep old_key | COMMENT |
| LOW | moto/dynamodb/parsing/key_condition_expression.py | 285 | # Check if any later range keys ARE in the query (would be skipping) | COMMENT |
| LOW | moto/workspaces/models.py | 568 | # Check if workspace exists. | COMMENT |
| LOW | moto/workspaces/models.py | 573 | # Check if image name already exists. | COMMENT |
| LOW | moto/appsync/models.py | 670 | # Check if API exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 439 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 445 | # Check if member exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 491 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 508 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 526 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 555 | # Check if IN_PROGRESS | COMMENT |
| LOW | moto/managedblockchain/models.py | 594 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 626 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 681 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 694 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 714 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 746 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 767 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 861 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 880 | # Check if network exists | COMMENT |
| LOW | moto/managedblockchain/models.py | 903 | # Check if network exists | COMMENT |
| LOW | moto/servicediscovery/models.py | 561 | # Add instance to the list if it passed all filters | COMMENT |
| LOW | moto/acmpca/models.py | 463 | # Check if the certificate is revoked | COMMENT |
| LOW⚡ | moto/acmpca/models.py | 487 | # Check if CA is active | COMMENT |
| LOW | moto/ses/models.py | 909 | # Check if original_rule_set_name exists | COMMENT |
| LOW | moto/ses/models.py | 915 | # Check if rule_set_name already exists | COMMENT |
| LOW | moto/moto_proxy/certificate_creator.py | 72 | # Verify if the certificate already exists | COMMENT |
| LOW | moto/cloudformation/parsing.py | 456 | # Check if we are referencing another Condition | COMMENT |
| LOW | moto/cloudformation/parsing.py | 685 | # Check if there are any non-default params that were not passed input | COMMENT |
| LOW | moto/ec2/models/instances.py | 119 | # Check if we have tags to process | COMMENT |
| LOW | moto/ec2/models/vpcs.py | 700 | # Check if current cidr block doesn't fall within the 10.0.0.0/8 block, excluding 10.0.0.0/16 and 10.1.0.0/16. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_cloudwatch/test_cloudwatch.py | 1049 | CODE | |
| LOW | tests/test_cognitoidp/__init__.py | 12 | CODE | |
| LOW | tests/test_sagemaker/test_sagemaker_training.py | 16 | CODE | |
| LOW | tests/test_sagemaker/test_sagemaker_processing.py | 24 | CODE | |
| LOW | tests/test_sagemaker/test_sagemaker_transform.py | 16 | CODE | |
| LOW | tests/test_apigateway/test_apigateway_validators.py | 149 | CODE | |
| LOW | tests/test_dynamodb/__init__.py | 10 | CODE | |
| LOW | tests/test_ec2/__init__.py | 26 | CODE | |
| LOW | moto/codebuild/models.py | 95 | CODE | |
| LOW | moto/ssm/models.py | 766 | CODE | |
| LOW | moto/timestreaminfluxdb/models.py | 107 | CODE | |
| LOW | moto/timestreaminfluxdb/models.py | 485 | CODE | |
| LOW | moto/secretsmanager/models.py | 79 | CODE | |
| LOW | moto/secretsmanager/models.py | 683 | CODE | |
| LOW | moto/secretsmanager/models.py | 749 | CODE | |
| LOW | moto/cloudwatch/models.py | 534 | CODE | |
| LOW | moto/glue/models.py | 69 | CODE | |
| LOW | moto/glue/models.py | 1278 | CODE | |
| LOW | moto/glue/models.py | 1480 | CODE | |
| LOW | moto/glue/models.py | 2133 | CODE | |
| LOW | moto/s3/models.py | 121 | CODE | |
| LOW | moto/s3/models.py | 828 | CODE | |
| LOW | moto/s3/models.py | 2290 | CODE | |
| LOW | moto/s3/models.py | 3047 | CODE | |
| LOW | moto/emr/models.py | 374 | CODE | |
| LOW | moto/dynamodb/models/table.py | 253 | CODE | |
| LOW | moto/route53domains/validators.py | 701 | CODE | |
| LOW | moto/route53domains/validators.py | 735 | CODE | |
| LOW | moto/route53domains/validators.py | 958 | CODE | |
| LOW | moto/applicationautoscaling/responses.py | 249 | CODE | |
| LOW | moto/ecs/models.py | 132 | CODE | |
| LOW | moto/ecs/models.py | 473 | CODE | |
| LOW | moto/ecs/models.py | 848 | CODE | |
| LOW | moto/ecs/models.py | 1112 | CODE | |
| LOW | moto/ecs/models.py | 1598 | CODE | |
| LOW | moto/ecs/models.py | 2154 | CODE | |
| LOW | moto/pipes/models.py | 48 | CODE | |
| LOW | moto/eks/models.py | 193 | CODE | |
| LOW | moto/eks/models.py | 389 | CODE | |
| LOW | moto/apigatewayv2/models.py | 770 | CODE | |
| LOW | moto/kafka/models.py | 18 | CODE | |
| LOW | moto/kafka/models.py | 220 | CODE | |
| LOW | moto/codedeploy/models.py | 315 | CODE | |
| LOW | moto/codedeploy/models.py | 384 | CODE | |
| LOW | moto/packages/boto/ec2/blockdevicemapping.py | 32 | CODE | |
| LOW | moto/dms/models.py | 116 | CODE | |
| LOW | moto/dms/models.py | 764 | CODE | |
| LOW | moto/events/models.py | 1245 | CODE | |
| LOW | moto/autoscaling/models.py | 429 | CODE | |
| LOW | moto/elbv2/models.py | 97 | CODE | |
| LOW | moto/elbv2/models.py | 1801 | CODE | |
| LOW | moto/cloudformation/parsing.py | 496 | CODE | |
| LOW | moto/rds/models.py | 508 | CODE | |
| LOW | moto/rds/models.py | 1097 | CODE | |
| LOW | …ns/parser/asl/component/intrinsic/argument/argument.py | 53 | CODE | |
| LOW | …ns/parser/asl/component/intrinsic/argument/argument.py | 65 | CODE | |
| LOW | …ns/parser/asl/component/intrinsic/argument/argument.py | 90 | CODE | |
| LOW | …payload/payloadvalue/payloadbinding/payload_binding.py | 45 | CODE | |
| LOW | …asl/component/common/assign/assign_template_binding.py | 45 | CODE | |
| LOW | …asl/component/common/assign/assign_template_binding.py | 58 | CODE | |
| 20 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/test_s3/test_s3_lifecycle.py | 306 | # TODO: Add test for failures due to missing children | COMMENT |
| LOW | tests/test_s3/test_s3_lifecycle.py | 481 | # TODO: Add test for failures due to missing children | COMMENT |
| LOW | tests/test_apigateway/test_apigateway.py | 868 | # TODO: implement mult-update tests | COMMENT |
| LOW | tests/test_ec2/test_subnets.py | 286 | # TODO: implement some actual logic | COMMENT |
| LOW | moto/ds/models.py | 781 | # TODO: Add validation for the value | COMMENT |
| LOW | moto/transfer/responses.py | 117 | # TODO: implement pagination | COMMENT |
| LOW | moto/transfer/responses.py | 164 | # TODO: implement pagination | COMMENT |
| LOW | moto/transfer/models.py | 253 | # TODO: implement pagination | COMMENT |
| LOW | moto/transfer/models.py | 329 | # TODO: implement pagination | COMMENT |
| LOW | moto/dynamodb/models/dynamo_type.py | 463 | # TODO: implement other data types | COMMENT |
| LOW | moto/iot/responses.py | 568 | # TODO: implement pagination in the future | COMMENT |
| LOW | moto/iot/responses.py | 639 | # TODO: implement pagination in the future | COMMENT |
| LOW | moto/iot/models.py | 2590 | # TODO: implement expected_version and status_details (at most 10 can be specified) | COMMENT |
| LOW | moto/codedeploy/models.py | 452 | # TODO: implement pagination | COMMENT |
| LOW | moto/codedeploy/models.py | 456 | # TODO: implement pagination and complete filtering | COMMENT |
| LOW | moto/codedeploy/models.py | 503 | # TODO: implement pagination | COMMENT |
| LOW | moto/swf/responses.py | 106 | # TODO: implement pagination | COMMENT |
| LOW | moto/swf/responses.py | 264 | # TODO: implement pagination | COMMENT |
| LOW⚡ | moto/swf/responses.py | 525 | # TODO: implement length limits on reason and details (common pb with | COMMENT |
| LOW | moto/swf/models/workflow_execution.py | 61 | # TODO: implement them all | COMMENT |
| LOW⚡ | moto/swf/models/workflow_execution.py | 454 | # TODO: implement Decision type: ContinueAsNewWorkflowExecution | COMMENT |
| LOW⚡ | moto/swf/models/workflow_execution.py | 455 | # TODO: implement Decision type: RequestCancelActivityTask | COMMENT |
| LOW⚡ | moto/swf/models/workflow_execution.py | 456 | # TODO: implement Decision type: RequestCancelExternalWorkflowExecution | COMMENT |
| LOW⚡ | moto/swf/models/workflow_execution.py | 457 | # TODO: implement Decision type: ScheduleLambdaFunction | COMMENT |
| LOW⚡ | moto/swf/models/workflow_execution.py | 458 | # TODO: implement Decision type: SignalExternalWorkflowExecution | COMMENT |
| LOW⚡ | moto/swf/models/workflow_execution.py | 459 | # TODO: implement Decision type: StartChildWorkflowExecution | COMMENT |
| LOW | moto/swf/models/workflow_execution.py | 478 | # TODO: implement length constraints on details/reason | COMMENT |
| LOW | moto/swf/models/workflow_execution.py | 490 | # TODO: implement length constraints on details | COMMENT |
| LOW | moto/swf/models/workflow_execution.py | 513 | # TODO: implement other possible failure mode: OPEN_ACTIVITIES_LIMIT_EXCEEDED | COMMENT |
| LOW | moto/stepfunctions/parser/asl/parse/preprocessor.py | 1159 | # TODO: add tests for arguments in jsonata blocks using result writer | COMMENT |
| LOW | …exec/state_task/service/state_task_service_callback.py | 47 | # TODO: consider implementing a polling pattern similar to that observable from AWS: | COMMENT |
| LOW⚡ | moto/route53/responses.py | 126 | # TODO: implement enable/disable dnssec apis | COMMENT |
| LOW | moto/ec2/models/elastic_ip_addresses.py | 133 | # TODO: implement network-interface-owner-id | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | requirements-dev.txt | 21 | COMMENT | |
| LOW | tests/test_secretsmanager/test_server.py | 281 | assert json_data["Name"] == DEFAULT_SECRET_NAME | COMMENT |
| LOW | tests/test_secretsmanager/test_server.py | 301 | # initial_description = test_client.post( | COMMENT |
| LOW | tests/test_secretsmanager/test_server.py | 321 | # }, | COMMENT |
| LOW | tests/test_config/test_config_rules.py | 221 | COMMENT | |
| LOW | …t_cloudformation/test_cloudformation_multi_accounts.py | 21 | COMMENT | |
| LOW | tests/test_iam/test_iam_cloudformation.py | 1141 | # The Stack has two resources, a Role and an InlinePolicy attached to this role. | COMMENT |
| LOW | tests/test_apigateway/test_server.py | 121 | # Moto/Boto3 requires the responseTemplates-parameter to have a value - even if it's an empty dict | COMMENT |
| LOW | tests/test_swf/models/test_workflow_execution.py | 541 | wfe.start() | COMMENT |
| LOW | tests/test_bedrockagent/test_bedrockagent.py | 21 | agentResourceRoleArn="test-agent-arn", | COMMENT |
| LOW | tests/test_bedrockagent/test_bedrockagent.py | 41 | # 'promptType': 'PRE_PROCESSING', | COMMENT |
| LOW | tests/test_bedrockagent/test_bedrockagent.py | 421 | # agentResourceRoleArn="test-agent-arn", | COMMENT |
| LOW | tests/test_bedrockagent/test_bedrockagent.py | 441 | # client = boto3.client("bedrock-agent", region_name=DEFAULT_REGION) | COMMENT |
| LOW | tests/test_bedrockagent/test_bedrockagent.py | 521 | ) | COMMENT |
| LOW | tests/test_bedrockagent/test_bedrockagent.py | 541 | COMMENT | |
| LOW | tests/test_bedrockagent/test_bedrockagent.py | 561 | # knowledgeBaseConfiguration={ | COMMENT |
| LOW | tests/test_bedrockagent/test_bedrockagent.py | 581 | # roleArn="test_role_arn", | COMMENT |
| LOW | moto/s3/responses.py | 461 | parsed_url = urlparse(full_url) | COMMENT |
| LOW | moto/config/models.py | 801 | COMMENT | |
| LOW | moto/config/models.py | 861 | "The required parameter [" | COMMENT |
| LOW | moto/config/models.py | 881 | # if rule_info["Trigger type"] == "Configuration changes": | COMMENT |
| LOW | moto/cognitoidp/models.py | 1321 | # 1. populates the correct field (email, phone_number) with the value | COMMENT |
| LOW | moto/cognitoidp/models.py | 1941 | user_pool = p | COMMENT |
| LOW | moto/dynamodb/comparisons.py | 481 | # AND | COMMENT |
| LOW | moto/dynamodb/comparisons.py | 501 | # <= | COMMENT |
| LOW | moto/dynamodb/models/dynamo_type.py | 521 | # - Items are not divided equally between segment | COMMENT |
| LOW | moto/utilities/distutils_version.py | 81 | # Interface for version-number classes -- must be implemented | COMMENT |
| LOW | moto/utilities/distutils_version.py | 101 | # left-to-right to determine an ordering. | COMMENT |
| LOW | moto/utilities/distutils_version.py | 121 | # The problem is what to do with letters (and other non-numeric | COMMENT |
| LOW | moto/utilities/distutils_version.py | 141 | # anarchists in the lot will never give in, though, and something needs | COMMENT |
| LOW | moto/packages/boto/ec2/instance.py | 1 | # Copyright (c) 2006-2012 Mitch Garnaat http://garnaat.org/ | COMMENT |
| LOW | moto/packages/boto/ec2/instancetype.py | 1 | # Copyright (c) 2006-2009 Mitch Garnaat http://garnaat.org/ | COMMENT |
| LOW | moto/packages/boto/ec2/blockdevicemapping.py | 1 | # Copyright (c) 2009-2012 Mitch Garnaat http://garnaat.org/ | COMMENT |
| LOW | moto/packages/boto/ec2/ec2object.py | 1 | # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ | COMMENT |
| LOW | moto/packages/boto/ec2/image.py | 1 | # Copyright (c) 2006-2010 Mitch Garnaat http://garnaat.org/ | COMMENT |
| LOW | moto/packages/boto/ec2/tag.py | 1 | # Copyright (c) 2010 Mitch Garnaat http://garnaat.org/ | COMMENT |
| LOW | moto/moto_proxy/certs/__init__.py | 1 | # Folder that will contain SSL certificates | COMMENT |
| LOW | moto/swf/models/__init__.py | 241 | # - case 1: there's a decision task to return, return it | COMMENT |
| LOW | moto/swf/models/__init__.py | 361 | domain = self._get_domain(domain_name) | COMMENT |
| LOW | …tions/parser/asl/component/state/exec/execute_state.py | 61 | # The input is then filtered as specified by the OutputPath field (if present) before being used as the | COMMENT |
| LOW | …tions/parser/asl/component/state/exec/execute_state.py | 81 | # the state_task has been started, for example, when ActivityStarted or LambdaFunctionStarted are logged in the | COMMENT |
| LOW | …unction/statesfunction/json_manipulation/json_merge.py | 21 | # | COMMENT |
| LOW | …ntrinsic/function/statesfunction/array/array_unique.py | 21 | # For example: | COMMENT |
| LOW | …ction/statesfunction/string_operations/string_split.py | 21 | # For example: | COMMENT |
| LOW | …ic/function/statesfunction/math_operations/math_add.py | 21 | # AWS stepfunctions is implemented in Java, so we need to adjust the rounding accordingly | COMMENT |
| LOW | …function/statesfunction/math_operations/math_random.py | 21 | # | COMMENT |
| LOW | …ion/statesfunction/encoding_decoding/base_64_decode.py | 21 | # | COMMENT |
| LOW | …ion/statesfunction/encoding_decoding/base_64_encode.py | 21 | # | COMMENT |
| LOW | …insic/function/statesfunction/generic/string_format.py | 21 | COMMENT | |
| LOW | docs/conf.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | docs/conf.py | 21 | COMMENT | |
| LOW | docs/conf.py | 61 | COMMENT | |
| LOW | docs/conf.py | 81 | # default_role = None | COMMENT |
| LOW | docs/conf.py | 101 | # keep_warnings = False | COMMENT |
| LOW | docs/conf.py | 121 | # The name for this set of Sphinx documents. If None, it defaults to | COMMENT |
| LOW | docs/conf.py | 141 | COMMENT | |
| LOW | docs/conf.py | 161 | COMMENT | |
| LOW | docs/conf.py | 181 | # contain a <link> tag referring to it. The value of this option must be the | COMMENT |
| LOW | docs/conf.py | 201 | COMMENT | |
| LOW | docs/conf.py | 221 | latex_documents = [ | COMMENT |
| 4 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_awslambda/test_lambda_invoke.py | 343 | # Absolutely fine when invoking async | COMMENT |
| LOW | tests/test_identitystore/test_identitystore.py | 1005 | ] # strip response metadata and just return user info | CODE |
| LOW | tests/test_ecr/test_ecr_cloudformation.py | 51 | # Eventually we will just create the repository using the CloudFormation template above, | COMMENT |
| LOW⚡ | tests/test_s3/test_s3.py | 3244 | # Create it again in the same region - should just return that same bucket | COMMENT |
| LOW | tests/test_s3/test_s3.py | 1674 | # Uploading >1000 files using boto3 takes ages, so let's just use the backend directly | COMMENT |
| MEDIUM | tests/test_dynamodb/test_dynamodb_executor.py | 387 | """A delete statement must use a value of type SS in order to delete elements from a set.""" | STRING |
| MEDIUM | tests/test_dynamodb/test_dynamodb_executor.py | 411 | """A delete statement must use a value of type SS in order to delete elements from a set.""" | STRING |
| LOW⚡ | moto/lakeformation/models.py | 457 | # There is no ARN that we can use, so just create another unique identifier that's easy to recognize and reprod | COMMENT |
| LOW⚡ | moto/lakeformation/models.py | 463 | # There is no ARN that we can use, so just create another unique identifier that's easy to recognize and reprod | COMMENT |
| LOW⚡ | moto/lakeformation/models.py | 469 | # There is no ARN that we can use, so just create another unique identifier that's easy to recognize and reprod | COMMENT |
| LOW | moto/lakeformation/models.py | 488 | # There is no ARN that we can use, so just create another unique identifier that's easy to recognize and reprod | COMMENT |
| LOW | moto/kms/models.py | 417 | # In our implementation with just create a copy of all the properties once without any protection from change, | COMMENT |
| LOW | moto/cloudwatch/models.py | 843 | # Let's just add all metric data found within this period | COMMENT |
| MEDIUM | moto/glue/utils.py | 477 | # NOTE these are AWS Athena column name best practices | COMMENT |
| LOW | moto/emr/models.py | 589 | # For now, just return a hardcoded value for such cases. | COMMENT |
| MEDIUM | moto/core/parse.py | 404 | # Need to utilize subclasses here... | COMMENT |
| LOW | moto/cognitoidp/models.py | 2540 | # If we can't find the `client_id` or `access_token`, we just pass | COMMENT |
| LOW | moto/dynamodb/models/dynamo_type.py | 163 | # DynamoDB doesn't care you are out of box just add it to the end. | COMMENT |
| LOW | moto/iot/models.py | 2194 | # This behaviour is different to list_policy_principals which will just return an empty list | COMMENT |
| LOW | moto/awslambda/models.py | 237 | # If we don't have any layers to apply, just return at this point | COMMENT |
| LOW | moto/awslambda/models.py | 454 | # So it seems like the date is automatically set to UTC on creation, that's why we can just return this hardcode | COMMENT |
| LOW | moto/batch/models.py | 1571 | # We'll just use the first instance_type in this family | COMMENT |
| LOW⚡ | moto/elasticache/models.py | 933 | # Docs user "ResourceName" as input but the param is technically the ARN, will just use arn | COMMENT |
| LOW⚡ | moto/elasticache/models.py | 937 | # Docs user "ResourceName" as input but the param is technically the ARN, will just use arn | COMMENT |
| LOW | moto/rds/models.py | 3780 | # So we can't just use the dict-keys - we have to manually check the ARN | COMMENT |
| MEDIUM | …pfunctions/parser/asl/parse/test_state/preprocessor.py | 66 | # to facilitate the decorator's functionality. | COMMENT |
| MEDIUM | …pfunctions/parser/asl/parse/test_state/preprocessor.py | 73 | # to facilitate the decorator's functionality. | COMMENT |
| LOW | moto/ec2/models/amis.py | 214 | # Will error on unknown (new) regions - just return an empty list here | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_sesv2/test_sesv2.py | 269 | EmailAddress="user@example.com", | CODE |
| LOW⚡ | tests/test_sesv2/test_sesv2.py | 271 | assert contact["EmailAddress"] == "user@example.com" | CODE |
| LOW | tests/test_sesv2/test_sesv2.py | 252 | EmailAddress="user@example.com", | CODE |
| LOW | …ourcegroupstaggingapi/test_resourcegroupstaggingapi.py | 1717 | Email="user@example.com", | STRING |
| LOW | …ourcegroupstaggingapi/test_resourcegroupstaggingapi.py | 1735 | "DataSetPlaceholder": "placeholder", | STRING |
| LOW | tests/test_quicksight/test_quicksight_tagging.py | 63 | "DataSetPlaceholder": "placeholder", | CODE |
| LOW | tests/test_quicksight/test_quicksight_tagging.py | 91 | "DataSetPlaceholder": "placeholder", | CODE |
| LOW | tests/test_quicksight/test_quicksight_tagging.py | 188 | Email="user@example.com", | CODE |
| LOW | tests/test_quicksight/test_quicksight_tagging.py | 208 | Email="user@example.com", | CODE |
| LOW | tests/test_quicksight/test_quicksight_users.py | 575 | MemberName="fake_user", | CODE |
| LOW | tests/test_quicksight/test_quicksight_users.py | 740 | UserName="fake_user", | CODE |
| LOW⚡ | tests/test_quicksight/test_quicksight_users.py | 751 | MemberName="fake_user", | CODE |
| LOW⚡ | tests/test_quicksight/test_quicksight_users.py | 759 | UserName="fake_user", | CODE |
| LOW⚡ | tests/test_quicksight/test_quicksight_users.py | 768 | UserName="fake_user", | CODE |
| LOW | tests/test_quicksight/test_quicksight_users.py | 779 | UserName="fake_user", | CODE |
| LOW | tests/test_quicksight/test_quicksight_integration.py | 59 | "DataSetPlaceholder": "placeholder", | CODE |
| LOW | tests/test_quicksight/test_quicksight_integration.py | 102 | Email="user@example.com", | CODE |
| LOW | tests/test_identitystore/test_identitystore.py | 765 | dummy_user = __create_and_verify_sparse_user(client, identity_store_id) | CODE |
| LOW | tests/test_identitystore/test_identitystore.py | 766 | expected_users.append(dummy_user) | CODE |
| LOW | tests/test_networkmanager/test_networkmanager.py | 124 | "Address": "123 Main St", | CODE |
| LOW | tests/test_networkmanager/test_networkmanager.py | 235 | "Address": "123 Main St", | CODE |
| LOW | tests/test_sqs/test_sqs_message_attributes.py | 70 | "Author": {"StringValue": "John Doe", "DataType": "String"}, | CODE |
| LOW | tests/test_sqs/test_sqs_message_attributes.py | 91 | assert message["MessageAttributes"]["Author"]["StringValue"] == "John Doe" | CODE |
| LOW | tests/test_cognitoidp/test_cognitoidp.py | 3757 | {"Name": "email", "Value": "test@test.com"}, | CODE |
| LOW | tests/test_cognitoidp/test_cognitoidp.py | 4450 | UserAttributes=[{"Name": "email", "Value": "test@test.com"}], | CODE |
| LOW | tests/test_cognitoidp/test_cognitoidp.py | 4470 | UserAttributes=[{"Name": "email", "Value": "test@test.com"}], | CODE |
| LOW⚡ | tests/test_sagemaker/test_sagemaker_model_packages.py | 390 | == "arn:aws:sagemaker:eu-west-1:123456789012:user-profile/fake-domain-id/fake-user-profile-name" | CODE |
| LOW⚡ | tests/test_sagemaker/test_sagemaker_model_packages.py | 392 | assert resp["LastModifiedBy"]["UserProfileName"] == "fake-user-profile-name" | CODE |
| LOW | tests/test_sagemaker/test_sagemaker_model_packages.py | 247 | == "arn:aws:sagemaker:eu-west-1:123456789012:user-profile/fake-domain-id/fake-user-profile-name" | CODE |
| LOW | tests/test_sagemaker/test_sagemaker_model_packages.py | 249 | assert resp["CreatedBy"]["UserProfileName"] == "fake-user-profile-name" | CODE |
| LOW⚡ | tests/test_s3/test_s3_multipart.py | 64 | fake_key = s3model.FakeKey( | CODE |
| LOW⚡ | tests/test_s3/test_s3_multipart.py | 67 | assert fake_key._value_buffer._rolled is False | CODE |
| LOW⚡ | tests/test_s3/test_s3_multipart.py | 71 | fake_key = s3model.FakeKey( | CODE |
| LOW⚡ | tests/test_s3/test_s3_multipart.py | 74 | assert fake_key._value_buffer._rolled is True | CODE |
| LOW⚡ | tests/test_ses/test_ses.py | 1946 | conn.verify_email_identity(EmailAddress="foo@bar.com") | CODE |
| LOW⚡ | tests/test_ses/test_ses.py | 1950 | Identities=["foo.com", "foo@bar.com", "bar@bar.com"] | CODE |
| LOW⚡ | tests/test_ses/test_ses.py | 1959 | attributes["VerificationAttributes"]["foo@bar.com"]["VerificationStatus"] | CODE |
| LOW | tests/test_dynamodb/test_dynamodb.py | 3798 | "nonProjectedAttribute": "dolor sit amet", | CODE |
| LOW | tests/test_account/test_account_alternate_contacts.py | 17 | EmailAddress="test@test.com", | CODE |
| LOW | tests/test_account/test_account_alternate_contacts.py | 40 | assert details["EmailAddress"] == "test@test.com" | CODE |
| LOW | tests/test_account/test_account_alternate_contacts.py | 84 | EmailAddress="test@test.com", | CODE |
| LOW | …ests_java/src/test/java/moto/tests/CognitoIDPTest.java | 47 | .value("test@test.com") | CODE |
| LOW | moto/sagemaker/models.py | 222 | fake_user_profile_name = "fake-user-profile-name" | CODE |
| LOW | moto/sagemaker/models.py | 271 | fake_user_profile_name = "fake-user-profile-name" | CODE |
| LOW | moto/sagemaker/models.py | 1064 | fake_user_profile_name = "fake-user-profile-name" | CODE |
| LOW | moto/sagemaker/models.py | 1246 | fake_user_profile_name = "fake-user-profile-name" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_efs/test_mount_target.py | 271 | # ------------------ | COMMENT |
| MEDIUM | tests/test_efs/test_mount_target.py | 286 | # -------------------- | COMMENT |
| MEDIUM | tests/test_efs/test_mount_target.py | 305 | # ---------------- | COMMENT |
| MEDIUM⚡ | tests/test_efs/test_file_system.py | 164 | # ================ | COMMENT |
| MEDIUM⚡ | tests/test_efs/test_file_system.py | 351 | # ============== | COMMENT |
| MEDIUM | tests/test_efs/test_file_system.py | 34 | # ============== | COMMENT |
| MEDIUM | tests/test_efs/test_file_system.py | 271 | # ------------------ | COMMENT |
| MEDIUM | tests/test_efs/test_file_system.py | 286 | # -------------------- | COMMENT |
| MEDIUM | tests/test_efs/test_file_system.py | 303 | # ---------------- | COMMENT |
| MEDIUM | moto/dynamodb/comparisons.py | 233 | # --------------- | COMMENT |
| MEDIUM | moto/dynamodb/comparisons.py | 244 | # ------------- | COMMENT |
| MEDIUM | moto/dynamodb/comparisons.py | 249 | # -------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/test_core/test_proxy.py | 114 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 117 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 118 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 119 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 122 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 125 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 126 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 128 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 129 | CODE | |
| MEDIUM | tests/test_core/test_proxy.py | 130 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_s3/test_s3_conditionals.py | 331 | # Step 1: Create object via multipart upload | COMMENT |
| LOW | moto/config/models.py | 875 | # WARNING: The AWS documentation indicates MaximumExecutionFrequency | COMMENT |
| LOW⚡ | moto/dynamodb/comparisons.py | 471 | # NOTE: The following constructions are ordered from high precedence to low precedence | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/test_s3/test_s3_conditionals.py | 331 | # Step 1: Create object via multipart upload | COMMENT |
| LOW | moto/secretsmanager/models.py | 652 | # we need to check if it matches the existing secret's version ID. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | moto/ecs/responses.py | 203 | def run_task(self) -> ActionResult: | CODE |
| LOW | moto/ecs/models.py | 1240 | def run_task( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | moto/ec2/models/instances.py | 424 | # TODO: Don't forget to implement replace_iam_instance_profile_association once update_from_cloudformation_json | COMMENT |