Universal Command Line Interface for Amazon Web Services
3569 matches across 14 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/__init__.py | 110 | def assert_no_remaining_responses(self): |
| LOW | tests/__init__.py | 136 | def _return_queued_http_response(self, request, **kwargs): |
| LOW | tests/__init__.py | 175 | def _validate_parsed_response(self): |
| LOW | tests/__init__.py | 187 | def _reverse_serialize_parsed_response(self): |
| LOW | tests/unit/test_errorhandler.py | 26 | def test_error_handler_client_side(self): |
| LOW | tests/unit/test_errorhandler.py | 58 | def test_error_handler_server_side(self): |
| LOW | tests/unit/test_paramfile.py | 55 | def test_cannot_load_text_file(self): |
| LOW | tests/unit/test_paramfile.py | 62 | def test_file_does_not_exist_raises_error(self): |
| LOW | tests/unit/test_paramfile.py | 66 | def test_no_match_uris_returns_none(self): |
| LOW | tests/unit/test_paramfile.py | 69 | def test_non_string_type_returns_none(self): |
| LOW | tests/unit/test_paramfile.py | 101 | def test_connection_error_raises_error(self): |
| LOW | tests/unit/test_paramfile.py | 122 | def test_missing_config_value(self, mock_handler_cls): |
| LOW | tests/unit/test_utils.py | 53 | def test_mixing_double_single_quotes(self): |
| LOW | tests/unit/test_utils.py | 57 | def test_mixing_double_single_quotes_before_first_comma(self): |
| LOW | tests/unit/test_utils.py | 61 | def test_inner_quote_split_with_equals(self): |
| LOW | tests/unit/test_utils.py | 65 | def test_single_quoted_inner_value_with_no_commas(self): |
| LOW | tests/unit/test_utils.py | 268 | def test_is_not_document_type_if_missing_document_trait(self): |
| LOW | tests/unit/test_utils.py | 277 | def test_is_not_document_type_if_not_structure(self): |
| LOW | tests/unit/test_utils.py | 283 | def test_is_document_type_container_for_doc_type(self): |
| LOW | tests/unit/test_utils.py | 289 | def test_is_not_document_type_container_if_missing_document_trait(self): |
| LOW | tests/unit/test_utils.py | 298 | def test_is_not_document_type_container_if_not_scalar(self): |
| LOW | tests/unit/test_utils.py | 303 | def test_is_document_type_container_if_list_member(self): |
| LOW | tests/unit/test_utils.py | 313 | def test_is_document_type_container_if_map_value(self): |
| LOW | tests/unit/test_utils.py | 368 | def test_operation_uses_document_types_if_doc_type_in_input(self): |
| LOW | tests/unit/test_utils.py | 374 | def test_operation_uses_document_types_if_doc_type_in_output(self): |
| LOW | tests/unit/test_utils.py | 380 | def test_operation_uses_document_types_is_false_when_no_doc_types(self): |
| LOW | tests/unit/test_utils.py | 451 | def test_blob_is_not_streaming(self, argument_model): |
| LOW | tests/unit/test_utils.py | 456 | def test_non_blob_is_not_streaming(self, argument_model): |
| LOW | tests/unit/test_utils.py | 464 | def test_shape_is_tagged_union(self, argument_model): |
| LOW | tests/unit/test_utils.py | 468 | def test_shape_is_not_tagged_union(self, argument_model): |
| LOW | tests/unit/test_utils.py | 87 | def test_quoted_square_brackets(self): |
| LOW | tests/unit/test_utils.py | 103 | def test_end_bracket_in_value(self): |
| LOW | tests/unit/test_utils.py | 120 | def test_finds_service_and_operation_name(self): |
| LOW | tests/unit/test_utils.py | 126 | def test_returns_none_if_event_is_too_short(self): |
| LOW | tests/unit/test_utils.py | 153 | def test_env_var_non_true_value(self): |
| LOW | tests/unit/test_utils.py | 191 | def test_env_configured_pager(self, mock_get_popen_pager): |
| LOW | tests/unit/test_utils.py | 219 | def test_exit_of_context_manager_for_pager(self): |
| LOW | tests/unit/test_utils.py | 230 | def test_can_silence_io_error_from_pager(self): |
| LOW | tests/unit/test_utils.py | 255 | def get_doc_type_shape_definition(self): |
| LOW | tests/unit/test_utils.py | 325 | def test_is_document_type_container_if_nested_list_member(self): |
| LOW | tests/unit/test_utils.py | 433 | def test_can_escape_recursive_shapes(self): |
| LOW | tests/unit/test_changelog.py | 26 | def test_next_release_json_is_well_formed(json_path): |
| LOW | tests/unit/test_decorators.py | 22 | def test_bare_requires_crt_fails_immediately(self): |
| LOW | tests/unit/test_decorators.py | 29 | def test_requires_crt_skips_when_no_crt(self): |
| LOW | tests/unit/test_decorators.py | 38 | def test_requires_crt_runs_when_crt_available(self): |
| LOW | tests/unit/test_plugin.py | 50 | def test_event_hooks_can_be_passed_in(self): |
| LOW | tests/unit/test_table.py | 31 | def test_add_row_tracks_max_widths(self): |
| LOW | tests/unit/test_table.py | 43 | def test_add_row_also_tracks_header(self): |
| LOW | tests/unit/test_table.py | 55 | def test_max_width_with_scaling_perfect_scaling(self): |
| LOW | tests/unit/test_table.py | 62 | def test_max_width_scaling_one_unit_short(self): |
| LOW | tests/unit/test_table.py | 68 | def test_width_with_full_width_characters(self): |
| LOW | tests/unit/test_table.py | 72 | def test_max_width_scaling_is_negative(self): |
| LOW | tests/unit/test_table.py | 77 | def test_allow_sections_to_be_padded(self): |
| LOW | tests/unit/test_table.py | 84 | def test_title_accounts_for_outer_padding(self): |
| LOW | tests/unit/test_table.py | 103 | def test_max_width_calculation(self): |
| LOW | tests/unit/test_table.py | 116 | def test_convert_section_to_vertical(self): |
| LOW | tests/unit/test_topictags.py | 71 | def test_get_all_topic_source_files(self): |
| LOW | tests/unit/test_topictags.py | 84 | def test_get_all_topic_source_files_ignore_index(self): |
| LOW | tests/unit/test_topictags.py | 98 | def test_get_all_topic_source_files_ignore_hidden(self): |
| LOW | tests/unit/test_topictags.py | 111 | def test_get_tag_value_all_tags(self): |
| 2560 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | bin/aws_zsh_completer.sh | 1 | # Source this file to activate auto completion for zsh using the bash |
| LOW | tests/__init__.py | 181 | serialized = self._reverse_serialize_parsed_response() |
| LOW | tests/unit/test_errorhandler.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_paramfile.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_utils.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_decorators.py | 1 | # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_plugin.py | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_table.py | 1 | # Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved |
| LOW | tests/unit/test_argparser.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_topictags.py | 1 | # Copyright (c) 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved |
| LOW | tests/unit/test_schema.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_argprocess.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_clidriver.py | 1 | # -*- coding: utf-8 -*- |
| LOW | tests/unit/test_text.py | 1 | # Copyright (c) 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved |
| LOW | tests/unit/test_shorthand.py | 1 | # Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_alias.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_compat.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_completer.py | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_clidocs.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_help.py | 1 | # Copyright 2012-2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_testutils.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/test_arguments.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_flatten.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_utils.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_cliinputjson.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_paginate.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_s3errormsg.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_generatecliskeleton.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_dynamodb.py | 1 | # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/__init__.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_overridesslcommonname.py | 1 | # Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_cloudwatch.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_cloudsearchdomain.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_commands.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_assumerole.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_s3uploader.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_globalargs.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_argrename.py | 1 | # Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_scalarparse.py | 1 | # Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_codecommit.py | 1 | # Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_waiters.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_sessionmanager.py | 1 | # Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/test_arguments.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/emrcontainers/test_base36.py | 1 | # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/emrcontainers/__init__.py | 1 | # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | …ations/emrcontainers/test_update_assume_role_policy.py | 1 | # Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | …ns/servicecatalog/test_generateprovisioningartifact.py | 1 | # Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/servicecatalog/test_utils.py | 1 | # Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/servicecatalog/__init__.py | 1 | # Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | …ts/unit/customizations/servicecatalog/test_generate.py | 1 | # Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | …/customizations/servicecatalog/test_generateproduct.py | 1 | # Copyright 2012-2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/test_utils.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/test_results.py | 1 | # Copyright 2016 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/test_transferconfig.py | 1 | # Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/test_subcommands.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/test_filegenerator.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/test_s3handler.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/test_fileinfobuilder.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/__init__.py | 1 | # Copyright 2013 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| LOW | tests/unit/customizations/s3/test_fileinfo.py | 1 | # Copyright 2014 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 540 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | tests/unit/test_topictags.py | 243 | # Create a JSON index to be loaded. |
| MEDIUM | tests/unit/test_clidocs.py | 177 | # Create an arbitrary help command class. This was chosen |
| MEDIUM | tests/unit/test_help.py | 232 | # Create a temporary index file for ``aws help [command]`` to use. |
| MEDIUM | tests/unit/customizations/test_flatten.py | 190 | # Create the flattened argument table |
| MEDIUM | tests/unit/customizations/test_cliinputjson.py | 27 | # Create the various forms the data could come in. The two main forms |
| MEDIUM | tests/unit/customizations/test_cliinputjson.py | 70 | # Create a bad JSON input |
| MEDIUM | tests/unit/customizations/test_generatecliskeleton.py | 24 | # Create a mock service operation object |
| MEDIUM | tests/unit/customizations/s3/test_filegenerator.py | 299 | # Create a symlink to a file that does not exist. |
| MEDIUM | tests/unit/customizations/s3/test_filegenerator.py | 303 | # Create a symlink to directory realfiles |
| MEDIUM | …ts/unit/customizations/configservice/test_getstatus.py | 305 | # Create the configuration recorder statuses. |
| MEDIUM | …ts/unit/customizations/configservice/test_getstatus.py | 318 | # Create the delivery channel statuses. |
| MEDIUM | tests/unit/customizations/configure/test_configure.py | 224 | # Create a mock stdout to record flush calls and replace stdout_patch |
| MEDIUM | tests/unit/customizations/cloudtrail/test_validation.py | 638 | # Create a key that looks similar but for a different trail. |
| MEDIUM | tests/unit/customizations/cloudtrail/test_validation.py | 640 | # Create a key that looks similar but is from a different trail source |
| MEDIUM | …sts/unit/customizations/cloudformation/test_package.py | 69 | # Create a temporary file and make this my template |
| MEDIUM | …sts/unit/customizations/cloudformation/test_package.py | 93 | # Create a temporary file and make this my template |
| MEDIUM | tests/integration/test_assume_role.py | 163 | # Create the final role, the one that will actually have access to s3 |
| MEDIUM | tests/integration/test_assume_role.py | 166 | # Create the role that can assume the final role |
| MEDIUM | tests/integration/test_assume_role.py | 170 | # Create a user that can only assume the middle-man role, and then get |
| MEDIUM | tests/integration/test_assume_role.py | 216 | # Create a role with read access to S3 |
| MEDIUM | tests/integration/test_assume_role.py | 219 | # Create a user that can assume the role and get static credentials |
| MEDIUM | tests/integration/customizations/test_waiters.py | 28 | # Create a table. |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 1100 | # Create a symlink to foo.txt. |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 1103 | # Create a bad symlink. |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 1106 | # Create a symlink to directory where foo.txt is. |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 1438 | # Create a prefix that will cause the second created file to have a key |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 733 | # Create a file with a space char and a '+' char in the filename. |
| MEDIUM | tests/integration/customizations/s3/test_plugin.py | 1560 | # Create a 200 MB file that will be streamed |
| MEDIUM | tests/functional/docs/test_examples.py | 302 | # Create the service parser |
| MEDIUM | awscli/help.py | 295 | # Create an event handler for a Provider Document |
| MEDIUM | awscli/customizations/s3events.py | 107 | # This method is hooked into after-call which fires |
| MEDIUM | awscli/customizations/waiters.py | 109 | # Create the cli name for the waiter operation |
| MEDIUM | awscli/customizations/waiters.py | 116 | # Create an operation object to make a command for the waiter. The |
| MEDIUM | awscli/customizations/commands.py | 354 | # Create an event handler for a Provider Document |
| MEDIUM | awscli/customizations/s3/results.py | 489 | # Create the display statement. |
| MEDIUM | awscli/customizations/s3/filegenerator.py | 71 | # This class is provided primarily to provide a detailed error message. |
| MEDIUM | awscli/customizations/emr/createdefaultroles.py | 304 | # Creating an Instance Profile |
| MEDIUM | awscli/customizations/configservice/subscribe.py | 78 | # Create a configuration recorder. |
| MEDIUM | awscli/customizations/configservice/subscribe.py | 86 | # Create a delivery channel. |
| MEDIUM | awscli/customizations/configservice/subscribe.py | 167 | # Create the topic if a name is given. |
| MEDIUM | awscli/customizations/configure/writer.py | 124 | # Create the file as well as the parent dir if needed. |
| MEDIUM | awscli/customizations/gamelift/uploadbuild.py | 75 | # Create a build based on the operating system given. |
| MEDIUM | awscli/customizations/gamelift/uploadbuild.py | 96 | # Create the S3 Client for uploading the build based on the |
| MEDIUM | awscli/customizations/cloudtrail/validation.py | 332 | # Create a target start end end date |
| MEDIUM | awscli/customizations/cloudtrail/validation.py | 1126 | # Create a client that can work with this bucket. |
| MEDIUM | awscli/customizations/history/list.py | 63 | """This class is just to read one ahead to make sure there are records |
| MEDIUM | …scli/customizations/datapipeline/createdefaultroles.py | 96 | # Create a create using the IAM Client with a particular triplet |
| MEDIUM | …scli/customizations/datapipeline/createdefaultroles.py | 170 | # Create a role using IAM client CreateRole API |
| MEDIUM | …scli/customizations/datapipeline/createdefaultroles.py | 175 | # Create a role using IAM client AttachRolePolicy API |
| MEDIUM | doc/source/conf.py | 6 | # This file is execfile()d with the current directory set to its containing dir. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | setup.py | 77 | |
| LOW | tests/unit/test_utils.py | 14 | |
| LOW | tests/unit/test_topictags.py | 24 | |
| LOW | tests/unit/test_argprocess.py | 23 | |
| LOW | tests/unit/test_argprocess.py | 29 | |
| LOW | tests/unit/test_clidriver.py | 19 | |
| LOW | tests/unit/test_text.py | 22 | |
| LOW | tests/unit/test_help.py | 15 | |
| LOW | tests/unit/test_arguments.py | 16 | |
| LOW | tests/unit/test_arguments.py | 16 | |
| LOW | tests/unit/customizations/test_flatten.py | 16 | |
| LOW | tests/unit/customizations/test_cloudwatch.py | 15 | |
| LOW | tests/unit/customizations/test_codecommit.py | 14 | |
| LOW | tests/unit/customizations/test_codecommit.py | 17 | |
| LOW | tests/unit/customizations/test_codecommit.py | 24 | |
| LOW | tests/unit/customizations/test_codecommit.py | 25 | |
| LOW | tests/unit/customizations/s3/test_filegenerator.py | 14 | |
| LOW | tests/unit/customizations/s3/test_filegenerator.py | 24 | |
| LOW | tests/unit/customizations/s3/test_fileinfobuilder.py | 13 | |
| LOW | tests/unit/customizations/s3/test_fileinfobuilder.py | 16 | |
| LOW | tests/unit/customizations/s3/test_copy_params.py | 16 | |
| LOW | tests/unit/customizations/s3/test_copy_params.py | 17 | |
| LOW | tests/unit/customizations/s3/test_copy_params.py | 22 | |
| LOW | …ts/unit/customizations/emr/test_add_instance_groups.py | 16 | |
| LOW | tests/unit/customizations/emr/test_list_clusters.py | 16 | |
| LOW | tests/unit/customizations/emr/test_list_clusters.py | 17 | |
| LOW | tests/unit/customizations/emr/__init__.py | 15 | |
| LOW | tests/unit/customizations/emr/__init__.py | 16 | |
| LOW | tests/unit/customizations/ecs/test_ecsclient.py | 15 | |
| LOW | tests/unit/customizations/ecs/test_ecsclient.py | 16 | |
| LOW | tests/unit/customizations/eks/test_update_kubeconfig.py | 16 | |
| LOW | tests/unit/customizations/eks/test_update_kubeconfig.py | 17 | |
| LOW | tests/unit/customizations/eks/test_update_kubeconfig.py | 18 | |
| LOW | tests/unit/customizations/eks/test_update_kubeconfig.py | 25 | |
| LOW | tests/unit/customizations/eks/test_update_kubeconfig.py | 26 | |
| LOW | tests/unit/customizations/eks/test_update_kubeconfig.py | 30 | |
| LOW | tests/unit/customizations/eks/test_get_token.py | 14 | |
| LOW | tests/unit/customizations/eks/test_get_token.py | 16 | |
| LOW | tests/unit/customizations/eks/test_get_token.py | 19 | |
| LOW | tests/unit/customizations/eks/test_kubeconfig.py | 20 | |
| LOW | tests/unit/customizations/eks/test_kubeconfig.py | 21 | |
| LOW | tests/unit/customizations/eks/test_kubeconfig.py | 22 | |
| LOW | tests/unit/customizations/eks/test_kubeconfig.py | 22 | |
| LOW | tests/unit/customizations/eks/test_kubeconfig.py | 32 | |
| LOW | tests/unit/customizations/codedeploy/test_utils.py | 14 | |
| LOW | tests/unit/customizations/codedeploy/test_uninstall.py | 14 | |
| LOW | tests/unit/customizations/codedeploy/test_install.py | 14 | |
| LOW | tests/unit/customizations/codedeploy/test_install.py | 18 | |
| LOW | …sts/unit/customizations/cloudformation/test_package.py | 13 | |
| LOW | …sts/unit/customizations/cloudformation/test_package.py | 14 | |
| LOW | …sts/unit/customizations/cloudformation/test_package.py | 17 | |
| LOW | …sts/unit/customizations/cloudformation/test_package.py | 18 | |
| LOW | …sts/unit/customizations/cloudformation/test_package.py | 20 | |
| LOW | …sts/unit/customizations/cloudformation/test_package.py | 21 | |
| LOW | …ustomizations/cloudformation/test_artifact_exporter.py | 1 | |
| LOW | …ustomizations/cloudformation/test_artifact_exporter.py | 11 | |
| LOW | …ustomizations/cloudformation/test_artifact_exporter.py | 14 | |
| LOW | tests/unit/customizations/cloudformation/test_deploy.py | 19 | |
| LOW | …/unit/customizations/cloudformation/test_yamlhelper.py | 13 | |
| LOW | …/unit/customizations/cloudformation/test_yamlhelper.py | 15 | |
| 92 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/customizations/emr/test_describe_cluster.py | 448 | |
| LOW | tests/unit/customizations/emr/test_describe_cluster.py | 458 | |
| LOW | …integration/customizations/test_generatecliskeleton.py | 73 | |
| LOW | tests/functional/test_no_event_streams.py | 26 | |
| LOW | awscli/shorthand.py | 478 | |
| LOW | awscli/formatter.py | 134 | |
| LOW | awscli/formatter.py | 230 | |
| LOW | awscli/compat.py | 214 | |
| LOW | awscli/compat.py | 277 | |
| LOW | awscli/compat.py | 378 | |
| LOW | awscli/compat.py | 498 | |
| LOW | awscli/testutils.py | 430 | |
| LOW | awscli/argprocess.py | 100 | |
| LOW | awscli/argprocess.py | 188 | |
| LOW | awscli/argprocess.py | 220 | |
| LOW | awscli/utils.py | 42 | |
| LOW | awscli/table.py | 398 | |
| LOW | awscli/clidocs.py | 486 | |
| LOW | awscli/clidocs.py | 525 | |
| LOW | awscli/topictags.py | 239 | |
| LOW | awscli/argparser.py | 99 | |
| LOW | awscli/customizations/flatten.py | 46 | |
| LOW | awscli/customizations/flatten.py | 206 | |
| LOW | awscli/customizations/commands.py | 384 | |
| LOW | awscli/customizations/s3/comparator.py | 32 | |
| LOW | awscli/customizations/s3/subcommands.py | 1096 | |
| LOW | awscli/customizations/s3/filegenerator.py | 166 | |
| LOW | awscli/customizations/s3/filegenerator.py | 310 | |
| LOW | awscli/customizations/s3/s3handler.py | 109 | |
| LOW | awscli/customizations/s3/s3handler.py | 161 | |
| LOW | awscli/customizations/s3/transferconfig.py | 80 | |
| LOW | awscli/customizations/s3/fileinfo.py | 67 | |
| LOW | awscli/customizations/emr/applicationutils.py | 19 | |
| LOW | awscli/customizations/emr/createcluster.py | 239 | |
| LOW | awscli/customizations/emr/createcluster.py | 827 | |
| LOW | awscli/customizations/emr/emrfsutils.py | 76 | |
| LOW | awscli/customizations/emr/steputils.py | 17 | |
| LOW | awscli/customizations/configure/writer.py | 167 | |
| LOW | awscli/customizations/configure/set.py | 53 | |
| LOW | awscli/customizations/gamelift/uploadbuild.py | 133 | |
| LOW | awscli/customizations/cloudtrail/validation.py | 604 | |
| LOW | awscli/customizations/eks/kubeconfig.py | 116 | |
| LOW | awscli/customizations/codedeploy/push.py | 183 | |
| LOW | awscli/customizations/history/show.py | 272 | |
| LOW | …cli/customizations/cloudformation/artifact_exporter.py | 182 | |
| LOW | …cli/customizations/cloudformation/artifact_exporter.py | 607 | |
| LOW | awscli/customizations/datapipeline/__init__.py | 292 | |
| LOW | awscli/customizations/ec2/secgroupsimplify.py | 160 | |
| LOW | awscli/customizations/ec2/protocolarg.py | 20 | |
| LOW | awscli/bcdoc/textwriter.py | 409 | |
| LOW | scripts/performance/benchmark_utils.py | 148 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/test_errorhandler.py | 52 | except Exception as e: |
| LOW | tests/unit/test_errorhandler.py | 84 | except Exception as e: |
| LOW | tests/unit/customizations/s3/test_utils.py | 1002 | except Exception as e: |
| LOW | tests/integration/customizations/s3/test_plugin.py | 80 | except Exception as e: |
| LOW | tests/integration/customizations/s3/test_plugin.py | 110 | except Exception as e: |
| LOW | tests/integration/customizations/s3/test_plugin.py | 130 | except Exception as e: |
| LOW | tests/functional/docs/test_examples.py | 276 | except Exception as e: |
| LOW | tests/functional/docs/test_examples.py | 345 | except Exception as e: |
| LOW | awscli/clidriver.py | 259 | except Exception as e: |
| LOW | awscli/utils.py | 232 | except Exception: |
| MEDIUM | awscli/utils.py | 42 | def _split_with_quotes(value): |
| LOW | awscli/paramfile.py | 265 | except Exception as e: |
| MEDIUM | awscli/paramfile.py | 255 | def get_uri(prefix, uri): |
| LOW | awscli/table.py | 55 | except Exception: |
| LOW | awscli/customizations/globalargs.py | 60 | except Exception as e: |
| MEDIUM | awscli/customizations/globalargs.py | 57 | def _resolve_query(value): |
| LOW | awscli/customizations/s3/results.py | 614 | except Exception as e: |
| LOW | awscli/customizations/s3/subcommands.py | 930 | except Exception as e: |
| LOW | awscli/customizations/s3/subcommands.py | 974 | except Exception as e: |
| LOW | awscli/customizations/s3/utils.py | 706 | except Exception as e: |
| LOW | awscli/customizations/s3/utils.py | 741 | except Exception as e: |
| LOW | awscli/customizations/s3/utils.py | 820 | except Exception as e: |
| MEDIUM | awscli/customizations/s3/utils.py | 738 | def _on_success(self, future): |
| LOW | awscli/customizations/s3/s3handler.py | 563 | except Exception as e: |
| LOW | awscli/customizations/cloudtrail/subscribe.py | 137 | except Exception: |
| LOW | awscli/customizations/cloudtrail/subscribe.py | 151 | except Exception: |
| LOW | awscli/customizations/cloudtrail/subscribe.py | 177 | except Exception as e: |
| LOW | awscli/customizations/cloudtrail/subscribe.py | 249 | except Exception: |
| LOW | awscli/customizations/cloudtrail/subscribe.py | 286 | except Exception: |
| MEDIUM | awscli/customizations/cloudtrail/subscribe.py | 171 | def _get_policy(self, key_name): |
| LOW | awscli/customizations/cloudtrail/validation.py | 676 | except Exception as e: |
| LOW | awscli/customizations/cloudtrail/validation.py | 1154 | except Exception: |
| LOW | awscli/customizations/logs/startlivetail.py | 214 | except Exception as e: |
| MEDIUM | awscli/customizations/logs/startlivetail.py | 158 | def run(self): |
| LOW | awscli/customizations/codedeploy/register.py | 110 | except Exception as e: |
| LOW | awscli/customizations/codedeploy/uninstall.py | 40 | except Exception as e: |
| LOW | awscli/customizations/codedeploy/deregister.py | 79 | except Exception as e: |
| LOW | awscli/customizations/codedeploy/install.py | 73 | except Exception as e: |
| LOW | awscli/customizations/codedeploy/push.py | 148 | except Exception as e: |
| LOW | awscli/customizations/history/__init__.py | 62 | except Exception as e: |
| LOW | awscli/customizations/codeartifact/login.py | 610 | except Exception as e: # invalid .pypirc file |
| LOW | awscli/customizations/cloudformation/deployer.py | 142 | except Exception as ex: |
| LOW | …cli/customizations/cloudformation/artifact_exporter.py | 258 | except Exception as ex: |
| LOW | awscli/customizations/ec2/decryptpassword.py | 117 | except Exception: |
| LOW | awscli/bcdoc/restdoc.py | 112 | except Exception: |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …ustomizations/cloudformation/test_artifact_exporter.py | 1330 | 'exports handler = (event, context, callback) => {callback(null, event);}') |
| HIGH | tests/functional/test_document_types.py | 159 | '["foo", {"bar": "baz"}, 1, null]' |
| HIGH | tests/functional/test_document_types.py | 204 | ' "ListOfDocTypes": ["foo", {"bar": "baz"}, 1, null],' |
| HIGH | tests/functional/test_document_types.py | 207 | ' "NestedListsOfDocTypes":[["foo", {"bar": "baz"}, 1, null]]' |
| HIGH | tests/functional/test_document_types.py | 268 | '--nested-lists-of-doc-types-param', '[bar,1,null],[foo,2]', |
| HIGH | tests/functional/test_document_types.py | 186 | '[["foo", {"bar": "baz"}, 1, null]]' |
| HIGH | awscli/clidocs.py | 450 | 'strings, numbers, booleans, null, arrays, and objects. For ' |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | …unit/customizations/codeartifact/test_adapter_login.py | 0 | \ registered sources: 1. source name 1 [enabled] https://source1.com/index.json 2. ab[.d7 $#!], [disabled] https://sourc |
| HIGH | …unit/customizations/codeartifact/test_adapter_login.py | 0 | \ registered sources: 1. source name 1 [enabled] https://source1.com/index.json 2. ab[.d7 $#!], [disabled] https://sourc |
| HIGH | …unit/customizations/codeartifact/test_adapter_login.py | 0 | \ registered sources: 1. source name 1 [enabled] https://source1.com/index.json 2. ab[.d7 $#!], [disabled] https://sourc |
| HIGH | …ts/unit/customizations/datapipeline/test_translator.py | 0 | {"objects": [ { "id" : "s3tos3copy", "type" : "copyactivity", "schedule" : { "ref" : "copyperiod" }, "input" : { "ref" : |
| HIGH | …ts/unit/customizations/datapipeline/test_translator.py | 0 | {"objects": [ { "id" : "s3tos3copy", "type" : "copyactivity", "schedule" : { "ref" : "copyperiod" }, "input" : { "ref" : |
| HIGH | …ts/unit/customizations/datapipeline/test_translator.py | 0 | {"objects": [ { "id" : "s3tos3copy", "type" : "copyactivity", "schedule" : { "ref" : "copyperiod" }, "input" : { "ref" : |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …ations/emrcontainers/test_update_assume_role_policy.py | 94 | # Check if UpdateAssumeRolePolicy was invoked |
| LOW | tests/unit/customizations/s3/test_subcommands.py | 387 | # Check if no plugins return their sync strategy. Should |
| LOW | tests/unit/customizations/gamelift/test_uploadbuild.py | 73 | # Output values |
| LOW | …ustomizations/cloudformation/test_artifact_exporter.py | 1318 | # Set parent_dir to be a non-existent folder |
| LOW | …ustomizations/cloudformation/test_artifact_exporter.py | 1322 | # Set parent_dir to be a real folder, but just a relative path |
| LOW | awscli/topictags.py | 212 | # Check if the topic is in the topic tag dictionary |
| LOW | awscli/customizations/sessionmanager.py | 129 | # Check if this plugin supports passing the start session response |
| LOW | awscli/customizations/s3uploader.py | 101 | # Check if a file with same data exists |
| LOW | awscli/customizations/s3uploader.py | 186 | # Read file in chunks of 4096 bytes |
| LOW | awscli/customizations/waiters.py | 27 | # Check if the command object passed in has a ``service_object``. We |
| LOW | awscli/customizations/cliinputjson.py | 61 | # Check if ``--cli-input-json`` was specified in the command line. |
| LOW | awscli/customizations/s3/syncstrategy/base.py | 163 | # Check if a ``dest`` was specified in ``ARGUMENT`` as if it is |
| LOW | awscli/customizations/configure/addmodel.py | 33 | # Check if the endpoint prefix is a pre-existing service. |
| LOW | awscli/customizations/configure/get.py | 93 | # Check if varname starts with 'default' profile (e.g. |
| LOW | awscli/customizations/dlm/createdefaultrole.py | 39 | # Display the result as formatted json |
| LOW | awscli/customizations/codeartifact/login.py | 364 | # Check if the CodeArtifact URL is already present in the |
| LOW | …scli/customizations/datapipeline/createdefaultroles.py | 90 | # Check if the role with the name exists |
| LOW | …scli/customizations/datapipeline/createdefaultroles.py | 136 | # Check if the default EC2 Instance Profile for DataPipeline exists. |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/unit/test_clidriver.py | 260 | # We just return success. If this code is reached, it means that |
| LOW | tests/unit/test_clidriver.py | 387 | # commands, we just call the create_help_command methods. |
| LOW | tests/unit/customizations/s3/test_transferconfig.py | 27 | # we should just use the default values defined in |
| LOW | tests/integration/customizations/s3/test_plugin.py | 868 | # therefore do nothing. We can just use --dryrun to show the issue. |
| LOW | tests/functional/docs/test_examples.py | 118 | # CLIDriver can take up a lot of resources so we'll just create one |
| MEDIUM | tests/functional/cloudtrail/test_validation.py | 846 | """This test class is necessary in order to override the default patching |
| LOW | awscli/utils.py | 31 | # No quotes or escaping, just use a simple split. |
| LOW | awscli/paramfile.py | 155 | # on a ProfileNotFound the CLI should just use 'none'. |
| LOW | awscli/customizations/scalarparse.py | 73 | # on a ProfileNotFound the CLI should just use 'wire'. |
| MEDIUM | awscli/customizations/scalarparse.py | 85 | # response, we utilize a reference to a nonlocal variable to track |
| Severity | File | Line | Snippet |
|---|---|---|---|
| CRITICAL | tests/unit/customizations/s3/test_utils.py | 550 | self.client.get_paginator.return_value.paginate.assert_called_with( |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tests/functional/ses/test_send_email.py | 26 | 'Source': 'foo@bar.com', |
| LOW | tests/functional/ses/test_send_email.py | 36 | result = {'Source': 'foo@bar.com', |
| LOW | tests/functional/ses/test_send_email.py | 50 | result = {'Source': 'foo@bar.com', |
| LOW | tests/functional/ses/test_send_email.py | 68 | 'Source': 'foo@bar.com', |
| LOW | tests/functional/ses/test_send_email.py | 83 | 'Source': 'foo@bar.com', |
| LOW | tests/functional/ses/test_send_email.py | 97 | 'Source': 'foo@bar.com', |
| LOW | tests/functional/ses/test_send_email.py | 118 | 'Source': 'foo@bar.com'} |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | CONTRIBUTING.md | 120 | Items reviewed in this way must include a statement like "generated by AI |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | awscli/customizations/s3/filegenerator.py | 241 | The purpose of this function is to ensure that the same path separator |