Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/awslabs/mcp
/ functions
Functions
32,024 in github.com/awslabs/mcp
⨍
Functions
32,024
◇
Types & classes
5,353
↳
Endpoints
3,782
Function
test_check_guard_duty_error
Test the check_guard_duty function when an error occurs.
src/well-architected-security-mcp-server/tests/test_security_services.py:502
Function
test_check_guard_duty_no_detectors
Test GuardDuty when no detectors are found.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:116
Function
test_check_guard_duty_not_enabled
Test the check_guard_duty function when GuardDuty is not enabled.
src/well-architected-security-mcp-server/tests/test_security_services.py:485
Function
test_check_guard_duty_with_disabled_detector
Test GuardDuty when detector exists but is disabled.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:92
Function
test_check_iam_exists_access_denied
Test check iam exists access denied.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:696
Function
test_check_iam_exists_for_canary
Test check iam exists for canary.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:60
Function
test_check_iam_exists_for_canary_no_such_entity
Test check_iam_exists_for_canary with NoSuchEntity error.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:1462
Function
test_check_iam_exists_for_canary_other_client_error
Test check_iam_exists_for_canary with other ClientError.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:1477
Function
test_check_iam_role_exists_not_found
Test IAM role check fails when role doesn't exist.
src/ecs-mcp-server/tests/unit/utils/test_aws_utils_express.py:84
Function
test_check_iam_role_exists_valid
Test IAM role check succeeds for valid role.
src/ecs-mcp-server/tests/unit/utils/test_aws_utils_express.py:66
Function
test_check_iam_role_generic_exception
Test IAM role check handles generic exceptions.
src/ecs-mcp-server/tests/unit/utils/test_aws_utils_express.py:168
Function
test_check_iam_role_invalid_trust_policy
Test IAM role check fails with invalid trust policy.
src/ecs-mcp-server/tests/unit/utils/test_aws_utils_express.py:111
Function
test_check_iam_role_service_list
Test IAM role check with service principal as list.
src/ecs-mcp-server/tests/unit/utils/test_aws_utils_express.py:140
Function
test_check_inspector_access_denied_exception
Test Inspector when AccessDeniedException is raised.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:322
Function
test_check_inspector_access_denied_specific
Test Inspector AccessDeniedException handler specifically (lines 528-544).
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:505
Function
test_check_inspector_api_error
Test Inspector when API call fails.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:232
Function
test_check_inspector_batch_get_account_status_success
Test Inspector batch_get_account_status success path (lines 452-474).
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:472
Function
test_check_inspector_enabled
Test the check_inspector function when Inspector is enabled.
src/well-architected-security-mcp-server/tests/test_security_services.py:519
Function
test_check_inspector_no_assessment_targets
Test Inspector when no assessment targets exist.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:154
Function
test_check_inspector_not_enabled
Test the check_inspector function when Inspector is not enabled.
src/well-architected-security-mcp-server/tests/test_security_services.py:539
Function
test_check_lambda_permissions
Test check lambda permissions.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:99
Function
test_check_lambda_permissions_custom_policies
Test check lambda permissions custom policies.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:434
Function
test_check_lambda_permissions_exception
Test check_lambda_permissions with exception.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:1492
Function
test_check_lambda_permissions_no_role
Test check lambda permissions no role.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:712
Function
test_check_lambda_permissions_policy_errors
Test check lambda permissions policy errors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:467
Function
test_check_macie_api_error
Test Macie when API call fails.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:719
Function
test_check_macie_enabled
Test the check_macie function when Macie is enabled.
src/well-architected-security-mcp-server/tests/test_security_services.py:635
Function
test_check_macie_error
Test the check_macie function when an error occurs.
src/well-architected-security-mcp-server/tests/test_security_services.py:676
Function
test_check_macie_not_enabled
Test the check_macie function when Macie is not enabled.
src/well-architected-security-mcp-server/tests/test_security_services.py:659
Function
test_check_macie_resource_not_found
Test Macie when session is not found.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:174
Method
test_check_needs_any_import_with_keys_only_projection
Test that KEYS_ONLY GSI projection triggers Any import.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:861
Method
test_check_needs_any_import_with_mixed_data
Test that mixed_data return type triggers Any import.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:819
Method
test_check_needs_any_import_with_unsafe_include_projection
Test that unsafe INCLUDE projection (required fields not projected) triggers Any import.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:964
Method
test_check_needs_any_import_without_dict_returns
Test that normal entity_list without dict returns doesn't trigger Any import.
src/dynamodb-mcp-server/tests/repo_generation_tool/unit/test_jinja2_generator.py:913
Function
test_check_network_security_cloudfront_in_us_east_1
Test check_network_security with CloudFront in us-east-1 region.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:1049
Function
test_check_network_security_cloudfront_not_in_us_east_1
Test check_network_security with CloudFront in a region other than us-east-1.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:1101
Function
test_check_network_security_include_non_compliant_only
Test checking network security with include_non_compliant_only=True.
src/well-architected-security-mcp-server/tests/test_network_security.py:852
Function
test_check_network_security_prompt
Test the check_network_security_prompt function.
src/well-architected-security-mcp-server/tests/test_server_prompts.py:85
Function
test_check_network_security_prompt
Test the check_network_security_prompt function.
src/well-architected-security-mcp-server/tests/test_server_coverage.py:57
Function
test_check_network_security_success
Test successful checking of network security.
src/well-architected-security-mcp-server/tests/test_network_security.py:800
Function
test_check_network_security_tool
Test the check_network_security_tool function.
src/well-architected-security-mcp-server/tests/test_server.py:446
Function
test_check_network_security_tool_error
Test the check_network_security_tool function when an error occurs.
src/well-architected-security-mcp-server/tests/test_server.py:502
Function
test_check_network_security_tool_with_aws_profile
Test the check_network_security_tool function with an aws_profile.
src/well-architected-security-mcp-server/tests/test_server_additional.py:453
Function
test_check_network_security_tool_with_include_non_compliant_only
Test the check_network_security_tool function with include_non_compliant_only=True.
src/well-architected-security-mcp-server/tests/test_server_additional.py:391
Function
test_check_network_security_with_multiple_services
Test check_network_security with multiple services.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:932
Method
test_check_partition_key_usage_all_used
Test checking partition key usage when all keys are used.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:96
Method
test_check_partition_key_usage_not_all_used
Test checking partition key usage when not all keys are used.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:105
Function
test_check_port_mismatch_client_error
Test handling ClientError in port mismatch check.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:216
Function
test_check_port_mismatch_no_mismatch
Test checking port mismatch when ports match.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:205
Function
test_check_port_mismatch_with_mismatch
Test checking port mismatch when ports don't match.
src/ecs-mcp-server/tests/unit/troubleshooting_tools/test_fetch_service_events.py:191
Function
test_check_rds_instances_api_error
Test handling of API errors when checking RDS instances.
src/well-architected-security-mcp-server/tests/test_storage_security_additional.py:507
Function
test_check_rds_instances_fallback_to_describe_db_instances
Test RDS instances when falling back to describe_db_instances API.
src/well-architected-security-mcp-server/tests/test_storage_security_edge_cases.py:222
Function
test_check_rds_instances_no_resources
Test checking RDS instances with no resources.
src/well-architected-security-mcp-server/tests/test_storage_security_additional.py:192
Function
test_check_rds_instances_success
Test successful checking of RDS instances.
src/well-architected-security-mcp-server/tests/test_storage_security_additional.py:133
Method
test_check_readonly_mode_context
Test check_readonly_mode with Context.readonly_mode().
src/ccapi-mcp-server/tests/test_resource_operations.py:825
Method
test_check_readonly_mode_normal
Test check_readonly_mode with normal mode.
src/ccapi-mcp-server/tests/test_resource_operations.py:36
Method
test_check_readonly_mode_readonly
Test check_readonly_mode with readonly mode.
src/ccapi-mcp-server/tests/test_resource_operations.py:42
Method
test_check_readonly_mode_with_context
Test check_readonly_mode when Context.readonly_mode() returns True.
src/ccapi-mcp-server/tests/test_resource_operations.py:910
Function
test_check_resource_arns_correct
Test check resource arns correct.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:150
Function
test_check_resource_arns_correct_iam_exception
Test check_resource_arns_correct with IAM client exception.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:1388
Function
test_check_resource_arns_correct_no_execution_role
Test check_resource_arns_correct with no execution role.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:1377
Function
test_check_resource_arns_correct_policy_errors
Test check resource arns correct policy errors.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:553
Function
test_check_resource_arns_correct_s3_mismatch
Test check resource arns correct s3 mismatch.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:572
Function
test_check_resource_arns_correct_with_s3_prefix
Test check resource arns correct with s3 prefix.
src/cloudwatch-applicationsignals-mcp-server/tests/test_canary_utils.py:933
Function
test_check_s3_buckets_api_error
Test handling of API errors when checking S3 buckets.
src/well-architected-security-mcp-server/tests/test_storage_security.py:417
Function
test_check_s3_buckets_fallback_to_list_buckets
Test S3 buckets when falling back to list_buckets API.
src/well-architected-security-mcp-server/tests/test_storage_security_edge_cases.py:89
Function
test_check_s3_buckets_no_encryption
Test checking S3 buckets with no encryption.
src/well-architected-security-mcp-server/tests/test_storage_security.py:276
Function
test_check_s3_buckets_no_public_access_block
Test checking S3 buckets with no public access block.
src/well-architected-security-mcp-server/tests/test_storage_security.py:324
Function
test_check_s3_buckets_public_access_block_error
Test checking S3 buckets with error getting public access block.
src/well-architected-security-mcp-server/tests/test_storage_security.py:373
Function
test_check_s3_buckets_success
Test successful checking of S3 buckets.
src/well-architected-security-mcp-server/tests/test_storage_security.py:227
Function
test_check_s3_buckets_with_kms_encryption
Test S3 buckets with KMS encryption.
src/well-architected-security-mcp-server/tests/test_storage_security_edge_cases.py:35
Method
test_check_secondary_index_usage_no_indexes
Test checking secondary index usage when no indexes exist.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:150
Method
test_check_secondary_index_usage_not_used
Test checking secondary index usage when no index is used.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:141
Method
test_check_secondary_index_usage_used
Test checking secondary index usage when an index is used.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:132
Method
test_check_secondary_index_usage_with_quotes
Test checking secondary index usage with quoted column names.
src/amazon-keyspaces-mcp-server/tests/test_query_analysis_service.py:159
Function
test_check_security_groups_api_error
Test handling of API errors in check_security_groups.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:541
Function
test_check_security_groups_fallback_to_direct_api
Test fallback to direct API call when Resource Explorer results are not available.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:572
Function
test_check_security_groups_no_ports_defined
Test checking security group with no ports defined.
src/well-architected-security-mcp-server/tests/test_network_security_additional.py:596
Function
test_check_security_groups_open_sensitive_ports
Test checking security groups with open sensitive ports.
src/well-architected-security-mcp-server/tests/test_network_security.py:598
Function
test_check_security_groups_success
Test successful checking of security groups.
src/well-architected-security-mcp-server/tests/test_network_security.py:572
Function
test_check_security_hub_api_error
Test Security Hub when API call fails.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:737
Function
test_check_security_hub_enabled
Test the check_security_hub function when Security Hub is enabled.
src/well-architected-security-mcp-server/tests/test_security_services.py:388
Function
test_check_security_hub_error
Test the check_security_hub function when an error occurs.
src/well-architected-security-mcp-server/tests/test_security_services.py:441
Function
test_check_security_hub_invalid_access
Test Security Hub when access is invalid.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:134
Function
test_check_security_hub_invalid_access_exception
Test Security Hub when InvalidAccessException is raised.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:252
Function
test_check_security_hub_not_enabled
Test the check_security_hub function when Security Hub is not enabled.
src/well-architected-security-mcp-server/tests/test_security_services.py:424
Function
test_check_security_hub_resource_not_found_exception
Test Security Hub when ResourceNotFoundException is raised.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:275
Function
test_check_security_hub_resource_not_found_specific
Test Security Hub ResourceNotFoundException handler specifically (lines 217-219).
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:444
Function
test_check_security_hub_standards_error
Test Security Hub when getting standards fails.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:298
Function
test_check_security_hub_standards_processing_error
Test Security Hub when processing individual standards fails.
src/well-architected-security-mcp-server/tests/test_security_services_coverage.py:391
Function
test_check_security_policy_customization_deny
Test security policy integration when customization returns deny.
src/aws-api-mcp-server/tests/test_security_policy.py:464
Function
test_check_security_policy_is_read_only_func_called
Test that is_read_only_func is properly called in check_security_policy.
src/aws-api-mcp-server/tests/test_security_policy.py:729
Function
test_check_security_policy_matches_cli_service_name
Policy entries use the CLI service name, which differs from the SDK name for these services.
src/aws-api-mcp-server/tests/test_security_policy.py:847
Function
test_check_security_policy_missing_metadata_with_elicitation
Test check_security_policy when IR has missing metadata and elicitation is supported.
src/aws-api-mcp-server/tests/test_security_policy.py:686
Function
test_check_security_policy_missing_metadata_without_elicitation
Test check_security_policy when IR has missing metadata and elicitation is not supported.
src/aws-api-mcp-server/tests/test_security_policy.py:708
Function
test_check_security_policy_no_customization
Test security policy integration when no customization matches.
src/aws-api-mcp-server/tests/test_security_policy.py:489
Method
test_check_security_scanning_disabled
Test check_security_scanning when disabled.
src/ccapi-mcp-server/tests/test_resource_operations.py:57
Method
test_check_security_scanning_edge_cases
Test check_security_scanning function.
src/ccapi-mcp-server/tests/test_resource_operations.py:819
Method
test_check_security_scanning_enabled
Test check_security_scanning when enabled.
src/ccapi-mcp-server/tests/test_resource_operations.py:49
Function
test_check_security_services
Test the check_security_services function.
src/well-architected-security-mcp-server/tests/test_server.py:33
← previous
next →
11,701–11,800 of 32,024, ranked by callers