From 44c0bb06436870c7b09a364362d0a7e14fb323cd Mon Sep 17 00:00:00 2001 From: Ian Maddaus Date: Thu, 21 Dec 2023 13:00:13 -0500 Subject: [PATCH] Additional formatting Signed-off-by: Ian Maddaus --- docs-chef-io/content/inspec/resources/aws_alb.md | 4 ++-- docs-chef-io/content/inspec/resources/aws_albs.md | 4 ++-- docs-chef-io/content/inspec/resources/aws_ami.md | 2 ++ docs-chef-io/content/inspec/resources/aws_amis.md | 2 ++ docs-chef-io/content/inspec/resources/aws_amplify_app.md | 2 +- docs-chef-io/content/inspec/resources/aws_amplify_branch.md | 2 +- .../content/inspec/resources/aws_api_gateway_deployment.md | 2 +- .../content/inspec/resources/aws_api_gateway_deployments.md | 2 +- .../inspec/resources/aws_api_gateway_documentation_part.md | 2 +- .../inspec/resources/aws_api_gateway_documentation_parts.md | 2 +- .../inspec/resources/aws_api_gateway_documentation_version.md | 2 +- .../resources/aws_api_gateway_documentation_versions.md | 2 +- .../content/inspec/resources/aws_api_gateway_method.md | 2 +- .../content/inspec/resources/aws_api_gateway_methods.md | 2 +- .../content/inspec/resources/aws_api_gateway_model.md | 2 +- .../content/inspec/resources/aws_api_gateway_models.md | 2 +- .../content/inspec/resources/aws_api_gateway_response.md | 2 +- .../content/inspec/resources/aws_api_gateway_responses.md | 2 +- .../content/inspec/resources/aws_api_gateway_restapi.md | 2 +- .../content/inspec/resources/aws_api_gateway_restapis.md | 2 +- .../content/inspec/resources/aws_api_gateway_stage.md | 2 +- .../content/inspec/resources/aws_api_gateway_stages.md | 2 +- .../content/inspec/resources/aws_apigateway_account.md | 2 +- .../content/inspec/resources/aws_apigateway_api_key.md | 2 +- .../content/inspec/resources/aws_apigateway_api_keys.md | 2 +- .../content/inspec/resources/aws_apigateway_authorizer.md | 2 +- .../content/inspec/resources/aws_apigateway_authorizers.md | 2 +- .../inspec/resources/aws_apigateway_base_path_mapping.md | 2 +- .../inspec/resources/aws_apigateway_base_path_mappings.md | 2 +- .../inspec/resources/aws_apigateway_client_certificate.md | 2 +- .../inspec/resources/aws_apigateway_client_certificates.md | 2 +- .../content/inspec/resources/aws_auto_scaling_group.md | 2 ++ .../content/inspec/resources/aws_cloudformation_stack.md | 4 ++-- .../content/inspec/resources/aws_cloudformation_stacks.md | 4 ++-- .../content/inspec/resources/aws_cloudformation_template.md | 2 +- .../content/inspec/resources/aws_cloudfront_cache_policy.md | 2 +- .../content/inspec/resources/aws_cloudfront_distribution.md | 2 ++ .../content/inspec/resources/aws_cloudfront_distributions.md | 4 ++-- .../content/inspec/resources/aws_cloudfront_key_group.md | 2 +- .../inspec/resources/aws_cloudfront_origin_access_identity.md | 2 +- .../inspec/resources/aws_cloudfront_origin_request_policy.md | 2 +- .../content/inspec/resources/aws_cloudfront_public_key.md | 2 +- .../inspec/resources/aws_cloudfront_realtime_log_config.md | 2 +- .../inspec/resources/aws_cloudfront_streaming_distribution.md | 2 +- docs-chef-io/content/inspec/resources/aws_cloudtrail_trail.md | 2 ++ .../content/inspec/resources/aws_cloudtrail_trails.md | 2 ++ docs-chef-io/content/inspec/resources/aws_cloudwatch_alarm.md | 2 ++ .../content/inspec/resources/aws_cloudwatch_dashboard.md | 2 +- .../inspec/resources/aws_cloudwatch_log_metric_filter.md | 2 ++ .../content/inspec/resources/aws_cloudwatch_metric_stream.md | 2 +- .../content/inspec/resources/aws_db_parameter_group.md | 2 ++ .../content/inspec/resources/aws_db_parameter_groups.md | 2 ++ docs-chef-io/content/inspec/resources/aws_db_subnet_group.md | 2 ++ docs-chef-io/content/inspec/resources/aws_db_subnet_groups.md | 2 ++ docs-chef-io/content/inspec/resources/aws_dynamodb_table.md | 2 ++ docs-chef-io/content/inspec/resources/aws_dynamodb_tables.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ebs_snapshot.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ebs_snapshots.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ebs_volume.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ebs_volumes.md | 2 ++ .../content/inspec/resources/aws_ec2_eip_associations.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ec2_eips.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ec2_instance.md | 1 + .../inspec/resources/aws_ec2_traffic_mirror_session.md | 2 ++ .../inspec/resources/aws_ec2_traffic_mirror_sessions.md | 2 ++ .../inspec/resources/aws_ec2_transit_gateway_attachments.md | 2 ++ .../aws_ec2_transit_gateway_route_table_propagation.md | 2 +- .../aws_ec2_transit_gateway_route_table_propagations.md | 2 +- .../inspec/resources/aws_ec2_transit_gateway_route_tables.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ecr.md | 1 + docs-chef-io/content/inspec/resources/aws_ecr_image.md | 1 + docs-chef-io/content/inspec/resources/aws_ecr_images.md | 1 + docs-chef-io/content/inspec/resources/aws_ecr_repository.md | 1 + .../content/inspec/resources/aws_ecrpublic_repositories.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ecs_cluster.md | 2 ++ docs-chef-io/content/inspec/resources/aws_efs_file_system.md | 1 + docs-chef-io/content/inspec/resources/aws_eks_cluster.md | 4 ++-- docs-chef-io/content/inspec/resources/aws_eks_clusters.md | 2 ++ .../content/inspec/resources/aws_elasticache_cluster.md | 1 + .../content/inspec/resources/aws_elasticache_cluster_node.md | 1 + .../inspec/resources/aws_elasticache_replication_group.md | 2 ++ .../inspec/resources/aws_elasticache_replication_groups.md | 2 ++ .../inspec/resources/aws_elasticloadbalancingv2_listener.md | 2 ++ .../aws_elasticloadbalancingv2_listener_certificate.md | 2 ++ docs-chef-io/content/inspec/resources/aws_elb.md | 4 ++-- docs-chef-io/content/inspec/resources/aws_emr_cluster.md | 2 ++ .../inspec/resources/aws_emr_security_configuration.md | 2 ++ docs-chef-io/content/inspec/resources/aws_glue_crawler.md | 2 +- docs-chef-io/content/inspec/resources/aws_glue_crawlers.md | 2 +- docs-chef-io/content/inspec/resources/aws_glue_database.md | 2 +- docs-chef-io/content/inspec/resources/aws_glue_databases.md | 2 +- .../content/inspec/resources/aws_guardduty_detector.md | 2 ++ .../content/inspec/resources/aws_guardduty_detectors.md | 2 ++ docs-chef-io/content/inspec/resources/aws_hosted_zone.md | 2 ++ docs-chef-io/content/inspec/resources/aws_iam_access_key.md | 2 ++ .../content/inspec/resources/aws_iam_inline_policy.md | 2 ++ .../content/inspec/resources/aws_iam_instance_profile.md | 2 +- .../content/inspec/resources/aws_iam_oidc_provider.md | 2 +- .../content/inspec/resources/aws_iam_password_policy.md | 2 ++ docs-chef-io/content/inspec/resources/aws_iam_policy.md | 2 ++ docs-chef-io/content/inspec/resources/aws_iam_role.md | 1 + docs-chef-io/content/inspec/resources/aws_iam_root_user.md | 2 ++ .../content/inspec/resources/aws_iam_server_certificate.md | 2 +- .../resources/aws_iam_service_linked_role_deletion_status.md | 2 +- docs-chef-io/content/inspec/resources/aws_iam_user.md | 2 ++ docs-chef-io/content/inspec/resources/aws_kms_keys.md | 2 ++ docs-chef-io/content/inspec/resources/aws_lambda_alias.md | 2 +- .../inspec/resources/aws_lambda_code_signing_config.md | 2 +- .../inspec/resources/aws_lambda_event_invoke_config.md | 2 +- .../inspec/resources/aws_lambda_event_source_mapping.md | 2 +- .../inspec/resources/aws_lambda_layer_version_permission.md | 2 +- .../content/inspec/resources/aws_lambda_permission.md | 2 +- .../content/inspec/resources/aws_lambda_permissions.md | 2 +- docs-chef-io/content/inspec/resources/aws_lambda_version.md | 2 +- .../content/inspec/resources/aws_launch_configuration.md | 2 ++ docs-chef-io/content/inspec/resources/aws_network_acl.md | 2 ++ docs-chef-io/content/inspec/resources/aws_network_acls.md | 2 ++ .../aws_network_manager_customer_gateway_association.md | 2 +- .../aws_network_manager_customer_gateway_associations.md | 2 +- .../content/inspec/resources/aws_network_manager_device.md | 2 +- .../content/inspec/resources/aws_network_manager_devices.md | 2 +- .../inspec/resources/aws_network_manager_global_network.md | 2 +- .../inspec/resources/aws_network_manager_global_networks.md | 2 +- .../content/inspec/resources/aws_organizations_member.md | 2 ++ .../content/inspec/resources/aws_ram_resource_share.md | 2 +- .../content/inspec/resources/aws_ram_resource_shares.md | 2 +- docs-chef-io/content/inspec/resources/aws_rds_cluster.md | 2 ++ docs-chef-io/content/inspec/resources/aws_rds_clusters.md | 2 ++ docs-chef-io/content/inspec/resources/aws_rds_group_option.md | 2 ++ .../content/inspec/resources/aws_rds_group_options.md | 2 ++ docs-chef-io/content/inspec/resources/aws_rds_instance.md | 2 ++ docs-chef-io/content/inspec/resources/aws_rds_instances.md | 2 ++ docs-chef-io/content/inspec/resources/aws_rds_snapshot.md | 2 ++ .../content/inspec/resources/aws_rds_snapshot_attributes.md | 2 ++ docs-chef-io/content/inspec/resources/aws_rds_snapshots.md | 2 ++ docs-chef-io/content/inspec/resources/aws_redshift_cluster.md | 2 ++ .../inspec/resources/aws_redshift_cluster_parameter_groups.md | 2 ++ .../content/inspec/resources/aws_redshift_clusters.md | 2 ++ docs-chef-io/content/inspec/resources/aws_region.md | 2 ++ .../inspec/resources/aws_route53resolver_resolver_endpoint.md | 2 +- .../inspec/resources/aws_route53resolver_resolver_rule.md | 2 +- .../aws_route53resolver_resolver_rule_association.md | 2 +- docs-chef-io/content/inspec/resources/aws_s3_access_point.md | 2 +- docs-chef-io/content/inspec/resources/aws_s3_bucket.md | 2 ++ docs-chef-io/content/inspec/resources/aws_s3_bucket_policy.md | 2 +- docs-chef-io/content/inspec/resources/aws_security_groups.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ses_template.md | 2 +- .../content/inspec/resources/aws_signer_signing_profile.md | 2 +- docs-chef-io/content/inspec/resources/aws_sns_topic.md | 2 ++ docs-chef-io/content/inspec/resources/aws_sqs_queue.md | 2 ++ docs-chef-io/content/inspec/resources/aws_sqs_queues.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ssm_activation.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ssm_activations.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ssm_association.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ssm_associations.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ssm_document.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ssm_documents.md | 2 ++ .../content/inspec/resources/aws_ssm_maintenance_window.md | 2 +- docs-chef-io/content/inspec/resources/aws_ssm_parameter.md | 2 ++ docs-chef-io/content/inspec/resources/aws_ssm_parameters.md | 2 ++ .../content/inspec/resources/aws_ssm_patch_baseline.md | 2 +- .../inspec/resources/aws_ssm_resource_compliance_summaries.md | 2 ++ .../inspec/resources/aws_ssm_resource_compliance_summary.md | 2 ++ .../content/inspec/resources/aws_sts_caller_identity.md | 2 ++ docs-chef-io/content/inspec/resources/aws_subnet.md | 2 ++ .../content/inspec/resources/aws_synthetics_canary.md | 2 +- docs-chef-io/content/inspec/resources/aws_transit_gateway.md | 2 ++ .../aws_transit_gateway_multicast_domain_association.md | 2 +- .../aws_transit_gateway_multicast_domain_associations.md | 2 +- .../inspec/resources/aws_vpc_endpoint_service_permission.md | 1 + .../inspec/resources/aws_vpc_endpoint_service_permissions.md | 2 ++ docs-chef-io/content/inspec/resources/aws_vpc_endpoints.md | 2 ++ docs-chef-io/content/inspec/resources/aws_vpn_connections.md | 2 ++ docs-chef-io/content/inspec/resources/aws_vpn_gateway.md | 1 + docs-chef-io/content/inspec/resources/aws_vpn_gateways.md | 2 ++ .../content/inspec/resources/aws_waf_byte_match_set.md | 2 +- docs-chef-io/content/inspec/resources/aws_waf_ip_set.md | 2 +- docs-chef-io/content/inspec/resources/aws_waf_rule.md | 2 +- .../content/inspec/resources/aws_waf_size_constraint_set.md | 2 +- .../inspec/resources/aws_waf_sql_injection_match_set.md | 2 +- docs-chef-io/content/inspec/resources/aws_waf_web_acl.md | 2 +- .../content/inspec/resources/aws_waf_xss_match_match_set.md | 2 +- 182 files changed, 271 insertions(+), 96 deletions(-) diff --git a/docs-chef-io/content/inspec/resources/aws_alb.md b/docs-chef-io/content/inspec/resources/aws_alb.md index 366f8332b..765ddc874 100644 --- a/docs-chef-io/content/inspec/resources/aws_alb.md +++ b/docs-chef-io/content/inspec/resources/aws_alb.md @@ -117,10 +117,10 @@ end ## Matchers -This InSpec audit resource has no special matchers. - {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_albs.md b/docs-chef-io/content/inspec/resources/aws_albs.md index c9082ec8d..9596d9b8d 100644 --- a/docs-chef-io/content/inspec/resources/aws_albs.md +++ b/docs-chef-io/content/inspec/resources/aws_albs.md @@ -84,10 +84,10 @@ end ## Matchers -This InSpec audit resource has no special matchers. - {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ami.md b/docs-chef-io/content/inspec/resources/aws_ami.md index 2c4324db6..95b5edc45 100644 --- a/docs-chef-io/content/inspec/resources/aws_ami.md +++ b/docs-chef-io/content/inspec/resources/aws_ami.md @@ -131,6 +131,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### be_public The `be_public` matcher tests if the AMI has public launch permissons. diff --git a/docs-chef-io/content/inspec/resources/aws_amis.md b/docs-chef-io/content/inspec/resources/aws_amis.md index 0da64910a..fcb4af4de 100644 --- a/docs-chef-io/content/inspec/resources/aws_amis.md +++ b/docs-chef-io/content/inspec/resources/aws_amis.md @@ -192,6 +192,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_amplify_app.md b/docs-chef-io/content/inspec/resources/aws_amplify_app.md index 680d78877..f5d1c1a68 100644 --- a/docs-chef-io/content/inspec/resources/aws_amplify_app.md +++ b/docs-chef-io/content/inspec/resources/aws_amplify_app.md @@ -100,7 +100,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_amplify_branch.md b/docs-chef-io/content/inspec/resources/aws_amplify_branch.md index 7f1b9b60c..b1ddbadcf 100644 --- a/docs-chef-io/content/inspec/resources/aws_amplify_branch.md +++ b/docs-chef-io/content/inspec/resources/aws_amplify_branch.md @@ -104,7 +104,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_deployment.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_deployment.md index e8c0ae2a1..955cffa00 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_deployment.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_deployment.md @@ -82,7 +82,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_deployments.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_deployments.md index 5f352e973..f71ef9b35 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_deployments.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_deployments.md @@ -62,7 +62,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_part.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_part.md index 2bd34b77f..3f0c8ec3a 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_part.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_part.md @@ -85,7 +85,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_parts.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_parts.md index ad46fd30a..0681a03d5 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_parts.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_parts.md @@ -73,7 +73,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_version.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_version.md index 38ad1553b..8970c5458 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_version.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_version.md @@ -73,7 +73,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_versions.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_versions.md index 4ccddc5a9..bf84e27cc 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_versions.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_documentation_versions.md @@ -65,7 +65,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_method.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_method.md index e30f6cc50..0ac880735 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_method.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_method.md @@ -161,7 +161,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_methods.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_methods.md index 994722792..46033dc90 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_methods.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_methods.md @@ -93,7 +93,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_model.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_model.md index 61faa0b12..fc099a752 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_model.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_model.md @@ -95,7 +95,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_models.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_models.md index ec9e3aa27..4a2d021aa 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_models.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_models.md @@ -101,7 +101,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_response.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_response.md index 8ee3e9796..e1a2f1439 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_response.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_response.md @@ -79,7 +79,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_responses.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_responses.md index f7f5fd7f3..f3ee3de24 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_responses.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_responses.md @@ -85,7 +85,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_restapi.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_restapi.md index d3cabfb4f..28cc9930b 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_restapi.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_restapi.md @@ -100,7 +100,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_restapis.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_restapis.md index 15e2a11ed..47042cf53 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_restapis.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_restapis.md @@ -97,7 +97,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_stage.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_stage.md index 57f00c02d..ceaefbfda 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_stage.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_stage.md @@ -157,7 +157,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_stages.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_stages.md index 758faaa80..0d539ec55 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_stages.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_stages.md @@ -64,7 +64,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_account.md b/docs-chef-io/content/inspec/resources/aws_apigateway_account.md index 0847f94af..0c6fe5be4 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_account.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_account.md @@ -73,7 +73,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_api_key.md b/docs-chef-io/content/inspec/resources/aws_apigateway_api_key.md index 2db795ad3..538ae0014 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_api_key.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_api_key.md @@ -90,7 +90,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_api_keys.md b/docs-chef-io/content/inspec/resources/aws_apigateway_api_keys.md index 289106b3a..38458e789 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_api_keys.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_api_keys.md @@ -108,7 +108,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_authorizer.md b/docs-chef-io/content/inspec/resources/aws_apigateway_authorizer.md index 6f6b34468..cd0af61cf 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_authorizer.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_authorizer.md @@ -94,7 +94,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_authorizers.md b/docs-chef-io/content/inspec/resources/aws_apigateway_authorizers.md index 75112616a..6dc7dcfd6 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_authorizers.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_authorizers.md @@ -110,7 +110,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_base_path_mapping.md b/docs-chef-io/content/inspec/resources/aws_apigateway_base_path_mapping.md index fb2667e9e..b1a034d20 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_base_path_mapping.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_base_path_mapping.md @@ -73,7 +73,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_base_path_mappings.md b/docs-chef-io/content/inspec/resources/aws_apigateway_base_path_mappings.md index 0df80365e..0797970a1 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_base_path_mappings.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_base_path_mappings.md @@ -75,7 +75,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_client_certificate.md b/docs-chef-io/content/inspec/resources/aws_apigateway_client_certificate.md index dd238ba55..c5b359f98 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_client_certificate.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_client_certificate.md @@ -78,7 +78,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_apigateway_client_certificates.md b/docs-chef-io/content/inspec/resources/aws_apigateway_client_certificates.md index d4143d6e1..1f577cac8 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_client_certificates.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_client_certificates.md @@ -88,7 +88,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_auto_scaling_group.md b/docs-chef-io/content/inspec/resources/aws_auto_scaling_group.md index eb1f9a2cc..efec09ee7 100644 --- a/docs-chef-io/content/inspec/resources/aws_auto_scaling_group.md +++ b/docs-chef-io/content/inspec/resources/aws_auto_scaling_group.md @@ -90,6 +90,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudformation_stack.md b/docs-chef-io/content/inspec/resources/aws_cloudformation_stack.md index e2ed2e3bb..a72215898 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudformation_stack.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudformation_stack.md @@ -121,10 +121,10 @@ end ## Matchers -This InSpec audit resource has no special matchers. - {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudformation_stacks.md b/docs-chef-io/content/inspec/resources/aws_cloudformation_stacks.md index dc135fdf9..2849852e5 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudformation_stacks.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudformation_stacks.md @@ -81,10 +81,10 @@ end ## Matchers -This InSpec audit resource has no special matchers. - {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudformation_template.md b/docs-chef-io/content/inspec/resources/aws_cloudformation_template.md index bb7640b93..ae9af9a6f 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudformation_template.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudformation_template.md @@ -166,7 +166,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_cache_policy.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_cache_policy.md index 1c4554b4d..7e048e949 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_cache_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_cache_policy.md @@ -114,7 +114,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_distribution.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_distribution.md index a3658e38f..e52f42b69 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_distribution.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_distribution.md @@ -104,6 +104,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### have_viewer_protocol_policies_allowing_http The `have_viewer_protocol_policies_allowing_http` matcher tests if any of the caches for origins, including the default cache, has its viewer_protocol_policy set to 'allow-all'. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_distributions.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_distributions.md index b3237cb7a..93c77bf6d 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_distributions.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_distributions.md @@ -93,10 +93,10 @@ end ## Matchers -This InSpec audit resource has no special matchers. - {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_key_group.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_key_group.md index d626f218d..a5179c37e 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_key_group.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_key_group.md @@ -73,7 +73,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_access_identity.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_access_identity.md index 4ae208f81..2ab67b5ec 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_access_identity.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_access_identity.md @@ -72,7 +72,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_request_policy.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_request_policy.md index a607a3a7a..ae7d8e3f1 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_request_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_request_policy.md @@ -97,7 +97,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_public_key.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_public_key.md index f8297cf57..a7861b2bf 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_public_key.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_public_key.md @@ -78,7 +78,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_realtime_log_config.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_realtime_log_config.md index 5fc1ec2a2..c587085eb 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_realtime_log_config.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_realtime_log_config.md @@ -100,7 +100,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_streaming_distribution.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_streaming_distribution.md index dc266ab01..f963c58db 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_streaming_distribution.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_streaming_distribution.md @@ -133,7 +133,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudtrail_trail.md b/docs-chef-io/content/inspec/resources/aws_cloudtrail_trail.md index 39fde67c3..d5d81dbe0 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudtrail_trail.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudtrail_trail.md @@ -134,6 +134,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist Use `should` with the `exist` matcher to verify that the CloudTrail trail exists. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudtrail_trails.md b/docs-chef-io/content/inspec/resources/aws_cloudtrail_trails.md index 0d3fccefb..a1fca9ce7 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudtrail_trails.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudtrail_trails.md @@ -65,6 +65,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_alarm.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_alarm.md index ca233ec61..48920811a 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_alarm.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_alarm.md @@ -78,6 +78,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboard.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboard.md index 40b92bdd7..39394dc30 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboard.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboard.md @@ -67,7 +67,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_log_metric_filter.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_log_metric_filter.md index 45728a6a4..ffa350562 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_log_metric_filter.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_log_metric_filter.md @@ -112,6 +112,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_metric_stream.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_metric_stream.md index 08f52dc2c..3c93e729f 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_metric_stream.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_metric_stream.md @@ -77,7 +77,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_db_parameter_group.md b/docs-chef-io/content/inspec/resources/aws_db_parameter_group.md index 3a4858b15..212bdeba8 100644 --- a/docs-chef-io/content/inspec/resources/aws_db_parameter_group.md +++ b/docs-chef-io/content/inspec/resources/aws_db_parameter_group.md @@ -68,6 +68,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_db_parameter_groups.md b/docs-chef-io/content/inspec/resources/aws_db_parameter_groups.md index 4727215b4..5e88e16d5 100644 --- a/docs-chef-io/content/inspec/resources/aws_db_parameter_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_db_parameter_groups.md @@ -64,6 +64,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe method returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_db_subnet_group.md b/docs-chef-io/content/inspec/resources/aws_db_subnet_group.md index 6cf04b61c..7a2688e53 100644 --- a/docs-chef-io/content/inspec/resources/aws_db_subnet_group.md +++ b/docs-chef-io/content/inspec/resources/aws_db_subnet_group.md @@ -73,6 +73,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_db_subnet_groups.md b/docs-chef-io/content/inspec/resources/aws_db_subnet_groups.md index 24649ef47..5d0574d5c 100644 --- a/docs-chef-io/content/inspec/resources/aws_db_subnet_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_db_subnet_groups.md @@ -68,6 +68,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_dynamodb_table.md b/docs-chef-io/content/inspec/resources/aws_dynamodb_table.md index 8a7705a5d..9b6ceec95 100644 --- a/docs-chef-io/content/inspec/resources/aws_dynamodb_table.md +++ b/docs-chef-io/content/inspec/resources/aws_dynamodb_table.md @@ -122,6 +122,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + #### be_encrypted The `be_encrypted` matcher tests if the DynamoDB Table is encrypted. diff --git a/docs-chef-io/content/inspec/resources/aws_dynamodb_tables.md b/docs-chef-io/content/inspec/resources/aws_dynamodb_tables.md index dec164ef4..67f4c7577 100644 --- a/docs-chef-io/content/inspec/resources/aws_dynamodb_tables.md +++ b/docs-chef-io/content/inspec/resources/aws_dynamodb_tables.md @@ -74,6 +74,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ebs_snapshot.md b/docs-chef-io/content/inspec/resources/aws_ebs_snapshot.md index 700386d67..421e00c72 100644 --- a/docs-chef-io/content/inspec/resources/aws_ebs_snapshot.md +++ b/docs-chef-io/content/inspec/resources/aws_ebs_snapshot.md @@ -134,6 +134,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ebs_snapshots.md b/docs-chef-io/content/inspec/resources/aws_ebs_snapshots.md index f2e6274a3..cb3bb78de 100644 --- a/docs-chef-io/content/inspec/resources/aws_ebs_snapshots.md +++ b/docs-chef-io/content/inspec/resources/aws_ebs_snapshots.md @@ -74,6 +74,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ebs_volume.md b/docs-chef-io/content/inspec/resources/aws_ebs_volume.md index 889190449..7a6a93174 100644 --- a/docs-chef-io/content/inspec/resources/aws_ebs_volume.md +++ b/docs-chef-io/content/inspec/resources/aws_ebs_volume.md @@ -104,6 +104,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ebs_volumes.md b/docs-chef-io/content/inspec/resources/aws_ebs_volumes.md index 86945001b..86c1b73e2 100644 --- a/docs-chef-io/content/inspec/resources/aws_ebs_volumes.md +++ b/docs-chef-io/content/inspec/resources/aws_ebs_volumes.md @@ -112,6 +112,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_eip_associations.md b/docs-chef-io/content/inspec/resources/aws_ec2_eip_associations.md index a2ca417a3..c52c65ce0 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_eip_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_eip_associations.md @@ -55,6 +55,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_eips.md b/docs-chef-io/content/inspec/resources/aws_ec2_eips.md index 7d0c619ee..79d5809ec 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_eips.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_eips.md @@ -98,6 +98,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_instance.md b/docs-chef-io/content/inspec/resources/aws_ec2_instance.md index 867d67282..38992cfa5 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_instance.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_instance.md @@ -128,6 +128,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_session.md b/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_session.md index 4ce558985..21026add8 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_session.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_session.md @@ -96,6 +96,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### be_available Check if the Traffic Mirror session is available. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_sessions.md b/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_sessions.md index a71ee0233..74c9d7a78 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_sessions.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_sessions.md @@ -108,6 +108,8 @@ For additional information, see [the API reference documentation](https://docs.a {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### be_available Check if the Traffic mirror session is available. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_attachments.md b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_attachments.md index d9c7197aa..5e8ac2450 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_attachments.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_attachments.md @@ -101,6 +101,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_propagation.md b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_propagation.md index 8e36c8e1e..86d0b8ac9 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_propagation.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_propagation.md @@ -76,7 +76,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_propagations.md b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_propagations.md index c7365b561..e8bfbaebd 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_propagations.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_propagations.md @@ -80,7 +80,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_tables.md b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_tables.md index a3f711a39..566d7a53a 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_tables.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_tables.md @@ -89,6 +89,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ecr.md b/docs-chef-io/content/inspec/resources/aws_ecr.md index 28b0d5ea5..eee83404e 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr.md @@ -91,6 +91,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ecr_image.md b/docs-chef-io/content/inspec/resources/aws_ecr_image.md index ddd76b08d..11ed41932 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr_image.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr_image.md @@ -113,6 +113,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ecr_images.md b/docs-chef-io/content/inspec/resources/aws_ecr_images.md index 71d5074bd..15b158147 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr_images.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr_images.md @@ -97,6 +97,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ecr_repository.md b/docs-chef-io/content/inspec/resources/aws_ecr_repository.md index cf1b5a90b..2f063da11 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr_repository.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr_repository.md @@ -97,6 +97,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ecrpublic_repositories.md b/docs-chef-io/content/inspec/resources/aws_ecrpublic_repositories.md index 9ca249fe3..00a8c3eea 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecrpublic_repositories.md +++ b/docs-chef-io/content/inspec/resources/aws_ecrpublic_repositories.md @@ -70,6 +70,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the `describe` method returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ecs_cluster.md b/docs-chef-io/content/inspec/resources/aws_ecs_cluster.md index 8006a030a..2317f0a87 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecs_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_ecs_cluster.md @@ -86,6 +86,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_efs_file_system.md b/docs-chef-io/content/inspec/resources/aws_efs_file_system.md index c08a4521c..d370a4168 100644 --- a/docs-chef-io/content/inspec/resources/aws_efs_file_system.md +++ b/docs-chef-io/content/inspec/resources/aws_efs_file_system.md @@ -117,6 +117,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_eks_cluster.md b/docs-chef-io/content/inspec/resources/aws_eks_cluster.md index b2199ee08..5eaa6d67b 100644 --- a/docs-chef-io/content/inspec/resources/aws_eks_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_eks_cluster.md @@ -171,10 +171,10 @@ end ## Matchers -This InSpec audit resource has no special matchers. - {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_eks_clusters.md b/docs-chef-io/content/inspec/resources/aws_eks_clusters.md index dee416d5d..6049c9e32 100644 --- a/docs-chef-io/content/inspec/resources/aws_eks_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_eks_clusters.md @@ -116,6 +116,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_elasticache_cluster.md b/docs-chef-io/content/inspec/resources/aws_elasticache_cluster.md index 9466f03af..6bb3e9338 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticache_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticache_cluster.md @@ -103,6 +103,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_elasticache_cluster_node.md b/docs-chef-io/content/inspec/resources/aws_elasticache_cluster_node.md index d1b1db18a..3b946a19d 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticache_cluster_node.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticache_cluster_node.md @@ -92,6 +92,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_elasticache_replication_group.md b/docs-chef-io/content/inspec/resources/aws_elasticache_replication_group.md index 12e8b1866..5150c039c 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticache_replication_group.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticache_replication_group.md @@ -79,6 +79,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist ```ruby diff --git a/docs-chef-io/content/inspec/resources/aws_elasticache_replication_groups.md b/docs-chef-io/content/inspec/resources/aws_elasticache_replication_groups.md index 297ad92c6..fe6765c80 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticache_replication_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticache_replication_groups.md @@ -71,6 +71,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the 'describe' method returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener.md b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener.md index 4d6eb17c0..0cb6324cb 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener.md @@ -204,6 +204,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_certificate.md b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_certificate.md index 0dac45161..48b47418f 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_certificate.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_certificate.md @@ -72,6 +72,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_elb.md b/docs-chef-io/content/inspec/resources/aws_elb.md index 38cb63d7c..a47fd718d 100644 --- a/docs-chef-io/content/inspec/resources/aws_elb.md +++ b/docs-chef-io/content/inspec/resources/aws_elb.md @@ -153,10 +153,10 @@ end ## Matchers -This InSpec audit resource has no special matchers. - {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_emr_cluster.md b/docs-chef-io/content/inspec/resources/aws_emr_cluster.md index 5958585dd..f06f289a1 100644 --- a/docs-chef-io/content/inspec/resources/aws_emr_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_emr_cluster.md @@ -137,6 +137,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist Use `should` to test an entity that should exist. diff --git a/docs-chef-io/content/inspec/resources/aws_emr_security_configuration.md b/docs-chef-io/content/inspec/resources/aws_emr_security_configuration.md index fc458a924..450c1c6c5 100644 --- a/docs-chef-io/content/inspec/resources/aws_emr_security_configuration.md +++ b/docs-chef-io/content/inspec/resources/aws_emr_security_configuration.md @@ -82,6 +82,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist Use `should` to test the entity should exist. diff --git a/docs-chef-io/content/inspec/resources/aws_glue_crawler.md b/docs-chef-io/content/inspec/resources/aws_glue_crawler.md index 4818801e9..d59036311 100644 --- a/docs-chef-io/content/inspec/resources/aws_glue_crawler.md +++ b/docs-chef-io/content/inspec/resources/aws_glue_crawler.md @@ -117,7 +117,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_glue_crawlers.md b/docs-chef-io/content/inspec/resources/aws_glue_crawlers.md index 27594bd8f..29b31fa1d 100644 --- a/docs-chef-io/content/inspec/resources/aws_glue_crawlers.md +++ b/docs-chef-io/content/inspec/resources/aws_glue_crawlers.md @@ -115,7 +115,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_glue_database.md b/docs-chef-io/content/inspec/resources/aws_glue_database.md index d9de71d70..50b96de4d 100644 --- a/docs-chef-io/content/inspec/resources/aws_glue_database.md +++ b/docs-chef-io/content/inspec/resources/aws_glue_database.md @@ -90,7 +90,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_glue_databases.md b/docs-chef-io/content/inspec/resources/aws_glue_databases.md index b46eb79c8..b946899ff 100644 --- a/docs-chef-io/content/inspec/resources/aws_glue_databases.md +++ b/docs-chef-io/content/inspec/resources/aws_glue_databases.md @@ -74,7 +74,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_guardduty_detector.md b/docs-chef-io/content/inspec/resources/aws_guardduty_detector.md index 1c63852b2..8b983f931 100644 --- a/docs-chef-io/content/inspec/resources/aws_guardduty_detector.md +++ b/docs-chef-io/content/inspec/resources/aws_guardduty_detector.md @@ -80,6 +80,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### be_enabled The `be_enabled` matcher tests if the status of the detector is enabled. diff --git a/docs-chef-io/content/inspec/resources/aws_guardduty_detectors.md b/docs-chef-io/content/inspec/resources/aws_guardduty_detectors.md index 624973a0e..fd08aaeae 100644 --- a/docs-chef-io/content/inspec/resources/aws_guardduty_detectors.md +++ b/docs-chef-io/content/inspec/resources/aws_guardduty_detectors.md @@ -70,6 +70,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_hosted_zone.md b/docs-chef-io/content/inspec/resources/aws_hosted_zone.md index 518764589..2df49c542 100644 --- a/docs-chef-io/content/inspec/resources/aws_hosted_zone.md +++ b/docs-chef-io/content/inspec/resources/aws_hosted_zone.md @@ -67,6 +67,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe passes all tests. diff --git a/docs-chef-io/content/inspec/resources/aws_iam_access_key.md b/docs-chef-io/content/inspec/resources/aws_iam_access_key.md index 069e2dddd..97b0a142e 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_access_key.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_access_key.md @@ -81,6 +81,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_iam_inline_policy.md b/docs-chef-io/content/inspec/resources/aws_iam_inline_policy.md index 0e615e767..8e83ca9d8 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_inline_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_inline_policy.md @@ -96,6 +96,8 @@ it { should_not have_statement(NotAction: 'iam:*') } {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_iam_instance_profile.md b/docs-chef-io/content/inspec/resources/aws_iam_instance_profile.md index 14c1929ab..6def1c4f1 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_instance_profile.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_instance_profile.md @@ -115,7 +115,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_iam_oidc_provider.md b/docs-chef-io/content/inspec/resources/aws_iam_oidc_provider.md index 0f9c25e6f..b03b0605e 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_oidc_provider.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_oidc_provider.md @@ -69,7 +69,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_iam_password_policy.md b/docs-chef-io/content/inspec/resources/aws_iam_password_policy.md index 1ed4eb5e3..78477f5b9 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_password_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_password_policy.md @@ -68,6 +68,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist ```ruby diff --git a/docs-chef-io/content/inspec/resources/aws_iam_policy.md b/docs-chef-io/content/inspec/resources/aws_iam_policy.md index 81a034284..83ecd708a 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_policy.md @@ -121,6 +121,8 @@ it { should_not have_statement(NotAction: 'iam:*') } {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_iam_role.md b/docs-chef-io/content/inspec/resources/aws_iam_role.md index 2f746631b..f873ff780 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_role.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_role.md @@ -91,6 +91,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_iam_root_user.md b/docs-chef-io/content/inspec/resources/aws_iam_root_user.md index 70ae57737..635585cc8 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_root_user.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_root_user.md @@ -71,6 +71,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_iam_server_certificate.md b/docs-chef-io/content/inspec/resources/aws_iam_server_certificate.md index 6a45d7143..3e180a5fb 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_server_certificate.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_server_certificate.md @@ -76,7 +76,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_iam_service_linked_role_deletion_status.md b/docs-chef-io/content/inspec/resources/aws_iam_service_linked_role_deletion_status.md index 17c777cc9..6e2ceba5a 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_service_linked_role_deletion_status.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_service_linked_role_deletion_status.md @@ -57,7 +57,7 @@ end This InSpec audit resource has the following special matchers. For a complete list of available matchers, please visit our [Universal Matchers page](https://www.inspec.io/docs/reference/matchers/). -The controls will pass if the `get` method returns at least one result. + ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_iam_user.md b/docs-chef-io/content/inspec/resources/aws_iam_user.md index 3feb46e2f..f36ab78a2 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_user.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_user.md @@ -111,6 +111,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_kms_keys.md b/docs-chef-io/content/inspec/resources/aws_kms_keys.md index 37acd0c87..53d082cd8 100644 --- a/docs-chef-io/content/inspec/resources/aws_kms_keys.md +++ b/docs-chef-io/content/inspec/resources/aws_kms_keys.md @@ -72,6 +72,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_alias.md b/docs-chef-io/content/inspec/resources/aws_lambda_alias.md index c1100efdb..dd314647b 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_alias.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_alias.md @@ -82,7 +82,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_code_signing_config.md b/docs-chef-io/content/inspec/resources/aws_lambda_code_signing_config.md index faeb55e21..3d7bcf47e 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_code_signing_config.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_code_signing_config.md @@ -78,7 +78,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_event_invoke_config.md b/docs-chef-io/content/inspec/resources/aws_lambda_event_invoke_config.md index 829dda2dd..0b59050a6 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_event_invoke_config.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_event_invoke_config.md @@ -98,7 +98,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_event_source_mapping.md b/docs-chef-io/content/inspec/resources/aws_lambda_event_source_mapping.md index 5af64604c..dabe027fb 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_event_source_mapping.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_event_source_mapping.md @@ -123,7 +123,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_layer_version_permission.md b/docs-chef-io/content/inspec/resources/aws_lambda_layer_version_permission.md index 8dde35f26..d93beb038 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_layer_version_permission.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_layer_version_permission.md @@ -70,7 +70,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_permission.md b/docs-chef-io/content/inspec/resources/aws_lambda_permission.md index 015defdeb..48d5ee02e 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_permission.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_permission.md @@ -79,7 +79,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. + ## AWS Permissions diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_permissions.md b/docs-chef-io/content/inspec/resources/aws_lambda_permissions.md index 5f1735280..c8d3ed6ad 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_permissions.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_permissions.md @@ -73,7 +73,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. + ## AWS Permissions diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_version.md b/docs-chef-io/content/inspec/resources/aws_lambda_version.md index fd90cb7e8..c6a86d212 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_version.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_version.md @@ -103,7 +103,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_launch_configuration.md b/docs-chef-io/content/inspec/resources/aws_launch_configuration.md index 43dfa035e..b45eb3ff7 100644 --- a/docs-chef-io/content/inspec/resources/aws_launch_configuration.md +++ b/docs-chef-io/content/inspec/resources/aws_launch_configuration.md @@ -123,6 +123,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_network_acl.md b/docs-chef-io/content/inspec/resources/aws_network_acl.md index 5caf1e23b..52f48539e 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_acl.md +++ b/docs-chef-io/content/inspec/resources/aws_network_acl.md @@ -147,6 +147,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist ```ruby diff --git a/docs-chef-io/content/inspec/resources/aws_network_acls.md b/docs-chef-io/content/inspec/resources/aws_network_acls.md index 874a5075d..986ec4a8c 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_acls.md +++ b/docs-chef-io/content/inspec/resources/aws_network_acls.md @@ -191,6 +191,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the 'describe' method returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_network_manager_customer_gateway_association.md b/docs-chef-io/content/inspec/resources/aws_network_manager_customer_gateway_association.md index 46088037a..2e5310e15 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_manager_customer_gateway_association.md +++ b/docs-chef-io/content/inspec/resources/aws_network_manager_customer_gateway_association.md @@ -79,7 +79,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_network_manager_customer_gateway_associations.md b/docs-chef-io/content/inspec/resources/aws_network_manager_customer_gateway_associations.md index 278de9b3a..0ea9ea2e8 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_manager_customer_gateway_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_network_manager_customer_gateway_associations.md @@ -85,7 +85,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_network_manager_device.md b/docs-chef-io/content/inspec/resources/aws_network_manager_device.md index 919248150..32c627376 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_manager_device.md +++ b/docs-chef-io/content/inspec/resources/aws_network_manager_device.md @@ -131,7 +131,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_network_manager_devices.md b/docs-chef-io/content/inspec/resources/aws_network_manager_devices.md index e4b7f8c02..dff37dd59 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_manager_devices.md +++ b/docs-chef-io/content/inspec/resources/aws_network_manager_devices.md @@ -156,7 +156,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_network_manager_global_network.md b/docs-chef-io/content/inspec/resources/aws_network_manager_global_network.md index 9c3746925..d30539d93 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_manager_global_network.md +++ b/docs-chef-io/content/inspec/resources/aws_network_manager_global_network.md @@ -78,7 +78,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_network_manager_global_networks.md b/docs-chef-io/content/inspec/resources/aws_network_manager_global_networks.md index 076a3008e..52a191ee2 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_manager_global_networks.md +++ b/docs-chef-io/content/inspec/resources/aws_network_manager_global_networks.md @@ -76,7 +76,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_organizations_member.md b/docs-chef-io/content/inspec/resources/aws_organizations_member.md index 0b6ae39a9..39e75c318 100644 --- a/docs-chef-io/content/inspec/resources/aws_organizations_member.md +++ b/docs-chef-io/content/inspec/resources/aws_organizations_member.md @@ -77,6 +77,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### be_master The `be_master` matcher tests if the account is a 'master' AWS Account. diff --git a/docs-chef-io/content/inspec/resources/aws_ram_resource_share.md b/docs-chef-io/content/inspec/resources/aws_ram_resource_share.md index bff5485fb..d79fbfd86 100644 --- a/docs-chef-io/content/inspec/resources/aws_ram_resource_share.md +++ b/docs-chef-io/content/inspec/resources/aws_ram_resource_share.md @@ -92,7 +92,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ram_resource_shares.md b/docs-chef-io/content/inspec/resources/aws_ram_resource_shares.md index 1da81ea2c..a2ed13104 100644 --- a/docs-chef-io/content/inspec/resources/aws_ram_resource_shares.md +++ b/docs-chef-io/content/inspec/resources/aws_ram_resource_shares.md @@ -88,7 +88,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_rds_cluster.md b/docs-chef-io/content/inspec/resources/aws_rds_cluster.md index d884f9fa5..9d3a58fe3 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_cluster.md @@ -90,6 +90,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_rds_clusters.md b/docs-chef-io/content/inspec/resources/aws_rds_clusters.md index c14ede7d1..7e7f03852 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_clusters.md @@ -91,6 +91,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_rds_group_option.md b/docs-chef-io/content/inspec/resources/aws_rds_group_option.md index 6e2e9e7f9..f3cf40d49 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_group_option.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_group_option.md @@ -93,6 +93,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_rds_group_options.md b/docs-chef-io/content/inspec/resources/aws_rds_group_options.md index 2d699b350..89c675ec2 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_group_options.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_group_options.md @@ -110,6 +110,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_rds_instance.md b/docs-chef-io/content/inspec/resources/aws_rds_instance.md index cf836bf6d..88922f3ac 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_instance.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_instance.md @@ -95,6 +95,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_rds_instances.md b/docs-chef-io/content/inspec/resources/aws_rds_instances.md index ea6b02f70..0482d1e12 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_instances.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_instances.md @@ -77,6 +77,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_rds_snapshot.md b/docs-chef-io/content/inspec/resources/aws_rds_snapshot.md index 7290cab8d..c32086e15 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_snapshot.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_snapshot.md @@ -104,6 +104,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_rds_snapshot_attributes.md b/docs-chef-io/content/inspec/resources/aws_rds_snapshot_attributes.md index 74d018a0e..b6b3dcca7 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_snapshot_attributes.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_snapshot_attributes.md @@ -78,6 +78,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_rds_snapshots.md b/docs-chef-io/content/inspec/resources/aws_rds_snapshots.md index 80db91950..2ad78821f 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_snapshots.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_snapshots.md @@ -86,6 +86,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_redshift_cluster.md b/docs-chef-io/content/inspec/resources/aws_redshift_cluster.md index bd2212afa..c12dfe0fc 100644 --- a/docs-chef-io/content/inspec/resources/aws_redshift_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_redshift_cluster.md @@ -126,6 +126,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_redshift_cluster_parameter_groups.md b/docs-chef-io/content/inspec/resources/aws_redshift_cluster_parameter_groups.md index 9c171f56a..fe81b8cc9 100644 --- a/docs-chef-io/content/inspec/resources/aws_redshift_cluster_parameter_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_redshift_cluster_parameter_groups.md @@ -86,6 +86,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_redshift_clusters.md b/docs-chef-io/content/inspec/resources/aws_redshift_clusters.md index 2e534e41f..dbc750ffe 100644 --- a/docs-chef-io/content/inspec/resources/aws_redshift_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_redshift_clusters.md @@ -130,6 +130,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_region.md b/docs-chef-io/content/inspec/resources/aws_region.md index a844e9e1a..f1ad2f51f 100644 --- a/docs-chef-io/content/inspec/resources/aws_region.md +++ b/docs-chef-io/content/inspec/resources/aws_region.md @@ -71,6 +71,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_endpoint.md b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_endpoint.md index 2381ab211..594d23862 100644 --- a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_endpoint.md +++ b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_endpoint.md @@ -96,7 +96,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule.md b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule.md index de5dc7b3a..ffdefb8ee 100644 --- a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule.md +++ b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule.md @@ -105,7 +105,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule_association.md b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule_association.md index a3cffeed1..63fb8e896 100644 --- a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule_association.md +++ b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule_association.md @@ -78,7 +78,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_s3_access_point.md b/docs-chef-io/content/inspec/resources/aws_s3_access_point.md index e4fae4221..40c3f8ee4 100644 --- a/docs-chef-io/content/inspec/resources/aws_s3_access_point.md +++ b/docs-chef-io/content/inspec/resources/aws_s3_access_point.md @@ -77,7 +77,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_s3_bucket.md b/docs-chef-io/content/inspec/resources/aws_s3_bucket.md index f5d5e9f33..0a2e28f94 100644 --- a/docs-chef-io/content/inspec/resources/aws_s3_bucket.md +++ b/docs-chef-io/content/inspec/resources/aws_s3_bucket.md @@ -150,6 +150,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + #### be_public The `be_public` matcher tests if the bucket has potentially insecure access controls. This high-level matcher detects several insecure conditions, which may be enhanced in the future. Currently, the matcher reports an insecure bucket if any of the following conditions are met: diff --git a/docs-chef-io/content/inspec/resources/aws_s3_bucket_policy.md b/docs-chef-io/content/inspec/resources/aws_s3_bucket_policy.md index 4fd65178f..a7c0d5220 100644 --- a/docs-chef-io/content/inspec/resources/aws_s3_bucket_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_s3_bucket_policy.md @@ -70,7 +70,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_security_groups.md b/docs-chef-io/content/inspec/resources/aws_security_groups.md index f784406b4..55b5971ad 100644 --- a/docs-chef-io/content/inspec/resources/aws_security_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_security_groups.md @@ -106,6 +106,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the filter returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ses_template.md b/docs-chef-io/content/inspec/resources/aws_ses_template.md index 03b5d0dfc..4258f2cf5 100644 --- a/docs-chef-io/content/inspec/resources/aws_ses_template.md +++ b/docs-chef-io/content/inspec/resources/aws_ses_template.md @@ -88,7 +88,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_signer_signing_profile.md b/docs-chef-io/content/inspec/resources/aws_signer_signing_profile.md index 370e4aa63..8ebd1ffc4 100644 --- a/docs-chef-io/content/inspec/resources/aws_signer_signing_profile.md +++ b/docs-chef-io/content/inspec/resources/aws_signer_signing_profile.md @@ -125,7 +125,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_sns_topic.md b/docs-chef-io/content/inspec/resources/aws_sns_topic.md index 8fcbbb1ea..b1a1bb49a 100644 --- a/docs-chef-io/content/inspec/resources/aws_sns_topic.md +++ b/docs-chef-io/content/inspec/resources/aws_sns_topic.md @@ -62,6 +62,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_sqs_queue.md b/docs-chef-io/content/inspec/resources/aws_sqs_queue.md index 24899a612..ed1182cb0 100644 --- a/docs-chef-io/content/inspec/resources/aws_sqs_queue.md +++ b/docs-chef-io/content/inspec/resources/aws_sqs_queue.md @@ -123,6 +123,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_sqs_queues.md b/docs-chef-io/content/inspec/resources/aws_sqs_queues.md index 7c2401d89..2377e00b4 100644 --- a/docs-chef-io/content/inspec/resources/aws_sqs_queues.md +++ b/docs-chef-io/content/inspec/resources/aws_sqs_queues.md @@ -72,6 +72,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_activation.md b/docs-chef-io/content/inspec/resources/aws_ssm_activation.md index c6d245d13..058e08701 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_activation.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_activation.md @@ -83,6 +83,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_activations.md b/docs-chef-io/content/inspec/resources/aws_ssm_activations.md index 75b80f734..d7b460d17 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_activations.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_activations.md @@ -78,6 +78,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_association.md b/docs-chef-io/content/inspec/resources/aws_ssm_association.md index 71dabc863..79bff2e94 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_association.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_association.md @@ -125,6 +125,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_associations.md b/docs-chef-io/content/inspec/resources/aws_ssm_associations.md index 5fc3c7c49..fa665575c 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_associations.md @@ -78,6 +78,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_document.md b/docs-chef-io/content/inspec/resources/aws_ssm_document.md index 3d20cb787..0d5a5ae9a 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_document.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_document.md @@ -121,6 +121,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_documents.md b/docs-chef-io/content/inspec/resources/aws_ssm_documents.md index 6e30eb794..452606e0e 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_documents.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_documents.md @@ -75,6 +75,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window.md b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window.md index 5581c53ae..b91e53b27 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window.md @@ -123,7 +123,7 @@ This Chef InSpec audit resource has the following special matchers. {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_parameter.md b/docs-chef-io/content/inspec/resources/aws_ssm_parameter.md index 121b5a9a7..f107c9db4 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_parameter.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_parameter.md @@ -85,6 +85,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_parameters.md b/docs-chef-io/content/inspec/resources/aws_ssm_parameters.md index 750c0c5c7..2c7b799b2 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_parameters.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_parameters.md @@ -72,6 +72,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_patch_baseline.md b/docs-chef-io/content/inspec/resources/aws_ssm_patch_baseline.md index 6ab7d8aa8..285e58eb7 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_patch_baseline.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_patch_baseline.md @@ -211,7 +211,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_resource_compliance_summaries.md b/docs-chef-io/content/inspec/resources/aws_ssm_resource_compliance_summaries.md index 84d492609..049b4f2a3 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_resource_compliance_summaries.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_resource_compliance_summaries.md @@ -80,6 +80,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_resource_compliance_summary.md b/docs-chef-io/content/inspec/resources/aws_ssm_resource_compliance_summary.md index 326438992..b8188a95b 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_resource_compliance_summary.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_resource_compliance_summary.md @@ -103,6 +103,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_sts_caller_identity.md b/docs-chef-io/content/inspec/resources/aws_sts_caller_identity.md index 0fda4b49d..42c97166a 100644 --- a/docs-chef-io/content/inspec/resources/aws_sts_caller_identity.md +++ b/docs-chef-io/content/inspec/resources/aws_sts_caller_identity.md @@ -82,6 +82,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### be_govcloud The `be_govcloud` matcher tests if the account is a 'GovCloud' AWS Account. diff --git a/docs-chef-io/content/inspec/resources/aws_subnet.md b/docs-chef-io/content/inspec/resources/aws_subnet.md index 5739e2db5..f4c557704 100644 --- a/docs-chef-io/content/inspec/resources/aws_subnet.md +++ b/docs-chef-io/content/inspec/resources/aws_subnet.md @@ -90,6 +90,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + #### assigning_ipv_6_address_on_creation Detects if the network interface on the subnet accepts IPv6 addresses. diff --git a/docs-chef-io/content/inspec/resources/aws_synthetics_canary.md b/docs-chef-io/content/inspec/resources/aws_synthetics_canary.md index a2d7e73c9..15e47db37 100644 --- a/docs-chef-io/content/inspec/resources/aws_synthetics_canary.md +++ b/docs-chef-io/content/inspec/resources/aws_synthetics_canary.md @@ -148,7 +148,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway.md index 883601d2a..bad18eebf 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway.md @@ -72,6 +72,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The `exist` matcher indicates that a transit gateway exists. diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain_association.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain_association.md index f26c34fc1..3b5f53190 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain_association.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain_association.md @@ -78,7 +78,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain_associations.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain_associations.md index 20407a19b..6e0a333fa 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain_associations.md @@ -75,7 +75,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service_permission.md b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service_permission.md index 2dc5dc867..cf1f38343 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service_permission.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service_permission.md @@ -69,6 +69,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service_permissions.md b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service_permissions.md index 2e4df0276..d64d13fd0 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service_permissions.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service_permissions.md @@ -79,6 +79,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the 'describe' method returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_vpc_endpoints.md b/docs-chef-io/content/inspec/resources/aws_vpc_endpoints.md index 35ca0cfc3..6f495f8fc 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoints.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoints.md @@ -98,6 +98,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_vpn_connections.md b/docs-chef-io/content/inspec/resources/aws_vpn_connections.md index 111284903..8f36134bf 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpn_connections.md +++ b/docs-chef-io/content/inspec/resources/aws_vpn_connections.md @@ -78,6 +78,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control passes if the describe returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_vpn_gateway.md b/docs-chef-io/content/inspec/resources/aws_vpn_gateway.md index a81424086..d3ef430cc 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpn_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_vpn_gateway.md @@ -88,6 +88,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_vpn_gateways.md b/docs-chef-io/content/inspec/resources/aws_vpn_gateways.md index cd47fa8ed..54c4fbb61 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpn_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_vpn_gateways.md @@ -78,6 +78,8 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. + ### exist The control will pass if the 'describe' method returns at least one result. diff --git a/docs-chef-io/content/inspec/resources/aws_waf_byte_match_set.md b/docs-chef-io/content/inspec/resources/aws_waf_byte_match_set.md index f56ce490b..2a0188df3 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_byte_match_set.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_byte_match_set.md @@ -95,7 +95,7 @@ This Chef InSpec audit resource has the following special matchers. {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_waf_ip_set.md b/docs-chef-io/content/inspec/resources/aws_waf_ip_set.md index c5c181bec..781063690 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_ip_set.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_ip_set.md @@ -81,7 +81,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_waf_rule.md b/docs-chef-io/content/inspec/resources/aws_waf_rule.md index 299e6fdac..0c4caa570 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_rule.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_rule.md @@ -94,7 +94,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_waf_size_constraint_set.md b/docs-chef-io/content/inspec/resources/aws_waf_size_constraint_set.md index 97fad4091..fe79fc12f 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_size_constraint_set.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_size_constraint_set.md @@ -100,7 +100,7 @@ This Chef InSpec audit resource has the following special matchers. {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_waf_sql_injection_match_set.md b/docs-chef-io/content/inspec/resources/aws_waf_sql_injection_match_set.md index 292079034..10e04a79e 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_sql_injection_match_set.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_sql_injection_match_set.md @@ -84,7 +84,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_waf_web_acl.md b/docs-chef-io/content/inspec/resources/aws_waf_web_acl.md index d19726ba8..09fe75cce 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_web_acl.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_web_acl.md @@ -110,7 +110,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_waf_xss_match_match_set.md b/docs-chef-io/content/inspec/resources/aws_waf_xss_match_match_set.md index f828ac6f5..70dd6eabc 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_xss_match_match_set.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_xss_match_match_set.md @@ -84,7 +84,7 @@ end {{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -The controls will pass if the `get` method returns at least one result. +This resource has the following special matchers. ### exist