-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from Cloud-Architects/develop
v 2.2.4
- Loading branch information
Showing
25 changed files
with
1,022 additions
and
392 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
OMITTED_RESOURCES = [ | ||
"aws_cloudhsm_available_zone", | ||
"aws_cloudhsm_hapg", | ||
"aws_cloudhsm_hsm", | ||
"aws_cloudhsm_luna_client", | ||
"aws_dax_default_parameter", | ||
"aws_dax_parameter_group", | ||
"aws_ec2_reserved_instances_offering", | ||
"aws_ec2_snapshot", | ||
"aws_ec2_spot_price_history", | ||
"aws_ssm_available_patch", | ||
"aws_ssm_document", | ||
"aws_polly_voice", | ||
"aws_lightsail_blueprint", | ||
"aws_lightsail_bundle", | ||
"aws_lightsail_region", | ||
"aws_elastictranscoder_preset", | ||
"aws_ec2_vpc_endpoint_service", | ||
"aws_dms_endpoint_type", | ||
"aws_elasticache_service_update", | ||
"aws_elasticache_cache_parameter_group", | ||
"aws_rds_source_region", | ||
"aws_ssm_association", | ||
"aws_ssm_patch_baseline", | ||
"aws_ec2_prefix", | ||
"aws_ec2_image", | ||
"aws_ec2_region", | ||
"aws_opsworks_operating_system", | ||
"aws_rds_account_attribute", | ||
"aws_route53_geo_location", | ||
"aws_redshift_cluster_track", | ||
"aws_redshift_reserved_node_offering", | ||
"aws_directconnect_location", | ||
"aws_dms_account_attribute", | ||
"aws_securityhub_standard", | ||
"aws_ram_resource_type", | ||
"aws_ram_permission", | ||
"aws_ec2_account_attribute", | ||
"aws_elasticbeanstalk_available_solution_stack", | ||
"aws_redshift_account_attribute", | ||
"aws_opsworks_user_profile", | ||
"aws_directconnect_direct_connect_gateway_association", # DirectConnect resources endpoint are complicated | ||
"aws_directconnect_direct_connect_gateway_attachment", | ||
"aws_directconnect_interconnect", | ||
"aws_dms_replication_task_assessment_result", | ||
"aws_ec2_fpga_image", | ||
"aws_ec2_launch_template_version", | ||
"aws_ec2_reserved_instancesing", | ||
"aws_ec2_spot_datafeed_subscription", | ||
"aws_ec2_transit_gateway_multicast_domain", | ||
"aws_elasticbeanstalk_configuration_option", | ||
"aws_elasticbeanstalk_platform_version", | ||
"aws_iam_credential_report", | ||
"aws_iam_account_password_policy", | ||
"aws_importexport_job", | ||
"aws_iot_o_taupdate", | ||
"aws_iot_default_authorizer", | ||
"aws_workspaces_account", | ||
"aws_workspaces_account_modification", | ||
"aws_rds_export_task", | ||
"aws_rds_custom_availability_zone", | ||
"aws_rds_installation_media", | ||
"aws_rds_d_bsecurity_group", | ||
"aws_rds_reserved_db_instances_offering", | ||
"aws_translate_text_translation_job", | ||
"aws_rekognition_project", | ||
"aws_rekognition_stream_processor", | ||
"aws_sdb_domain", | ||
"aws_redshift_table_restore_status", | ||
"aws_iot_v2_logging_level", | ||
"aws_license_manager_resource_inventory", | ||
"aws_license_manager_license_configuration", | ||
"aws_logs_query_definition", | ||
"aws_autoscaling_scaling_activity", | ||
"aws_autoscaling_auto_scaling_notification_type", | ||
"aws_autoscaling_scaling_process_type", | ||
"aws_autoscaling_termination_policy_type", | ||
"aws_ec2_host_reservation_offering", | ||
"aws_ec2_availability_zone", | ||
"aws_cloudwatch_metric", | ||
"aws_organizations_handshakes_for_organization", | ||
"aws_config_organization_config_rule", | ||
"aws_organizations_root", | ||
"aws_organizations_delegated_administrator", | ||
"aws_organizations_create_account_status", | ||
"aws_config_organization_conformance_pack_status", | ||
"aws_config_organization_conformance_pack", | ||
"aws_ec2_reserved_instances_listing", | ||
"aws_redshift_cluster_security_group", | ||
"aws_guardduty_organization_admin_account", | ||
"aws_elasticache_cache_security_group", | ||
"aws_elasticache_reserved_cache_nodes_offering", | ||
"aws_organizations_aws_service_access_for_organization", | ||
"aws_organizations_account", | ||
"aws_config_organization_config_rule_status", | ||
"aws_dynamodb_backup", | ||
"aws_ec2_prefix_list", | ||
"aws_route53_hosted_zones_by_name", | ||
"aws_es_reserved_elasticsearch_instance_offering", | ||
"aws_ssm_automation_execution", | ||
"aws_route53_checker_ip_range", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
ON_TOP_POLICIES = [ | ||
"kafka:ListClusters", | ||
"synthetics:DescribeCanaries", | ||
"medialive:ListInputs", | ||
"cloudhsm:DescribeClusters", | ||
"ssm:GetParametersByPath", | ||
"servicequotas:Get*", | ||
"amplify:ListApps", | ||
"autoscaling-plans:DescribeScalingPlans", | ||
"medialive:ListChannels", | ||
"medialive:ListInputDevices", | ||
"mediapackage:ListChannels", | ||
"qldb:ListLedgers", | ||
"transcribe:ListVocabularies", | ||
"glue:GetDatabases", | ||
"glue:GetUserDefinedFunctions", | ||
"glue:GetSecurityConfigurations", | ||
"glue:GetTriggers", | ||
"glue:GetCrawlers", | ||
"glue:ListWorkflows", | ||
"glue:ListMLTransforms", | ||
"codeguru-reviewer:ListCodeReviews", | ||
"servicediscovery:ListNamespaces", | ||
"apigateway:GET", | ||
"forecast:ListPredictors", | ||
"frauddetector:GetDetectors", | ||
"forecast:ListDatasetImportJobs", | ||
"frauddetector:GetModels", | ||
"frauddetector:GetOutcomes", | ||
"networkmanager:DescribeGlobalNetworks", | ||
"codeartifact:ListDomains", | ||
"ses:GetSendQuota", | ||
"codeguru-profiler:ListProfilingGroups", | ||
] |
65 changes: 65 additions & 0 deletions
65
cloudiscovery/provider/all/data/required_params_override.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
# Trying to fix documentation errors or its lack made by "happy pirates" at AWS | ||
REQUIRED_PARAMS_OVERRIDE = { | ||
"batch": {"ListJobs": ["jobQueue"]}, | ||
"cloudformation": { | ||
"DescribeStackEvents": ["stackName"], | ||
"DescribeStackResources": ["stackName"], | ||
"GetTemplate": ["stackName"], | ||
"ListTypeVersions": ["arn"], | ||
}, | ||
"codecommit": {"GetBranch": ["repositoryName"]}, | ||
"codedeploy": { | ||
"GetDeploymentTarget": ["deploymentId"], | ||
"ListDeploymentTargets": ["deploymentId"], | ||
}, | ||
"ecs": { | ||
"ListTasks": ["cluster"], | ||
"ListServices": ["cluster"], | ||
"ListContainerInstances": ["cluster"], | ||
"DescribeTasks": ["cluster", "tasks"], | ||
"DescribeServices": ["cluster", "services"], | ||
"DescribeContainerInstances": ["cluster", "containerInstances"], | ||
}, | ||
"elasticbeanstalk": { | ||
"DescribeEnvironmentHealth": ["environmentName"], | ||
"DescribeEnvironmentManagedActionHistory": ["environmentName"], | ||
"DescribeEnvironmentManagedActions": ["environmentName"], | ||
"DescribeEnvironmentResources": ["environmentName"], | ||
"DescribeInstancesHealth": ["environmentName"], | ||
}, | ||
"iam": { | ||
"GetUser": ["userName"], | ||
"ListAccessKeys": ["userName"], | ||
"ListServiceSpecificCredentials": ["userName"], | ||
"ListSigningCertificates": ["userName"], | ||
"ListMFADevices": ["userName"], | ||
"ListSSHPublicKeys": ["userName"], | ||
}, | ||
"iot": {"ListAuditFindings": ["taskId"]}, | ||
"opsworks": { | ||
"ListAuditFindings": ["taskId"], | ||
"DescribeAgentVersions": ["stackId"], | ||
"DescribeApps": ["stackId"], | ||
"DescribeCommands": ["deploymentId"], | ||
"DescribeDeployments": ["appId"], | ||
"DescribeEcsClusters": ["ecsClusterArns"], | ||
"DescribeElasticIps": ["stackId"], | ||
"DescribeElasticLoadBalancers": ["stackId"], | ||
"DescribeInstances": ["stackId"], | ||
"DescribeLayers": ["stackId"], | ||
"DescribePermissions": ["stackId"], | ||
"DescribeRaidArrays": ["stackId"], | ||
"DescribeVolumes": ["stackId"], | ||
}, | ||
"ssm": {"DescribeMaintenanceWindowSchedule": ["windowId"],}, | ||
"shield": {"DescribeProtection": ["protectionId"],}, | ||
"waf": { | ||
"ListActivatedRulesInRuleGroup": ["ruleGroupId"], | ||
"ListLoggingConfigurations": ["limit"], | ||
}, | ||
"waf-regional": { | ||
"ListActivatedRulesInRuleGroup": ["ruleGroupId"], | ||
"ListLoggingConfigurations": ["limit"], | ||
}, | ||
"wafv2": {"ListLoggingConfigurations": ["limit"],}, | ||
} |
Oops, something went wrong.