Universal Command Line Interface for Amazon Web Services
This report summarizes scanner evidence for aws/aws-cli, a Python project with 17,335 GitHub stars. SynthScan examined 2,798,447 lines of code across 5232 source files, recording 11197 pattern matches distributed across 24 syntactic categories. The legacy adjusted pattern signal is 4.1 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 10462 finding(s).
Are imports declared and package/API names verified? 441 finding(s).
Are wrappers, guards, and repeated structures necessary? 9124 finding(s).
Which changes need focused human review? 11197 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 11197 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 |
|---|---|---|---|---|
| LOW⚡ | backends/pep517.py | 82 | def prepare_metadata_for_build_wheel(metadata_directory, config_settings=None): | CODE |
| LOW⚡ | backends/pep517.py | 88 | def prepare_metadata_for_build_editable( | CODE |
| LOW⚡ | backends/pep517.py | 96 | def get_requires_for_build_sdist(config_settings=None): | CODE |
| LOW⚡ | backends/pep517.py | 100 | def get_requires_for_build_wheel(config_settings=None): | CODE |
| LOW | backends/pep517.py | 130 | def _inject_extra_sdist_files(tar_root): | CODE |
| LOW | backends/pep517.py | 195 | def _inject_editable_wheel_extras(whl_path): | CODE |
| LOW | backends/pep517.py | 218 | def _build_and_inject_ac_index(build_dir, extracted_wheel_dir): | CODE |
| LOW | backends/pep517.py | 354 | def _create_dir_if_not_exists(dirname): | CODE |
| LOW | backends/build_system/exe.py | 71 | def _ensure_no_existing_build_dir(self): | CODE |
| LOW | backends/build_system/utils.py | 187 | def get_flit_core_unmet_exception(): | CODE |
| LOW | backends/build_system/utils.py | 244 | def copy_directory_contents_into(self, src: str, dst: str): | CODE |
| LOW | backends/build_system/awscli_venv.py | 79 | def _remove_packages_being_replaced(self, source_site_packages): | CODE |
| LOW | backends/build_system/awscli_venv.py | 127 | def _update_windows_script_header(self): | CODE |
| LOW | backends/build_system/install.py | 83 | def _install_executables_on_windows(self, install_dir, bin_dir): | STRING |
| LOW | backends/build_system/validate_env.py | 51 | def _parse_pyproject_requirements(): | CODE |
| LOW | tests/__init__.py | 186 | def assert_no_remaining_responses(self): | CODE |
| LOW | tests/__init__.py | 212 | def _return_queued_http_response(self, request, **kwargs): | CODE |
| LOW | tests/__init__.py | 254 | def _validate_parsed_response(self): | CODE |
| LOW | tests/__init__.py | 266 | def _reverse_serialize_parsed_response(self): | CODE |
| LOW | tests/__init__.py | 465 | def wait_for_completions_on_current_buffer(self): | CODE |
| LOW | tests/__init__.py | 489 | def _wait_until_app_is_done_updating(self): | CODE |
| LOW | tests/__init__.py | 500 | def _wait_until_app_is_done_rendering(self): | CODE |
| LOW | tests/__init__.py | 510 | def _current_buffer_has_completions(self): | CODE |
| LOW | tests/__init__.py | 546 | def _create_client_for_bucket(self, bucket_name): | CODE |
| LOW | tests/__init__.py | 551 | def assert_key_contents_equal(self, bucket, key, expected_contents): | CODE |
| LOW | tests/__init__.py | 715 | def wait_until_key_not_exists( | CODE |
| LOW | tests/__init__.py | 743 | def load_private_key_and_public_key(private_key_path, public_key_path): | CODE |
| LOW | tests/unit/test_errorhandler.py | 39 | def _assert_rc_and_error_message(case, error_handler): | CODE |
| LOW | tests/unit/test_errorhandler.py | 83 | def test_cli_error_handling_chain(case): | CODE |
| LOW | tests/unit/test_errorhandler.py | 110 | def test_cli_error_handling_chain_injection(case): | CODE |
| LOW | tests/unit/test_errorhandler.py | 127 | def test_entry_point_error_handling_chain(case): | CODE |
| LOW⚡ | tests/unit/test_paramfile.py | 53 | def test_cannot_load_text_file(self): | CODE |
| LOW⚡ | tests/unit/test_paramfile.py | 60 | def test_file_does_not_exist_raises_error(self): | CODE |
| LOW⚡ | tests/unit/test_paramfile.py | 64 | def test_no_match_uris_returns_none(self): | CODE |
| LOW⚡ | tests/unit/test_paramfile.py | 67 | def test_non_string_type_returns_none(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 77 | def test_mixing_double_single_quotes(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 83 | def test_mixing_double_single_quotes_before_first_comma(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 89 | def test_inner_quote_split_with_equals(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 95 | def test_single_quoted_inner_value_with_no_commas(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 280 | def test_use_stdout_if_not_tty(self, mock_stdout_writer): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 287 | def test_use_stdout_if_pager_set_to_empty_string(self, mock_stdout_writer): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 293 | def test_adds_default_less_env_vars(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 301 | def test_does_not_clobber_less_env_var_if_in_env_vars(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 310 | def test_set_less_flags_through_constructor(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 439 | def test_disabled_by_environment(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 446 | def test_disabled_by_environment_mixed_case(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 453 | def test_disabling_env_var_not_true(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 690 | def test_lazy_pager_process_not_created_on_communicate_call_wo_args(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 696 | def test_lazy_pager_process_not_created_on_stdin_flush(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 700 | def test_lazy_pager_popen_communicate_calls_on_call_with_args(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 708 | def test_lazy_pager_popen_calls_on_stdin_call(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 712 | def test_lazy_pager_popen_calls_on_process_call(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 729 | def get_doc_type_shape_definition(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 738 | def test_is_not_document_type_if_missing_document_trait(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 747 | def test_is_not_document_type_if_not_structure(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 753 | def test_is_document_type_container_for_doc_type(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 759 | def test_is_not_document_type_container_if_missing_document_trait(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 768 | def test_is_not_document_type_container_if_not_scalar(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 774 | def test_is_document_type_container_if_list_member(self): | CODE |
| LOW⚡ | tests/unit/test_utils.py | 784 | def test_is_document_type_container_if_map_value(self): | CODE |
| 8740 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pyproject.toml | 81 | COMMENT | |
| LOW | pyproject.toml | 101 | 'default:Attribute s is deprecated and will be removed:DeprecationWarning', | COMMENT |
| LOW | requirements-build-lock.txt | 1 | # | COMMENT |
| LOW | requirements-test-lock.txt | 1 | # | COMMENT |
| LOW | requirements-dev-lock.txt | 1 | # | COMMENT |
| LOW | requirements-dev-lock.txt | 141 | # pyinstaller | COMMENT |
| LOW | bin/aws_zsh_completer.sh | 1 | # Source this file to activate auto completion for zsh using the bash | COMMENT |
| LOW | backends/pep517.py | 1 | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/__init__.py | 1 | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/build_system/constants.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/build_system/exe.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/build_system/__init__.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/build_system/utils.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/build_system/awscli_venv.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/build_system/install.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/build_system/__main__.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | backends/build_system/validate_env.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/conftest.py | 1 | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/__init__.py | 261 | serialized = self._reverse_serialize_parsed_response() | COMMENT |
| LOW | tests/unit/test_errorhandler.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_paramfile.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_utils.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_decorators.py | 1 | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_plugin.py | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_table.py | 1 | # Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved | COMMENT |
| LOW | tests/unit/test_structured_error.py | 1 | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_argparser.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_topictags.py | 1 | # Copyright (c) 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved | COMMENT |
| LOW | tests/unit/test_schema.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_argprocess.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_clidriver.py | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_clidriver.py | 181 | "Token": {"type": "string"}, | COMMENT |
| LOW | tests/unit/test_text.py | 1 | # Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved | COMMENT |
| LOW | tests/unit/test_shorthand.py | 1 | # Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_alias.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_formatter.py | 1 | # Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_compat.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_lazy_emitter.py | 1 | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_redaction.py | 1 | # Copyright 2026 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_lazy.py | 1 | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_clidocs.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_help.py | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_logger.py | 1 | # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_testutils.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_importfinder.py | 1 | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/test_arguments.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_utils.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_download.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_bandwidth.py | 1 | # Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_crt.py | 1 | # Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_s3transfer.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_copies.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_futures.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/__init__.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_delete.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_subscribers.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_compat.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_tasks.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| LOW | tests/unit/s3transfer/test_tasks.py | 341 | # ExecutionSubmissionTask | COMMENT |
| LOW | tests/unit/s3transfer/test_upload.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. | COMMENT |
| 1137 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unit/test_topictags.py | 219 | # Create a JSON index to be loaded. | COMMENT |
| MEDIUM | tests/unit/test_clidocs.py | 195 | # Create an arbitrary help command class. This was chosen | COMMENT |
| MEDIUM | tests/unit/test_help.py | 248 | # Create a temporary index file for ``aws help [command]`` to use. | COMMENT |
| MEDIUM | tests/unit/s3transfer/test_download.py | 115 | # Create a file to write to | COMMENT |
| MEDIUM | tests/unit/s3transfer/test_download.py | 260 | # Create a fileobj to write to | COMMENT |
| MEDIUM | tests/unit/s3transfer/test_download.py | 411 | # Create a stream to read from | COMMENT |
| MEDIUM⚡ | tests/unit/s3transfer/test_tasks.py | 616 | # Create a task that depends on the tasks passed to the executor | COMMENT |
| MEDIUM⚡ | tests/unit/s3transfer/test_tasks.py | 635 | # Create the pending tasks | COMMENT |
| MEDIUM | tests/unit/s3transfer/test_tasks.py | 585 | # Create a task that depends on the tasks passed to the executor | COMMENT |
| MEDIUM | tests/unit/s3transfer/test_tasks.py | 665 | # Create a task that depends on the tasks passed to the executor | COMMENT |
| MEDIUM | tests/unit/s3transfer/test_tasks.py | 693 | # Create a task that depends on the tasks passed to the executor | COMMENT |
| MEDIUM | tests/unit/s3transfer/test_tasks.py | 722 | # Create a task that depends on the tasks passed to the executor | COMMENT |
| MEDIUM | tests/unit/s3transfer/test_manager.py | 106 | # Create a coordinator and add it to the canceler | COMMENT |
| MEDIUM | tests/unit/customizations/test_flatten.py | 177 | # Create the flattened argument table | COMMENT |
| MEDIUM | tests/unit/customizations/test_generatecliskeleton.py | 25 | # Create a mock service operation object | COMMENT |
| MEDIUM | tests/unit/customizations/test_cliinput.py | 30 | # Create the various forms the data could come in. The two main forms | COMMENT |
| MEDIUM⚡ | …/unit/customizations/agenttoolkit/test_update_skill.py | 172 | # Creating a client can fail on its own (no region, bad credentials), so | COMMENT |
| MEDIUM | tests/unit/customizations/s3/test_filegenerator.py | 343 | # Create a symlink to a file that does not exist. | COMMENT |
| MEDIUM | tests/unit/customizations/s3/test_filegenerator.py | 347 | # Create a symlink to directory realfiles | COMMENT |
| MEDIUM | …ts/unit/customizations/configservice/test_getstatus.py | 338 | # Create the configuration recorder statuses. | COMMENT |
| MEDIUM | …ts/unit/customizations/configservice/test_getstatus.py | 358 | # Create the delivery channel statuses. | COMMENT |
| MEDIUM | tests/unit/customizations/configure/test_configure.py | 349 | # Create a mock stdout to record flush calls and replace stdout_patch | COMMENT |
| MEDIUM⚡ | tests/unit/customizations/cloudtrail/test_validation.py | 650 | # Create a key that looks similar but for a different trail. | COMMENT |
| MEDIUM⚡ | tests/unit/customizations/cloudtrail/test_validation.py | 652 | # Create a key that looks similar but is from a different trail source | COMMENT |
| MEDIUM | …sts/unit/customizations/cloudformation/test_package.py | 65 | # Create a temporary file and make this my template | COMMENT |
| MEDIUM | …sts/unit/customizations/cloudformation/test_package.py | 91 | # Create a temporary file and make this my template | COMMENT |
| MEDIUM | tests/unit/botocore/test_awsrequest.py | 303 | # Create a mock response. | COMMENT |
| MEDIUM | tests/unit/botocore/test_awsrequest.py | 86 | """This class represents a bare-bones,seekable file-like object | STRING |
| MEDIUM | tests/unit/botocore/test_credentials.py | 260 | # Create a mock sts client that returns a specific response | COMMENT |
| MEDIUM | tests/unit/botocore/test_credentials.py | 793 | # Create a mock sts client that returns a specific response | COMMENT |
| MEDIUM | tests/unit/botocore/test_credentials.py | 1042 | # Create a mock sts client that returns a specific response | COMMENT |
| MEDIUM | tests/unit/botocore/test_credentials.py | 2254 | # Create a mock sts client that returns a specific response | COMMENT |
| MEDIUM⚡ | tests/unit/botocore/test_serialize.py | 69 | # This method handles all the details of the base64 decoding. | COMMENT |
| MEDIUM | tests/unit/botocore/test_protocols.py | 290 | # This function contains all the transformation we need | COMMENT |
| MEDIUM⚡ | tests/integration/test_assume_role.py | 167 | # Create the final role, the one that will actually have access to s3 | COMMENT |
| MEDIUM⚡ | tests/integration/test_assume_role.py | 170 | # Create the role that can assume the final role | COMMENT |
| MEDIUM⚡ | tests/integration/test_assume_role.py | 174 | # Create a user that can only assume the middle-man role, and then get | COMMENT |
| MEDIUM⚡ | tests/integration/test_assume_role.py | 222 | # Create a role with read access to S3 | COMMENT |
| MEDIUM⚡ | tests/integration/test_assume_role.py | 225 | # Create a user that can assume the role and get static credentials | COMMENT |
| MEDIUM | tests/integration/customizations/test_waiters.py | 28 | # Create a table. | COMMENT |
| MEDIUM⚡ | tests/integration/customizations/s3/test_plugin.py | 54 | # Create a symlink to foo.txt. | COMMENT |
| MEDIUM⚡ | tests/integration/customizations/s3/test_plugin.py | 56 | # Create a bad symlink. | COMMENT |
| MEDIUM⚡ | tests/integration/customizations/s3/test_plugin.py | 60 | # Create a symlink to directory where foo.txt is. | COMMENT |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 747 | # Create a file with a space char and a '+' char in the filename. | COMMENT |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 1473 | # Create a prefix that will cause the second created file to have a key | COMMENT |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 1599 | # Create a 200 MB file that will be streamed | COMMENT |
| MEDIUM⚡ | tests/integration/botocore/test_credentials.py | 305 | # Create the final role, the one that will actually have access to s3 | COMMENT |
| MEDIUM⚡ | tests/integration/botocore/test_credentials.py | 308 | # Create the role that can assume the final role | COMMENT |
| MEDIUM⚡ | tests/integration/botocore/test_credentials.py | 312 | # Create a user that can only assume the middle-man role, and then get | COMMENT |
| MEDIUM⚡ | tests/integration/botocore/test_credentials.py | 360 | # Create a role with read access to S3 | COMMENT |
| MEDIUM⚡ | tests/integration/botocore/test_credentials.py | 363 | # Create a user that can assume the role and get static credentials | COMMENT |
| MEDIUM | tests/integration/botocore/test_apigateway.py | 26 | # Create a resource to use with this client. | COMMENT |
| MEDIUM | tests/integration/botocore/test_apigateway.py | 63 | # Create a method for the resource. | COMMENT |
| MEDIUM | tests/integration/botocore/test_s3.py | 633 | # Create a bucket in a non classic region. | COMMENT |
| MEDIUM | tests/integration/botocore/test_s3.py | 769 | # Create the fields that follow the policy. | COMMENT |
| MEDIUM | tests/integration/botocore/test_s3.py | 841 | # Create the fields that follow the policy. | COMMENT |
| MEDIUM | tests/utils/botocore/__init__.py | 99 | # Create a Session object. By default, | COMMENT |
| MEDIUM | tests/functional/s3/test_cp_command.py | 342 | # Create a large file that will trigger multipart upload | COMMENT |
| MEDIUM | tests/functional/s3/test_cp_command.py | 369 | # Create a large file that will trigger multipart upload | COMMENT |
| MEDIUM | tests/functional/s3/test_mv_command.py | 368 | # Create a large file that will trigger multipart upload | COMMENT |
| 53 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | backends/build_system/utils.py | 23 | CODE | |
| LOW | backends/build_system/awscli_venv.py | 20 | CODE | |
| LOW | tests/conftest.py | 14 | CODE | |
| LOW | tests/__init__.py | 31 | CODE | |
| LOW | tests/__init__.py | 31 | CODE | |
| LOW | tests/__init__.py | 31 | CODE | |
| LOW | tests/__init__.py | 31 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 65 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/__init__.py | 85 | CODE | |
| LOW | tests/unit/test_utils.py | 13 | CODE | |
| LOW | tests/unit/test_utils.py | 15 | CODE | |
| LOW | tests/unit/test_argprocess.py | 18 | CODE | |
| LOW | tests/unit/test_argprocess.py | 33 | CODE | |
| LOW | tests/unit/test_clidriver.py | 18 | CODE | |
| LOW | tests/unit/test_clidriver.py | 20 | CODE | |
| LOW | tests/unit/test_text.py | 22 | CODE | |
| LOW | tests/unit/test_compat.py | 14 | CODE | |
| LOW | tests/unit/test_help.py | 23 | CODE | |
| LOW | tests/unit/test_help.py | 23 | CODE | |
| LOW | tests/unit/test_arguments.py | 14 | CODE | |
| LOW | tests/unit/test_arguments.py | 14 | CODE | |
| LOW | tests/unit/s3transfer/test_crt.py | 26 | CODE | |
| LOW | tests/unit/s3transfer/test_s3transfer.py | 15 | CODE | |
| LOW | tests/unit/autocomplete/test_parser.py | 14 | CODE | |
| LOW | tests/unit/autocomplete/test_filters.py | 15 | CODE | |
| LOW | tests/unit/customizations/test_flatten.py | 14 | CODE | |
| LOW | tests/unit/customizations/test_codecommit.py | 16 | CODE | |
| LOW | tests/unit/customizations/test_codecommit.py | 17 | CODE | |
| 340 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/unit/customizations/sso/test_resolve.py | 428 | except Exception: | CODE |
| HIGH | tests/unit/customizations/sso/test_resolve.py | 446 | except Exception: | CODE |
| HIGH | tests/unit/customizations/sso/test_resolve.py | 464 | except Exception: | CODE |
| HIGH | tests/integration/s3transfer/test_download.py | 108 | except KeyboardInterrupt: | CODE |
| HIGH | tests/integration/s3transfer/test_download.py | 167 | except KeyboardInterrupt: | CODE |
| HIGH | tests/integration/s3transfer/test_crt.py | 504 | except KeyboardInterrupt: | CODE |
| HIGH | tests/integration/s3transfer/test_crt.py | 530 | except KeyboardInterrupt: | CODE |
| HIGH | tests/integration/s3transfer/test_upload.py | 103 | except KeyboardInterrupt: | CODE |
| HIGH | tests/integration/s3transfer/test_upload.py | 167 | except KeyboardInterrupt: | CODE |
| HIGH | tests/functional/s3transfer/test_crt.py | 1257 | except KeyboardInterrupt: | CODE |
| HIGH | tests/functional/botocore/test_polly.py | 23 | except AttributeError: | CODE |
| HIGH | tests/functional/botocore/test_public_apis.py | 73 | except EarlyExit: | CODE |
| HIGH | tests/functional/botocore/test_bedrock_runtime.py | 23 | except AttributeError: | CODE |
| HIGH | tests/functional/botocore/test_lex.py | 68 | except AttributeError: | CODE |
| HIGH | tests/functional/botocore/test_endpoint_rulesets.py | 288 | except (ClientError, ResponseParserError): | CODE |
| HIGH | tests/functional/botocore/test_endpoint_rulesets.py | 328 | except (ClientError, ResponseParserError): | CODE |
| HIGH | tests/functional/botocore/csm/test_monitoring.py | 138 | except EXPECTED_EXCEPTIONS_THROWN: | CODE |
| HIGH | awscli/shorthand.py | 197 | except ShorthandParseSyntaxError: | CODE |
| HIGH | awscli/shorthand.py | 316 | except ShorthandParseSyntaxError: | CODE |
| HIGH | awscli/formatter.py | 61 | except OSError: | CODE |
| HIGH | awscli/formatter.py | 84 | except OSError: | CODE |
| HIGH | awscli/formatter.py | 229 | except OSError: | CODE |
| HIGH | awscli/compat.py | 632 | except (OSError, UnboundLocalError): | CODE |
| HIGH | awscli/clidriver.py | 199 | except Exception: | CODE |
| HIGH | awscli/testutils.py | 518 | except KeyError: | CODE |
| HIGH | awscli/logger.py | 29 | except RuntimeError: | CODE |
| HIGH | awscli/utils.py | 445 | except OSError: | CODE |
| HIGH | awscli/s3transfer/tasks.py | 210 | except Exception: | CODE |
| HIGH | awscli/s3transfer/__init__.py | 366 | except OSError: | CODE |
| HIGH | awscli/s3transfer/crt.py | 580 | except Exception: | CODE |
| HIGH | awscli/s3transfer/crt.py | 1764 | except InvalidArnException: | CODE |
| HIGH | awscli/s3transfer/utils.py | 289 | except OSError: | CODE |
| HIGH | awscli/s3transfer/manager.py | 748 | except Exception: | CODE |
| HIGH | awscli/autocomplete/local/basic.py | 649 | except self.jmespath.exceptions.JMESPathError: | CODE |
| HIGH | awscli/customizations/generatecliskeleton.py | 88 | except IndexError: | CODE |
| HIGH | awscli/customizations/s3/results.py | 641 | except queue.Empty: | CODE |
| HIGH | awscli/customizations/ec2instanceconnect/websocket.py | 121 | except OSError: | CODE |
| HIGH | awscli/customizations/ec2instanceconnect/websocket.py | 365 | except OSError: | CODE |
| HIGH | awscli/customizations/lambdaweb/output.py | 111 | except Exception: | CODE |
| HIGH | awscli/customizations/ecs/prompt_toolkit_display.py | 110 | except (AttributeError, OSError): | CODE |
| HIGH | …/customizations/ecs/expressgateway/display_strategy.py | 159 | except asyncio.CancelledError: | CODE |
| HIGH | …/customizations/ecs/expressgateway/display_strategy.py | 174 | except asyncio.CancelledError: | CODE |
| HIGH | awscli/customizations/logs/tail.py | 101 | except json.decoder.JSONDecodeError: | CODE |
| HIGH | awscli/customizations/logs/ui.py | 735 | except (BrokenPipeError, KeyboardInterrupt): | CODE |
| HIGH | awscli/customizations/logs/ui.py | 455 | except json.decoder.JSONDecodeError: | CODE |
| HIGH | awscli/customizations/codedeploy/utils.py | 119 | except (URLError, timeout): | CODE |
| HIGH | awscli/customizations/login/login.py | 261 | except ProfileNotFound: | CODE |
| HIGH | awscli/botocore/hooks.py | 389 | except ValueError: | CODE |
| HIGH | awscli/botocore/credentials.py | 1716 | except ValueError: | CODE |
| HIGH | awscli/botocore/loaders.py | 416 | except DataNotFoundError: | CODE |
| HIGH | awscli/botocore/session.py | 1047 | except UnknownServiceError: | CODE |
| HIGH | awscli/botocore/session.py | 1084 | except KeyError: | CODE |
| HIGH | awscli/botocore/session.py | 1091 | except KeyError: | CODE |
| HIGH | awscli/botocore/session.py | 415 | except ConfigNotFound: | CODE |
| HIGH | awscli/botocore/handlers.py | 735 | except AttributeError: | CODE |
| HIGH | awscli/botocore/eventstream.py | 604 | except StopIteration: | CODE |
| HIGH | awscli/botocore/utils.py | 845 | except (TypeError, ValueError): | CODE |
| HIGH | awscli/botocore/utils.py | 3054 | except (TypeError, socket.gaierror): | CODE |
| HIGH | awscli/botocore/utils.py | 3068 | except (AttributeError, TypeError): | CODE |
| HIGH | awscli/botocore/utils.py | 804 | except (TypeError, ValueError): | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unit/s3transfer/test_futures.py | 57 | def get_exc_info(exception): | CODE |
| MEDIUM | tests/unit/s3transfer/test_futures.py | 261 | def capture_exception(transfer_coordinator, captured_exceptions): | CODE |
| LOW | tests/unit/s3transfer/test_futures.py | 60 | except Exception: | CODE |
| LOW | tests/unit/s3transfer/test_futures.py | 264 | except Exception as e: | CODE |
| LOW⚡ | tests/unit/s3transfer/test_subscribers.py | 55 | except Exception as e: | CODE |
| MEDIUM | tests/unit/s3transfer/test_subscribers.py | 45 | def test_can_instantiate_base_subscriber(self): | CODE |
| LOW | tests/unit/customizations/s3/test_subscribers.py | 278 | except Exception as e: | CODE |
| LOW⚡ | tests/unit/customizations/sso/test_resolve.py | 428 | except Exception: | CODE |
| LOW | tests/unit/customizations/sso/test_resolve.py | 446 | except Exception: | CODE |
| LOW | tests/unit/customizations/sso/test_resolve.py | 464 | except Exception: | CODE |
| MEDIUM | tests/unit/botocore/test_protocols.py | 426 | def _try_json_dump(obj): | CODE |
| LOW | tests/unit/botocore/test_protocols.py | 258 | except Exception as e: | CODE |
| LOW | tests/unit/botocore/test_protocols.py | 283 | except Exception as e: | CODE |
| LOW | tests/unit/botocore/test_protocols.py | 438 | except Exception: | CODE |
| LOW | tests/unit/botocore/test_tokens.py | 320 | except Exception as e: | CODE |
| LOW | tests/integration/s3transfer/test_download.py | 281 | except Exception as e: | CODE |
| MEDIUM | tests/integration/botocore/test_s3.py | 285 | def create_object_catch_exceptions(self, key_name): | CODE |
| LOW | tests/integration/botocore/test_s3.py | 88 | except Exception as e: | CODE |
| LOW | tests/integration/botocore/test_s3.py | 130 | except Exception as e: | CODE |
| LOW | tests/integration/botocore/test_s3.py | 288 | except Exception as e: | CODE |
| LOW | tests/functional/ec2instanceconnect/test_opentunnel.py | 449 | except Exception: | STRING |
| LOW | tests/functional/docs/test_examples.py | 1165 | except Exception as e: | CODE |
| LOW | tests/functional/docs/test_examples.py | 1225 | except Exception as e: | CODE |
| LOW | tests/functional/botocore/test_waiter_config.py | 114 | except Exception as e: | CODE |
| MEDIUM | tests/functional/botocore/test_waiter_config.py | 103 | def _lint_single_waiter(client, waiter_name, service_model): | CODE |
| LOW | tests/functional/botocore/test_six_threading.py | 44 | except Exception: | CODE |
| MEDIUM | tests/functional/botocore/test_six_threading.py | 38 | def run(self): | CODE |
| LOW | tests/functional/botocore/test_s3_control_redirects.py | 371 | except Exception as e: | CODE |
| LOW | tests/functional/botocore/retries/test_bucket.py | 68 | except Exception as e: | CODE |
| LOW⚡ | awscli/clidriver.py | 199 | except Exception: | CODE |
| LOW | awscli/telemetry.py | 210 | except Exception: | STRING |
| LOW | awscli/telemetry.py | 346 | except Exception: | STRING |
| MEDIUM | awscli/telemetry.py | 96 | def execute(self, query, *parameters): | CODE |
| MEDIUM | awscli/telemetry.py | 330 | def _inject_session_id(**kwargs): | CODE |
| LOW⚡ | awscli/utils.py | 403 | except Exception: | CODE |
| LOW⚡ | awscli/utils.py | 410 | except Exception: | CODE |
| MEDIUM | awscli/utils.py | 230 | def _split_with_quotes(value): | CODE |
| MEDIUM | awscli/utils.py | 407 | def is_stdin_a_tty(): | CODE |
| LOW | awscli/table.py | 54 | except Exception: | CODE |
| LOW | awscli/errorhandler.py | 229 | except Exception as e: | CODE |
| MEDIUM | awscli/errorhandler.py | 202 | def _display_structured_error( | CODE |
| LOW | awscli/s3transfer/tasks.py | 138 | except Exception as e: | CODE |
| LOW | awscli/s3transfer/tasks.py | 210 | except Exception: | CODE |
| LOW⚡ | awscli/s3transfer/download.py | 552 | except Exception as e: | CODE |
| LOW | awscli/s3transfer/__init__.py | 413 | except Exception as e: | CODE |
| LOW | awscli/s3transfer/__init__.py | 657 | except Exception as e: | CODE |
| LOW | awscli/s3transfer/__init__.py | 799 | except Exception: | CODE |
| MEDIUM | awscli/s3transfer/__init__.py | 595 | def _download_range( | CODE |
| MEDIUM | awscli/s3transfer/crt.py | 1349 | def _can_redirect(self, error, is_region_redirect, bytes_transferred): | CODE |
| LOW | awscli/s3transfer/crt.py | 394 | except Exception as redirect_error: | CODE |
| LOW | awscli/s3transfer/crt.py | 580 | except Exception: | CODE |
| LOW | awscli/s3transfer/crt.py | 680 | except Exception as e: | CODE |
| LOW | awscli/s3transfer/crt.py | 1233 | except Exception as e: | CODE |
| LOW | awscli/s3transfer/crt.py | 1244 | except Exception as e: | CODE |
| LOW | awscli/s3transfer/crt.py | 1315 | except Exception as retry_error: | CODE |
| LOW | awscli/s3transfer/crt.py | 1319 | except Exception as redirect_error: | CODE |
| LOW | awscli/s3transfer/crt.py | 1360 | except Exception as redirect_error: | CODE |
| LOW | awscli/s3transfer/crt.py | 1712 | except Exception as e: | CODE |
| LOW | awscli/s3transfer/futures.py | 424 | except Exception: | CODE |
| LOW | awscli/s3transfer/futures.py | 566 | except Exception: | CODE |
| 67 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/customizations/emr/test_describe_cluster.py | 441 | CODE | |
| LOW | tests/unit/customizations/emr/test_describe_cluster.py | 452 | CODE | |
| LOW | tests/unit/customizations/configure/test_mfalogin.py | 74 | CODE | |
| LOW | tests/unit/customizations/configure/test_mfalogin.py | 346 | CODE | |
| LOW | tests/unit/customizations/sso/test_resolve.py | 418 | CODE | |
| LOW | tests/unit/customizations/sso/test_resolve.py | 433 | CODE | |
| LOW | tests/unit/customizations/sso/test_resolve.py | 452 | CODE | |
| LOW | tests/unit/botocore/test_credentials.py | 4221 | CODE | |
| LOW | tests/unit/botocore/test_endpoint_provider.py | 157 | CODE | |
| LOW | tests/unit/botocore/test_protocols.py | 122 | CODE | |
| LOW | tests/unit/botocore/test_protocols.py | 199 | CODE | |
| LOW | tests/unit/botocore/test_protocols.py | 329 | CODE | |
| LOW | tests/unit/botocore/test_protocols.py | 346 | CODE | |
| LOW | tests/unit/botocore/test_protocols.py | 357 | CODE | |
| LOW | tests/unit/botocore/test_protocols.py | 535 | CODE | |
| LOW | tests/unit/botocore/test_protocols.py | 608 | CODE | |
| LOW | …nit/botocore/response_parsing/test_response_parsing.py | 84 | CODE | |
| LOW | …integration/customizations/test_generatecliskeleton.py | 56 | CODE | |
| LOW | tests/integration/botocore/test_s3.py | 112 | CODE | |
| LOW | tests/blackbox/s3_assertions.py | 45 | CODE | |
| LOW | tests/dependencies/test_closure.py | 84 | CODE | |
| LOW | tests/functional/test_no_event_streams.py | 22 | CODE | |
| LOW | tests/functional/test_handlers_registry.py | 62 | CODE | |
| LOW | tests/functional/test_shadowing.py | 19 | CODE | |
| LOW | tests/functional/docs/test_examples.py | 321 | CODE | |
| LOW | tests/functional/docs/test_examples.py | 483 | CODE | |
| LOW | tests/functional/docs/test_examples.py | 542 | CODE | |
| LOW | tests/functional/docs/test_examples.py | 599 | CODE | |
| LOW | tests/functional/docs/test_examples.py | 852 | CODE | |
| LOW | tests/functional/botocore/test_h2_required.py | 29 | CODE | |
| LOW | tests/functional/botocore/csm/test_monitoring.py | 68 | CODE | |
| LOW | awscli/shorthand.py | 497 | CODE | |
| LOW | awscli/formatter.py | 235 | CODE | |
| LOW | awscli/formatter.py | 331 | CODE | |
| LOW | awscli/compat.py | 299 | CODE | |
| LOW | awscli/compat.py | 393 | CODE | |
| LOW | awscli/compat.py | 478 | CODE | |
| LOW | awscli/compat.py | 598 | CODE | |
| LOW | awscli/testutils.py | 500 | CODE | |
| LOW | awscli/argprocess.py | 97 | CODE | |
| LOW | awscli/argprocess.py | 185 | CODE | |
| LOW | awscli/argprocess.py | 217 | CODE | |
| LOW | awscli/utils.py | 230 | CODE | |
| LOW | awscli/utils.py | 507 | CODE | |
| LOW | awscli/table.py | 398 | CODE | |
| LOW | awscli/clidocs.py | 560 | CODE | |
| LOW | awscli/clidocs.py | 600 | CODE | |
| LOW | awscli/topictags.py | 239 | CODE | |
| LOW | awscli/argparser.py | 127 | CODE | |
| LOW | awscli/errorhandler.py | 286 | CODE | |
| LOW | awscli/s3transfer/download.py | 596 | CODE | |
| LOW | awscli/s3transfer/__init__.py | 595 | CODE | |
| LOW | awscli/s3transfer/__init__.py | 642 | CODE | |
| LOW | awscli/s3transfer/crt.py | 600 | CODE | |
| LOW | awscli/s3transfer/utils.py | 691 | CODE | |
| LOW | awscli/s3transfer/utils.py | 713 | CODE | |
| LOW | awscli/autocomplete/parser.py | 177 | CODE | |
| LOW | awscli/autocomplete/parser.py | 346 | CODE | |
| LOW | awscli/autocomplete/local/basic.py | 351 | CODE | |
| LOW | awscli/autocomplete/local/basic.py | 625 | CODE | |
| 107 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | tests/unit/customizations/s3/test_utils.py | 579 | self.client.get_paginator.return_value.paginate.assert_called_with( | CODE |
| CRITICAL | tests/unit/customizations/s3/test_subcommands.py | 137 | self.session.create_client.return_value.get_paginator.assert_called_with( | CODE |
| CRITICAL | tests/unit/customizations/s3/test_subcommands.py | 162 | self.session.create_client.return_value.get_paginator.assert_called_with( | CODE |
| CRITICAL | tests/unit/customizations/s3/test_subcommands.py | 196 | self.session.create_client.return_value.get_paginator.assert_called_with( | CODE |
| CRITICAL | tests/unit/customizations/s3/test_subcommands.py | 225 | self.session.create_client.return_value.get_paginator.assert_called_with( | CODE |
| CRITICAL | tests/unit/customizations/s3/test_subcommands.py | 273 | self.session.create_client.return_value.get_paginator.assert_called_with( | CODE |
| CRITICAL | tests/unit/customizations/logs/test_ui.py | 510 | self.ui._application.layout.focus.assert_called_once_with( | CODE |
| CRITICAL | awscli/customizations/wizard/ui/layout.py | 233 | dialog.container.body.container.content.key_bindings.add( | CODE |
| CRITICAL | awscli/botocore/compat.py | 71 | http_response._fp.fp.raw._sock.settimeout(timeout) | CODE |
| CRITICAL | awscli/botocore/docs/service.py | 71 | service_id = self._client.meta.service_model.service_id.hyphenize() | CODE |
| CRITICAL | awscli/autoprompt/widgets.py | 388 | dialog.container.body.container.content.key_bindings.add( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/integration/s3transfer/test_s3transfer.py | 0 | append contents to a file ``filename`` should be a relative path, e.g. "foo/bar/baz.txt" it will be translated into a fu | STRING |
| HIGH | tests/utils/s3transfer/__init__.py | 0 | append contents to a file ``filename`` should be a relative path, e.g. "foo/bar/baz.txt" it will be translated into a fu | STRING |
| HIGH | awscli/testutils.py | 0 | append contents to a file ``filename`` should be a relative path, e.g. "foo/bar/baz.txt" it will be translated into a fu | STRING |
| HIGH | tests/integration/s3transfer/test_s3transfer.py | 0 | translate relative path to full path in temp dir. f.full_path('foo/bar.txt') -> /tmp/asdfasd/foo/bar.txt | STRING |
| HIGH | tests/utils/s3transfer/__init__.py | 0 | translate relative path to full path in temp dir. f.full_path('foo/bar.txt') -> /tmp/asdfasd/foo/bar.txt | STRING |
| HIGH | awscli/testutils.py | 0 | translate relative path to full path in temp dir. f.full_path('foo/bar.txt') -> /tmp/asdfasd/foo/bar.txt | STRING |
| HIGH | tests/utils/s3transfer/__init__.py | 0 | decorator to skip tests that should not be run on windows. example usage: @skip_if_windows("not valid") def test_some_no | STRING |
| HIGH | tests/utils/botocore/__init__.py | 0 | decorator to skip tests that should not be run on windows. example usage: @skip_if_windows("not valid") def test_some_no | STRING |
| HIGH | awscli/testutils.py | 0 | decorator to skip tests that should not be run on windows. example usage: @skip_if_windows("not valid") def test_some_no | STRING |
| HIGH | awscli/s3transfer/delete.py | 0 | :param client: the client associated with the transfer manager :type config: s3transfer.manager.transferconfig :param co | STRING |
| HIGH | awscli/s3transfer/upload.py | 0 | :param client: the client associated with the transfer manager :type config: s3transfer.manager.transferconfig :param co | STRING |
| HIGH | awscli/s3transfer/copies.py | 0 | :param client: the client associated with the transfer manager :type config: s3transfer.manager.transferconfig :param co | STRING |
| HIGH | awscli/customizations/emrcontainers/__init__.py | 0 | called when the eks command table is being built. used to inject new high level commands into the command list. | STRING |
| HIGH | awscli/customizations/lightsail/__init__.py | 0 | called when the eks command table is being built. used to inject new high level commands into the command list. | STRING |
| HIGH | awscli/customizations/ecs/__init__.py | 0 | called when the eks command table is being built. used to inject new high level commands into the command list. | STRING |
| HIGH | awscli/customizations/eks/__init__.py | 0 | called when the eks command table is being built. used to inject new high level commands into the command list. | STRING |
| HIGH | awscli/customizations/emr/emr.py | 0 | called when the cloudformation command table is being built. used to inject new high level commands into the command lis | STRING |
| HIGH | awscli/customizations/cloudtrail/__init__.py | 0 | called when the cloudformation command table is being built. used to inject new high level commands into the command lis | STRING |
| HIGH | awscli/customizations/dlm/dlm.py | 0 | called when the cloudformation command table is being built. used to inject new high level commands into the command lis | STRING |
| HIGH | awscli/customizations/cloudformation/__init__.py | 0 | called when the cloudformation command table is being built. used to inject new high level commands into the command lis | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …ustomizations/cloudformation/test_artifact_exporter.py | 1614 | 'exports handler = (event, context, callback) => {callback(null, event);}', | CODE |
| HIGH⚡ | tests/unit/botocore/test_paginate.py | 194 | 'output_token': 'NextToken || NextToken2', | CODE |
| HIGH | tests/unit/botocore/test_paginate.py | 437 | 'NextMarker || ListBucketResult.Contents[-1].Key' | CODE |
| HIGH | tests/unit/botocore/test_parsers.py | 1648 | body = b'{"items":[1,null,3]}' | STRING |
| HIGH | tests/unit/botocore/test_parsers.py | 1669 | body = b'{"data":[[{"values":[1,null,3]}]]}' | STRING |
| HIGH | tests/unit/botocore/cbor/test_cbor_decoding.py | 24 | 'map - {_ null}', | CODE |
| HIGH | tests/unit/botocore/cbor/test_cbor_decoding.py | 25 | 'map - {null}', | CODE |
| HIGH⚡ | tests/functional/test_document_types.py | 165 | '["foo", {"bar": "baz"}, 1, null]', | CODE |
| HIGH⚡ | tests/functional/test_document_types.py | 214 | ' "ListOfDocTypes": ["foo", {"bar": "baz"}, 1, null],' | CODE |
| HIGH⚡ | tests/functional/test_document_types.py | 217 | ' "NestedListsOfDocTypes":[["foo", {"bar": "baz"}, 1, null]]' | CODE |
| HIGH⚡ | tests/functional/test_document_types.py | 288 | '[bar,1,null],[foo,2]', | CODE |
| HIGH | tests/functional/test_document_types.py | 195 | '[["foo", {"bar": "baz"}, 1, null]]', | CODE |
| HIGH | tests/functional/docs/test_examples.py | 675 | Null values are printed as null, and IAM policy documents and | STRING |
| HIGH | awscli/clidocs.py | 524 | 'booleans, null, arrays, and objects. For command input, ' | CODE |
| HIGH | awscli/customizations/lambdaweb/bundle.py | 207 | "exports": [null, "./dist/index.js"] | STRING |
| HIGH | awscli/botocore/parsers.py | 922 | # currently boolean values, CBOR's null, and CBOR's undefined type. All other | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | awscli/s3transfer/tasks.py | 195 | # This is a basic implementation of the concurrent.futures.wait() | COMMENT |
| MEDIUM | …scli/botocore/data/codebuild/2016-10-06/service-2.json | 1912 | "documentation":"<p>Information about the compute resources the compute fleet uses. Available values include:< | CODE |
| MEDIUM | …scli/botocore/data/codebuild/2016-10-06/service-2.json | 2584 | "documentation":"<p>Information about the compute resources the compute fleet uses. Available values include:< | CODE |
| MEDIUM | …scli/botocore/data/codebuild/2016-10-06/service-2.json | 3827 | "documentation":"<p>Information about the compute resources the build project uses. Available values include:< | CODE |
| MEDIUM | …scli/botocore/data/codebuild/2016-10-06/service-2.json | 5417 | "documentation":"<p>Information about the compute resources the compute fleet uses. Available values include:< | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 97 | "documentation":"<p>Creates a <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/key-store-overview.h | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 143 | "documentation":"<p>Creates a unique customer managed <a href=\"https://docs.aws.amazon.com/kms/latest/developergu | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 373 | "documentation":"<p>Enables <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/rotating-keys-enable-d | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 651 | "documentation":"<p>Imports or reimports key material into an existing KMS key that was created without key materi | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 1041 | "documentation":"<p>Changes the primary key of a multi-Region key. </p> <p>This operation changes the replica key | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 1450 | "documentation":"<p>Determines the <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/kms-cryptog | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 2563 | "documentation":"<p>The algorithm you will use with the RSA public key (<code>PublicKey</code>) in the respons | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 3102 | "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/kms-cryptography.html# | CODE |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 4562 | "documentation":"<fullname>Key Management Service</fullname> <p>Key Management Service (KMS) is an encryption and key | CODE |
| MEDIUM | …cli/botocore/data/cloudwatch/2010-08-01/service-2.json | 5483 | "documentation":"<p>Amazon CloudWatch enables you to publish, monitor, and manage various metrics, as well as configur | CODE |
| LOW | awscli/botocore/data/datasync/2018-11-09/service-2.json | 59 | "documentation":"<p>Creates a transfer <i>location</i> for a Microsoft Azure Blob Storage container. DataSync can | CODE |
| LOW | awscli/botocore/data/config/2014-11-12/service-2.json | 7369 | "documentation":"<p>This option is a bundle which only applies to the global IAM resource types: IAM users, gr | CODE |
| MEDIUM | awscli/botocore/data/config/2014-11-12/service-2.json | 7384 | "documentation":"<p>Specifies which resource types Config records for configuration changes. By default, Config re | CODE |
| MEDIUM | awscli/botocore/data/config/2014-11-12/service-2.json | 9259 | "documentation":"<fullname>Config</fullname> <p>Config provides a way to keep track of the configurations of all the A | CODE |
| MEDIUM | …cli/botocore/data/cloudfront/2020-05-31/service-2.json | 2690 | "documentation":"<p>Tests a CloudFront function.</p> <p>To test a function, you provide an <i>event object</i> tha | CODE |
| MEDIUM | …scli/botocore/data/discovery/2015-11-01/service-2.json | 929 | "documentation":"<p>Contains information about any errors that have occurred. This data type can have the foll | CODE |
| MEDIUM | …ore/data/verifiedpermissions/2021-12-01/service-2.json | 604 | "documentation":"<p>Modifies a Cedar static policy in the specified policy store. You can change only certain elem | CODE |
| MEDIUM | awscli/botocore/data/dynamodb/2012-08-10/service-2.json | 71 | "documentation":"<p>The <code>BatchWriteItem</code> operation puts or deletes multiple items in one or more tables | CODE |
| MEDIUM | awscli/botocore/data/ecs/2014-11-13/service-2.json | 10321 | "documentation":"<p>The secret to expose to the container. The supported values are either the full ARN of the | CODE |
| MEDIUM | awscli/botocore/data/gamelift/2015-10-01/service-2.json | 147 | "documentation":"<p> <b>This API works with the following fleet types:</b> EC2, Anywhere, Container</p> <p>Creates | CODE |
| MEDIUM | …cli/botocore/data/cloudtrail/2013-11-01/service-2.json | 857 | "documentation":"<p>Looks up <a href=\"https://docs.aws.amazon.com/awscloudtrail/latest/userguide/cloudtrail-conce | CODE |
| MEDIUM | …otocore/data/resource-groups/2017-11-27/service-2.json | 1657 | "documentation":"<p>The query you can use to create the tag-sync task. With this method, all resources matchin | CODE |
| MEDIUM | …tocore/data/network-firewall/2020-11-12/service-2.json | 8120 | "documentation":"<p>This is the API Reference for Network Firewall. This guide is for developers who need detailed inf | CODE |
| MEDIUM | …ocore/data/sagemaker-runtime/2017-05-13/service-2.json | 67 | "documentation":"<p>Invokes a model at the specified endpoint to return the inference response as a stream. The in | CODE |
| MEDIUM | awscli/botocore/data/logs/2014-03-28/service-2.json | 1375 | "documentation":"<p>Creates an account-level data protection policy, subscription filter policy, field index polic | CODE |
| MEDIUM | awscli/botocore/data/logs/2014-03-28/service-2.json | 1692 | "documentation":"<p>Creates or updates a <i>log transformer</i> for a single log group. You use log transformers t | CODE |
| MEDIUM | awscli/botocore/data/logs/2014-03-28/service-2.json | 7585 | "documentation":"<p>Specify the policy, in JSON.</p> <p> <b>Data protection policy</b> </p> <p>A data protecti | CODE |
| MEDIUM | awscli/botocore/data/support/2013-04-15/service-2.json | 82 | "documentation":"<p>Creates a case in the Amazon Web Services Support Center. This operation is similar to how you | CODE |
| MEDIUM | awscli/botocore/data/support/2013-04-15/service-2.json | 172 | "documentation":"<p>Returns the current list of Amazon Web Services services and a list of service categories for | CODE |
| MEDIUM | awscli/botocore/data/elbv2/2015-12-01/service-2.json | 3705 | "documentation":"<p>Information about a redirect action.</p> <p>A URI consists of the following components: protoc | CODE |
| MEDIUM | awscli/botocore/data/backup/2018-11-15/service-2.json | 2474 | "documentation":"<p>The timezone in which the schedule expression is set. By default, ScheduleExpressions are | CODE |
| MEDIUM | awscli/botocore/data/backup/2018-11-15/service-2.json | 2536 | "documentation":"<p>The timezone in which the schedule expression is set. By default, ScheduleExpressions are | CODE |
| MEDIUM | awscli/botocore/data/backup/2018-11-15/service-2.json | 8510 | "documentation":"<p>Optional. This is the timezone in which the schedule expression is set. By default, Schedu | CODE |
| MEDIUM | awscli/botocore/data/backup/2018-11-15/service-2.json | 8563 | "documentation":"<p>Optional. This is the timezone in which the schedule expression is set. By default, Schedu | CODE |
| MEDIUM | awscli/botocore/data/backup/2018-11-15/service-2.json | 8607 | "documentation":"<p>Optional. This is the timezone in which the schedule expression is set. By default, Schedu | CODE |
| MEDIUM | awscli/botocore/data/backup/2018-11-15/service-2.json | 8629 | "documentation":"<p>Optional. This is the timezone in which the schedule expression is set. By default, Schedu | CODE |
| MEDIUM | awscli/botocore/data/sts/2011-06-15/service-2.json | 102 | "documentation":"<p>Returns a set of short term credentials you can use to perform privileged tasks on a member ac | CODE |
| LOW | awscli/autoprompt/prompttoolkit.py | 191 | # the cursor position, and make sure to immediately provide a pop-up | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/unit/test_clidriver.py | 303 | # We just return success. If this code is reached, it means that | COMMENT |
| LOW | tests/unit/test_clidriver.py | 529 | # commands, we just call the create_help_command methods. | COMMENT |
| LOW | tests/unit/autocomplete/local/test_indexer.py | 113 | # Ideally we just use ':memory:', but that's for | COMMENT |
| LOW⚡ | tests/unit/customizations/s3/test_transferconfig.py | 26 | # we should just use the default values defined in | COMMENT |
| LOW | tests/unit/botocore/test_paginate.py | 932 | # Because MaxItems=10 > number of users (3), we should just return | COMMENT |
| LOW | tests/unit/botocore/test_credentials.py | 645 | # The first call will simply use whatever credentials it is given. | COMMENT |
| LOW | tests/unit/botocore/test_hooks.py | 138 | # and we don't care about the handler so we just use a value of | COMMENT |
| LOW | tests/integration/customizations/s3/test_plugin.py | 889 | # therefore do nothing. We can just use --dryrun to show the issue. | COMMENT |
| LOW | tests/utils/botocore/__init__.py | 213 | # we'll just use ps and run on POSIX platforms. | COMMENT |
| LOW | tests/functional/docs/test_examples.py | 993 | # CLIDriver can take up a lot of resources so we'll just create one | COMMENT |
| MEDIUM | tests/functional/cloudtrail/test_validation.py | 846 | """This test class is necessary in order to override the default patching | STRING |
| LOW | awscli/clidriver.py | 721 | # No service level arguments so we just return an empty | COMMENT |
| LOW | awscli/utils.py | 214 | # No quotes or escaping, just use a simple split. | COMMENT |
| LOW | awscli/customizations/timestampformat.py | 64 | # on a ProfileNotFound the CLI should just use the default. | COMMENT |
| LOW | awscli/customizations/wizard/ui/selectmenu.py | 85 | # When there are no double width characters, just use slice operation. | COMMENT |
| LOW | awscli/botocore/discovery.py | 220 | # Discovery is optional, just use the default endpoint for now | COMMENT |
| LOW | awscli/botocore/credentials.py | 608 | # Otherwise we'll just return. | COMMENT |
| LOW | awscli/botocore/tokens.py | 93 | # If we don't need to refresh just return | COMMENT |
| LOW | awscli/botocore/awsrequest.py | 152 | # Most servers (including S3) will just return | COMMENT |
| MEDIUM | awscli/botocore/data/kms/2014-11-01/service-2.json | 1450 | "documentation":"<p>Determines the <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/kms-cryptog | CODE |
| MEDIUM | awscli/botocore/data/transfer/2018-11-05/service-2.json | 4968 | "documentation":"<p> Indicates passive mode, for FTP and FTPS protocols. Enter a single IPv4 address, such as | CODE |
| MEDIUM | awscli/botocore/data/transfer/2018-11-05/service-2.json | 4968 | "documentation":"<p> Indicates passive mode, for FTP and FTPS protocols. Enter a single IPv4 address, such as | CODE |
| MEDIUM | …botocore/data/storagegateway/2013-06-30/service-2.json | 6479 | "documentation":"<fullname>Storage Gateway Service</fullname> <important> <p>Amazon FSx File Gateway is no longer avai | CODE |
| MEDIUM | awscli/botocore/data/sqs/2012-11-05/service-2.json | 1419 | "documentation":"<p>This parameter applies only to FIFO (first-in-first-out) queues.</p> <p>The token used for | CODE |
| MEDIUM | awscli/botocore/data/sqs/2012-11-05/service-2.json | 1515 | "documentation":"<p>This parameter applies only to FIFO (first-in-first-out) queues.</p> <p>The token used for | CODE |
| MEDIUM | awscli/botocore/data/sqs/2012-11-05/service-2.json | 1519 | "documentation":"<p> <code>MessageGroupId</code> is an attribute used in Amazon SQS FIFO (First-In-First-Out) | CODE |
| MEDIUM | awscli/botocore/data/sqs/2012-11-05/service-2.json | 1616 | "documentation":"<p>This parameter applies only to FIFO (first-in-first-out) queues.</p> <p>The token used for | CODE |
| MEDIUM | awscli/botocore/data/sqs/2012-11-05/service-2.json | 1620 | "documentation":"<p> <code>MessageGroupId</code> is an attribute used in Amazon SQS FIFO (First-In-First-Out) | CODE |
| MEDIUM | awscli/botocore/data/gamelift/2015-10-01/service-2.json | 107 | "documentation":"<p> <b>This API works with the following fleet types:</b> Container</p> <p>Creates a managed flee | CODE |
| MEDIUM | awscli/botocore/data/gamelift/2015-10-01/service-2.json | 147 | "documentation":"<p> <b>This API works with the following fleet types:</b> EC2, Anywhere, Container</p> <p>Creates | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 50 | "documentation":"<p>Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 66 | "documentation":"<p>Creates the participant's connection. </p> <p>For security recommendations, see <a href=\"http | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 66 | "documentation":"<p>Creates the participant's connection. </p> <p>For security recommendations, see <a href=\"http | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 83 | "documentation":"<p>Retrieves the view for the specified view token.</p> <p>For security recommendations, see <a h | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 99 | "documentation":"<p>Disconnects a participant. </p> <p>For security recommendations, see <a href=\"https://docs.aw | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 115 | "documentation":"<p>Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 131 | "documentation":"<p>Retrieves the AuthenticationUrl for the current authentication session for the AuthenticateCus | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 147 | "documentation":"<p>Retrieves a transcript of the session, including details about any attachments. For informatio | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 164 | "documentation":"<note> <p>The <code>application/vnd.amazonaws.connect.event.connection.acknowledged</code> Conten | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 180 | "documentation":"<p>Sends a message.</p> <p>For security recommendations, see <a href=\"https://docs.aws.amazon.co | CODE |
| MEDIUM | …core/data/connectparticipant/2018-09-07/service-2.json | 197 | "documentation":"<p>Provides a pre-signed Amazon S3 URL in response for uploading the file directly to S3.</p> <p> | CODE |
| MEDIUM | awscli/botocore/data/eks/2017-11-01/service-2.json | 3056 | "documentation":"<p>The ARN of the IAM principal for the <code>AccessEntry</code>. You can specify one ARN for | CODE |
| MEDIUM | awscli/botocore/data/sts/2011-06-15/service-2.json | 102 | "documentation":"<p>Returns a set of short term credentials you can use to perform privileged tasks on a member ac | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | tests/unit/customizations/lambdaweb/test_output.py | 188 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | tests/unit/customizations/lambdaweb/test_output.py | 190 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 10 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 12 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 80 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 82 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 132 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 134 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 239 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 241 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 314 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 316 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 374 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 376 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 459 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 461 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 529 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 531 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 596 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 598 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 681 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 683 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 739 | # ============================================================================ | COMMENT |
| MEDIUM | scripts/install-v2/install.sh | 741 | # ============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | tests/unit/customizations/lambdaweb/test_scaffold.py | 98 | # package.json "main" must point at the scaffold entry so redeploys | COMMENT |
| MEDIUM | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 2081 | "documentation":"<p>The creator mode specific admin controls configured for an Amazon Q Business application. Dete | CODE |
| MEDIUM⚡ | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 2092 | "documentation":"<p>The chat orchestration specific admin controls configured for an Amazon Q Business application | CODE |
| MEDIUM⚡ | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 2092 | "documentation":"<p>The chat orchestration specific admin controls configured for an Amazon Q Business application | CODE |
| MEDIUM⚡ | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 2092 | "documentation":"<p>The chat orchestration specific admin controls configured for an Amazon Q Business application | CODE |
| MEDIUM | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 2825 | "documentation":"<p>Configuration information for Amazon Q Business conversation modes.</p> <p>For more informatio | CODE |
| MEDIUM | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 3005 | "documentation":"<p>The <code>chatMode</code> parameter determines the chat modes available to Amazon Q Busine | CODE |
| MEDIUM | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 3143 | "documentation":"<p>The chat modes available to an Amazon Q Business end user.</p> <ul> <li> <p> <code>RETRIEV | CODE |
| MEDIUM | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 3915 | "documentation":"<p>Configuration information required to invoke chat in <code>CREATOR_MODE</code>.</p> <p>For mor | CODE |
| MEDIUM | …scli/botocore/data/qbusiness/2023-11-27/service-2.json | 7975 | "documentation":"<p>Configuration information required to invoke chat in <code>PLUGIN_MODE</code>.</p> <p>For more | CODE |
| MEDIUM | …e/data/bedrock-agent-runtime/2023-07-26/service-2.json | 6183 | "documentation":"<p> The <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/model-ids.html#model-i | CODE |
| MEDIUM | …e/data/bedrock-agent-runtime/2023-07-26/service-2.json | 6187 | "documentation":"<p> The <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html\">guar | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 263 | "documentation":"<p>Creates a guardrail to block topics and to implement safeguards for your generative AI applica | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 2065 | "documentation":"<p>Updates a guardrail with the values you specify.</p> <ul> <li> <p>Specify a <code>name</code> | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 5486 | "documentation":"<p>The system-defined guardrail profile that you're using with your guardrail. Guardrail prof | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9174 | "documentation":"<p>Contains filter strengths for harmful content. Guardrails support the following content filter | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9229 | "documentation":"<p>Contains filter strengths for harmful content. Guardrails support the following content filter | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9260 | "documentation":"<p>The tier that your guardrail uses for content filters. Valid values include:</p> <ul> <li> | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9271 | "documentation":"<p>The tier that your guardrail uses for content filters. Valid values include:</p> <ul> <li> | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9436 | "documentation":"<p>The tier that your guardrail uses for contextual grounding. Valid values include:</p> <ul> | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9447 | "documentation":"<p>The tier that your guardrail uses for contextual grounding. Valid values include:</p> <ul> | CODE |
| MEDIUM⚡ | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9466 | "documentation":"<p>The ID or Amazon Resource Name (ARN) of the guardrail profile that your guardrail is using | CODE |
| MEDIUM⚡ | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9469 | "documentation":"<p>The system-defined guardrail profile that you're using with your guardrail. Guardrail profiles | CODE |
| MEDIUM⚡ | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9476 | "documentation":"<p>The ID of the guardrail profile that your guardrail is using. Profile availability depends | CODE |
| MEDIUM⚡ | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9483 | "documentation":"<p>Contains details about the system-defined guardrail profile that you're using with your guardr | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 9692 | "documentation":"<p>Configure guardrail type when the PII entity is detected.</p> <p>The following PIIs are us | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 10165 | "documentation":"<p>The tier that your guardrail uses for denied topic filters. Valid values include:</p> <ul> | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 10176 | "documentation":"<p>The tier that your guardrail uses for denied topic filters. Valid values include:</p> <ul> | CODE |
| MEDIUM | awscli/botocore/data/bedrock/2023-04-20/service-2.json | 14578 | "documentation":"<p>The system-defined guardrail profile that you're using with your guardrail. Guardrail prof | CODE |
| MEDIUM | awscli/botocore/data/eks/2017-11-01/service-2.json | 6504 | "documentation":"<p>The configuration for the behavior to follow during a node group version update of this ma | CODE |
| MEDIUM | …/botocore/data/stepfunctions/2016-11-23/service-2.json | 412 | "documentation":"<p>Restarts unsuccessful executions of Standard workflows that didn't complete successfully in th | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/integration/botocore/test_smoke.py | 198 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/functional/test_paramfile.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | tests/functional/botocore/csm/test_monitoring.py | 29 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/lazy_emitter.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/utils.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | awscli/paramfile.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/s3transfer/tasks.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/s3transfer/download.py | 43 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/s3transfer/__init__.py | 155 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/s3transfer/crt.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/s3transfer/futures.py | 25 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/s3transfer/utils.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/s3transfer/checksums.py | 11 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/s3transfer/manager.py | 50 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/paginate.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/sessionmanager.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/configure/configure.py | 47 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/configure/sso.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/configure/sso_commands.py | 60 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/ec2instanceconnect/eicefetcher.py | 20 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/ec2instanceconnect/ssh.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/ec2instanceconnect/opentunnel.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/ec2instanceconnect/websocket.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/lightsail/push_container_image.py | 23 | logger = logging.getLogger(__name__) | CODE |
| LOW⚡ | awscli/customizations/dynamodb/paginatorfix.py | 17 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/lambdaweb/bundle.py | 39 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/ecs/executecommand.py | 21 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/ec2/addcount.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/customizations/ec2/decryptpassword.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/auth.py | 47 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/hooks.py | 19 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/endpoint_provider.py | 42 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/compat.py | 33 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/useragent.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/discovery.py | 22 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/credentials.py | 70 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/monitoring.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/client.py | 69 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/loaders.py | 113 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/session.py | 63 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/handlers.py | 74 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/response.py | 31 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/tokens.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/waiter.py | 26 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/httpchecksum.py | 40 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/endpoint.py | 36 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/utils.py | 86 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/compress.py | 28 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/args.py | 38 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/configprovider.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/httpsession.py | 74 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/history.py | 16 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/awsrequest.py | 34 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/retries/standard.py | 49 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/retries/adaptive.py | 7 | logger = logging.getLogger(__name__) | CODE |
| LOW | awscli/botocore/retries/special.py | 14 | logger = logging.getLogger(__name__) | CODE |
| LOW | doc/source/parallel_write.py | 28 | logger = logging.getLogger(__name__) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ations/emrcontainers/test_update_assume_role_policy.py | 98 | # Check if UpdateAssumeRolePolicy was invoked | COMMENT |
| LOW | tests/unit/customizations/s3/test_subcommands.py | 375 | # Check if no plugins return their sync strategy. Should | COMMENT |
| LOW | tests/unit/customizations/configure/test_mfalogin.py | 84 | # Set session to return None credentials to trigger interactive prompting | COMMENT |
| LOW | tests/unit/customizations/configure/test_mfalogin.py | 114 | # Set profile to a non-existent profile | COMMENT |
| LOW | tests/unit/customizations/configure/test_mfalogin.py | 326 | # Set session to return None credentials to trigger interactive prompting | COMMENT |
| LOW | tests/unit/customizations/configure/test_mfalogin.py | 359 | # Set session to return None credentials to trigger interactive prompting | COMMENT |
| LOW | tests/unit/customizations/gamelift/test_uploadbuild.py | 81 | # Output values | COMMENT |
| LOW⚡ | …ustomizations/cloudformation/test_artifact_exporter.py | 1597 | # Set parent_dir to be a non-existent folder | COMMENT |
| LOW⚡ | …ustomizations/cloudformation/test_artifact_exporter.py | 1601 | # Set parent_dir to be a real folder, but just a relative path | COMMENT |
| LOW | tests/backends/build_system/unit/test_exe.py | 72 | # Check if build dir is present | COMMENT |
| LOW | awscli/topictags.py | 212 | # Check if the topic is in the topic tag dictionary | COMMENT |
| LOW | awscli/customizations/sessionmanager.py | 178 | # Check if this plugin supports passing the start session response | COMMENT |
| LOW | awscli/customizations/s3uploader.py | 105 | # Check if a file with same data exists | COMMENT |
| LOW | awscli/customizations/s3uploader.py | 189 | # Read file in chunks of 4096 bytes | COMMENT |
| LOW | awscli/customizations/waiters.py | 29 | # Check if the command object passed in has a ``service_object``. We | COMMENT |
| LOW | awscli/customizations/s3/syncstrategy/base.py | 167 | # Check if a ``dest`` was specified in ``ARGUMENT`` as if it is | COMMENT |
| LOW | awscli/customizations/configure/addmodel.py | 33 | # Check if the endpoint prefix is a pre-existing service. | COMMENT |
| LOW | awscli/customizations/configure/set.py | 121 | # Check if there are more than two parts to the property name to set (e.g., aaa.bbb.ccc) | COMMENT |
| LOW | awscli/customizations/configure/get.py | 153 | # Check if varname starts with 'default' profile (e.g. | COMMENT |
| LOW | awscli/customizations/ec2instanceconnect/websocket.py | 397 | # Check if we have reached max connections | COMMENT |
| LOW | awscli/customizations/dlm/createdefaultrole.py | 41 | # Display the result as formatted json | COMMENT |
| LOW | awscli/customizations/codeartifact/login.py | 377 | # Check if the CodeArtifact URL is already present in the | COMMENT |
| LOW | …scli/customizations/datapipeline/createdefaultroles.py | 93 | # Check if the role with the name exists | COMMENT |
| LOW | …scli/customizations/datapipeline/createdefaultroles.py | 148 | # Check if the default EC2 Instance Profile for DataPipeline exists. | COMMENT |
| LOW | awscli/botocore/credentials.py | 2549 | # Check if token has already been refreshed and is still valid | COMMENT |
| LOW | awscli/botocore/handlers.py | 847 | # Add the handlers to the list of handlers. | STRING |
| LOW | awscli/botocore/stub.py | 251 | # Add the service_response to the queue for returning responses | COMMENT |
| LOW | awscli/botocore/retries/standard.py | 571 | # Check if this error code matches the shape. This can | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/__init__.py | 706 | CODE | |
| LOW | tests/unit/customizations/wizard/test_core.py | 29 | CODE | |
| LOW | tests/integration/botocore/test_s3.py | 58 | CODE | |
| LOW | tests/integration/botocore/test_s3.py | 73 | CODE | |
| LOW | tests/functional/ec2instanceconnect/test_opentunnel.py | 97 | CODE | |
| LOW | tests/functional/botocore/test_credentials.py | 217 | CODE | |
| LOW | tests/functional/botocore/test_s3.py | 3252 | CODE | |
| LOW | tests/functional/botocore/test_s3.py | 3277 | CODE | |
| LOW | tests/functional/botocore/test_s3.py | 3512 | CODE | |
| LOW | awscli/arguments.py | 205 | CODE | |
| LOW | awscli/testutils.py | 1028 | CODE | |
| LOW | awscli/help.py | 258 | CODE | |
| LOW | awscli/help.py | 284 | CODE | |
| LOW | awscli/s3transfer/crt.py | 111 | CODE | |
| LOW | awscli/s3transfer/manager.py | 54 | CODE | |
| LOW | awscli/autocomplete/local/basic.py | 206 | CODE | |
| LOW | awscli/customizations/s3/filegenerator.py | 100 | CODE | |
| LOW | awscli/customizations/s3/fileinfo.py | 42 | CODE | |
| LOW | awscli/customizations/configure/exportcreds.py | 264 | CODE | |
| LOW | awscli/customizations/wizard/core.py | 185 | CODE | |
| LOW | awscli/customizations/wizard/loader.py | 99 | CODE | |
| LOW | awscli/customizations/wizard/devcommands.py | 35 | CODE | |
| LOW | awscli/customizations/lambdaweb/wait.py | 146 | CODE | |
| LOW | awscli/customizations/sso/utils.py | 103 | CODE | |
| LOW | awscli/botocore/session.py | 310 | CODE | |
| LOW | awscli/botocore/session.py | 789 | CODE | |
| LOW | awscli/botocore/model.py | 779 | CODE | |
| LOW | awscli/botocore/endpoint.py | 388 | CODE | |
| LOW | awscli/botocore/configprovider.py | 650 | CODE | |
| LOW | awscli/botocore/docs/method.py | 138 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/customizations/configure/test_sso.py | 2324 | self.email_address = "test@test.com" | CODE |
| LOW | …esponse_parsing/xml/responses/ses-list-identities.json | 4 | "foo@bar.com" | CODE |
| LOW | …esponses/ses-get-identity-notification-attributes.json | 3 | "user@example.com": { | CODE |
| LOW⚡ | tests/functional/ses/test_send_email.py | 27 | 'Source': 'foo@bar.com', | CODE |
| LOW⚡ | tests/functional/ses/test_send_email.py | 43 | 'Source': 'foo@bar.com', | CODE |
| LOW⚡ | tests/functional/ses/test_send_email.py | 61 | 'Source': 'foo@bar.com', | CODE |
| LOW | tests/functional/ses/test_send_email.py | 84 | 'Source': 'foo@bar.com', | CODE |
| LOW | tests/functional/ses/test_send_email.py | 105 | 'Source': 'foo@bar.com', | CODE |
| LOW | tests/functional/ses/test_send_email.py | 123 | 'Source': 'foo@bar.com', | CODE |
| LOW | tests/functional/ses/test_send_email.py | 149 | 'Source': 'foo@bar.com', | CODE |
| LOW | awscli/customizations/cloudfront/arguments.py | 64 | "TargetOriginId": "placeholder", | CODE |
| LOW | awscli/botocore/data/qapps/2023-11-27/service-2.json | 3321 | "placeholder":{ | CODE |
| LOW | awscli/botocore/data/qapps/2023-11-27/service-2.json | 3352 | "placeholder":{ | CODE |
| LOW | …tocore/data/amplifyuibuilder/2021-08-11/service-2.json | 1966 | "placeholder":{ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …cli/customizations/ecs/monitorexpressgatewayservice.py | 175 | Determine and validate the display mode. Args: requested_mode: User-requested mode ('interactive', | STRING |
| HIGH | …li/customizations/ecs/monitormutatinggatewayservice.py | 208 | Validate the monitor mode value. Args: mode_value: Value from --monitor-mode flag resou | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | tests/unit/botocore/test_loaders.py | 473 | # In this example, we can see that the 'bar' directory | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | awscli/botocore/data/acm-pca/2017-08-22/service-2.json | 1888 | "documentation":"<p>Certificate revocation information used by the <a href=\"https://docs.aws.amazon.com/privateca | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awscli/botocore/docs/shape.py | 15 | # NOTE: This class should not be instantiated and its | COMMENT |
| LOW | requirements/download-deps/portable-exe-lock.txt | 207 | # WARNING: The following packages were not pinned, but pip requires them to be | COMMENT |
| LOW | requirements/download-deps/portable-exe-win-lock.txt | 209 | # WARNING: The following packages were not pinned, but pip requires them to be | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | tests/unit/botocore/test_context.py | 75 | def do_something(): | CODE |
| LOW⚡ | tests/unit/botocore/test_context.py | 87 | def do_something(): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | awscli/customizations/s3/filegenerator.py | 270 | The purpose of this function is to ensure that the same path separator | STRING |