Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.
This report summarizes scanner evidence for awsdocs/aws-doc-sdk-examples, a Java project with 10,466 GitHub stars. SynthScan examined 1,170,954 lines of code across 10954 source files, recording 4343 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 6.7 (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.
Can maintainers explain intent, assumptions, and trade-offs? 2826 finding(s).
Are imports declared and package/API names verified? 339 finding(s).
Are wrappers, guards, and repeated structures necessary? 2125 finding(s).
Which changes need focused human review? 4343 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 4343 distinct pattern matches across 24 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 |
|---|---|---|---|---|
| HIGH | rustv1/examples/glue/resources/flight_etl_job_script.py | 0 | this script is used by the aws glue _getting started with crawlers and jobs_ scenario to perform extract, transform, and | STRING |
| HIGH | python/example_code/glue/flight_etl_job_script.py | 0 | this script is used by the aws glue _getting started with crawlers and jobs_ scenario to perform extract, transform, and | STRING |
| HIGH | php/example_code/glue/flight_etl_job_script.py | 0 | this script is used by the aws glue _getting started with crawlers and jobs_ scenario to perform extract, transform, and | STRING |
| HIGH | cpp/example_code/glue/flight_etl_job_script.py | 0 | this script is used by the aws glue _getting started with crawlers and jobs_ scenario to perform extract, transform, and | STRING |
| HIGH | …ft/example_code/glue/scenario/flight_etl_job_script.py | 0 | this script is used by the aws glue _getting started with crawlers and jobs_ scenario to perform extract, transform, and | STRING |
| HIGH | ruby/example_code/glue/job_script.py | 0 | this script is used by the aws glue _getting started with crawlers and jobs_ scenario to perform extract, transform, and | STRING |
| HIGH | ruby/example_code/glue/spec/test_job_script.py | 0 | this script is used by the aws glue _getting started with crawlers and jobs_ scenario to perform extract, transform, and | STRING |
| HIGH | …_code/glue/src/main/resources/flight_etl_job_script.py | 0 | this script is used by the aws glue _getting started with crawlers and jobs_ scenario to perform extract, transform, and | STRING |
| HIGH | rustv1/examples/glue/resources/flight_etl_job_script.py | 0 | these custom arguments must be passed as arguments to the startjobrun request. --input_database the name of a metadata d | STRING |
| HIGH | python/example_code/glue/flight_etl_job_script.py | 0 | these custom arguments must be passed as arguments to the startjobrun request. --input_database the name of a metadata d | STRING |
| HIGH | php/example_code/glue/flight_etl_job_script.py | 0 | these custom arguments must be passed as arguments to the startjobrun request. --input_database the name of a metadata d | STRING |
| HIGH | cpp/example_code/glue/flight_etl_job_script.py | 0 | these custom arguments must be passed as arguments to the startjobrun request. --input_database the name of a metadata d | STRING |
| HIGH | …ft/example_code/glue/scenario/flight_etl_job_script.py | 0 | these custom arguments must be passed as arguments to the startjobrun request. --input_database the name of a metadata d | STRING |
| HIGH | ruby/example_code/glue/job_script.py | 0 | these custom arguments must be passed as arguments to the startjobrun request. --input_database the name of a metadata d | STRING |
| HIGH | ruby/example_code/glue/spec/test_job_script.py | 0 | these custom arguments must be passed as arguments to the startjobrun request. --input_database the name of a metadata d | STRING |
| HIGH | …_code/glue/src/main/resources/flight_etl_job_script.py | 0 | these custom arguments must be passed as arguments to the startjobrun request. --input_database the name of a metadata d | STRING |
| HIGH | python/test_tools/ses_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/acm_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/redshift_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/elbv2_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/cloudfront_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/kinesis_analytics_v2_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/config_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/glacier_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/cloudwatch_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/stepfunctions_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/rekognition_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/redshift_data_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/route53_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/comprehend_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/glue_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/cognito_idp_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/support_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/kinesis_stubber.py | 0 | a class that implements stub functions used by amazon kinesis unit tests. the stubbed functions expect certain parameter | STRING |
| HIGH | python/test_tools/ses_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/rekognition_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/ssm_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/pinpoint_email_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/cloudwatch_logs_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/dynamodb_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/acm_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/redshift_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/stepfunctions_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/redshift_data_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/textract_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/elbv2_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/cloudfront_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/kinesis_analytics_v2_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/batch_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/apigateway_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/ec2_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/apigateway_v2_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/healthlake_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/athena_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/pinpoint_sms_voice_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/ecr_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/secretsmanager_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/controltower_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/config_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| HIGH | python/test_tools/glacier_stubber.py | 0 | initializes the object with a specific client and configures it for stubbing or aws passthrough. :param controlcatalog_c | STRING |
| 419 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | dotnetv4/Bedrock-runtime/Actions/InvokeModelAsync.cs | 81 | COMMENT | |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchWrapper.cs | 21 | /// <summary> | COMMENT |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchWrapper.cs | 61 | // snippet-start:[CloudWatch.dotnetv4.GetMetricStatistics] | COMMENT |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchWrapper.cs | 221 | metricFileName); | COMMENT |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchWrapper.cs | 261 | await foreach (var data in paginatedMetricData.MetricDataResults) | COMMENT |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchOTelWrapper.cs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchOTelWrapper.cs | 41 | // snippet-start:[CloudWatch.dotnetv4.StartOTelEnrichment] | COMMENT |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchOTelWrapper.cs | 81 | /// queries that select on those labels stop matching. | COMMENT |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchOTelWrapper.cs | 101 | /// contributor moves to ALARM after it breaches continuously for the pending period, | COMMENT |
| LOW | dotnetv4/CloudWatch/Actions/CloudWatchOTelWrapper.cs | 181 | // snippet-start:[CloudWatch.dotnetv4.PutAlarmMuteRule] | COMMENT |
| LOW | dotnetv4/S3/Actions/HelloS3.cs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | …netv4/S3/Scenarios/S3_CreatePresignedPost/S3Wrapper.cs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | dotnetv4/DynamoDB/Actions/DynamoDbWrapper.cs | 21 | /// Constructor for the DynamoDbWrapper class. | COMMENT |
| LOW | dotnetv4/DynamoDB/Actions/DynamoDbWrapper.cs | 161 | } | COMMENT |
| LOW | dotnetv4/DynamoDB/Actions/DynamoDbWrapper.cs | 361 | { | COMMENT |
| LOW | …4/DynamoDB/Scenarios/DynamoDB_Basics/DynamoDbBasics.cs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | …4/DynamoDB/Scenarios/DynamoDB_Basics/DynamoDbBasics.cs | 21 | /// Query | COMMENT |
| LOW | dotnetv4/Aurora/Actions/AuroraWrapper.cs | 281 | } | COMMENT |
| LOW | …dWatchLogs/LargeQuery/Actions/CloudWatchLogsWrapper.cs | 21 | /// </summary> | COMMENT |
| LOW | dotnetv4/IoT/Actions/HelloIoT.cs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | dotnetv4/IoT/Actions/IoTWrapper.cs | 21 | COMMENT | |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 101 | /// Run the IoT Basics scenario. | COMMENT |
| LOW | dotnetv4/Redshift/Actions/RedshiftWrapper.cs | 21 | private readonly IAmazonRedshiftDataAPIService _redshiftDataClient; | COMMENT |
| LOW | dotnetv4/AutoScaling/Actions/AutoScalingWrapper.cs | 21 | /// </summary> | COMMENT |
| LOW | dotnetv4/EC2/Actions/EC2Wrapper.cs | 61 | } | COMMENT |
| LOW | dotnetv4/EC2/Actions/EC2Wrapper.cs | 881 | // snippet-end:[EC2.dotnetv4.WaitForInstanceState] | COMMENT |
| LOW | rustv1/cross_service/detect_labels/src/main.rs | 201 | }; | COMMENT |
| LOW | rustv1/cross_service/telephone/src/main.rs | 201 | // snippet-end:[telephone.rust.main-convert_audio] | COMMENT |
| LOW | rustv1/cross_service/rest_ses/src/client.rs | 41 | /// let settings: rest_ses::configuration::RdsSettings = serde_json::from_str(CONFIG).unwrap(); | COMMENT |
| LOW | rustv1/cross_service/rest_ses/src/work_item/mod.rs | 61 | /// The various WorkItem specific errors that can occur. | COMMENT |
| LOW | …tv1/cross_service/rest_ses/src/work_item/collection.rs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | …mples/auto-scaling/src/bin/create-autoscaling-group.rs | 41 | println!("Created AutoScaling group"); | COMMENT |
| LOW | …mples/auto-scaling/src/bin/update-autoscaling-group.rs | 41 | Ok(()) | COMMENT |
| LOW | …mples/auto-scaling/src/bin/delete-autoscaling-group.rs | 41 | Ok(()) | COMMENT |
| LOW | rustv1/examples/sdk-config/src/bin/timeouts.rs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | rustv1/examples/sdk-config/src/bin/no_env.rs | 81 | { | COMMENT |
| LOW | rustv1/examples/kms/src/bin/encrypt.rs | 61 | } | COMMENT |
| LOW | rustv1/examples/kms/src/bin/reencrypt-data.rs | 81 | } | COMMENT |
| LOW | rustv1/examples/s3/src/bin/if-modified-since.rs | 21 | /// # Steps | COMMENT |
| LOW | rustv1/examples/s3/src/bin/if-modified-since.rs | 101 | // snippet-start:[s3.rust.if-modified-since.head_object2] | COMMENT |
| LOW | rustv1/examples/s3/src/bin/s3-helloworld.rs | 21 | COMMENT | |
| LOW | rustv1/examples/s3/src/bin/s3-helloworld.rs | 101 | // Retrieve the just-uploaded object. | COMMENT |
| LOW | rustv1/examples/s3/src/bin/delete-bucket.rs | 21 | /// Whether to display additional information. | COMMENT |
| LOW | rustv1/examples/s3/src/bin/delete-object.rs | 21 | /// The object to delete. | COMMENT |
| LOW | rustv1/examples/s3/src/bin/select-object-content.rs | 21 | region: Option<String>, | COMMENT |
| LOW | rustv1/examples/s3/src/bin/create-bucket.rs | 21 | /// Whether to display additional information. | COMMENT |
| LOW | rustv1/examples/s3/src/bin/delete-objects.rs | 21 | /// The objects to delete. | COMMENT |
| LOW | rustv1/examples/s3/src/bin/get-object-presigned.rs | 61 | /// # Arguments | COMMENT |
| LOW | rustv1/examples/s3/src/bin/put-object-presigned.rs | 61 | /// Adds an object to a bucket and returns a public URI. | COMMENT |
| LOW | rustv1/examples/s3/src/bin/copy-object.rs | 21 | /// The name of the destination bucket. | COMMENT |
| LOW | rustv1/examples/s3/src/bin/s3-getting-started.rs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | rustv1/examples/sns/src/bin/sns-hello-world.rs | 61 | /// Subscribes an email address and publishes a message to a topic. | COMMENT |
| LOW | rustv1/examples/config/src/bin/show-resource-history.rs | 41 | println!("item: {:?}", item); | COMMENT |
| LOW | rustv1/examples/config/src/bin/config-helloworld.rs | 41 | COMMENT | |
| LOW | rustv1/examples/config/src/bin/enable-config.rs | 141 | Ok(()) | COMMENT |
| LOW | rustv1/examples/sending-presigned-requests/src/main.rs | 41 | COMMENT | |
| LOW | rustv1/examples/rdsdata/src/bin/rdsdata-helloworld.rs | 61 | /// It should look something like: __"SELECT * FROM pg_catalog.pg_tables limit 1"__. | COMMENT |
| LOW | rustv1/examples/sitewise/src/bin/list-assets.rs | 81 | COMMENT | |
| LOW | rustv1/examples/sitewise/src/bin/list-portals.rs | 61 | // snippet-end:[sitewise.rust.list-portals] | COMMENT |
| LOW | rustv1/examples/dynamodb/src/bin/list10-tables.rs | 1 | // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| 885 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ck-runtime/models/amazonNovaText/converse-with-tool.js | 92 | export async function SendConversationtoBedrock( | CODE |
| LOW | …arios/converse_tool_scenario/converse-tool-scenario.js | 73 | async function SendConversationtoBedrock(messages) { | CODE |
| LOW | …arios/converse_tool_scenario/converse-tool-scenario.js | 108 | async function ProcessModelResponseAsync(response, messages, max_recursions) { | CODE |
| LOW | javascriptv3/example_code/s3/libs/s3Utils.js | 80 | export async function legallyEmptyAndDeleteBuckets(bucketNames) { | CODE |
| LOW | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 249 | def check_stack_update_status(job_id, stack): | CODE |
| LOW | …e/cross-services/wkflw-resilient-service/steps-demo.js | 413 | async function createSsmOnlyInstanceProfile() { | CODE |
| LOW | …ge-sets/pixel-data-verification/openjphjs/openjphjs.js | 1 | var Module=typeof Module!="undefined"?Module:{};var moduleOverrides=Object.assign({},Module);var arguments_=[];var thisP | CODE |
| LOW | …r/scenarios/wkflw-sagemaker-geospatial-pipeline/lib.js | 64 | export async function createLambdaExecutionRole({ name, iamClient }) { | CODE |
| LOW | …r/scenarios/wkflw-sagemaker-geospatial-pipeline/lib.js | 114 | export async function createLambdaExecutionPolicy({ | CODE |
| LOW | …r/scenarios/wkflw-sagemaker-geospatial-pipeline/lib.js | 407 | export async function createSagemakerExecutionPolicy({ | CODE |
| LOW | …r/scenarios/wkflw-sagemaker-geospatial-pipeline/lib.js | 610 | export async function configureLambdaSQSEventSource({ | CODE |
| LOW⚡ | python/test_tools/ses_stubber.py | 32 | def stub_verify_domain_identity(self, domain_name, token, error_code=None): | CODE |
| LOW⚡ | python/test_tools/ses_stubber.py | 39 | def stub_verify_email_identity(self, email_address, error_code=None): | CODE |
| LOW⚡ | python/test_tools/ses_stubber.py | 45 | def stub_get_identity_verification_attributes( | CODE |
| LOW | python/test_tools/ses_stubber.py | 77 | def stub_create_receipt_filter( | CODE |
| LOW⚡ | python/test_tools/ses_stubber.py | 93 | def stub_list_receipt_filters(self, filters, error_code=None): | CODE |
| LOW⚡ | python/test_tools/ses_stubber.py | 99 | def stub_delete_receipt_filter(self, filter_name, error_code=None): | CODE |
| LOW⚡ | python/test_tools/ses_stubber.py | 105 | def stub_create_receipt_rule_set(self, rule_set_name, error_code=None): | CODE |
| LOW | python/test_tools/ses_stubber.py | 127 | def stub_describe_receipt_rule_set( | CODE |
| LOW | python/test_tools/ses_stubber.py | 155 | def stub_delete_receipt_rule_set(self, rule_set_name, error_code=None): | CODE |
| LOW | python/test_tools/ses_stubber.py | 246 | def stub_send_templated_email( | CODE |
| LOW | python/test_tools/ses_stubber.py | 276 | def stub_set_identity_notification_topic( | CODE |
| LOW | python/test_tools/bedrock_stubber.py | 27 | def stub_list_foundation_models(self, models, error_code=None): | CODE |
| LOW | python/test_tools/bedrock_stubber.py | 34 | def stub_get_foundation_model(self, model_identifier, error_code=None): | CODE |
| LOW | python/test_tools/bedrock_runtime_stubber.py | 106 | def stub_invoke_model_with_response_stream(self, prompt, error_code=None): | CODE |
| LOW | python/test_tools/bedrock_runtime_stubber.py | 126 | def stub_invoke_stable_diffusion(self, prompt, seed, error_code=None): | CODE |
| LOW | python/test_tools/scheduler_stubber.py | 93 | def stub_create_schedule_group(self, group_name: str, schedule_group_arn: str, error_code: str =None) -> None: | CODE |
| LOW | python/test_tools/scheduler_stubber.py | 124 | def stub_delete_schedule_group(self, schedule_group_name: str, error_code: str =None) -> None: | CODE |
| LOW | python/test_tools/ssm_stubber.py | 64 | def stub_list_command_invocations( | CODE |
| LOW | python/test_tools/ssm_stubber.py | 92 | def stub_get_parameters_by_path(self, names, values, path=ANY, error_code=None): | CODE |
| LOW | python/test_tools/ssm_stubber.py | 147 | def stub_create_maintenance_window( | CODE |
| LOW | python/test_tools/ssm_stubber.py | 174 | def stub_delete_maintenance_window(self, window_id, error_code=None): | CODE |
| LOW | python/test_tools/ssm_stubber.py | 186 | def stub_update_maintenance_window( | CODE |
| LOW | python/test_tools/cloudformation_stubber.py | 59 | def stub_list_stack_resources(self, stack_name, resources, error_code=None): | CODE |
| LOW | python/test_tools/dynamodb_stubber.py | 176 | def stub_update_item_attr_update( | CODE |
| LOW | python/test_tools/dynamodb_stubber.py | 295 | def stub_batch_execute_statement(self, statements, responses, error_code=None): | CODE |
| LOW | python/test_tools/acm_stubber.py | 33 | def stub_describe_certificate(self, certificate_arn, certificate, error_code=None): | CODE |
| LOW | python/test_tools/acm_stubber.py | 90 | def stub_add_tags_to_certificate(self, certificate_arn, tags, error_code=None): | CODE |
| LOW | python/test_tools/acm_stubber.py | 100 | def stub_list_tags_for_certificate(self, certificate_arn, tags, error_code=None): | CODE |
| LOW | python/test_tools/acm_stubber.py | 112 | def stub_remove_tags_from_certificate(self, certificate_arn, tags, error_code=None): | CODE |
| LOW | python/test_tools/acm_stubber.py | 154 | def stub_resend_validation_email( | CODE |
| LOW | python/test_tools/textract_stubber.py | 35 | def stub_detect_document_text(self, doc_bytes, blocks, error_code=None): | CODE |
| LOW | python/test_tools/textract_stubber.py | 52 | def stub_start_document_text_detection( | CODE |
| LOW | python/test_tools/textract_stubber.py | 77 | def stub_get_document_text_detection(self, job_id, status, error_code=None): | CODE |
| LOW | python/test_tools/textract_stubber.py | 87 | def stub_start_document_analysis( | CODE |
| LOW | python/test_tools/textract_stubber.py | 111 | def stub_get_document_analysis(self, job_id, status, error_code=None): | CODE |
| LOW | python/test_tools/elbv2_stubber.py | 61 | def stub_describe_target_groups(self, tg_names, tg_arns, error_code=None): | CODE |
| LOW | python/test_tools/elbv2_stubber.py | 68 | def stub_create_load_balancer( | CODE |
| LOW | python/test_tools/elbv2_stubber.py | 79 | def stub_describe_load_balancers( | CODE |
| LOW | python/test_tools/elbv2_stubber.py | 94 | def stub_delete_load_balancer(self, arn, error_code=None): | CODE |
| LOW | python/test_tools/elbv2_stubber.py | 113 | def stub_describe_target_health(self, tg_arn, tg_descs, error_code=None): | CODE |
| LOW | python/test_tools/cloudfront_stubber.py | 83 | def stub_get_distribution_config(self, distrib_id, comment, etag, error_code=None): | CODE |
| LOW | python/test_tools/kinesis_analytics_v2_stubber.py | 69 | def stub_describe_application( | CODE |
| LOW | python/test_tools/kinesis_analytics_v2_stubber.py | 78 | def stub_describe_application_snapshot( | CODE |
| LOW | python/test_tools/kinesis_analytics_v2_stubber.py | 97 | def stub_discover_input_schema(self, stream_arn, role_arn, error_code=None): | CODE |
| LOW | python/test_tools/kinesis_analytics_v2_stubber.py | 119 | def stub_add_application_input( | CODE |
| LOW | python/test_tools/kinesis_analytics_v2_stubber.py | 152 | def stub_add_application_output( | CODE |
| LOW | python/test_tools/batch_stubber.py | 34 | def stub_describe_compute_environments( | CODE |
| LOW | python/test_tools/batch_stubber.py | 49 | def stub_create_compute_environment( | CODE |
| LOW | python/test_tools/batch_stubber.py | 103 | def stub_register_job_definition( | CODE |
| 872 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 67 | // Step 1: Create bucket | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 71 | // Step 2: Create presigned URL | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 76 | // Step 3: Display URL and fields | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 81 | // Step 4: Upload file | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 86 | // Step 5: Verify file exists | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 90 | // Step 6: Cleanup | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 131 | // Step 1: Create an AWS IoT Thing | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 183 | // Step 2: Generate a Device Certificate | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 224 | // Step 3: Attach the Certificate to the AWS IoT Thing | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 247 | // Step 4: Update an AWS IoT Thing with Attributes | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 270 | // Step 5: Return a unique endpoint specific to the Amazon Web Services account | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 293 | // Step 6: List your AWS IoT certificates | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 311 | // Step 7: Create an IoT shadow | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 337 | // Step 8: Write out the state information, in JSON format | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 350 | // Step 9: Set up resources (SNS topic and IAM role) and create a rule | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 425 | // Step 10: List your rules | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 445 | // Step 11: Search things using the Thing name | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 465 | // Step 12: Cleanup - Detach and delete certificate | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 498 | // Step 13: Delete the AWS IoT Thing | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 519 | // Step 14: Clean up CloudFormation stack | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 74 | // Step 1: Get user credentials (if interactive) | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 90 | // Step 2: Get cluster identifier | COMMENT |
| LOW⚡ | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 101 | // Step 3: Create Redshift cluster | COMMENT |
| LOW⚡ | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 105 | // Step 4: Wait for cluster to become available | COMMENT |
| LOW⚡ | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 110 | // Step 5: List databases | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 132 | // Step 6: Create Movies table | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 143 | // Step 7: Populate the Movies table | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 197 | // Step 10: Modify the cluster | COMMENT |
| LOW⚡ | …bedrock-runtime/models/amazonNovaCanvas/invokeModel.js | 24 | // Step 1: Create the Amazon Bedrock runtime client | COMMENT |
| LOW⚡ | …bedrock-runtime/models/amazonNovaCanvas/invokeModel.js | 28 | // Step 2: Specify which model to use | COMMENT |
| LOW⚡ | …bedrock-runtime/models/amazonNovaCanvas/invokeModel.js | 33 | // Step 3: Configure the request payload | COMMENT |
| LOW | …bedrock-runtime/models/amazonNovaCanvas/invokeModel.js | 57 | // Step 4: Send and process the request | COMMENT |
| LOW⚡ | …edrock-runtime/models/amazonNovaText/converseStream.js | 19 | // Step 1: Create the Amazon Bedrock runtime client | COMMENT |
| LOW⚡ | …edrock-runtime/models/amazonNovaText/converseStream.js | 23 | // Step 2: Specify which model to use | COMMENT |
| LOW⚡ | …edrock-runtime/models/amazonNovaText/converseStream.js | 33 | // Step 3: Create the message | COMMENT |
| LOW⚡ | …edrock-runtime/models/amazonNovaText/converseStream.js | 42 | // Step 4: Configure the streaming request | COMMENT |
| LOW | …edrock-runtime/models/amazonNovaText/converseStream.js | 59 | // Step 5: Send and process the streaming request | COMMENT |
| LOW | …ck-runtime/models/amazonNovaText/converse-with-tool.js | 19 | // Step 1: Create the Amazon Bedrock runtime client | COMMENT |
| LOW⚡ | …code/bedrock-runtime/models/amazonNovaText/converse.js | 18 | // Step 1: Create the Amazon Bedrock runtime client | COMMENT |
| LOW⚡ | …code/bedrock-runtime/models/amazonNovaText/converse.js | 22 | // Step 2: Specify which model to use: | COMMENT |
| LOW⚡ | …code/bedrock-runtime/models/amazonNovaText/converse.js | 32 | // Step 3: Create the message | COMMENT |
| LOW⚡ | …code/bedrock-runtime/models/amazonNovaText/converse.js | 41 | // Step 4: Configure the request | COMMENT |
| LOW | …code/bedrock-runtime/models/amazonNovaText/converse.js | 58 | // Step 5: Send and process the request | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 76 | // Step 1: List metrics and namespaces. This orients the reader before any configuration | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 123 | // Step 2: Start OTel enrichment. Enrichment is what makes CloudWatch attach AWS resource | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 157 | // Step 3: Explain OTLP ingestion. This step makes no service call; naming the gap | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 171 | // Step 4: Create a PromQL alarm. | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 220 | // Step 5: Inspect the alarm's contributors. This is the step with no classic-alarm | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 265 | // Step 6: Get statistics and chart the metric on a dashboard. | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 373 | // Step 7: Mute the alarm for a maintenance window. | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 455 | // Step 8: Clean up. | COMMENT |
| LOW | javascriptv3/example_code/nodegetstarted/README.md | 25 | ### Step 1: Set up the package structure | COMMENT |
| LOW⚡ | javascriptv3/example_code/nodegetstarted/README.md | 52 | ### Step 2: Install the Amazon S3 client package | COMMENT |
| LOW⚡ | javascriptv3/example_code/nodegetstarted/README.md | 56 | ### Step 3: Add necessary imports and SDK code | COMMENT |
| LOW⚡ | javascriptv3/example_code/nodegetstarted/README.md | 60 | ### Step 4: Run the example | COMMENT |
| LOW | …to/scenarios/identity_pools_example_demo/web/README.md | 91 | ### Step 3: Run the application | COMMENT |
| LOW⚡ | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 117 | # Step 1: Get identity ID without authentication | COMMENT |
| LOW⚡ | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 124 | # Step 2: Get AWS credentials with unauthenticated role | COMMENT |
| LOW | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 259 | # Step 1: GetOpenIdTokenForDeveloperIdentity | COMMENT |
| LOW | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 270 | # Step 2: GetCredentialsForIdentity - Exchange the token for AWS credentials | COMMENT |
| 253 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | python/cross_service/resilient_service/load_balancer.py | 215 | # Create the listener | COMMENT |
| MEDIUM | python/cross_service/resilient_service/auto_scaler.py | 418 | # Create the launch template | COMMENT |
| MEDIUM | …ervice/topics_and_queues/topics_and_queues_scenario.py | 169 | # Create the queue | COMMENT |
| MEDIUM | …ervice/topics_and_queues/topics_and_queues_scenario.py | 147 | # Create the topic | STRING |
| MEDIUM | …de/bedrock-runtime/models/stability_ai/invoke_model.py | 13 | # Create a Bedrock Runtime client in the AWS Region of your choice. | COMMENT |
| MEDIUM | …de/bedrock-runtime/models/stability_ai/invoke_model.py | 19 | # Define the image generation prompt for the model. | COMMENT |
| MEDIUM | …e/bedrock-runtime/models/mistral_ai/converse_stream.py | 11 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …ple_code/bedrock-runtime/models/mistral_ai/converse.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …ck-runtime/models/mistral_ai/document_understanding.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …me/models/amazon_titan_text_embeddings/invoke_model.py | 10 | # Create a Bedrock Runtime client in the AWS Region of your choice. | COMMENT |
| MEDIUM | …me/models/amazon_titan_text_embeddings/invoke_model.py | 19 | # Create the request for the model. | COMMENT |
| MEDIUM | …me/models/amazon_titan_image_generator/invoke_model.py | 13 | # Create a Bedrock Runtime client in the AWS Region of your choice. | COMMENT |
| MEDIUM | …me/models/amazon_titan_image_generator/invoke_model.py | 19 | # Define the image generation prompt for the model. | COMMENT |
| MEDIUM | …rock-runtime/models/deepseek/document_understanding.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …e/bedrock-runtime/models/meta_llama/converse_stream.py | 11 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …ple_code/bedrock-runtime/models/meta_llama/converse.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …ck-runtime/models/meta_llama/document_understanding.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …drock-runtime/models/amazon_titan_text/invoke_model.py | 12 | # Create a Bedrock Runtime client in the AWS Region of your choice. | COMMENT |
| MEDIUM | …drock-runtime/models/amazon_titan_text/invoke_model.py | 18 | # Define the prompt for the model. | COMMENT |
| MEDIUM | …/models/amazon_nova/amazon_nova_canvas/invoke_model.py | 14 | # Create a Bedrock Runtime client in the AWS Region of your choice. | COMMENT |
| MEDIUM | …/models/amazon_nova/amazon_nova_canvas/invoke_model.py | 20 | # Define the image generation prompt for the model. | COMMENT |
| MEDIUM | …models/amazon_nova/amazon_nova_text/converse_stream.py | 11 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …untime/models/amazon_nova/amazon_nova_text/converse.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …amazon_nova/amazon_nova_text/document_understanding.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …e/models/amazon_nova/amazon_nova_reel/text_to_video.py | 85 | # Create a Bedrock Runtime client | COMMENT |
| MEDIUM | …drock-runtime/models/cohere_command/converse_stream.py | 11 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …code/bedrock-runtime/models/cohere_command/converse.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …untime/models/cohere_command/document_understanding.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …runtime/models/anthropic_claude/converse_stream_pdf.py | 14 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …ock-runtime/models/anthropic_claude/converse_stream.py | 11 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …de/bedrock-runtime/models/anthropic_claude/converse.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …rock-runtime/models/anthropic_claude/converse_async.py | 22 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …time/models/anthropic_claude/document_understanding.py | 10 | # Create a Bedrock Runtime client in the AWS Region you want to use. | COMMENT |
| MEDIUM | …e/scenarios/claude3_chatbot_demo/with_knowledgebase.py | 115 | # Create an instance of the app with the provided knowledge base ID and run it | STRING |
| MEDIUM | …scenarios/claude3_chatbot_demo/utils/custom_logging.py | 26 | # Create a logger | COMMENT |
| MEDIUM | …scenarios/claude3_chatbot_demo/utils/custom_logging.py | 33 | # Creating a stream handler (console output) and setting the custom formatter | COMMENT |
| MEDIUM | …e/cross-model-scenarios/tool_use_demo/tool_use_demo.py | 69 | # Create a Bedrock Runtime client in the specified AWS Region. | STRING |
| MEDIUM | …e/cross-model-scenarios/tool_use_demo/tool_use_demo.py | 88 | # Create a new message with the user input and append it to the conversation | STRING |
| MEDIUM | python/example_code/glue/hello/hello_glue.py | 15 | # Create the Glue client | COMMENT |
| MEDIUM | python/example_code/s3/s3_basics/hello.py | 16 | # Create an S3 client. | COMMENT |
| MEDIUM | python/example_code/s3/s3_basics/hello.py | 21 | # Create a paginator for the list_buckets operation. | COMMENT |
| MEDIUM | …ple_code/s3/scenarios/conditional_requests/scenario.py | 56 | # Create the buckets. | COMMENT |
| MEDIUM | …n/example_code/sesv2/newsletter_scenario/newsletter.py | 91 | # Create the email identity | STRING |
| MEDIUM | …n/example_code/sesv2/newsletter_scenario/newsletter.py | 104 | # Create the contact list | STRING |
| MEDIUM | …n/example_code/sesv2/newsletter_scenario/newsletter.py | 117 | # Create the email template | STRING |
| MEDIUM | …n/example_code/sesv2/newsletter_scenario/newsletter.py | 157 | # Create a new contact | STRING |
| MEDIUM | …tachments_scenario/scenario_sesv2_email_attachments.py | 138 | # Create the email template for the bulk-send step. | COMMENT |
| MEDIUM | …tachments_scenario/scenario_sesv2_email_attachments.py | 219 | # Create a minimal 1x1 red PNG (valid PNG file). | COMMENT |
| MEDIUM | …ple_code/greengrassv2/test/test_greengrassv2_basics.py | 144 | # Create a thing group | COMMENT |
| MEDIUM | …ple_code/greengrassv2/test/test_greengrassv2_basics.py | 148 | # Create a component for deployment | COMMENT |
| MEDIUM | …ple_code/greengrassv2/test/test_greengrassv2_basics.py | 172 | # Create a deployment | COMMENT |
| MEDIUM | python/example_code/cognito/hello/hello_cognito.py | 8 | # Create a Cognito Identity Provider client | COMMENT |
| MEDIUM | python/example_code/cognito/hello/hello_cognito.py | 14 | # Create a PageIterator from the paginator | COMMENT |
| MEDIUM | …thon/example_code/signv4/v4-signing-get-querystring.py | 56 | # Create a date for headers and the credential string | COMMENT |
| MEDIUM | …thon/example_code/signv4/v4-signing-get-querystring.py | 133 | # Create the signing key | COMMENT |
| MEDIUM | python/example_code/signv4/v4-signing-get-authheader.py | 57 | # Create a date for headers and the credential string | COMMENT |
| MEDIUM | python/example_code/signv4/v4-signing-get-authheader.py | 126 | # Create the signing key using the function defined above. | COMMENT |
| MEDIUM | python/example_code/signv4/v4-signing-get-post.py | 72 | # Create a date for headers and the credential string | COMMENT |
| MEDIUM | python/example_code/signv4/v4-signing-get-post.py | 154 | # Create the signing key using the function defined above. | COMMENT |
| MEDIUM | python/example_code/dynamodb/hello/hello_dynamodb.py | 8 | # Create a DynamoDB client using the default credentials and region | COMMENT |
| 133 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rustv1/tools/toggle_sdk_branch.py | 7 | except Exception: | CODE |
| LOW | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 302 | except Exception as e: | CODE |
| LOW | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 396 | except Exception as e: | CODE |
| LOW | …ss_service/resilient_service/test/test_runner_integ.py | 86 | except Exception as e: | CODE |
| LOW | …ss_service/resilient_service/test/test_runner_integ.py | 96 | except Exception as e: | CODE |
| MEDIUM | …ss_service/resilient_service/test/test_runner_integ.py | 63 | def test_deploy_resources(self, mock_input): | CODE |
| LOW | …ss_service/aurora_rest_lending_library/library_demo.py | 188 | except Exception as err: | CODE |
| LOW | …ss_service/aurora_rest_lending_library/library_demo.py | 268 | except Exception as err: | CODE |
| LOW | …service/aurora_rest_lending_library/library_api/app.py | 138 | except Exception as err: | CODE |
| LOW | …service/aurora_rest_lending_library/library_api/app.py | 169 | except Exception as err: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 215 | except Exception as err: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 298 | except Exception: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 306 | except Exception: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 402 | except Exception: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 465 | except Exception as err: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 498 | except Exception: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 511 | except Exception as err: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 522 | except Exception as err: | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 582 | except Exception as err: | CODE |
| LOW | …ng_library/library_api/chalicelib/postgresql_helper.py | 343 | except Exception: | CODE |
| LOW | …ng_library/library_api/chalicelib/postgresql_helper.py | 362 | except Exception: | CODE |
| LOW | …lending_library/library_api/chalicelib/mysql_helper.py | 271 | except Exception: | CODE |
| MEDIUM⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 362 | print(f"Error deleting queue #{i+1}: {e}") | CODE |
| MEDIUM⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 371 | print(f"Error unsubscribing #{i+1}: {e}") | CODE |
| MEDIUM⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 381 | print(f"Error deleting topic: {e}") | CODE |
| LOW⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 361 | except Exception as e: | CODE |
| LOW⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 370 | except Exception as e: | CODE |
| LOW⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 380 | except Exception as e: | CODE |
| LOW | …ervice/topics_and_queues/topics_and_queues_scenario.py | 410 | except Exception as e: | CODE |
| LOW⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 98 | except Exception as e: | STRING |
| LOW⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 104 | except Exception as cleanup_error: | STRING |
| LOW | …ice/rekognition_content_moderation/cloudformation.yaml | 91 | except Exception as e: | CODE |
| MEDIUM | …ice/rekognition_content_moderation/cloudformation.yaml | 67 | def getModerationForUrl(url): | CODE |
| LOW | …ce/rekognition_content_moderation/src/rek-moderator.py | 51 | except Exception as e: | CODE |
| MEDIUM | …ce/rekognition_content_moderation/src/rek-moderator.py | 20 | def getModerationForUrl(url): | CODE |
| LOW | …claude/scenarios/claude3_chatbot_demo/with_document.py | 79 | except Exception as e: | STRING |
| LOW | …claude/scenarios/claude3_chatbot_demo/with_document.py | 102 | except Exception as e: | STRING |
| LOW | …e/scenarios/claude3_chatbot_demo/with_knowledgebase.py | 56 | except Exception as e: | CODE |
| LOW | …e/scenarios/claude3_chatbot_demo/with_knowledgebase.py | 97 | except Exception as e: | STRING |
| LOW | …me/cross-model-scenarios/tool_use_demo/weather_tool.py | 60 | except Exception as e: | CODE |
| LOW | …ple_code/auto-scaling/scenario_groups_and_instances.py | 501 | except Exception: | CODE |
| LOW | …thon/example_code/pinpoint/pinpoint_send_email_smtp.py | 112 | except Exception: | CODE |
| LOW | python/example_code/ssm/ssm_getting_started.py | 225 | except Exception: | STRING |
| LOW | python/example_code/ssm/ssm_getting_started.py | 243 | except Exception: | STRING |
| LOW | …hon/example_code/secretsmanager/scenario_get_secret.py | 38 | except Exception as e: | CODE |
| LOW | …mple_code/secretsmanager/scenario_get_batch_secrets.py | 39 | except Exception as e: | CODE |
| LOW | python/example_code/secretsmanager/get_secret_value.py | 43 | except Exception as e: | CODE |
| LOW | …/example_code/secretsmanager/batch_get_secret_value.py | 50 | except Exception as e: | CODE |
| LOW | python/example_code/kms/grant_management.py | 180 | except Exception: | CODE |
| LOW | python/example_code/kms/alias_management.py | 232 | except Exception: | CODE |
| LOW | python/example_code/kms/key_management.py | 334 | except Exception: | CODE |
| LOW | python/example_code/kms/key_policies.py | 192 | except Exception: | CODE |
| LOW | python/example_code/kms/key_encryption.py | 214 | except Exception: | CODE |
| LOW | python/example_code/kms/kms_scenario.py | 359 | except Exception: | STRING |
| LOW | python/example_code/cloudwatch/cloudwatch_scenario.py | 512 | except Exception: # pylint: disable=broad-except | CODE |
| MEDIUM | python/example_code/glue/scaffold.py | 117 | print(f"Something went wrong while trying to {args.action} the stack:") | CODE |
| LOW | …ode/glue/scenario_getting_started_crawlers_and_jobs.py | 343 | except Exception: | CODE |
| MEDIUM | python/example_code/glue/hello/hello_glue.py | 31 | print(f"Error: {e}") | CODE |
| LOW | …ple_code/s3/scenarios/conditional_requests/scenario.py | 77 | except Exception as e: | CODE |
| LOW | …mple_code/s3/scenarios/object-locking/s3_operations.py | 43 | except Exception as e: | CODE |
| 318 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rustv1/examples/glue/resources/flight_etl_job_script.py | 14 | CODE | |
| LOW | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 4 | CODE | |
| LOW | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 11 | CODE | |
| LOW | python/test_tools/scheduler_stubber.py | 11 | CODE | |
| LOW | python/test_tools/scheduler_stubber.py | 12 | CODE | |
| LOW | python/test_tools/scheduler_stubber.py | 18 | CODE | |
| LOW | python/test_tools/scheduler_stubber.py | 18 | CODE | |
| LOW | python/test_tools/scheduler_stubber.py | 18 | CODE | |
| LOW | python/test_tools/dynamodb_stubber.py | 12 | CODE | |
| LOW | python/test_tools/redshift_stubber.py | 8 | CODE | |
| LOW | python/test_tools/redshift_stubber.py | 9 | CODE | |
| LOW | python/test_tools/healthlake_stubber.py | 11 | CODE | |
| LOW | python/test_tools/healthlake_stubber.py | 12 | CODE | |
| LOW | python/test_tools/healthlake_stubber.py | 13 | CODE | |
| LOW | python/test_tools/healthlake_stubber.py | 18 | CODE | |
| LOW | python/test_tools/ecr_stubber.py | 12 | CODE | |
| LOW | python/test_tools/controltower_stubber.py | 11 | CODE | |
| LOW | python/test_tools/controlcatalog_stubber.py | 11 | CODE | |
| LOW | python/test_tools/example_stubber.py | 8 | CODE | |
| LOW | python/test_tools/redshift_data_stubber.py | 8 | CODE | |
| LOW | python/test_tools/redshift_data_stubber.py | 9 | CODE | |
| LOW | python/test_tools/comprehend_stubber.py | 8 | CODE | |
| LOW | python/test_tools/run_all_tests.py | 17 | CODE | |
| LOW | python/test_tools/iot_sitewise_stubber.py | 14 | CODE | |
| LOW | python/test_tools/iot_sitewise_stubber.py | 15 | CODE | |
| LOW | python/test_tools/sts_stubber.py | 12 | CODE | |
| LOW | python/test_tools/sts_stubber.py | 13 | CODE | |
| LOW | python/test_tools/sts_stubber.py | 14 | CODE | |
| LOW | python/test_tools/support_stubber.py | 9 | CODE | |
| LOW | python/test_tools/s3control_stubber.py | 11 | CODE | |
| LOW | python/test_tools/s3control_stubber.py | 12 | CODE | |
| LOW | …hon/cross_service/aurora_item_tracker/test/conftest.py | 13 | CODE | |
| LOW | …hon/cross_service/aurora_item_tracker/test/conftest.py | 13 | CODE | |
| LOW | …hon/cross_service/aurora_item_tracker/test/conftest.py | 13 | CODE | |
| LOW | …hon/cross_service/aurora_item_tracker/test/conftest.py | 13 | CODE | |
| LOW | …hon/cross_service/aurora_item_tracker/test/conftest.py | 13 | CODE | |
| LOW | …hon/cross_service/aurora_item_tracker/test/conftest.py | 13 | CODE | |
| LOW | …hon/cross_service/aurora_item_tracker/test/conftest.py | 13 | CODE | |
| LOW | …hon/cross_service/aurora_item_tracker/test/conftest.py | 13 | CODE | |
| LOW | …s_service/apigateway_covid-19_tracker/test/conftest.py | 13 | CODE | |
| LOW | …s_service/apigateway_covid-19_tracker/test/conftest.py | 13 | CODE | |
| LOW | …s_service/apigateway_covid-19_tracker/test/conftest.py | 13 | CODE | |
| LOW | …s_service/apigateway_covid-19_tracker/test/conftest.py | 13 | CODE | |
| LOW | …s_service/apigateway_covid-19_tracker/test/conftest.py | 13 | CODE | |
| LOW | …s_service/apigateway_covid-19_tracker/test/conftest.py | 13 | CODE | |
| LOW | …s_service/apigateway_covid-19_tracker/test/conftest.py | 13 | CODE | |
| LOW | …s_service/apigateway_covid-19_tracker/test/conftest.py | 13 | CODE | |
| LOW | …rora_rest_lending_library/library_api/test/conftest.py | 12 | CODE | |
| LOW | …rora_rest_lending_library/library_api/test/conftest.py | 12 | CODE | |
| LOW | …rora_rest_lending_library/library_api/test/conftest.py | 12 | CODE | |
| LOW | …rora_rest_lending_library/library_api/test/conftest.py | 12 | CODE | |
| LOW | …rora_rest_lending_library/library_api/test/conftest.py | 12 | CODE | |
| LOW | …rora_rest_lending_library/library_api/test/conftest.py | 12 | CODE | |
| LOW | …rora_rest_lending_library/library_api/test/conftest.py | 12 | CODE | |
| LOW | …rora_rest_lending_library/library_api/test/conftest.py | 12 | CODE | |
| LOW | python/cross_service/topics_and_queues/sns_wrapper.py | 8 | CODE | |
| LOW | python/cross_service/topics_and_queues/sns_wrapper.py | 10 | CODE | |
| LOW | …ervice/topics_and_queues/topics_and_queues_scenario.py | 24 | CODE | |
| LOW | …ervice/topics_and_queues/topics_and_queues_scenario.py | 28 | CODE | |
| LOW | python/cross_service/topics_and_queues/test/conftest.py | 26 | CODE | |
| 192 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 67 | // Step 1: Create bucket | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 71 | // Step 2: Create presigned URL | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 76 | // Step 3: Display URL and fields | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 81 | // Step 4: Upload file | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 86 | // Step 5: Verify file exists | COMMENT |
| LOW⚡ | …os/S3_CreatePresignedPost/CreatePresignedPostBasics.cs | 90 | // Step 6: Cleanup | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 131 | // Step 1: Create an AWS IoT Thing | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 183 | // Step 2: Generate a Device Certificate | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 224 | // Step 3: Attach the Certificate to the AWS IoT Thing | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 247 | // Step 4: Update an AWS IoT Thing with Attributes | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 270 | // Step 5: Return a unique endpoint specific to the Amazon Web Services account | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 293 | // Step 6: List your AWS IoT certificates | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 311 | // Step 7: Create an IoT shadow | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 337 | // Step 8: Write out the state information, in JSON format | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 350 | // Step 9: Set up resources (SNS topic and IAM role) and create a rule | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 425 | // Step 10: List your rules | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 445 | // Step 11: Search things using the Thing name | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 465 | // Step 12: Cleanup - Detach and delete certificate | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 498 | // Step 13: Delete the AWS IoT Thing | COMMENT |
| LOW | dotnetv4/IoT/Scenarios/IoTBasics.cs | 519 | // Step 14: Clean up CloudFormation stack | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 74 | // Step 1: Get user credentials (if interactive) | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 90 | // Step 2: Get cluster identifier | COMMENT |
| LOW⚡ | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 101 | // Step 3: Create Redshift cluster | COMMENT |
| LOW⚡ | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 105 | // Step 4: Wait for cluster to become available | COMMENT |
| LOW⚡ | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 110 | // Step 5: List databases | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 132 | // Step 6: Create Movies table | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 143 | // Step 7: Populate the Movies table | COMMENT |
| LOW | dotnetv4/Redshift/Scenarios/RedshiftBasics.cs | 197 | // Step 10: Modify the cluster | COMMENT |
| LOW⚡ | …bedrock-runtime/models/amazonNovaCanvas/invokeModel.js | 24 | // Step 1: Create the Amazon Bedrock runtime client | COMMENT |
| LOW⚡ | …bedrock-runtime/models/amazonNovaCanvas/invokeModel.js | 28 | // Step 2: Specify which model to use | COMMENT |
| LOW⚡ | …bedrock-runtime/models/amazonNovaCanvas/invokeModel.js | 33 | // Step 3: Configure the request payload | COMMENT |
| LOW | …bedrock-runtime/models/amazonNovaCanvas/invokeModel.js | 57 | // Step 4: Send and process the request | COMMENT |
| LOW⚡ | …edrock-runtime/models/amazonNovaText/converseStream.js | 19 | // Step 1: Create the Amazon Bedrock runtime client | COMMENT |
| LOW⚡ | …edrock-runtime/models/amazonNovaText/converseStream.js | 23 | // Step 2: Specify which model to use | COMMENT |
| LOW⚡ | …edrock-runtime/models/amazonNovaText/converseStream.js | 33 | // Step 3: Create the message | COMMENT |
| LOW⚡ | …edrock-runtime/models/amazonNovaText/converseStream.js | 42 | // Step 4: Configure the streaming request | COMMENT |
| LOW | …edrock-runtime/models/amazonNovaText/converseStream.js | 59 | // Step 5: Send and process the streaming request | COMMENT |
| LOW | …ck-runtime/models/amazonNovaText/converse-with-tool.js | 19 | // Step 1: Create the Amazon Bedrock runtime client | COMMENT |
| LOW⚡ | …code/bedrock-runtime/models/amazonNovaText/converse.js | 18 | // Step 1: Create the Amazon Bedrock runtime client | COMMENT |
| LOW⚡ | …code/bedrock-runtime/models/amazonNovaText/converse.js | 22 | // Step 2: Specify which model to use: | COMMENT |
| LOW⚡ | …code/bedrock-runtime/models/amazonNovaText/converse.js | 32 | // Step 3: Create the message | COMMENT |
| LOW⚡ | …code/bedrock-runtime/models/amazonNovaText/converse.js | 41 | // Step 4: Configure the request | COMMENT |
| LOW | …code/bedrock-runtime/models/amazonNovaText/converse.js | 58 | // Step 5: Send and process the request | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 76 | // Step 1: List metrics and namespaces. This orients the reader before any configuration | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 123 | // Step 2: Start OTel enrichment. Enrichment is what makes CloudWatch attach AWS resource | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 157 | // Step 3: Explain OTLP ingestion. This step makes no service call; naming the gap | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 171 | // Step 4: Create a PromQL alarm. | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 220 | // Step 5: Inspect the alarm's contributors. This is the step with no classic-alarm | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 265 | // Step 6: Get statistics and chart the metric on a dashboard. | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 373 | // Step 7: Mute the alarm for a maintenance window. | COMMENT |
| LOW | …example_code/cloudwatch/scenarios/cloudwatch-basics.js | 455 | // Step 8: Clean up. | COMMENT |
| LOW⚡ | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 117 | # Step 1: Get identity ID without authentication | COMMENT |
| LOW⚡ | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 124 | # Step 2: Get AWS credentials with unauthenticated role | COMMENT |
| LOW | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 259 | # Step 1: GetOpenIdTokenForDeveloperIdentity | COMMENT |
| LOW | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 270 | # Step 2: GetCredentialsForIdentity - Exchange the token for AWS credentials | COMMENT |
| LOW⚡ | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 157 | # Step 1: GetId - Get a unique identifier for unauthenticated user | COMMENT |
| LOW⚡ | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 164 | # Step 2: GetOpenIdToken - Exchange identity ID for OpenID token | COMMENT |
| LOW⚡ | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 174 | # Step 3: AssumeRoleWithWebIdentity - Exchange token for AWS credentials | COMMENT |
| LOW⚡ | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 266 | # Step 1: GetId - Get a unique Identity ID with provider token for authenticated user | COMMENT |
| LOW⚡ | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 270 | # Step 2: GetOpenIdToken - Exchange identity ID for OpenID token with logins | COMMENT |
| 77 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rustv1/tools/toggle_sdk_branch.py | 34 | def update_sdk_dependencies(cargo: TOMLDocument, branch: Union["main", "next"]) -> None: | CODE |
| LOW | rustv1/tools/add_aws_config_feature.py | 34 | def update_sdk_dependencies(cargo: TOMLDocument, feature: str) -> None: | CODE |
| LOW | rustv1/tools/set_sdk_version.py | 61 | def update_sdk_dependencies(dependencies, branch: str) -> None: | CODE |
| LOW | rustv1/tools/set_sdk_version.py | 85 | def update_sdk(cargo: TOMLDocument, branch: str) -> None: | CODE |
| LOW | python/cross_service/aurora_item_tracker/item_list.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/aurora_item_tracker/storage.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/aurora_item_tracker/report.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ss_service/aurora_rest_lending_library/library_demo.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/aurora_rest_lending_library/rds_tools/aurora_tools.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | …service/aurora_rest_lending_library/library_api/app.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ng_library/library_api/chalicelib/postgresql_helper.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/topics_and_queues/sns_wrapper.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/topics_and_queues/sqs_wrapper.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ervice/topics_and_queues/topics_and_queues_scenario.py | 37 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | …ervice/topics_and_queues/topics_and_queues_scenario.py | 110 | def _setup_topic(self) -> None: | STRING |
| LOW | …ervice/topics_and_queues/topics_and_queues_scenario.py | 159 | def _setup_queues(self) -> None: | STRING |
| LOW | …ss_service/apigateway_websocket_chat/websocket_chat.py | 24 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/stepfunctions_messenger/stepfunctions_statemachine.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …_service/stepfunctions_messenger/stepfunctions_demo.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/textract_explorer/textract_app.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | …on/cross_service/textract_explorer/textract_wrapper.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ss_service/textract_explorer/textract_demo_launcher.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/photo_analyzer/api/analysis.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/photo_analyzer/api/photo_list.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/photo_analyzer/api/app.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/photo_analyzer/api/photo.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/photo_analyzer/api/report.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/dynamodb_item_tracker/item_list.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/dynamodb_item_tracker/storage.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/dynamodb_item_tracker/app.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/cross_service/dynamodb_item_tracker/report.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/demo_tools/retries.py | 8 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/demo_tools/custom_waiter.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ple_code/auto-scaling/scenario_groups_and_instances.py | 44 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/auto-scaling/action_wrapper.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/auto-scaling/action_wrapper.py | 93 | def update_group(self, group_name: str, **kwargs: Any) -> None: | CODE |
| LOW | python/example_code/auto-scaling/action_wrapper.py | 249 | def set_desired_capacity(self, group_name: str, capacity: int) -> None: | CODE |
| LOW | python/example_code/kinesis/streams/kinesis_stream.py | 15 | logger = logging.getLogger(__name__) | CODE |
| LOW | …thon/example_code/pinpoint/pinpoint_send_email_smtp.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | …code/pinpoint/pinpoint_send_templated_email_message.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …example_code/pinpoint/pinpoint_send_sms_message_api.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …ample_code/pinpoint/pinpoint_send_email_message_api.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | …e_code/pinpoint/pinpoint_send_templated_sms_message.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | …n/example_code/organizations/organizations_policies.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/ssm/ops_item.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/ssm/ssm_getting_started.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/ssm/document.py | 10 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/ssm/maintenance_window.py | 9 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/secretsmanager/get_secret_value.py | 13 | logger = logging.getLogger(__name__) | CODE |
| LOW | …/example_code/secretsmanager/batch_get_secret_value.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/kms/grant_management.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/kms/alias_management.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/kms/key_management.py | 18 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/kms/key_policies.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/kms/key_policies.py | 92 | def set_policy(self, key_id: str, policy: dict[str, any]) -> None: | CODE |
| LOW | python/example_code/kms/key_policies.py | 140 | def set_new_policy(self, key_id: str, policy: dict[str, any]) -> None: | CODE |
| LOW | python/example_code/kms/key_encryption.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/cloudwatch/cloudwatch_otel.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | python/example_code/cloudwatch/cloudwatch_scenario.py | 49 | logger = logging.getLogger(__name__) | CODE |
| 167 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | …rios/object_annotations/scenario_object_annotations.py | 78 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …rios/object_annotations/scenario_object_annotations.py | 80 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …rios/object_annotations/scenario_object_annotations.py | 123 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …rios/object_annotations/scenario_object_annotations.py | 125 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …rios/object_annotations/scenario_object_annotations.py | 161 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …rios/object_annotations/scenario_object_annotations.py | 163 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …rios/object_annotations/scenario_object_annotations.py | 196 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …rios/object_annotations/scenario_object_annotations.py | 198 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …rios/object_annotations/scenario_object_annotations.py | 222 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …rios/object_annotations/scenario_object_annotations.py | 224 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …rios/object_annotations/scenario_object_annotations.py | 272 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …rios/object_annotations/scenario_object_annotations.py | 274 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 74 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 76 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 221 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 223 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 258 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 260 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 315 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 317 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 403 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM | …cenarios/syslog_ingestion/syslog_ingestion_scenario.py | 405 | # ------------------------------------------------------------------ | COMMENT |
| MEDIUM⚡ | …enarios/syslog_ingestion/test/test_syslog_ingestion.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …enarios/syslog_ingestion/test/test_syslog_ingestion.py | 26 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …enarios/syslog_ingestion/test/test_syslog_ingestion.py | 37 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …enarios/syslog_ingestion/test/test_syslog_ingestion.py | 39 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 27 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 29 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 46 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 48 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 84 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 113 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 115 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 169 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 171 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 138 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 140 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 153 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 208 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 210 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 232 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 234 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 246 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 248 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 264 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 266 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 285 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …ample_code/greengrassv2/test/test_greengrassv2_unit.py | 287 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/example_code/ecs/test/test_ecs_basics.py | 22 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/example_code/ecs/test/test_ecs_basics.py | 24 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/example_code/ecs/test/test_ecs_basics.py | 38 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/example_code/ecs/test/test_ecs_basics.py | 40 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/example_code/ecs/test/test_ecs_basics.py | 52 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/example_code/ecs/test/test_ecs_basics.py | 54 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/example_code/batch/test/test_batch_basics.py | 15 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | python/example_code/batch/test/test_batch_basics.py | 17 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/example_code/batch/test/test_batch_basics.py | 79 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | python/example_code/batch/test/test_batch_basics.py | 85 | # --------------------------------------------------------------------------- | COMMENT |
| 2 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …lending_library/library_api/chalicelib/library_data.py | 298 | except Exception: | CODE |
| HIGH | …lending_library/library_api/chalicelib/library_data.py | 306 | except Exception: | CODE |
| HIGH | …achments_scenario/test/test_sesv2_email_attachments.py | 54 | except Exception: | CODE |
| HIGH | …achments_scenario/test/test_sesv2_email_attachments.py | 199 | except Exception: | CODE |
| HIGH | …enarios/syslog_ingestion/test/test_syslog_ingestion.py | 89 | except Exception: | CODE |
| HIGH | …enarios/syslog_ingestion/test/test_syslog_ingestion.py | 93 | except Exception: | CODE |
| HIGH | …enarios/syslog_ingestion/test/test_syslog_ingestion.py | 85 | except Exception: | CODE |
| HIGH | …ple_code/greengrassv2/test/test_greengrassv2_basics.py | 122 | except ClientError: | CODE |
| HIGH | …ple_code/greengrassv2/test/test_greengrassv2_basics.py | 127 | except ClientError: | CODE |
| HIGH | …ple_code/greengrassv2/test/test_greengrassv2_basics.py | 224 | except ClientError: | CODE |
| HIGH | …ple_code/greengrassv2/test/test_greengrassv2_basics.py | 229 | except ClientError: | CODE |
| HIGH | …dentity_pools_example_demo/web/backend/oauth_server.py | 131 | except: | CODE |
| HIGH | …dentity_pools_example_demo/web/backend/oauth_server.py | 137 | except: | CODE |
| HIGH | …dentity_pools_example_demo/web/backend/oauth_server.py | 557 | except ImportError: | CODE |
| HIGH | …ools_example_demo/web/backend/config/cognito_config.py | 30 | except ImportError: | CODE |
| HIGH | python/example_code/iot/test/test_iot_integration.py | 56 | except Exception: | CODE |
| HIGH | python/example_code/iot/test/test_iot_integration.py | 83 | except Exception: | CODE |
| HIGH | …_code/bedrock/scenarios/bedrock_studio_bootstrapper.py | 345 | except self._iam_client.exceptions.NoSuchEntityException: | CODE |
| HIGH | python/example_code/ses/ses_replicate_identities.py | 180 | except StopIteration: | CODE |
| HIGH | python/example_code/polly/polly_lipsync.py | 240 | except StopIteration: | CODE |
| HIGH | python/example_code/athena/test/test_athena_basics.py | 122 | except (ClientError, RuntimeError): | CODE |
| HIGH | python/example_code/athena/test/test_athena_basics.py | 131 | except (ClientError, RuntimeError): | CODE |
| HIGH | python/example_code/athena/test/test_athena_basics.py | 137 | except ClientError: | CODE |
| HIGH | python/example_code/athena/test/test_athena_basics.py | 150 | except ClientError: | CODE |
| HIGH | python/example_code/athena/test/test_athena_basics.py | 160 | except ClientError: | CODE |
| HIGH | python/example_code/athena/test/test_athena_basics.py | 112 | except ClientError: | CODE |
| HIGH | .github/sd-cpp-linter/sd_review.py | 616 | except subprocess.CalledProcessError: | CODE |
| HIGH | .tools/ailly/ailly.py | 41 | except Exception: | CODE |
| HIGH | .tools/scripts/pr_review_fix.py | 190 | except Exception: | CODE |
| HIGH | .tools/scripts/pr_review_fix.py | 362 | except Exception: | CODE |
| HIGH | .tools/scripts/pr_review.py | 296 | except FileNotFoundError: | CODE |
| HIGH | .tools/scripts/pr_review.py | 319 | except FileNotFoundError: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | steering_docs/kotlin-tech/tests.md | 226 | {createdAt} = aws.smithy.kotlin.runtime.time.Instant.now() | CODE |
| CRITICAL | steering_docs/kotlin-tech/tests.md | 227 | {updatedAt} = aws.smithy.kotlin.runtime.time.Instant.now() | CODE |
| CRITICAL | kotlin/usecases/creating_photo_analyzer_app/README.md | 323 | org.apache.commons.io.IOUtils.copy(excelData, response?.outputStream) | CODE |
| CRITICAL | kotlin/usecases/creating_photo_analyzer_app/README.md | 342 | org.apache.commons.io.IOUtils.copy(`is`, response.outputStream) | CODE |
| CRITICAL | …analyzer_app/src/main/kotlin/com/aws/photo/PhotoApp.kt | 88 | org.apache.commons.io.IOUtils.copy(excelData, response.outputStream) | CODE |
| CRITICAL | …analyzer_app/src/main/kotlin/com/aws/photo/PhotoApp.kt | 106 | org.apache.commons.io.IOUtils.copy(`is`, response.outputStream) | CODE |
| CRITICAL | …bedrock-runtime/src/test/kotlin/models/TestConverse.kt | 18 | ModelTest("Amazon Nova") { com.example.bedrockruntime.models.amazon.nova.text.converse() }, | CODE |
| CRITICAL | …k-runtime/src/test/kotlin/models/TestConverseStream.kt | 18 | ModelTest("Amazon Nova") { com.example.bedrockruntime.models.amazon.nova.text.converseStream() }, | CODE |
| CRITICAL | …rock-runtime/src/test/kotlin/models/TestInvokeModel.kt | 18 | ModelTest("Amazon Nova Canvas") { com.example.bedrockruntime.models.amazon.nova.canvas.invokeModel() }, | CODE |
| CRITICAL | …on/src/main/java/location/scenario/LocationScenario.kt | 576 | sampleTime = aws.smithy.kotlin.runtime.time.Instant.now() // Timestamp of position update. | STRING |
| CRITICAL | javav2/usecases/creating_photo_analyzer_app/README.md | 373 | org.apache.commons.io.IOUtils.copy(is, response.getOutputStream()); | CODE |
| CRITICAL | …p/src/main/java/com/example/photo/PhotoController.java | 122 | org.apache.commons.io.IOUtils.copy(is, response.getOutputStream()); | CODE |
| CRITICAL | javav2/usecases/workflow_multiple_channels/README.md | 633 | software.amazon.awssdk.services.ses.model.Message msg = software.amazon.awssdk.services.ses.model.Message.bu | CODE |
| CRITICAL | javav2/usecases/creating_photo_analyzer_async/README.md | 394 | org.apache.commons.io.IOUtils.copy(is, response.getOutputStream()); | CODE |
| CRITICAL | …c/src/main/java/com/example/photo/PhotoController.java | 119 | org.apache.commons.io.IOUtils.copy(is, response.getOutputStream()); | CODE |
| CRITICAL | …n/src/main/java/com/example/rekognition/DetectPPE.java | 76 | software.amazon.awssdk.services.rekognition.model.Image rekImage = software.amazon.awssdk.services.rekogniti | STRING |
| CRITICAL | javav2/example_code/xray/src/test/java/XRayTest.java | 33 | org.apache.logging.log4j.LogManager.getContext(false); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 22 | Finds the artifact 'name' among the 'artifacts' Args: artifacts: The list of artifacts available to the fun | STRING |
| HIGH | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 41 | Gets the template artifact Downloads the artifact from the S3 artifact store to a temporary file then extracts | STRING |
| HIGH | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 69 | Start a CloudFormation stack update Args: stack: The stack to update template: The template to appl | STRING |
| HIGH | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 97 | Check if a stack exists or not Args: stack: The stack to check Returns: True or False dependin | STRING |
| HIGH | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 134 | Get the status of an existing CloudFormation stack Args: stack: The name of the stack to check Returns | STRING |
| HIGH | …v3/example_code/codepipeline/MyCodePipelineFunction.py | 283 | Decodes the JSON user parameters and validates the required properties. Args: job_data: The job data struct | STRING |
| HIGH | …ample_code/s3/scenarios/batch/cloudformation_helper.py | 103 | Get CloudFormation stack outputs. Args: stack_name (str): Name of the CloudFormation stack | STRING |
| HIGH | …on/example_code/s3/scenarios/batch/s3_batch_wrapper.py | 70 | Upload files to S3 bucket including manifest file. Args: bucket_name (str): Target bucket | STRING |
| HIGH | …on/example_code/s3/scenarios/batch/s3_batch_wrapper.py | 115 | Create an S3 batch operation job. Args: account_id (str): AWS account ID role_ | STRING |
| HIGH | …on/example_code/s3/scenarios/batch/s3_batch_wrapper.py | 184 | Check for any failure reasons of a batch job. Args: job_id (str): ID of the batch job | STRING |
| HIGH | …on/example_code/s3/scenarios/batch/s3_batch_wrapper.py | 211 | Wait for a job to reach the desired status. Args: job_id (str): ID of the batch job | STRING |
| HIGH | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 48 | Gets an Identity ID from Amazon Cognito. Args: logins (dict, optional): Provider t | STRING |
| HIGH | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 71 | Gets AWS credentials for an Identity ID. Args: identity_id (str): The Identity ID | STRING |
| HIGH | python/example_code/neptune/neptune_scenario.py | 451 | Creates a Neptune DB cluster and returns its identifier. Args: neptune_client (boto3.client): The Nept | STRING |
| HIGH | python/example_code/neptune/neptune_scenario.py | 526 | Creates a Neptune DB subnet group and returns its name and ARN. Args: neptune_client (boto3.client): T | STRING |
| HIGH | …on/example_code/codepipeline/MyCodePipelineFunction.py | 46 | Finds the artifact 'name' among the 'artifacts' Args: artifacts: The list of artifacts available to the fun | STRING |
| HIGH | …on/example_code/codepipeline/MyCodePipelineFunction.py | 65 | Gets the template artifact Downloads the artifact from the S3 artifact store to a temporary file then extracts | STRING |
| HIGH | …on/example_code/codepipeline/MyCodePipelineFunction.py | 93 | Start a CloudFormation stack update Args: stack: The stack to update template: The template to appl | STRING |
| HIGH | …on/example_code/codepipeline/MyCodePipelineFunction.py | 121 | Check if a stack exists or not Args: stack: The stack to check Returns: True or False dependin | STRING |
| HIGH | …on/example_code/codepipeline/MyCodePipelineFunction.py | 158 | Get the status of an existing CloudFormation stack Args: stack: The name of the stack to check Returns | STRING |
| HIGH | …on/example_code/codepipeline/MyCodePipelineFunction.py | 307 | Decodes the JSON user parameters and validates the required properties. Args: job_data: The job data struct | STRING |
| HIGH | …de/firehose/scenarios/firehose-put-actions/firehose.py | 188 | Create a record entry for Firehose. Args: record (dict): The data record to be sent. | STRING |
| HIGH | steering_docs/python-tech/feature_scenario.md | 584 | Deploy a CloudFormation stack. Args: stack_name: Name of the stack to create t | STRING |
| HIGH | steering_docs/python-tech/feature_scenario.md | 938 | Description of what this operation does. Args: parameter: Description of parameter | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | …thon/example_code/signv4/v4-signing-get-querystring.py | 89 | # Step 4: Create the canonical query string. In this example, request | COMMENT |
| HIGH⚡ | python/example_code/signv4/v4-signing-get-authheader.py | 72 | # Step 3: Create the canonical query string. In this example (a GET request), | COMMENT |
| HIGH⚡ | python/example_code/signv4/v4-signing-get-post.py | 87 | ## Step 3: Create the canonical query string. In this example, request | COMMENT |
| HIGH⚡ | python/example_code/signv4/v4-signing-get-post.py | 118 | # Step 6: Create payload hash. In this example, the payload (body of | COMMENT |
| HIGH | …grass/snippets/connector_image_classification_usage.py | 62 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …xample_code/greengrass/snippets/connector_sns_usage.py | 32 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …e/greengrass/snippets/connector_serial_stream_usage.py | 32 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …reengrass/snippets/connector_raspberrypi_gpio_usage.py | 29 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …/connector_servicenow_metricsbase_integration_usage.py | 40 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …code/greengrass/snippets/connector_modbus_rtu_usage.py | 40 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …grass/snippets/connector_twilio_notifications_usage.py | 38 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …engrass/snippets/connector_splunk_integration_usage.py | 32 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …engrass/snippets/connector_cloudwatch_metrics_usage.py | 46 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| HIGH | …reengrass/snippets/connector_kinesis_firehose_usage.py | 35 | # In this example, the required AWS Lambda handler is never called. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .tools/docker-images/run-in-container.sh | 7 | # Usage: | COMMENT |
| LOW | .tools/docker-images/build-all.sh | 7 | # Usage: | COMMENT |
| LOW | …le_code/eventbridge/cw-ruby-example-send-events-ec2.rb | 758 | # Example usage: | COMMENT |
| LOW | ruby/example_code/cloudwatch/alarm_actions.rb | 118 | # Example usage: | COMMENT |
| LOW | ruby/example_code/cloudwatch/show_alarms.rb | 71 | # Example usage: | COMMENT |
| LOW | ruby/example_code/cloudwatch/metrics_basics.rb | 103 | # Example usage: | COMMENT |
| LOW | ruby/example_code/cloudwatch/create_alarm.rb | 90 | # Example usage: | COMMENT |
| LOW | ruby/example_code/cloudwatch/alarm_basics.rb | 139 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_put_sse.rb | 31 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_presigned_url_upload.rb | 25 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/auth_session_token_request_test.rb | 169 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_upload_file.rb | 33 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_copy.rb | 34 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_put.rb | 31 | # Example usage: | COMMENT |
| LOW | …/example_code/s3/auth_federation_token_request_test.rb | 105 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_get_encryption.rb | 31 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/bucket_put_encryption.rb | 42 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/bucket_cors.rb | 76 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/bucket_list.rb | 37 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/bucket_put_website.rb | 39 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/bucket_create.rb | 47 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_get.rb | 31 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_exists.rb | 31 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/object_copy_encrypt.rb | 35 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/auth_request_object_keys.rb | 43 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/bucket_list_objects.rb | 39 | # Example usage: | COMMENT |
| LOW | ruby/example_code/s3/bucket_policy.rb | 61 | # Example usage: | COMMENT |
| LOW | …ple_code/s3/encryption_v2/s3_get_cskms_decrypt_item.rb | 52 | # Example usage: | COMMENT |
| LOW | …code/s3/encryption_v2/s3_ruby_example_add_cspk_item.rb | 56 | # Example usage: | COMMENT |
| LOW | …ple_code/s3/encryption_v2/s3_get_csaes_decrypt_item.rb | 54 | # Example usage: | COMMENT |
| LOW | …code/s3/encryption_v2/s3_ruby_example_get_cspk_item.rb | 51 | # Example usage: | COMMENT |
| LOW | …ple_code/s3/encryption_v2/s3_add_cskms_encrypt_item.rb | 58 | # Example usage: | COMMENT |
| LOW | …ple_code/s3/encryption_v2/s3_add_csaes_encrypt_item.rb | 84 | # Example usage: | COMMENT |
| LOW | ruby/example_code/sns/show_subscriptions.rb | 30 | # Example usage: | COMMENT |
| LOW | ruby/example_code/sns/create_topic.rb | 30 | # Example usage: | COMMENT |
| LOW | ruby/example_code/sns/enable_resource.rb | 62 | # Example usage: | COMMENT |
| LOW | ruby/example_code/sns/send_message.rb | 32 | # Example usage: | COMMENT |
| LOW | ruby/example_code/sns/show_topics.rb | 35 | # Example usage: | COMMENT |
| LOW | ruby/example_code/elasticbeanstalk/list_apps.rb | 45 | # Example usage: | COMMENT |
| LOW | ruby/example_code/elasticbeanstalk/list_stacks.rb | 50 | # Example usage: | COMMENT |
| LOW | ruby/example_code/elasticbeanstalk/update_app.rb | 103 | # Example usage: | COMMENT |
| LOW | ruby/example_code/sqs/receive_messages.rb | 71 | # Example usage: | COMMENT |
| LOW | ruby/example_code/sqs/create_queue.rb | 43 | # Example usage: | COMMENT |
| LOW | ruby/example_code/sqs/send_message.rb | 57 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/attach_user_policy.rb | 79 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/list_users.rb | 92 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/list_groups.rb | 33 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/list_saml_providers.rb | 34 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/manage_server_certificates.rb | 72 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/get_account_password_policy.rb | 30 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/manage_roles.rb | 189 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/manage_users.rb | 188 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/attach_role_policy.rb | 100 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/manage_access_keys.rb | 85 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/list_admins.rb | 57 | # Example usage: | COMMENT |
| LOW | ruby/example_code/iam/manage_account_aliases.rb | 56 | # Example usage: | COMMENT |
| LOW | ruby/example_code/ses/v1/ses_get_statistics.rb | 49 | # Example usage: | COMMENT |
| LOW | ruby/example_code/ec2/ec2-ruby-example-create-vpc.rb | 52 | # Example usage: | COMMENT |
| LOW | …ple_code/ec2/ec2-ruby-example-get-all-instance-info.rb | 30 | # Example usage: | COMMENT |
| LOW | …ode/ec2/ec2-ruby-example-regions-availability-zones.rb | 85 | # Example usage: | COMMENT |
| 15 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | rustv1/tools/set_sdk_version.py | 61 | CODE | |
| LOW | python/test_tools/dynamodb_stubber.py | 61 | CODE | |
| LOW | python/test_tools/stubber_factory.py | 82 | CODE | |
| LOW | python/test_tools/s3_stubber.py | 79 | CODE | |
| LOW | python/test_tools/sns_stubber.py | 120 | CODE | |
| LOW | python/test_tools/iot_sitewise_stubber.py | 115 | CODE | |
| LOW | python/cross_service/resilient_service/runner.py | 320 | CODE | |
| LOW | python/cross_service/resilient_service/runner.py | 164 | CODE | |
| LOW | python/cross_service/resilient_service/auto_scaler.py | 719 | CODE | |
| LOW | …oss_service/resilient_service/test/resources/server.py | 41 | CODE | |
| LOW | python/cross_service/apigateway_covid-19_tracker/app.py | 93 | CODE | |
| LOW | …ss_service/aurora_rest_lending_library/library_demo.py | 278 | CODE | |
| LOW | python/cross_service/topics_and_queues/sqs_wrapper.py | 186 | CODE | |
| LOW | …ervice/topics_and_queues/topics_and_queues_scenario.py | 253 | CODE | |
| LOW | …ervice/topics_and_queues/topics_and_queues_scenario.py | 301 | CODE | |
| LOW | …ervice/topics_and_queues/topics_and_queues_scenario.py | 349 | CODE | |
| LOW | …ss_service/apigateway_websocket_chat/websocket_chat.py | 408 | CODE | |
| LOW | …cross_service/apigateway_websocket_chat/lambda_chat.py | 131 | CODE | |
| LOW | …/stepfunctions_messenger/stepfunctions_statemachine.py | 110 | CODE | |
| LOW | python/cross_service/photo_analyzer/api/report.py | 29 | CODE | |
| LOW | …ple_code/auto-scaling/scenario_groups_and_instances.py | 290 | CODE | |
| LOW | python/example_code/kms/alias_management.py | 114 | CODE | |
| LOW | python/example_code/kms/key_management.py | 83 | CODE | |
| LOW | python/example_code/s3/s3_basics/presigned_url.py | 46 | CODE | |
| LOW | …ple_code/s3/scenarios/conditional_requests/scenario.py | 157 | CODE | |
| LOW | …on/example_code/s3/scenarios/object-locking/cleanup.py | 207 | CODE | |
| LOW | …on/example_code/s3/scenarios/batch/s3_batch_wrapper.py | 210 | CODE | |
| LOW | …on/example_code/s3/scenarios/batch/s3_batch_wrapper.py | 258 | CODE | |
| LOW | …on/example_code/s3/scenarios/batch/s3_batch_wrapper.py | 310 | CODE | |
| LOW | python/example_code/s3/s3_versioning/revise_stanza.py | 21 | CODE | |
| LOW | …/example_code/s3/s3_versioning/remove_delete_marker.py | 21 | CODE | |
| LOW | …thon/example_code/s3/s3_versioning/batch_versioning.py | 50 | CODE | |
| LOW | …thon/example_code/s3/s3_versioning/batch_versioning.py | 290 | CODE | |
| LOW | …tachments_scenario/scenario_sesv2_email_attachments.py | 334 | CODE | |
| LOW | python/example_code/emr/emr_usage_demo.py | 277 | CODE | |
| LOW | python/example_code/emr/emr_usage_demo.py | 481 | CODE | |
| LOW | python/example_code/emr/install_libraries.py | 19 | CODE | |
| LOW | python/example_code/emr/test/test_install_libraries.py | 27 | CODE | |
| LOW | …hon/example_code/controltower/scenario_controltower.py | 43 | CODE | |
| LOW | …hon/example_code/controltower/scenario_controltower.py | 219 | CODE | |
| LOW | …udwatch-logs/scenarios/large-query/cloudwatch_query.py | 104 | CODE | |
| LOW | python/example_code/sns/sns_basics.py | 207 | CODE | |
| LOW | …on/example_code/api-gateway/aws_service/aws_service.py | 423 | CODE | |
| LOW | …/example_code/cognito/scenario_signup_user_with_mfa.py | 46 | CODE | |
| LOW | …ntity_pools_example_demo/web/backend/oauth_handlers.py | 23 | CODE | |
| LOW | …dentity_pools_example_demo/web/backend/oauth_server.py | 174 | CODE | |
| LOW | …dentity_pools_example_demo/web/backend/oauth_server.py | 358 | CODE | |
| LOW | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 147 | CODE | |
| LOW | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 210 | CODE | |
| LOW | python/example_code/glacier/glacier_basics.py | 123 | CODE | |
| LOW | …_code/bedrock-agent-runtime/flows/flow-conversation.py | 23 | CODE | |
| LOW | …_code/bedrock-agent-runtime/flows/flow-conversation.py | 92 | CODE | |
| LOW | python/example_code/neptune/neptune_scenario.py | 302 | CODE | |
| LOW | python/example_code/neptune/neptune_scenario.py | 583 | CODE | |
| LOW | …thon/example_code/dynamodb/batching/dynamo_batching.py | 258 | CODE | |
| LOW | …thon/example_code/ecs/scenarios/ecs_basics_scenario.py | 257 | CODE | |
| LOW | python/example_code/iot/scenario_iot_basics.py | 95 | CODE | |
| LOW | python/example_code/iot/test/test_iot_integration.py | 17 | CODE | |
| LOW | python/example_code/iam/account_wrapper.py | 236 | CODE | |
| LOW | python/example_code/iam/service_linked_roles.py | 48 | CODE | |
| 50 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …v1/cross_service/rest_ses/tests/api/work_item/happy.rs | 19 | work_item::{fake_description, fake_guide, fake_name}, | CODE |
| LOW | …v1/cross_service/rest_ses/tests/api/work_item/happy.rs | 23 | let name = fake_name(); | CODE |
| LOW | …stv1/cross_service/rest_ses/tests/api/work_item/mod.rs | 13 | pub fn fake_name() -> String { | CODE |
| LOW | rustv1/examples/s3/testfile.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris nulla dolor, varius vel vehicula vitae, dapibus id tellu | CODE |
| LOW | rustv1/examples/s3/testfile.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris nulla dolor, varius vel vehicula vitae, dapibus id tellu | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 447 | .contacts(Contact::builder().email_address("user@example.com").build()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 456 | .contains(&"user@example.com".into()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 520 | .contacts(Contact::builder().email_address("user@example.com").build()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 529 | .contains(&"user@example.com".into()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 564 | .contacts(Contact::builder().email_address("user@example.com").build()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 573 | .contains(&"user@example.com".into()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 610 | .contacts(Contact::builder().email_address("user@example.com").build()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 619 | .contains(&"user@example.com".into()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 652 | .contacts(Contact::builder().email_address("user@example.com").build()) | CODE |
| LOW | rustv1/examples/ses/tests/test_newsletter.rs | 661 | .contains(&"user@example.com".into()) | CODE |
| LOW | javascriptv3/example_code/entityresolution/data.json | 2 | { "id": "1", "name": "Jane Doe", "email": "jane.doe@example.com" }, | CODE |
| LOW | javascriptv3/example_code/entityresolution/data.json | 3 | { "id": "2", "name": "John Doe", "email": "john.doe@example.com" }, | CODE |
| LOW | python/test_tools/organizations_stubber.py | 116 | "MasterAccountEmail": "admin@example.org" | CODE |
| LOW | python/test_tools/organizations_stubber.py | 139 | "MasterAccountEmail": "admin@example.org" | CODE |
| LOW | python/test_tools/iot_sitewise_stubber.py | 203 | "portalContactEmail" : "user@example.com", | CODE |
| LOW⚡ | …code/sesv2/newsletter_scenario/test/newsletter_test.py | 122 | @patch("builtins.input", return_value="user@example.com") | CODE |
| LOW⚡ | …code/sesv2/newsletter_scenario/test/newsletter_test.py | 132 | email_variants = get_subaddress_variants("user@example.com", 3) | CODE |
| LOW | …code/sesv2/newsletter_scenario/test/newsletter_test.py | 144 | @patch("builtins.input", return_value="user@example.com") | CODE |
| LOW⚡ | …code/sesv2/newsletter_scenario/test/newsletter_test.py | 161 | email_variants = get_subaddress_variants("user@example.com", 3) | CODE |
| LOW⚡ | …code/sesv2/newsletter_scenario/test/newsletter_test.py | 165 | @patch("builtins.input", return_value="user@example.com") | CODE |
| LOW | …code/sesv2/newsletter_scenario/test/newsletter_test.py | 185 | email_variants = get_subaddress_variants("user@example.com", 3) | CODE |
| LOW | …/iotsitewise/test/test_iot_sitewise_getting_started.py | 70 | self.contact_email = "user@example.com" | CODE |
| LOW | python/example_code/ses/ses_receipt_handler.py | 284 | email = "example@example.org" | CODE |
| LOW | python/example_code/ses/test/test_ses_identities.py | 116 | identities = ["test@example.com", "anotherone@example.org"] | CODE |
| LOW | …ample_code/greengrass/test/test_greengrass_snippets.py | 75 | event = {"to_name": "test name", "to_number": "555-0101", "temperature": 100} | CODE |
| LOW | php/example_code/s3/testfile.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris nulla dolor, varius vel vehicula vitae, dapibus id tellu | CODE |
| LOW | php/example_code/s3/testfile.txt | 1 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris nulla dolor, varius vel vehicula vitae, dapibus id tellu | CODE |
| LOW | …ognito/tests/gtest_getting_started_with_user_pools.cpp | 23 | "foo@bar.com", // Enter a valid email for the user: | CODE |
| LOW | …ognito/tests/gtest_getting_started_with_user_pools.cpp | 41 | "Value": "foo@bar.com" | CODE |
| LOW | …ple_code/acm/tests/mock_input/DescribeCertificate.json | 12 | "admin@example.com", | CODE |
| LOW | …ple_code/acm/tests/mock_input/DescribeCertificate.json | 26 | "admin@example.com", | CODE |
| LOW⚡ | swift/modules/SwiftUtilities/README.md | 40 | Returns a Lorem Ipsum-style string containing the specified number of randomly | CODE |
| LOW⚡ | swift/modules/SwiftUtilities/README.md | 42 | Lorem Ipsum text are returned. Each paragraph is four to eight sentences long, | CODE |
| LOW⚡ | swift/modules/SwiftUtilities/README.md | 45 | The Lorem Ipsum text is suitable for use in test files and example strings | CODE |
| LOW | swift/modules/SwiftUtilities/README.md | 56 | A `String` containing up to `paragraphs` paragraphs of Lorem Ipsum-style | CODE |
| LOW | …ties/Tests/SwiftUtilitiesTests/FakeryStringTests.swift | 42 | /// Confirm that creating a Lorem Ipsum string results in the | COMMENT |
| LOW⚡ | …ftUtilities/Sources/SwiftUtilities/String_Fakery.swift | 6 | Lorem Ipsum-style strings, using the Fakery library. | CODE |
| LOW⚡ | …ftUtilities/Sources/SwiftUtilities/String_Fakery.swift | 13 | /// Return a new randomly generated Lorem Ipsum-style string | COMMENT |
| LOW⚡ | …ftUtilities/Sources/SwiftUtilities/String_Fakery.swift | 18 | /// random Lorem Ipsum paragraphs. Each paragraph contains | COMMENT |
| LOW | scenarios/basics/entity_resolution/SPECIFICATION.md | 151 | {"id":"1","name":"Jane Doe","email":"jane.doe@example.com"} | CODE |
| LOW | scenarios/basics/entity_resolution/SPECIFICATION.md | 152 | {"id":"2","name":"John Doe","email":"john.doe@example.com"} | CODE |
| LOW | …2_weekly_mailer/content/61a_NewsletterWorkflow.java.md | 167 | * @param baseEmail The base email address (e.g., "user@example.com") | STRING |
| LOW | javascript/example_code/kinesis/blog_page.html | 44 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vitae nulla eget nisl bibendum feugi | CODE |
| LOW | javascript/example_code/kinesis/blog_page.html | 44 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vitae nulla eget nisl bibendum feugi | CODE |
| LOW | …code/s3/src/main/resources/directoryBucket/sample1.txt | 2 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Collatio igitur ista te nihil iuvat. Honesta oratio, Socratica, | CODE |
| LOW | …code/s3/src/main/resources/directoryBucket/sample1.txt | 2 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Collatio igitur ista te nihil iuvat. Honesta oratio, Socratica, | CODE |
| LOW | …code/s3/src/main/resources/directoryBucket/sample2.txt | 2 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Itaque nostrum est-quod nostrum dico, artis est-ad ea principia | CODE |
| LOW | …code/s3/src/main/resources/directoryBucket/sample2.txt | 2 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Itaque nostrum est-quod nostrum dico, artis est-ad ea principia | CODE |
| LOW | …ava/com/example/entity/scenario/EntityResScenario.java | 114 | {"id":"1","name":"Jane Doe","email":"jane.doe@example.com"} | CODE |
| LOW | …ava/com/example/entity/scenario/EntityResScenario.java | 115 | {"id":"2","name":"John Doe","email":"john.doe@example.com"} | CODE |
| LOW | …ava/com/example/entity/scenario/EntityResScenario.java | 350 | For example 'John Doe Jr.' compared to 'John Doe'. | CODE |
| LOW | …ain/java/com/example/sqs/MessageAttributesExample.java | 91 | .stringValue("Jane Doe") | CODE |
| LOW | …est/java/com/example/sesv2/NewsletterWorkflowTest.java | 194 | when(scanner.nextLine()).thenReturn("user@example.com"); | CODE |
| LOW | …est/java/com/example/sesv2/NewsletterWorkflowTest.java | 215 | when(scanner.nextLine()).thenReturn("user@example.com"); | CODE |
| LOW | …est/java/com/example/sesv2/NewsletterWorkflowTest.java | 244 | String baseEmail = "user@example.com"; | CODE |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rustv1/examples/sdk-config/src/bin/no_env.rs | 46 | /// WARNING: This example is for demonstration purposes only. Your code should always | COMMENT |
| MEDIUM | rustv1/examples/sending-presigned-requests/src/main.rs | 120 | // It's only here for demonstration purposes; Don't use this unless you're confident | COMMENT |
| LOW | …kScenario/S3ObjectLockWorkflow/S3ObjectLockWorkflow.cs | 383 | "Don't forget to delete them when you're done with them or you might incur unexpected charges." | CODE |
| LOW | …S3ConditionalRequests/S3ConditionalRequestsScenario.cs | 271 | "Don't forget to delete them when you're done with them or you might incur unexpected charges." | CODE |
| LOW | …e/ResilientServiceWorkflow/ResilientServiceWorkflow.cs | 425 | "Don't forget to delete them when you're done with them or you might incur unexpected charges." | CODE |
| MEDIUM | …code/bedrock-agent/actions/list-agent-action-groups.js | 34 | pageSize: 10, // optional, added for demonstration purposes | CODE |
| MEDIUM | …code/bedrock-agent/actions/list-agent-action-groups.js | 76 | maxResults: 10, // optional, added for demonstration purposes | CODE |
| MEDIUM | …ptv3/example_code/bedrock-agent/actions/list-agents.js | 26 | pageSize: 10, // optional, added for demonstration purposes | CODE |
| MEDIUM | …ptv3/example_code/bedrock-agent/actions/list-agents.js | 58 | maxResults: 10, // optional, added for demonstration purposes | CODE |
| LOW | …de/cross-services/wkflw-resilient-service/constants.js | 119 | "This concludes the demo. Don't forget to run the destroy steps to clean up the resources. Do you want to reset the | CODE |
| LOW | …/example_code/cognito/scenario_signup_user_with_mfa.py | 197 | print("Don't forget to delete your user pool when you're done with this example.") | CODE |
| LOW⚡ | …ample_code/dynamodb/GettingStarted/update_and_query.py | 274 | print("Don't forget to delete the table when you're done.") | CODE |
| LOW | …modb/GettingStarted/scenario_getting_started_movies.py | 555 | "Don't forget to delete the table when you're done or you might incur " | CODE |
| MEDIUM | …e_code/bedrock-agent/knowledge_bases/knowledge_base.py | 58 | # you can use the quick-create flow to have Knowledge Bases create the collection for you. | COMMENT |
| MEDIUM | …/example_code/comprehend/comprehend_classifier_demo.py | 152 | Gets input issues from GitHub. For demonstration purposes, input issues | STRING |
| LOW | …ode/s3-directory-buckets/s3_express_getting_started.py | 130 | print("Skipping the VPC setup. Don't forget to use this in production!") | CODE |
| MEDIUM | python/example_code/sts/assume_role_mfa.py | 47 | For demonstration purposes, the user is created in the same account as the role, | STRING |
| LOW | gov2/s3/scenarios/scenario_get_started.go | 149 | log.Println("Okay. Don't forget to delete objects from your bucket to avoid charges.") | CODE |
| LOW | gov2/s3/scenarios/scenario_large_objects.go | 105 | log.Println("Okay. Don't forget to delete objects from your bucket to avoid charges.") | CODE |
| LOW | gov2/dynamodb/scenarios/scenario_movie_table.go | 193 | log.Println("Don't forget to delete the table when you're done or you might " + | CODE |
| LOW | gov2/lambda/scenarios/scenario_get_started_functions.go | 283 | log.Println("Okay. Don't forget to delete the resources when you're done with them.") | CODE |
| MEDIUM | …/src/main/java/aws/example/s3/CreateBucketWithACL.java | 30 | // calls below. It is included here for demonstration purposes. | COMMENT |
| MEDIUM | kotlin/usecases/cognito_flutter_mobile_app/pubspec.yaml | 59 | # included with your application, so that you can use the icons in | COMMENT |
| LOW | php/example_code/s3/express/S3ExpressBasics.php | 103 | echo "Skipping the VPC setup. Don't forget to use this in production!\n"; | CODE |
| LOW | php/example_code/lambda/GettingStartedWithLambda.php | 157 | echo "\n\nAnd don't forget to clean up your data!\n"; | CODE |
| MEDIUM | cpp/example_code/redshift/authorize_cluster_access.cpp | 49 | // is reasonable for demonstration purposes, but is not appropriate in | COMMENT |
| LOW | .dotnet/example_code_legacy/SNS/SnsSendMessage.cs | 4 | Don't forget to use the Visual Studio command prompt | CODE |
| LOW | .dotnet/example_code_legacy/SNS/SnsPublish.cs | 4 | Don't forget to use the Visual Studio command prompt | CODE |
| LOW | .dotnet/example_code_legacy/ec2/Ec2SpotCRUD.cs | 4 | Don't forget to use the Visual Studio command prompt | CODE |
| LOW | .tools/readmes/config.py | 230 | # Our redshift code lives in two different directories so make sure to regenerate readmes in BOTH direct | COMMENT |
| LOW | …e/dynamodb/basics/scenario_getting_started_dynamodb.rb | 141 | puts("Don't forget to delete the table when you're done!") | CODE |
| LOW | …_service/src/main/java/com/example/resilient/Main.java | 119 | Don't forget to delete them when you're done with them or you might incur unexpected charges. | CODE |
| LOW | …java/com/example/s3/express/S3DirectoriesScenario.java | 395 | logger.info("Skipping the VPC setup. Don't forget to use this in production!"); | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/cross_service/apigateway_covid-19_tracker/app.py | 24 | app.debug = True # Set this to False for production use. | CODE |
| LOW | …tract_comprehend_notebook/test-texttract-comprehend.py | 26 | # Check if list returned | COMMENT |
| LOW | …service/aurora_rest_lending_library/library_api/app.py | 24 | app.debug = True # Set this to False for production use. | CODE |
| LOW | …hon/example_code/controltower/scenario_controltower.py | 229 | # Check if account is part of an organization | COMMENT |
| LOW | …dentity_pools_example_demo/web/backend/oauth_server.py | 402 | # Check if basic flow is requested | COMMENT |
| LOW | …le_demo/web/backend/routes/auth_flows/enhanced_flow.py | 244 | # Check if AWS credentials are available | COMMENT |
| LOW | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 69 | # Check if the identity pool has role mappings | COMMENT |
| LOW | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 72 | # Check if the identity pool has authenticated and unauthenticated roles | COMMENT |
| LOW | …ample_demo/web/backend/routes/auth_flows/basic_flow.py | 98 | # Check if the identity pool has the required roles | COMMENT |
| LOW | …_code/bedrock-agent-runtime/flows/flow-conversation.py | 69 | # Check if flow is complete. | COMMENT |
| LOW | …_code/bedrock-agent-runtime/flows/flow-conversation.py | 73 | # Check if more input us needed from user. | COMMENT |
| LOW | python/example_code/bedrock-agent/flows/run_flow.py | 57 | # Check if flow is complete. | COMMENT |
| LOW | …/example_code/bedrock-agent/flows/flow-conversation.py | 69 | # Check if flow is complete. | COMMENT |
| LOW | …/example_code/bedrock-agent/flows/flow-conversation.py | 73 | # Check if more input us needed from user. | COMMENT |
| LOW | python/example_code/deeplens/deeplens_view_output.py | 128 | # Output the result of inference to the fifo file so it can be viewed with mplayer. | COMMENT |
| LOW | …loudwatch_logs_large_query/resources/make-log-files.sh | 52 | # Increment timestamp | COMMENT |
| LOW | aws-cli/bash-linux/ec2/ec2_operations.sh | 1107 | # Check if instance ID is provided | COMMENT |
| LOW | aws-cli/bash-linux/ec2/ec2_operations.sh | 1170 | # Check if instance ID is provided | COMMENT |
| LOW | aws-cli/bash-linux/ec2/ec2_operations.sh | 1233 | # Check if instance ID is provided | COMMENT |
| LOW | aws-cli/bash-linux/ec2/ec2_operations.sh | 1297 | # Check if instance ID is provided | COMMENT |
| LOW | …s-cli/bash-linux/ec2/get_started_with_ec2_instances.sh | 51 | # Check if BASH_VERSION is set | COMMENT |
| LOW | …s-cli/bash-linux/ec2/get_started_with_ec2_instances.sh | 715 | # Check if the input is a valid integer | COMMENT |
| LOW | …s-cli/bash-linux/ec2/get_started_with_ec2_instances.sh | 717 | # Check if the input is within the specified range | COMMENT |
| LOW | …2/change-ec2-instance-type/change_ec2_instance_type.sh | 182 | # Check if the instance is currently running. | COMMENT |
| LOW⚡ | .tools/test/stacks/images/scripts/delete_repository.py | 48 | # Check if 'examples' is in the repository name | COMMENT |
| LOW⚡ | .tools/test/stacks/images/scripts/delete_repository.py | 59 | # Check if the script is run with the argument "delete_images" | COMMENT |
| LOW | .tools/scripts/pr_review_fix.py | 522 | # Check if we already posted suggestions for the latest review | COMMENT |
| LOW | .tools/readmes/render.py | 339 | # Check if the rendered text is different from the existing file | COMMENT |
| LOW | ruby/example_code/sqs/scenario_getting_started.rb | 78 | # Display the message's body and each custom attribute value. | COMMENT |
| LOW | ruby/example_code/iam/manage_roles.rb | 125 | # Check if the policy is a customer managed policy (not AWS managed) | COMMENT |
| LOW | ruby/example_code/polly/polly_synthesize_speech.rb | 21 | # Open file and get the contents as a string | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | python/example_code/ecr/ecr_getting_started.py | 240 | resp = self.docker_client.api.push( | STRING |
| HIGH⚡ | python/example_code/codecommit/push-in-parts.py | 209 | infos = self.remote_repo.push(tags=True, progress=progress_printer) | CODE |
| HIGH⚡ | python/example_code/codecommit/push-in-parts.py | 211 | infos = self.remote_repo.push( | CODE |
| HIGH⚡ | python/example_code/codecommit/push-in-parts.py | 215 | infos = self.remote_repo.push(progress=progress_printer) | CODE |
| HIGH | python/example_code/codecommit/push-in-parts.py | 274 | self.remote_repo.push(refspec=tags_to_delete) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/test_tools/ssm_stubber.py | 277 | CODE | |
| LOW | python/test_tools/rds_stubber.py | 181 | CODE | |
| LOW | python/test_tools/sns_stubber.py | 120 | CODE | |
| LOW | python/cross_service/aurora_item_tracker/storage.py | 110 | CODE | |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 359 | CODE | |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 429 | CODE | |
| LOW | …lending_library/library_api/chalicelib/library_data.py | 441 | CODE | |
| LOW | …ng_library/library_api/chalicelib/postgresql_helper.py | 331 | CODE | |
| LOW | …lending_library/library_api/chalicelib/mysql_helper.py | 259 | CODE | |
| LOW | …thon/example_code/bedrock-agent/flows/playlist_flow.py | 231 | CODE | |
| LOW | python/example_code/lambda/lambda_handler_calculator.py | 56 | CODE | |
| LOW | python/example_code/lambda/lambda_handler_basic.py | 37 | CODE | |
| LOW | gov2/lambda/handlers/lambda_handler_calculator.py | 56 | CODE | |
| LOW | gov2/lambda/handlers/lambda_handler_basic.py | 37 | CODE | |
| LOW | .tools/lambda/KB_Updater/lambda_function.py | 74 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | rustv1/examples/glue/src/run.rs | 34 | // --output_bucket_url: [URL to the scaffold bucket you created for the user] | COMMENT |
| MEDIUM | swift/example_code/glue/scenario/Sources/entry.swift | 23 | // * `--output_bucket_url: <URL to the scaffold bucket created for the | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | CONTRIBUTING.md | 60 | Items reviewed in this way must include a statement like "generated by AI | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | python/example_code/ecs/ecs_wrapper.py | 179 | def run_task( | CODE |