SYMBOL INDEX (378 symbols across 57 files) FILE: HomebrewFormula/endgame.rb class Endgame (line 1) | class Endgame < Formula method install (line 106) | def install FILE: endgame/__init__.py function set_stream_logger (line 9) | def set_stream_logger(name="endgame", level=logging.DEBUG, format_string... function set_log_level (line 37) | def set_log_level(verbose): FILE: endgame/bin/cli.py function endgame (line 9) | def endgame(): function main (line 20) | def main(): FILE: endgame/command/expose.py function expose (line 99) | def expose(name, evil_principal, profile, service, region, dry_run, undo... function expose_service (line 151) | def expose_service( function print_diff_messages (line 215) | def print_diff_messages(response_message: ResponseMessage, verbosity: int): FILE: endgame/command/list_resources.py function list_resources (line 73) | def list_resources(service, profile, region, cloak, excluded_names, excl... FILE: endgame/command/smash.py function smash (line 104) | def smash(service, evil_principal, profile, region, dry_run, undo, cloak... function smash_resource (line 178) | def smash_resource( FILE: endgame/exposure_via_resource_policies/acm_pca.py class AcmPrivateCertificateAuthority (line 25) | class AcmPrivateCertificateAuthority(ResourceType, ABC): method __init__ (line 26) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 38) | def arn(self) -> str: method _get_rbp (line 42) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 70) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: method add_myself (line 86) | def add_myself(self, evil_principal: str, dry_run: bool = False) -> Re... method undo (line 149) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... class AcmPrivateCertificateAuthorities (line 176) | class AcmPrivateCertificateAuthorities(ResourceTypes): method __init__ (line 177) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 183) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/cloudwatch_logs.py class CloudwatchResourcePolicy (line 17) | class CloudwatchResourcePolicy(ResourceType, ABC): method __init__ (line 18) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 30) | def arn(self) -> str: method policy_exists (line 34) | def policy_exists(self): method _get_rbp (line 45) | def _get_rbp(self) -> ResponseGetRbp: method add_myself (line 86) | def add_myself(self, evil_principal: str, dry_run: bool = False) -> Re... method set_rbp (line 119) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: method undo (line 143) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... class CloudwatchResourcePolicies (line 169) | class CloudwatchResourcePolicies(ResourceTypes): method __init__ (line 170) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 176) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/common.py class ResourceType (line 15) | class ResourceType(object): method __init__ (line 18) | def __init__( method __str__ (line 47) | def __str__(self): method _get_rbp (line 51) | def _get_rbp(self) -> ResponseGetRbp: method arn (line 56) | def arn(self) -> str: method set_rbp (line 60) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: method add_myself (line 63) | def add_myself(self, evil_principal: str, dry_run: bool = False) -> Re... method undo (line 93) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... class ResourceTypes (line 119) | class ResourceTypes(object): method __init__ (line 122) | def __init__(self, client: boto3.Session.client, current_account_id: s... method __str__ (line 127) | def __str__(self): method resources (line 132) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/ecr.py class EcrRepository (line 17) | class EcrRepository(ResourceType, ABC): method __init__ (line 18) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 29) | def arn(self) -> str: method _get_rbp (line 32) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 61) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: class EcrRepositories (line 79) | class EcrRepositories(ResourceTypes): method __init__ (line 80) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 86) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/efs.py class ElasticFileSystem (line 17) | class ElasticFileSystem(ResourceType, ABC): method __init__ (line 18) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 30) | def arn(self) -> str: method _get_rbp (line 34) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 59) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: class ElasticFileSystems (line 77) | class ElasticFileSystems(ResourceTypes): method __init__ (line 78) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 84) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/elasticsearch.py class ElasticSearchDomain (line 18) | class ElasticSearchDomain(ResourceType, ABC): method __init__ (line 19) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 28) | def arn(self) -> str: method _get_rbp (line 31) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 59) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: class ElasticSearchDomains (line 77) | class ElasticSearchDomains(ResourceTypes): method __init__ (line 78) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 84) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/glacier_vault.py class GlacierVault (line 17) | class GlacierVault(ResourceType, ABC): method __init__ (line 18) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 28) | def arn(self) -> str: method _get_rbp (line 31) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 58) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: class GlacierVaults (line 76) | class GlacierVaults(ResourceTypes): method __init__ (line 77) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 83) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/iam.py class IAMRole (line 17) | class IAMRole(ResourceType, ABC): method __init__ (line 18) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 33) | def arn(self) -> str: method _get_rbp (line 36) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 62) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: class IAMRoles (line 80) | class IAMRoles(ResourceTypes): method __init__ (line 81) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 87) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/kms.py class KmsKey (line 19) | class KmsKey(ResourceType, ABC): method __init__ (line 20) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 37) | def arn(self) -> str: method _get_key_id_with_alias (line 40) | def _get_key_id_with_alias(self, name: str, client: boto3.Session.clie... method _get_rbp (line 46) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 73) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: class KmsKeys (line 92) | class KmsKeys(ResourceTypes): method __init__ (line 93) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 100) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/lambda_function.py class LambdaFunction (line 18) | class LambdaFunction(ResourceType, ABC): method __init__ (line 19) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 28) | def arn(self) -> str: method _get_rbp (line 31) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 57) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: method undo (line 97) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... class LambdaFunctions (line 128) | class LambdaFunctions(ResourceTypes): method __init__ (line 129) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 135) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/lambda_layer.py class LambdaLayer (line 19) | class LambdaLayer(ResourceType, ABC): method __init__ (line 20) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 28) | def arn(self) -> str: method arn_without_version (line 32) | def arn_without_version(self) -> str: method _get_rbp (line 35) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 60) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: method undo (line 110) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... class LambdaLayers (line 141) | class LambdaLayers(ResourceTypes): method __init__ (line 142) | def __init__(self, client: boto3.Session.client, current_account_id: s... method layers (line 148) | def layers(self): method layer_version_arns (line 162) | def layer_version_arns(self, layer_name): method resources (line 180) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/s3.py class S3Bucket (line 16) | class S3Bucket(ResourceType, ABC): method __init__ (line 17) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 26) | def arn(self) -> str: method _get_rbp (line 29) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 63) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: class S3Buckets (line 80) | class S3Buckets(ResourceTypes): method __init__ (line 81) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 87) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/secrets_manager.py class SecretsManagerSecret (line 17) | class SecretsManagerSecret(ResourceType, ABC): method __init__ (line 18) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 27) | def arn(self) -> str: method _get_rbp (line 30) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 55) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: class SecretsManagerSecrets (line 72) | class SecretsManagerSecrets(ResourceTypes): method __init__ (line 73) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 79) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/ses.py class SesIdentityPolicy (line 17) | class SesIdentityPolicy(ResourceType, ABC): method __init__ (line 18) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 30) | def arn(self) -> str: method _identity_policy_names (line 33) | def _identity_policy_names(self) -> list: method _get_rbp (line 42) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 75) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: method undo (line 92) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... class SesIdentityPolicies (line 128) | class SesIdentityPolicies(ResourceTypes): method __init__ (line 129) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 135) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/sns.py class SnsTopic (line 34) | class SnsTopic(ResourceType, ABC): method __init__ (line 35) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 49) | def arn(self) -> str: method _get_rbp (line 52) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 83) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: method undo (line 122) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... method sns_actions_without_prefixes (line 149) | def sns_actions_without_prefixes(self, actions_with_service_prefix): class SnsTopics (line 170) | class SnsTopics(ResourceTypes): method __init__ (line 171) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 177) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_resource_policies/sqs.py class SqsQueue (line 19) | class SqsQueue(ResourceType, ABC): method __init__ (line 20) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 34) | def arn(self) -> str: method _queue_url (line 37) | def _queue_url(self) -> str: method _get_rbp (line 44) | def _get_rbp(self) -> ResponseGetRbp: method set_rbp (line 72) | def set_rbp(self, evil_policy: dict) -> ResponseMessage: method undo (line 114) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... method sqs_actions_without_prefixes (line 140) | def sqs_actions_without_prefixes(self, actions_with_service_prefix): class SqsQueues (line 160) | class SqsQueues(ResourceTypes): method __init__ (line 161) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 167) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_sharing_apis/common.py class ResponseGetSharingApi (line 8) | class ResponseGetSharingApi: method __init__ (line 9) | def __init__( method updated_policy_sids (line 35) | def updated_policy_sids(self) -> list: method original_policy_sids (line 39) | def original_policy_sids(self) -> list: method added_sids (line 43) | def added_sids(self) -> list: method removed_sids (line 50) | def removed_sids(self) -> list: class ResourceSharingApi (line 57) | class ResourceSharingApi(object): method __init__ (line 60) | def __init__( method arn (line 80) | def arn(self) -> str: method _get_shared_with_accounts (line 84) | def _get_shared_with_accounts(self) -> ResponseGetSharingApi: method share (line 88) | def share(self, accounts_to_add: list, accounts_to_remove: list) -> Re... method add_myself (line 92) | def add_myself(self, evil_policy: dict) -> ResponseGetSharingApi: method undo (line 96) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... FILE: endgame/exposure_via_sharing_apis/ebs_snapshots.py class EbsSnapshot (line 14) | class EbsSnapshot(ResourceSharingApi, ABC): method __init__ (line 15) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 24) | def arn(self) -> str: method _get_shared_with_accounts (line 27) | def _get_shared_with_accounts(self) -> ResponseGetSharingApi: method share (line 56) | def share(self, accounts_to_add: list, accounts_to_remove: list) -> Re... method add_myself (line 105) | def add_myself(self, evil_principal: str, dry_run: bool = False) -> Re... method undo (line 134) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... method parse_evil_principal (line 158) | def parse_evil_principal(self, evil_principal: str) -> str: class EbsSnapshots (line 170) | class EbsSnapshots(ResourceTypes): method __init__ (line 171) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 177) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_sharing_apis/ec2_amis.py class Ec2Image (line 14) | class Ec2Image(ResourceSharingApi, ABC): method __init__ (line 15) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 24) | def arn(self) -> str: method _get_shared_with_accounts (line 27) | def _get_shared_with_accounts(self) -> ResponseGetSharingApi: method share (line 56) | def share(self, accounts_to_add: list, accounts_to_remove: list) -> Re... method add_myself (line 103) | def add_myself(self, evil_principal: str, dry_run: bool = False) -> Re... method undo (line 132) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... method parse_evil_principal (line 156) | def parse_evil_principal(self, evil_principal: str) -> str: class Ec2Images (line 168) | class Ec2Images(ResourceTypes): method __init__ (line 169) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 175) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/exposure_via_sharing_apis/rds_snapshots.py class RdsSnapshot (line 14) | class RdsSnapshot(ResourceSharingApi, ABC): method __init__ (line 15) | def __init__(self, name: str, region: str, client: boto3.Session.clien... method arn (line 24) | def arn(self) -> str: method _get_shared_with_accounts (line 27) | def _get_shared_with_accounts(self) -> ResponseGetSharingApi: method share (line 51) | def share(self, accounts_to_add: list, accounts_to_remove: list) -> Re... method add_myself (line 81) | def add_myself(self, evil_principal: str, dry_run: bool = False) -> Re... method undo (line 110) | def undo(self, evil_principal: str, dry_run: bool = False) -> Response... method parse_evil_principal (line 134) | def parse_evil_principal(self, evil_principal: str) -> str: class RdsSnapshots (line 146) | class RdsSnapshots(ResourceTypes): method __init__ (line 147) | def __init__(self, client: boto3.Session.client, current_account_id: s... method resources (line 153) | def resources(self) -> [ListResourcesResponse]: FILE: endgame/shared/aws_login.py function get_boto3_client (line 9) | def get_boto3_client(profile, service: str, region="us-east-1", cloak: b... function get_current_account_id (line 28) | def get_current_account_id(sts_client: boto3.Session.client) -> str: function get_available_regions (line 34) | def get_available_regions(service: str): FILE: endgame/shared/constants.py function get_empty_policy (line 60) | def get_empty_policy(): FILE: endgame/shared/list_resources_response.py class ListResourcesResponse (line 7) | class ListResourcesResponse: method __init__ (line 8) | def __init__(self, service: str, arn: str, name: str, resource_type: s... FILE: endgame/shared/policy_document.py class PolicyDocument (line 7) | class PolicyDocument: method __init__ (line 11) | def __init__( method __str__ (line 32) | def __str__(self): method __repr__ (line 35) | def __repr__(self): method _statements (line 38) | def _statements(self, statement_structure) -> [StatementDetail]: method sids (line 53) | def sids(self): method json (line 60) | def json(self): method statement_allow_account_id (line 70) | def statement_allow_account_id( method policy_plus_evil_principal (line 112) | def policy_plus_evil_principal( method policy_minus_evil_principal (line 158) | def policy_minus_evil_principal( function get_resource_from_override_settings (line 194) | def get_resource_from_override_settings(resource_arn: str, override_reso... FILE: endgame/shared/resource_results.py class ResourceResults (line 14) | class ResourceResults: method __init__ (line 17) | def __init__(self, user_provided_service: str, user_provided_region: str, method _resources (line 36) | def _resources(self) -> [ListResourcesResponse]: method arns (line 60) | def arns(self) -> [str]: class ServiceResourcesMultiRegion (line 83) | class ServiceResourcesMultiRegion: method __init__ (line 84) | def __init__( method _regions (line 102) | def _regions(self) -> list: method _resources (line 110) | def _resources(self) -> [ListResourcesResponse]: method arns (line 127) | def arns(self) -> [str]: class ServiceResourcesSingleRegion (line 134) | class ServiceResourcesSingleRegion: method __init__ (line 137) | def __init__( method arns (line 154) | def arns(self) -> [str]: method _resources (line 161) | def _resources(self) -> [ListResourcesResponse]: FILE: endgame/shared/response_message.py class ResponseMessage (line 14) | class ResponseMessage: method __init__ (line 15) | def __init__(self, message: str, operation: str, success: bool, victim... method updated_policy_sids (line 29) | def updated_policy_sids(self) -> list: method original_policy_sids (line 33) | def original_policy_sids(self) -> list: method victim_resource_name (line 37) | def victim_resource_name(self) -> str: method evil_principal_name (line 42) | def evil_principal_name(self) -> str: method added_sids (line 47) | def added_sids(self) -> list: method removed_sids (line 54) | def removed_sids(self) -> list: class ResponseGetRbp (line 61) | class ResponseGetRbp: method __init__ (line 62) | def __init__(self, policy_document, success): FILE: endgame/shared/scary_warnings.py function confirm_anonymous_principal (line 3) | def confirm_anonymous_principal(): FILE: endgame/shared/statement_detail.py class StatementDetail (line 6) | class StatementDetail: method __init__ (line 11) | def __init__( method __str__ (line 36) | def __str__(self) -> str: method _original_actions (line 61) | def _original_actions(self): method _actions (line 70) | def _actions(self): method _resources (line 85) | def _resources(self): method _aws_principals (line 95) | def _aws_principals(self): method _other_principals (line 124) | def _other_principals(self) -> dict: FILE: endgame/shared/utils.py function get_sid_names_with_error_handling (line 13) | def get_sid_names_with_error_handling(policy): function get_service_translation (line 27) | def get_service_translation(provided_service: str) -> str: function change_policy_principal_from_arn_to_account_id (line 47) | def change_policy_principal_from_arn_to_account_id(policy: dict) -> dict: function print_red (line 96) | def print_red(string): function print_yellow (line 100) | def print_yellow(string): function print_blue (line 104) | def print_blue(string): function print_green (line 108) | def print_green(string): function print_grey (line 112) | def print_grey(string): function print_remove (line 117) | def print_remove(service: str, resource_type: str, resource_name: str, p... function print_add (line 129) | def print_add(service: str, resource_type: str, resource_name: str, prin... FILE: endgame/shared/validate.py function click_validate_supported_aws_service (line 9) | def click_validate_supported_aws_service(ctx, param, value): function click_validate_comma_separated_resource_names (line 18) | def click_validate_comma_separated_resource_names(ctx, param, value): function click_validate_comma_separated_excluded_services (line 30) | def click_validate_comma_separated_excluded_services(ctx, param, value): function click_validate_user_or_principal_arn (line 47) | def click_validate_user_or_principal_arn(ctx, param, value): function validate_user_or_principal_arn (line 56) | def validate_user_or_principal_arn(arn: str): function validate_basic_policy_json (line 72) | def validate_basic_policy_json(policy_json: dict) -> dict: FILE: setup.py function get_version (line 11) | def get_version(): function get_description (line 16) | def get_description(): FILE: tasks.py function build_package (line 59) | def build_package(c): function install_package (line 66) | def install_package(c): function create_terraform (line 72) | def create_terraform(c): function destroy_terraform (line 77) | def destroy_terraform(c): function list_resources (line 85) | def list_resources(c): function expose_dry_run (line 93) | def expose_dry_run(c): function expose_undo (line 101) | def expose_undo(c): function expose (line 114) | def expose(c): FILE: terraform/lambda-function/lambda.py function handler (line 4) | def handler(event, context): FILE: terraform/lambda-layer/python/custom_func.py function cust_fun (line 1) | def cust_fun(): FILE: test/command/test_expose.py class ListResourcesClickUnitTests (line 7) | class ListResourcesClickUnitTests(unittest.TestCase): method setUp (line 8) | def setUp(self): method test_expose_command_with_click (line 11) | def test_expose_command_with_click(self): FILE: test/command/test_list_resources.py class ListResourcesClickUnitTests (line 11) | class ListResourcesClickUnitTests(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_list_resources_command_with_click (line 36) | def test_list_resources_command_with_click(self): method test_list_resources_exclusion_via_argument (line 47) | def test_list_resources_exclusion_via_argument(self): method test_list_resources_exclusion_via_envvar (line 53) | def test_list_resources_exclusion_via_envvar(self): method test_list_resources_exclude_multiple (line 60) | def test_list_resources_exclude_multiple(self): FILE: test/command/test_smash.py class SmashClickUnitTests (line 19) | class SmashClickUnitTests(unittest.TestCase): method setUp (line 22) | def setUp(self): method test_smash_help (line 36) | def test_smash_help(self): method test_smash_dry_run (line 41) | def test_smash_dry_run(self): method tearDown (line 47) | def tearDown(self): class SmashClickUnitTestsWithExclusions (line 53) | class SmashClickUnitTestsWithExclusions(unittest.TestCase): method setUp (line 54) | def setUp(self): method test_smash_live_run (line 68) | def test_smash_live_run(self): method tearDown (line 77) | def tearDown(self): FILE: test/exposure_via_resource_policies/test_ecr.py class EcrTestCase (line 12) | class EcrTestCase(unittest.TestCase): method setUp (line 13) | def setUp(self): method test_list_resources (line 25) | def test_list_resources(self): method tearDown (line 40) | def tearDown(self): FILE: test/exposure_via_resource_policies/test_glacier.py class GlacierTestCase (line 12) | class GlacierTestCase(unittest.TestCase): method setUp (line 13) | def setUp(self): method test_list_vaults (line 26) | def test_list_vaults(self): FILE: test/exposure_via_resource_policies/test_iam.py class IAMTestCase (line 13) | class IAMTestCase(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_list_roles (line 28) | def test_list_roles(self): method test_get_rbp (line 32) | def test_get_rbp(self): method test_set_rbp (line 39) | def test_set_rbp(self): method test_add_myself (line 43) | def test_add_myself(self): method tearDown (line 48) | def tearDown(self): FILE: test/exposure_via_resource_policies/test_kms.py class KmsTestCase (line 14) | class KmsTestCase(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_list_keys (line 29) | def test_list_keys(self): method test_get_rbp (line 35) | def test_get_rbp(self): method test_add_myself (line 44) | def test_add_myself(self): method test_undo (line 82) | def test_undo(self): method tearDown (line 90) | def tearDown(self): FILE: test/exposure_via_resource_policies/test_s3.py class S3TestCase (line 12) | class S3TestCase(unittest.TestCase): method setUp (line 13) | def setUp(self): method test_list_roles (line 26) | def test_list_roles(self): method test_get_rbp (line 31) | def test_get_rbp(self): method test_set_rbp (line 35) | def test_set_rbp(self): method test_add_myself (line 51) | def test_add_myself(self): method tearDown (line 55) | def tearDown(self): FILE: test/exposure_via_resource_policies/test_secrets_manager.py class SecretsManagerTestCase (line 13) | class SecretsManagerTestCase(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_list_secrets (line 29) | def test_list_secrets(self): method test_get_rbp (line 35) | def test_get_rbp(self): method tearDown (line 59) | def tearDown(self): FILE: test/exposure_via_resource_policies/test_ses.py class SesTestCase (line 13) | class SesTestCase(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_list_identities (line 29) | def test_list_identities(self): FILE: test/exposure_via_resource_policies/test_sns.py class SnsTestCase (line 14) | class SnsTestCase(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_list_topics (line 28) | def test_list_topics(self): method test_get_rbp (line 35) | def test_get_rbp(self): method test_set_rbp (line 70) | def test_set_rbp(self): method test_set_rbp_by_removal (line 143) | def test_set_rbp_by_removal(self): method test_add_myself (line 148) | def test_add_myself(self): method test_undo (line 152) | def test_undo(self): method tearDown (line 159) | def tearDown(self): FILE: test/exposure_via_resource_policies/test_sqs.py class SqsTestCase (line 14) | class SqsTestCase(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_list_queues (line 28) | def test_list_queues(self): method test_get_rbp (line 34) | def test_get_rbp(self): method test_set_rbp (line 46) | def test_set_rbp(self): method test_add_myself (line 87) | def test_add_myself(self): method test_undo (line 92) | def test_undo(self): method tearDown (line 99) | def tearDown(self): FILE: test/shared/test_policy_document.py class PolicyDocumentTestCase (line 105) | class PolicyDocumentTestCase(unittest.TestCase): method setUp (line 106) | def setUp(self): method test_override_account_id_instead_of_principal (line 128) | def test_override_account_id_instead_of_principal(self): method test_statement_with_principal_service (line 137) | def test_statement_with_principal_service(self): method test_override_action (line 155) | def test_override_action(self): method test_empty_statements (line 173) | def test_empty_statements(self): method test_get_allow_current_account_id (line 187) | def test_get_allow_current_account_id(self): method test_policy_plus_evil_principal (line 220) | def test_policy_plus_evil_principal(self): FILE: test/shared/test_resource_results.py class ResourceResultsTestCase (line 10) | class ResourceResultsTestCase(unittest.TestCase): method setUp (line 11) | def setUp(self): method test_kms_single_region_arns (line 74) | def test_kms_single_region_arns(self): method test_kms_regions_multi_regions (line 83) | def test_kms_regions_multi_regions(self): method test_kms_arns_multi_regions (line 95) | def test_kms_arns_multi_regions(self): method test_resource_results_arns (line 107) | def test_resource_results_arns(self): FILE: test/shared/test_statement_detail.py class StatementDetailTestCase (line 54) | class StatementDetailTestCase(unittest.TestCase): method test_statement_with_root (line 55) | def test_statement_with_root(self): FILE: test/shared/test_utils.py class ChangePrincipalArnToIdTestCase (line 13) | class ChangePrincipalArnToIdTestCase(unittest.TestCase): method test_principal_is_string (line 14) | def test_principal_is_string(self): method test_principal_is_list (line 58) | def test_principal_is_list(self): FILE: test/shared/test_validate.py class ValidateTestCase (line 8) | class ValidateTestCase(unittest.TestCase): method test_validate_user_or_principal_arn (line 10) | def test_validate_user_or_principal_arn(self): method test_click_validate_comma_separated_resource_names (line 24) | def test_click_validate_comma_separated_resource_names(self):