diff --git a/docs-chef-io/archetypes/resource.md b/docs-chef-io/archetypes/resource.md index 2caf25e01..dc71126ca 100644 --- a/docs-chef-io/archetypes/resource.md +++ b/docs-chef-io/archetypes/resource.md @@ -16,9 +16,9 @@ Use the `{{ .Name }}` Chef InSpec audit resource to test the configuration of... For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::RESOURCE::NAME` resource](). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -46,7 +46,7 @@ end ## Examples -**EXAMPLE DESCRIPTION** +Example description. ```ruby describe {{ .Name }} do @@ -54,7 +54,7 @@ describe {{ .Name }} do end ``` -**EXAMPLE DESCRIPTION** +Example description. ```ruby describe {{ .Name }} do @@ -64,7 +64,19 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. + +### + +Matcher description. + +```ruby +describe {{ .Name }} do + # matcher example +end +``` ## AWS Permissions diff --git a/docs-chef-io/content/inspec/resources/aws_alb.md b/docs-chef-io/content/inspec/resources/aws_alb.md index 69eb32d84..765ddc874 100644 --- a/docs-chef-io/content/inspec/resources/aws_alb.md +++ b/docs-chef-io/content/inspec/resources/aws_alb.md @@ -14,9 +14,9 @@ Use the `aws_alb` InSpec audit resource to test properties of a single AWS Appli For additional information, including details on parameters and properties, see the [AWS documentation on Elastic Load Balancing](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -117,9 +117,9 @@ end ## Matchers -This InSpec audit resource has no special matchers. +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -{{% inspec_matchers_link %}} +This resource has the following special matchers. ### exist @@ -141,6 +141,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancing:Client:DescribeLoadBalancers" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancing:Client:DescribeLoadBalancers" %}} You can find detailed documentation at [Authentication and Access Control for Your Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/load-balancer-authentication-access-control.html) diff --git a/docs-chef-io/content/inspec/resources/aws_albs.md b/docs-chef-io/content/inspec/resources/aws_albs.md index 754f71e4e..9596d9b8d 100644 --- a/docs-chef-io/content/inspec/resources/aws_albs.md +++ b/docs-chef-io/content/inspec/resources/aws_albs.md @@ -14,9 +14,9 @@ Use the `aws_albs` InSpec audit resource to test the configuration of a collecti For additional information, including details on parameters and properties, see the [AWS documentation on Elastic Load Balancing](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -84,9 +84,9 @@ end ## Matchers -This InSpec audit resource has no special matchers. +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -{{% inspec_matchers_link %}} +This resource has the following special matchers. ### exist @@ -103,6 +103,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancing:Client:DescribeLoadBalancers" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancing:Client:DescribeLoadBalancers" %}} You can find detailed documentation at [Authentication and Access Control for Your Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/load-balancer-authentication-access-control.html) diff --git a/docs-chef-io/content/inspec/resources/aws_ami.md b/docs-chef-io/content/inspec/resources/aws_ami.md index 4f4de93b1..95b5edc45 100644 --- a/docs-chef-io/content/inspec/resources/aws_ami.md +++ b/docs-chef-io/content/inspec/resources/aws_ami.md @@ -14,9 +14,9 @@ Use the `aws_ami` InSpec audit resource to test properties of a single AWS AMI. For additional information, including details on parameters and properties, see the [AWS documentation on EC2 Amazon Machine Images](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIs.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -129,7 +129,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### be_public @@ -167,6 +169,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeImages" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeImages" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_amis.md b/docs-chef-io/content/inspec/resources/aws_amis.md index 2dc310a70..fcb4af4de 100644 --- a/docs-chef-io/content/inspec/resources/aws_amis.md +++ b/docs-chef-io/content/inspec/resources/aws_amis.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_amis` InSpec audit resource to test properties of some or all AWS AMIs. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -190,7 +190,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -212,6 +214,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeImages" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeImages" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). \ No newline at end of file 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 2524a6635..f5d1c1a68 100644 --- a/docs-chef-io/content/inspec/resources/aws_amplify_app.md +++ b/docs-chef-io/content/inspec/resources/aws_amplify_app.md @@ -14,9 +14,9 @@ Use the `aws_amplify_app` InSpec audit resource to test the properties of a sing For additional information, including details on parameters and properties, see the [AWS documentation on AWS Amplify App](https://docs.aws.amazon.com/amplify/latest/APIReference/API_App.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -98,9 +98,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -132,4 +132,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Amplify:Client:GetAppResult" %}} +{{% inspec-aws/aws_permissions_principal action="Amplify:Client:GetAppResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_amplify_apps.md b/docs-chef-io/content/inspec/resources/aws_amplify_apps.md index f40ab9a19..9f7ec4b48 100644 --- a/docs-chef-io/content/inspec/resources/aws_amplify_apps.md +++ b/docs-chef-io/content/inspec/resources/aws_amplify_apps.md @@ -14,9 +14,9 @@ Use the `aws_amplify_apps` InSpec audit resource to test the properties of Multi For additional information, including details on parameters and properties, see the [AWS documentation on AWS Amplify App](https://docs.aws.amazon.com/amplify/latest/APIReference/API_App.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -125,7 +125,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `List` method returns at least one result. @@ -159,4 +159,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Amplify:Client:ListAppsResult" %}} +{{% inspec-aws/aws_permissions_principal action="Amplify:Client:ListAppsResult" %}} 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 20174a335..b1ddbadcf 100644 --- a/docs-chef-io/content/inspec/resources/aws_amplify_branch.md +++ b/docs-chef-io/content/inspec/resources/aws_amplify_branch.md @@ -14,9 +14,9 @@ Use the `aws_amplify_branch` InSpec audit resource to test the properties of a s For additional information, including details on parameters and properties, see the [AWS documentation on AWS Amplify Branch](https://docs.aws.amazon.com/amplify/latest/APIReference/API_App.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,9 +102,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -136,4 +136,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Amplify:Client:GetBranchResult" %}} +{{% inspec-aws/aws_permissions_principal action="Amplify:Client:GetBranchResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_amplify_branches.md b/docs-chef-io/content/inspec/resources/aws_amplify_branches.md index 54b629531..468bc96e1 100644 --- a/docs-chef-io/content/inspec/resources/aws_amplify_branches.md +++ b/docs-chef-io/content/inspec/resources/aws_amplify_branches.md @@ -14,9 +14,9 @@ Use the `aws_amplify_branches` InSpec audit resource to test the properties of m For additional information, including details on parameters and properties, see the [AWS documentation on AWS Amplify branch](https://docs.aws.amazon.com/amplify/latest/APIReference/API_App.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -126,7 +126,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -160,4 +160,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Amplify:Client:ListBranchesResult" %}} +{{% inspec-aws/aws_permissions_principal action="Amplify:Client:ListBranchesResult" %}} 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 608b19460..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 @@ -16,9 +16,9 @@ The AWS::ApiGateway::Deployment resource deploys an API Gateway RestApi resource For additional information, including details on parameters and properties, see the [AWS ApiGateway Deployment documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,9 +80,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -114,4 +114,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:Deployment" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:Deployment" %}} 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 00952e43f..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 @@ -16,9 +16,9 @@ The AWS::ApiGateway::Deployment resource deploys an API Gateway RestAPI resource For additional information, including details on parameters and properties, see the [AWS ApiGateway Deployment documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-deployment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -60,9 +60,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -94,4 +94,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client::Deployments" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client::Deployments" %}} 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 30d426be6..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::DocumentationPart` resource creates a documentation part f For additional information, including details on parameters and properties, see the [AWS ApiGateway Documentation Part](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,9 +83,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:DocumentationPart" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:DocumentationPart" %}} 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 500c5f557..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::DocumentationParts` resource creates a documentation part For additional information, including details on parameters and properties, see the [AWS ApiGateway Documentation Part documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationpart.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,9 +71,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client::DocumentationParts" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client::DocumentationParts" %}} 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 5635c84ab..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::DocumentationVersion` resource creates a documentation ver For additional information, including details on parameters and properties, see the [AWS ApiGateway documentation version documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationversion.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,9 +71,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:DocumentationVersion" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:DocumentationVersion" %}} 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 10329713f..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::DocumentationParts` resource creates a documentation versi For additional information, including details on parameters and properties, see the [AWS ApiGateway Documentation Version documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-documentationversion.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -63,9 +63,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -97,4 +97,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client::DocumentationVersions" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client::DocumentationVersions" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_domain_name.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_domain_name.md index 282ed33fc..bdb184e74 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_domain_name.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_domain_name.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_domain_name` InSpec audit resource to test the properti For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -163,7 +163,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -187,4 +187,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:DomainName" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:DomainName" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_domain_names.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_domain_names.md index 36a2435f3..ed4c73a81 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_domain_names.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_domain_names.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_domain_names` InSpec audit resource to test the propert For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-domainname.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -147,7 +147,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -171,4 +171,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:DomainNames" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:DomainNames" %}} 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 59e856e39..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 @@ -16,9 +16,9 @@ The AWS::ApiGateway::Method resource creates API Gateway methods that define the For additional information, including details on parameters and properties, see the [AWS APIGateway Method documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -159,9 +159,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -193,4 +193,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client::client:Method" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client::client:Method" %}} 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 ee4fdee15..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 @@ -16,9 +16,9 @@ The AWS::ApiGateway::Method resource creates API Gateway methods that define the For additional information, including details on parameters and properties, see the [AWS APIGateway Method documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-method.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -91,9 +91,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -125,4 +125,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:Methods" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:Methods" %}} 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 4f65647ae..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::Model` resource defines the structure of a request or resp For additional information, including details on parameters and properties, see the [AWS documentation on `AWS::APIGateway::Model` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,9 +93,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ApiGateway:Client:Model" %}} +{{% inspec-aws/aws_permissions_principal action="ApiGateway:Client:Model" %}} 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 708da9596..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::Model` resource defines the structure of a request or resp For additional information, including details on parameters and properties, see the [AWS documentation on `AWS::APIGateway::Model` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-model.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -99,9 +99,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -123,4 +123,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ApiGateway:Client:Models" %}} +{{% inspec-aws/aws_permissions_principal action="ApiGateway:Client:Models" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_request_validator.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_request_validator.md index 0433bb6ad..81c575c2d 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_request_validator.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_request_validator.md @@ -16,6 +16,10 @@ The AWS::ApiGateway::RequestValidator resource sets up basic validation rules fo For additional information, including details on parameters and properties, see the [AWS APIGateway RequestValidator documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html). +## Install + +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} + ## Syntax Ensure that an API Gateway request validator exists. @@ -94,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:RequestValidator" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:RequestValidator" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_request_validators.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_request_validators.md index f4148b6ce..9d2d191ac 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_request_validators.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_request_validators.md @@ -16,6 +16,10 @@ The AWS::ApiGateway::RequestValidator resource sets up basic validation rules fo For additional information, including details on parameters and properties, see the [AWS APIGateway RequestValidator documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-requestvalidator.html). +## Install + +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} + ## Syntax Ensure that an API Gateway request validator exists. @@ -108,4 +112,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:RequestValidators" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:RequestValidators" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_resource.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_resource.md index 855c1843d..c8530f4d1 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_resource.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_resource.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_resource` InSpec audit resource to test the properties For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway Resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:Resource" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:Resource" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_resources.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_resources.md index ab72097de..52d6e3e20 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_resources.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_resources.md @@ -14,6 +14,10 @@ Use the `aws_api_gateway_resources` Chef InSpec audit resource to test the prope For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway Resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-resource.html). +## Install + +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} + ## Syntax Ensure that the resource exists. @@ -109,4 +113,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:Resources" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:Resources" %}} 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 333b662ce..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::GatewayResponse` resource creates a gateway response for y For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::APIGateway::GatewayResponse` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -77,9 +77,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -101,4 +101,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:GatewayResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:GatewayResponse" %}} 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 e6c384106..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::GatewayResponse` resource creates a gateway response for y For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::APIGateway::GatewayResponse` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-gatewayresponse.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,9 +83,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -107,4 +107,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:GatewayResponses" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:GatewayResponses" %}} 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 fba1146f0..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 @@ -16,9 +16,9 @@ The AWS::ApiGateway::RestApi resource creates a REST API. For additional information, including details on parameters and properties, see the [AWS API Gateway REST API documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -98,9 +98,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -132,4 +132,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:RestApi" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:RestApi" %}} 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 2c8124618..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 @@ -16,9 +16,9 @@ The AWS::ApiGateway::RestApi resource creates a REST API. For additional information, including details on parameters and properties, see the [AWS API Gateway REST API documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-restapi.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -95,9 +95,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -111,4 +111,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:RestApis" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:RestApis" %}} 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 d5e2d1f33..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::Stage` resource deploys an API Gateway REST API resource t For additional information, including details on parameters and properties, see the [AWS API Gateway stage documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -155,9 +155,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -189,4 +189,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:Stage" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:Stage" %}} 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 a3971c2c0..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 @@ -16,9 +16,9 @@ The 'AWS::ApiGateway::Stage' resource deploys an API Gateway REST API resource t For additional information, including details on parameters and properties, see the [AWS API Gateway stage Stage documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-stage.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -62,9 +62,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -96,4 +96,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client::Stages" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client::Stages" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan.md index 691c623bc..fbe2ba719 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_usage_plan` InSpec audit resource to test the propertie For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway UsagePlan](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -143,7 +143,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -167,4 +167,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:UsagePlan" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:UsagePlan" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan_key.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan_key.md index fb5e5cd11..86ae4386c 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan_key.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan_key.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_usage_plan_key` InSpec audit resource to test the prope For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway UsagePlanKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplankey.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -96,4 +96,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:UsagePlanKey" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:UsagePlanKey" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan_keys.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan_keys.md index b8aa03577..7b6d588f4 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan_keys.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plan_keys.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_usage_plan_keys` InSpec audit resource to test the prop For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway UsagePlanKey](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplankey.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -100,4 +100,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:UsagePlanKeys" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:UsagePlanKeys" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plans.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plans.md index 106435a05..5d80af01e 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plans.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_usage_plans.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_usage_plans` InSpec audit resource to test the properti For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway UsagePlan](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-usageplan.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -118,4 +118,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:UsagePlans" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:UsagePlans" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api.md index e057570db..52ad8e4b0 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_api` InSpec audit resource to test the properties of For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 API](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -129,7 +129,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -153,4 +153,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetApiResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetApiResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api_mapping.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api_mapping.md index 198993c7b..9e01c9824 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api_mapping.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api_mapping.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_api_mapping` InSpec audit resource to test the prope For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 ApiMapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apimapping.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetApiMappingResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetApiMappingResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api_mappings.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api_mappings.md index 2d281127e..c0d25f54a 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api_mappings.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_api_mappings.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_api_mappings` InSpec audit resource to test the prop For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 ApiMapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-apimapping.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -91,7 +91,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -115,4 +115,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetApiMappingsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetApiMappingsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_apis.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_apis.md index 84bec7585..1eca500e3 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_apis.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_apis.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_apis` InSpec audit resource to test properties of mu For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 API](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-api.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -142,7 +142,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -166,4 +166,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetApisResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetApisResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_authorizer.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_authorizer.md index 0403f7dcc..ca73c14cd 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_authorizer.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_authorizer.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_authorizer` InSpec audit resource to test the proper For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Authorizer](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,7 +121,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -147,4 +147,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetAuthorizerResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetAuthorizerResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_authorizers.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_authorizers.md index 13d881e74..0aa6378a8 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_authorizers.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_authorizers.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_authorizers` InSpec audit resource to test the prope For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Authorizer](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-authorizer.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -142,7 +142,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -168,4 +168,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetAuthorizersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetAuthorizersResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_deployment.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_deployment.md index 7b2566c8b..4dfda81b6 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_deployment.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_deployment.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_deployment` InSpec audit resource to test the proper For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Deployment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -100,7 +100,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -126,4 +126,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetDeploymentResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetDeploymentResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_deployments.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_deployments.md index a85e230ad..baff07ee9 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_deployments.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_deployments.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_deployments` InSpec audit resource to test propertie For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Deployment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-deployment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -110,7 +110,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -136,4 +136,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetDeploymentsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetDeploymentsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_domain_name.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_domain_name.md index 3240c7273..899506257 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_domain_name.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_domain_name.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_domain_name` InSpec audit resource to test the prope For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -135,7 +135,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -161,4 +161,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetDomainNameResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetDomainNameResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_domain_names.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_domain_names.md index 2f66e53ed..d3a262a79 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_domain_names.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_domain_names.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_domain_names` InSpec audit resource to test properti For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 DomainName](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-domainname.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -84,7 +84,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetDomainNamesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetDomainNamesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration.md index ab4a09347..0b312fd31 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_integration` InSpec audit resource to test the prope For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Integration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -153,7 +153,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -179,4 +179,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetIntegrationResult" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetIntegrationResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration_response.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration_response.md index d56f4d499..ca0ce58a7 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration_response.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration_response.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_integration_response` InSpec audit resource to test For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 IntegrationResponse](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -92,7 +92,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least a result. @@ -118,4 +118,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetIntegrationResponseResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetIntegrationResponseResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration_responses.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration_responses.md index 5c2a3e5dd..9721b841e 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration_responses.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integration_responses.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_integration_responses` InSpec audit resource to test For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 IntegrationResponse](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integrationresponse.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -101,7 +101,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least a result. @@ -127,4 +127,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetIntegrationResponsesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetIntegrationResponsesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integrations.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integrations.md index 491917004..a726178f2 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integrations.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_integrations.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_integrations` InSpec audit resource to test properti For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Integration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-integration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -190,7 +190,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -216,4 +216,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetIntegrationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetIntegrationsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_model.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_model.md index 8745e29c1..0015502e8 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_model.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_model.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_model` InSpec audit resource to test the properties For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Model](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -89,7 +89,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -115,4 +115,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetModelResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetModelResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_models.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_models.md index b8a3f8812..b84b76030 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_models.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_models.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_models` InSpec audit resource to test the properties For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Model](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-model.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -96,7 +96,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -122,4 +122,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetModelsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetModelsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_route.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_route.md index 8149c7cf3..d4bbd9aa4 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_route.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_route.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_route` InSpec audit resource to test the properties For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Route](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -129,7 +129,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -155,4 +155,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetRouteResult" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetRouteResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_routes.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_routes.md index 17c63394a..a7ad9b823 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_routes.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_v2_routes.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_v2_routes` InSpec audit resource to test the properties For additional information, including parameters and properties, see the [AWS documentation on AWS APIGatewayV2 Route](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigatewayv2-route.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -136,7 +136,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -162,4 +162,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGatewayv2:Client:GetRoutesResult" %}} +{{% inspec-aws/aws_permissions_principal action="APIGatewayv2:Client:GetRoutesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_vpc_link.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_vpc_link.md index 6fee64e9a..eb55fde4b 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_vpc_link.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_vpc_link.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_vpc_link` InSpec audit resource to test the properties For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway VPCLink](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-vpclink.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -85,7 +85,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -109,4 +109,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:VpcLink" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:VpcLink" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_api_gateway_vpc_links.md b/docs-chef-io/content/inspec/resources/aws_api_gateway_vpc_links.md index a6982e7fd..de3b4c6b7 100644 --- a/docs-chef-io/content/inspec/resources/aws_api_gateway_vpc_links.md +++ b/docs-chef-io/content/inspec/resources/aws_api_gateway_vpc_links.md @@ -14,9 +14,9 @@ Use the `aws_api_gateway_vpc_links` InSpec audit resource to test multiple AWS A For additional information, including parameters and properties, see the [AWS documentation on AWS APIGateway VPCLink](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-vpclink.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -97,7 +97,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -121,4 +121,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:VpcLinks" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:VpcLinks" %}} 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 ef5d57ee0..0c6fe5be4 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_account.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_account.md @@ -16,9 +16,9 @@ The `AWS::ApiGateway::Account` resource specifies the IAM role that Amazon API G For additional information, including details on parameters and properties, see the [AWS documentation on AWS API Gateway accounts.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-account.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,9 +71,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:Account" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:Account" %}} 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 f2c0d6944..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 @@ -16,9 +16,9 @@ The AWS::ApiGateway::ApiKey resource creates a unique key that you can distribut For additional information, including details on parameters and properties, see the [AWS documentation on AWS APIGateway ApiKey.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,9 +88,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -122,4 +122,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:ApiKey" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:ApiKey" %}} 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 0fddbf55c..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::ApiKey` resource creates a unique key that you can distrib For additional information, including details on parameters and properties, see the [AWS documentation on AWS API Gateway API Key.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-apikey.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -106,9 +106,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -130,4 +130,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:ApiKeys" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:ApiKeys" %}} 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 7420fad4d..cd0af61cf 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_authorizer.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_authorizer.md @@ -16,9 +16,9 @@ The `AWS::ApiGateway::Authorizer` resource creates an authorization layer that A For additional information, including details on parameters and properties, see the [AWS documentation on AWS APIGateway Authorizer.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -92,9 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -126,4 +126,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:Authorizer" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:Authorizer" %}} 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 5b6a9d9ab..6dc7dcfd6 100644 --- a/docs-chef-io/content/inspec/resources/aws_apigateway_authorizers.md +++ b/docs-chef-io/content/inspec/resources/aws_apigateway_authorizers.md @@ -16,9 +16,9 @@ The `AWS::ApiGateway::Authorizer` resource creates an authorization layer that A For additional information, including details on parameters and properties, see the [AWS documentation on AWS APIGateway Authorizer.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-authorizer.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -108,9 +108,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -132,4 +132,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:Authorizers" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:Authorizers" %}} 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 9ea90fac5..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::BasePathMapping` resource creates a base path that clients For additional information, including details on parameters and properties, see the [AWS documentation on AWS APIGateway BasePathMapping.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmapping.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,9 +71,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:BasePathMapping" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:BasePathMapping" %}} 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 cd4780b42..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::BasePathMapping` resource creates a base path that clients For additional information, including details on parameters and properties, see the [AWS documentation on AWS APIGateway BasePathMapping.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-basepathmapping.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -73,9 +73,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -97,4 +97,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:BasePathMappings" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:BasePathMappings" %}} 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 0c9b55adb..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::ClientCertificate` resource creates a client certificate t For additional information, including details on parameters and properties, see the [AWS documentation on AWS APIGateway ClientCertificate.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-clientcertificate.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,9 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:ClientCertificate" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:ClientCertificate" %}} 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 b2cd29fe1..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 @@ -16,9 +16,9 @@ The `AWS::ApiGateway::ClientCertificate` resource creates a client certificate t For additional information, including details on parameters and properties, see the [AWS documentation on AWS API Gateway client certificate.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-apigateway-clientcertificate.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,9 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="APIGateway:Client:ClientCertificates" %}} +{{% inspec-aws/aws_permissions_principal action="APIGateway:Client:ClientCertificates" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scalable_target.md b/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scalable_target.md index 3817f45d7..d281ce631 100644 --- a/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scalable_target.md +++ b/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scalable_target.md @@ -14,9 +14,9 @@ Use the `aws_application_autoscaling_scalable_target` InSpec audit resource to t For additional information, including details on parameters and properties, see the [AWS ApplicationAutoScaling ScalableTarget documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -84,7 +84,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ApplicationAutoScaling:Client:DescribeScalableTargetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ApplicationAutoScaling:Client:DescribeScalableTargetsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scalable_targets.md b/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scalable_targets.md index 2b135f28b..f49afe48d 100644 --- a/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scalable_targets.md +++ b/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scalable_targets.md @@ -14,9 +14,9 @@ Use the `aws_application_autoscaling_scalable_targets` InSpec audit resource to For additional information, including details on parameters and properties, see the [AWS ApplicationAutoScaling ScalableTarget documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalabletarget.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -78,7 +78,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -104,4 +104,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ApplicationAutoScaling:Client:DescribeScalableTargetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ApplicationAutoScaling:Client:DescribeScalableTargetsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scaling_policies.md b/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scaling_policies.md index 215dad4d0..66b149dd4 100644 --- a/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scaling_policies.md +++ b/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scaling_policies.md @@ -14,9 +14,9 @@ Use the `aws_application_autoscaling_scaling_policies` InSpec audit resource to For additional information, including details on parameters and properties, see the [AWS ApplicationAutoScaling ScalingPolicy documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -112,4 +112,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ApplicationAutoScaling:Client:DescribeScalingPoliciesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ApplicationAutoScaling:Client:DescribeScalingPoliciesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scaling_policy.md b/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scaling_policy.md index 9d14d78e6..40d7554ce 100644 --- a/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scaling_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_application_autoscaling_scaling_policy.md @@ -14,9 +14,9 @@ Use the `aws_application_autoscaling_scaling_policy` InSpec audit resource to te For additional information, including details on parameters and properties, see the [AWS ApplicationAutoScaling ScalingPolicy documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-applicationautoscaling-scalingpolicy.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -143,7 +143,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -169,4 +169,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ApplicationAutoScaling:Client:DescribeScalingPoliciesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ApplicationAutoScaling:Client:DescribeScalingPoliciesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_athena_work_group.md b/docs-chef-io/content/inspec/resources/aws_athena_work_group.md index f108d6d61..be5b49f2b 100644 --- a/docs-chef-io/content/inspec/resources/aws_athena_work_group.md +++ b/docs-chef-io/content/inspec/resources/aws_athena_work_group.md @@ -14,9 +14,9 @@ Use the `aws_athena_work_group` InSpec audit resource to test properties of a si For additional information, including details on parameters and properties, see the [AWS Athena workgroup documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,7 +88,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -122,4 +122,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Athena:Client:GetWorkGroupOutput" %}} +{{% inspec-aws/aws_permissions_principal action="Athena:Client:GetWorkGroupOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_athena_work_groups.md b/docs-chef-io/content/inspec/resources/aws_athena_work_groups.md index 3036765db..98b37c3b5 100644 --- a/docs-chef-io/content/inspec/resources/aws_athena_work_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_athena_work_groups.md @@ -14,9 +14,9 @@ Use the `aws_athena_work_groups` InSpec audit resource to test properties of mul For additional information, including details on parameters and properties, see the [AWS Athena workgroup documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -64,7 +64,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Athena:Client:ListWorkGroupsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="Athena:Client:ListWorkGroupsOutput" %}} 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 f8c6874b3..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 @@ -14,9 +14,9 @@ Use the `aws_auto_scaling_group` InSpec audit resource to test properties of a s For additional information, including details on parameters and properties, see the [AWS documentation on Auto Scaling Group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,7 +88,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -110,6 +112,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="AutoScaling:Client:AutoScalingGroupsType" %}} +{{% inspec-aws/aws_permissions_principal action="AutoScaling:Client:AutoScalingGroupsType" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Auto Scaling Groups](https://docs.aws.amazon.com/autoscaling/ec2/userguide/control-access-using-iam.html). diff --git a/docs-chef-io/content/inspec/resources/aws_auto_scaling_groups.md b/docs-chef-io/content/inspec/resources/aws_auto_scaling_groups.md index 4756b215c..9eb9b1fab 100644 --- a/docs-chef-io/content/inspec/resources/aws_auto_scaling_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_auto_scaling_groups.md @@ -14,9 +14,9 @@ Use the `aws_auto_scaling_groups` InSpec audit resource to test the properties o For additional information, including details on parameters and properties, see the [AWS documentation on Auto Scaling Group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,7 +71,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -93,5 +93,5 @@ end ## AWS Permissions -{{% aws_permissions_principal action="AutoScaling:Client:AutoScalingGroupsType" %}} +{{% inspec-aws/aws_permissions_principal action="AutoScaling:Client:AutoScalingGroupsType" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Auto Scaling Groups](https://docs.aws.amazon.com/autoscaling/ec2/userguide/control-access-using-iam.html). diff --git a/docs-chef-io/content/inspec/resources/aws_autoscaling_scaling_policies.md b/docs-chef-io/content/inspec/resources/aws_autoscaling_scaling_policies.md index 0efc51cfa..e9ef0f652 100644 --- a/docs-chef-io/content/inspec/resources/aws_autoscaling_scaling_policies.md +++ b/docs-chef-io/content/inspec/resources/aws_autoscaling_scaling_policies.md @@ -14,9 +14,9 @@ Use the `aws_autoscaling_scaling_policies` InSpec audit resource to test propert For additional information, including details on parameters and properties, see the [AWS AutoScaling Scaling Policy documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -126,4 +126,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="AutoScaling:client:PoliciesType" %}} +{{% inspec-aws/aws_permissions_principal action="AutoScaling:client:PoliciesType" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_autoscaling_scaling_policy.md b/docs-chef-io/content/inspec/resources/aws_autoscaling_scaling_policy.md index 76d8f7e32..460aacd4f 100644 --- a/docs-chef-io/content/inspec/resources/aws_autoscaling_scaling_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_autoscaling_scaling_policy.md @@ -14,9 +14,9 @@ Use the `aws_autoscaling_scaling_policy` InSpec audit resource to test propertie For additional information, including details on parameters and properties, see the [AWS AutoScaling Scaling Policy documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-as-policy.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -101,7 +101,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -135,4 +135,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="AutoScaling:client:PoliciesType" %}} +{{% inspec-aws/aws_permissions_principal action="AutoScaling:client:PoliciesType" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_batch_compute_environment.md b/docs-chef-io/content/inspec/resources/aws_batch_compute_environment.md index fe97126ef..577df5604 100644 --- a/docs-chef-io/content/inspec/resources/aws_batch_compute_environment.md +++ b/docs-chef-io/content/inspec/resources/aws_batch_compute_environment.md @@ -14,9 +14,9 @@ Use the `aws_batch_compute_environment` InSpec audit resource to test the proper For additional information, including details on parameters and properties, see the [AWS documentation on Batch compute environment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -136,7 +136,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -170,4 +170,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Batch:Client:DescribeComputeEnvironmentsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Batch:Client:DescribeComputeEnvironmentsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_batch_compute_environments.md b/docs-chef-io/content/inspec/resources/aws_batch_compute_environments.md index 509135a61..3dd5410e5 100644 --- a/docs-chef-io/content/inspec/resources/aws_batch_compute_environments.md +++ b/docs-chef-io/content/inspec/resources/aws_batch_compute_environments.md @@ -14,9 +14,9 @@ Use the `aws_batch_compute_environments` InSpec audit resource to test propertie For additional information, including details on parameters and properties, see the [AWS documentation on Batch compute environment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-computeenvironment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -115,4 +115,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Batch:Client:DescribeComputeEnvironmentsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Batch:Client:DescribeComputeEnvironmentsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_batch_job_definition.md b/docs-chef-io/content/inspec/resources/aws_batch_job_definition.md index 5711a0077..9a0721060 100644 --- a/docs-chef-io/content/inspec/resources/aws_batch_job_definition.md +++ b/docs-chef-io/content/inspec/resources/aws_batch_job_definition.md @@ -16,9 +16,9 @@ The AWS::Batch::JobDefinition resource specifies the parameters for an AWS Batch For additional information, including details on parameters and properties, see the [AWS documentation on Batch Job Definition](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobdefinition.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -163,7 +163,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -197,4 +197,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Batch:Client:DescribeJobDefinitionsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Batch:Client:DescribeJobDefinitionsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_batch_job_definitions.md b/docs-chef-io/content/inspec/resources/aws_batch_job_definitions.md index 1cf13b138..98fb1290b 100644 --- a/docs-chef-io/content/inspec/resources/aws_batch_job_definitions.md +++ b/docs-chef-io/content/inspec/resources/aws_batch_job_definitions.md @@ -16,9 +16,9 @@ The AWS::Batch::JobDefinition resource specifies the parameters for an AWS Batch For additional information, including details on parameters and properties, see the [AWS documentation on Batch Job Definition](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Batch:Client:DescribeJobDefinitionsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Batch:Client:DescribeJobDefinitionsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_batch_job_queue.md b/docs-chef-io/content/inspec/resources/aws_batch_job_queue.md index dd5503bc5..78674b337 100644 --- a/docs-chef-io/content/inspec/resources/aws_batch_job_queue.md +++ b/docs-chef-io/content/inspec/resources/aws_batch_job_queue.md @@ -14,9 +14,9 @@ Use the `aws_batch_job_queue` InSpec audit resource to test the properties of a For additional information, including details on parameters and properties, see the [AWS Batch job queues documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Batch:Client:DescribeJobQueuesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Batch:Client:DescribeJobQueuesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_batch_job_queues.md b/docs-chef-io/content/inspec/resources/aws_batch_job_queues.md index 5a24e0ce0..08f8546b8 100644 --- a/docs-chef-io/content/inspec/resources/aws_batch_job_queues.md +++ b/docs-chef-io/content/inspec/resources/aws_batch_job_queues.md @@ -14,9 +14,9 @@ Use the `aws_batch_job_queues` InSpec audit resource to test the properties of m For additional information, including details on parameters and properties, see the [AWS Batch job queues documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-batch-jobqueue.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -75,7 +75,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -109,4 +109,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Batch:Client:DescribeJobQueuesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Batch:Client:DescribeJobQueuesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloud_formation_stack_set.md b/docs-chef-io/content/inspec/resources/aws_cloud_formation_stack_set.md index b7cf4e4bc..83f64eda4 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloud_formation_stack_set.md +++ b/docs-chef-io/content/inspec/resources/aws_cloud_formation_stack_set.md @@ -14,9 +14,9 @@ Use the `aws_cloud_formation_stack_set` InSpec audit resource to test properties For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFormation stack set](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -151,7 +151,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -177,4 +177,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFormation:Client:DescribeStackSetOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFormation:Client:DescribeStackSetOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloud_formation_stack_sets.md b/docs-chef-io/content/inspec/resources/aws_cloud_formation_stack_sets.md index b7e2a43fe..c7770da62 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloud_formation_stack_sets.md +++ b/docs-chef-io/content/inspec/resources/aws_cloud_formation_stack_sets.md @@ -14,9 +14,9 @@ Use the `aws_cloud_formation_stack_sets` InSpec audit resource to test propertie For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFormation Stack Set.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudformation-stackset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -118,4 +118,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFormation:Client:ListStackSetsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFormation:Client:ListStackSetsOutput" %}} 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 fe04637cc..a72215898 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudformation_stack.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudformation_stack.md @@ -14,9 +14,9 @@ Use the `aws_cloudformation_stack ` InSpec audit resource to test properties of For additional information, including details on parameters and properties, see the [AWS documentation on Cloud Formation](https://docs.aws.amazon.com/AWSCloudFormation/latest/APIReference/Welcome.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,9 +121,9 @@ end ## Matchers -This InSpec audit resource has no special matchers. +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -{{% inspec_matchers_link %}} +This resource has the following special matchers. ### exist @@ -145,6 +145,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFormation:Client:DescribeStacksOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFormation:Client:DescribeStacksOutput" %}} You can find detailed documentation at [Authentication and Access Control for CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html) 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 1d4603e84..2849852e5 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudformation_stacks.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudformation_stacks.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_cloudformation_stacks` InSpec audit resource to test properties of an AWS CloudFormation stack in bulk. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -81,9 +81,9 @@ end ## Matchers -This InSpec audit resource has no special matchers. +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -{{% inspec_matchers_link %}} +This resource has the following special matchers. ### exist @@ -105,6 +105,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFormation:Client:DescribeStacksOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFormation:Client:DescribeStacksOutput" %}} You can find detailed documentation at [Authentication and Access Control for CloudFormation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/Welcome.html) 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 4e9b296c3..ae9af9a6f 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudformation_template.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudformation_template.md @@ -16,9 +16,9 @@ The above resource returns information about a new or existing template. For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFormation templates](https://aws.amazon.com/cloudformation/resources/templates/). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -164,9 +164,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -222,4 +222,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFormation:Client:GetTemplateSummaryOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFormation:Client:GetTemplateSummaryOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_cache_policies.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_cache_policies.md index 83ac71a1f..3b6d5e734 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_cache_policies.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_cache_policies.md @@ -14,9 +14,9 @@ Use the `aws_cloudfront_cache_policies` InSpec audit resource to test properties The `AWS::CloudFront::CachePolicy` resource describes the CloudFront cache policy. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -118,4 +118,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:ListCachePoliciesResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:ListCachePoliciesResult" %}} 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 be21e1f28..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 @@ -14,9 +14,9 @@ Use the `aws_cloudfront_cache_policy` InSpec audit resource to test properties o The `AWS::CloudFront::CachePolicy` resource describes the CloudFront cache policy. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -112,9 +112,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -146,4 +146,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetCachePolicyResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetCachePolicyResult" %}} 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 69aee3cea..e52f42b69 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_distribution.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_distribution.md @@ -14,9 +14,9 @@ Use the `aws_cloudfront_distribution` InSpec audit resource to test the properti For additional information, including details on parameters and properties, see the [AWS API reference for CloudFront distributions](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_distribution.html) documentation. For available SSL/TLS version identifiers, see [OriginSslProtocols](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_OriginSslProtocols.html) and [AWS::CloudFront::distribution ViewerCertificate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-distribution-viewercertificate.html) documentation. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,7 +102,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### have_viewer_protocol_policies_allowing_http @@ -188,6 +190,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetDistributionResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetDistributionResult" %}} You can find detailed documentation at [Identity and Access Management (IAM) in CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/auth-and-access-control.html). 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 124bfdcc3..93c77bf6d 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_distributions.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_distributions.md @@ -14,9 +14,9 @@ Use the `aws_cloudfront_distributions` InSpec audit resource to test the propert For additional information, including details on parameters and properties, see the [AWS API reference for CloudFront distributions](https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_distribution.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,9 +93,9 @@ end ## Matchers -This InSpec audit resource has no special matchers. +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -{{% inspec_matchers_link %}} +This resource has the following special matchers. ### exist @@ -111,6 +111,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:ListDistributionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:ListDistributionsResult" %}} You can find detailed documentation at [Identity and Access Management (IAM) in CloudFront](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/auth-and-access-control.html). 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 22e530dbf..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 @@ -14,9 +14,9 @@ Use the `aws_cloudfront_key_group` InSpec audit resource to test properties of a For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront key group.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keygroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,9 +71,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetKeyGroupResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetKeyGroupResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_key_groups.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_key_groups.md index 24c13eafd..51b924495 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_key_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_key_groups.md @@ -14,9 +14,9 @@ Use the `aws_cloudfront_key_groups` InSpec audit resource to test properties of For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront key group.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-keygroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,7 +79,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -103,4 +103,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:ListKeyGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:ListKeyGroupsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_access_identities.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_access_identities.md index 502ff63bb..792d30f49 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_access_identities.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_origin_access_identities.md @@ -16,9 +16,9 @@ An origin access identity is a special CloudFront user that you can associate wi For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront CloudFrontOriginAccessIdentity.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -100,4 +100,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:ListCloudFrontOriginAccessIdentitiesResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:ListCloudFrontOriginAccessIdentitiesResult" %}} 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 29960131b..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 @@ -16,9 +16,9 @@ An origin access identity is a special CloudFront user that you can associate wi For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront CloudFrontOriginAccessIdentity.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-cloudfrontoriginaccessidentity.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -70,9 +70,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -104,4 +104,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetCloudFrontOriginAccessIdentityResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetCloudFrontOriginAccessIdentityResult" %}} 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 67c2f1994..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 @@ -14,9 +14,9 @@ Use the `aws_cloudfront_origin_request_policy` InSpec audit resource to test pro For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront origin request policy.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-originrequestpolicy.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -95,9 +95,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -129,4 +129,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetOriginRequestPolicyResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetOriginRequestPolicyResult" %}} 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 9583b5f0e..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 @@ -16,9 +16,9 @@ The `AWS::CloudFront::PublicKey` resource type creates a public key that you can For additional information, including details on parameters and properties, see the [AWS documentation on AWS Logs public key.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,9 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetPublicKeyResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetPublicKeyResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_public_keys.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_public_keys.md index d423abce2..c2de36342 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_public_keys.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_public_keys.md @@ -16,9 +16,9 @@ The `AWS::CloudFront::PublicKey` resource type creates a public key that you can For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront public key.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-publickey.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:ListPublicKeysResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:ListPublicKeysResult" %}} 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 723e27d8d..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 @@ -16,9 +16,9 @@ The `AWS::CloudFront::RealtimeLogConfig` resource creates a real-time log config For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront RealtimeLogConfig.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-realtimelogconfig.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -98,9 +98,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -132,4 +132,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetRealtimeLogConfigResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetRealtimeLogConfigResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_realtime_log_configs.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_realtime_log_configs.md index 67a9653a1..5c5866af8 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_realtime_log_configs.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_realtime_log_configs.md @@ -16,9 +16,9 @@ The `AWS::CloudFront::RealtimeLogConfig` resource creates a real-time log config For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront RealtimeLogConfig.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-realtimelogconfig.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -81,7 +81,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -115,4 +115,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:ListRealtimeLogConfigsResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:ListRealtimeLogConfigsResult" %}} 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 a4f08c010..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 @@ -14,9 +14,9 @@ Use the `aws_cloudfront_streaming_distribution` InSpec audit resource to test pr For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront streaming distribution.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-streamingdistribution.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -131,9 +131,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -165,4 +165,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetStreamingDistributionResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetStreamingDistributionResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudfront_streaming_distributions.md b/docs-chef-io/content/inspec/resources/aws_cloudfront_streaming_distributions.md index 85995022a..32fd75c8d 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudfront_streaming_distributions.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudfront_streaming_distributions.md @@ -14,9 +14,9 @@ Use the `aws_cloudfront_streaming_distributions` InSpec audit resource to test p For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudFront streaming distribution.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudfront-streamingdistribution.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -109,7 +109,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -133,4 +133,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:ListStreamingDistributionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:ListStreamingDistributionsResult" %}} 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 3a520aa4d..d5d81dbe0 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudtrail_trail.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudtrail_trail.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_cloudtrail_trail` Chef InSpec audit resource to test properties of a single AWS CloudTrail trail. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -42,7 +42,7 @@ end : This resource expects a single parameter, the CloudTrail name which uniquely identifies it. This can be passed either as a string or as a `trail_name: 'value'` key-value entry in a hash. -See also the [AWS documentation on CloudTrail](https://docs.aws.amazon.com/cloudtrail/index.html#lang/en_us). +See the [AWS documentation on CloudTrail](https://docs.aws.amazon.com/cloudtrail/index.html#lang/en_us). ## Properties @@ -132,7 +132,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -194,6 +196,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudTrail:Client:DescribeTrailsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudTrail:Client:DescribeTrailsResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for AWS CloudTrail](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awscloudtrail.html). 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 95303aa82..a1fca9ce7 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudtrail_trails.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudtrail_trails.md @@ -14,9 +14,9 @@ Use the `aws_cloudtrail_trails` InSpec audit resource to test properties of a co For additional information, including details on parameters and properties, see the [AWS documentation on Auto Scaling Group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -63,7 +63,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -85,6 +87,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudTrail:Client:DescribeTrailsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudTrail:Client:DescribeTrailsResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for AWS CloudTrail](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awscloudtrail.html). 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 a54a72a13..48920811a 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_alarm.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_alarm.md @@ -14,9 +14,9 @@ Use the `aws_cloudwatch_alarm` InSpec audit resource to test properties of a sin **If more than one Alarm matches, an error will be raised.** -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -98,6 +100,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatch:Client:DescribeAlarmsForMetricOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatch:Client:DescribeAlarmsForMetricOutput" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon CloudWatch](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html). diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_anomaly_detector.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_anomaly_detector.md index 8aa99becf..580a1a0ce 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_anomaly_detector.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_anomaly_detector.md @@ -16,9 +16,9 @@ The `AWS::CloudWatch::AnomalyDetector` type specifies an anomaly detection band For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch AnomalyDetector.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -96,7 +96,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -130,4 +130,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatch:Client:DescribeAnomalyDetectorsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatch:Client:DescribeAnomalyDetectorsOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_anomaly_detectors.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_anomaly_detectors.md index 779d115a4..cf4f946a2 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_anomaly_detectors.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_anomaly_detectors.md @@ -16,9 +16,9 @@ The `AWS::CloudWatch::AnomalyDetector` type specifies an anomaly detection band For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch AnomalyDetector.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-anomalydetector.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatch:Client:DescribeAnomalyDetectorsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatch:Client:DescribeAnomalyDetectorsOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_composite_alarm.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_composite_alarm.md index acc6581ab..0c0189f6c 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_composite_alarm.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_composite_alarm.md @@ -16,9 +16,9 @@ The `AWS::CloudWatch::CompositeAlarm` resource type creates or updates a composi For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch composite alarm.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -105,7 +105,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -139,4 +139,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatch:Client:DescribeAlarmsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatch:Client:DescribeAlarmsOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_composite_alarms.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_composite_alarms.md index 29769a5b8..754e0d9aa 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_composite_alarms.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_composite_alarms.md @@ -16,9 +16,9 @@ The `AWS::CloudWatch::CompositeAlarm` resource type creates or updates a composi For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch composite alarm.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-compositealarm.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -129,7 +129,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -153,4 +153,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatch:Client:DescribeAlarmsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatch:Client:DescribeAlarmsOutput" %}} 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 ee3e91f08..39394dc30 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboard.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboard.md @@ -14,9 +14,9 @@ Use the `aws_cloudwatch_dashboard` InSpec audit resource to test properties of t For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch Dashboard.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -65,9 +65,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -89,4 +89,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatch:Client:GetDashboardOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatch:Client:GetDashboardOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboards.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboards.md index cad565ebb..e672e1d57 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboards.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_dashboards.md @@ -14,9 +14,9 @@ Use the `aws_cloudwatch_dashboards` InSpec audit resource to test properties of For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch dashboard.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-dashboard.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,7 +74,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatch:Client:ListDashboardsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatch:Client:ListDashboardsOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_insight_rules.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_insight_rules.md index 10ee5e4fa..3eccc2806 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_insight_rules.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_insight_rules.md @@ -14,9 +14,9 @@ Use the `aws_cloudwatch_insight_rules` InSpec audit resource to test properties For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch Insight rules.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-insightrule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,7 +74,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatch:Client:DescribeInsightRulesOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatch:Client:DescribeInsightRulesOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_log_group.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_log_group.md index 80c3b7c94..be7af47ee 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_log_group.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_log_group.md @@ -14,9 +14,9 @@ Use the `aws_cloudwatch_log_group` InSpec audit resource to test properties of a For additional information, including details on parameters and properties, see the [AWS documentation on CloudWatch Logs](https://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax 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 2ed90fd40..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 @@ -14,9 +14,9 @@ Use the `aws_cloudwatch_log_metric_filter` InSpec audit resource to search for a For additional information, including details on parameters and properties, see the [AWS documentation on CloudWatch](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -110,7 +110,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -132,6 +134,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeMetricFiltersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeMetricFiltersResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon CloudWatch](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazoncloudwatch.html). 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 b6064e204..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 @@ -14,9 +14,9 @@ Use the `aws_cloudwatch_metric_stream` InSpec audit resource to test properties For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch metric stream.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -75,9 +75,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -99,4 +99,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:GetMetricStreamsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:GetMetricStreamsOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatch_metric_streams.md b/docs-chef-io/content/inspec/resources/aws_cloudwatch_metric_streams.md index b90c89f82..60ee4b79e 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatch_metric_streams.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatch_metric_streams.md @@ -14,9 +14,9 @@ Use the `aws_cloudwatch_metric_streams` InSpec audit resource to test properties For additional information, including details on parameters and properties, see the [AWS documentation on AWS CloudWatch metric stream.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cloudwatch-metricstream.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -89,7 +89,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -113,4 +113,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudFront:Client:ListMetricStreamsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="CloudFront:Client:ListMetricStreamsOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_destination.md b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_destination.md index f082288b8..e8b381255 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_destination.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_destination.md @@ -16,9 +16,9 @@ The `AWS::Logs::Destination` resource type specifies a CloudWatch Logs destinati For additional information, including details on parameters and properties, see the [AWS documentation on AWS::Logs::Destination.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeDestinationsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeDestinationsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_destinations.md b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_destinations.md index 789ec4174..1ce0906f8 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_destinations.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_destinations.md @@ -16,9 +16,9 @@ The `AWS::Logs::Destination` resource type specifies a CloudWatch Logs destinati For additional information, including details on parameters and properties, see the [AWS documentation on AWS::Logs::Destination.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-destination.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeDestinationsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeDestinationsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_log_stream.md b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_log_stream.md index c13d6926e..c1328cf0d 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_log_stream.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_log_stream.md @@ -16,9 +16,9 @@ The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream For additional information, including details on parameters and properties, see the [AWS documentation on AWS Logs LogStream.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeLogStreamsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeLogStreamsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_log_streams.md b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_log_streams.md index 9faea50fe..6f189f51d 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_log_streams.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_log_streams.md @@ -16,9 +16,9 @@ The AWS::Logs::LogStream resource specifies an Amazon CloudWatch Logs log stream For additional information, including details on parameters and properties, see the [AWS documentation on AWS Logs LogStream.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-logstream.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -98,7 +98,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -122,4 +122,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeLogStreamsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeLogStreamsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_subscription_filter.md b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_subscription_filter.md index 6e0499f3b..87b819ab2 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_subscription_filter.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_subscription_filter.md @@ -16,9 +16,9 @@ The AWS::Logs::SubscriptionFilter specifies a subscription filter and associates For additional information, including details on parameters and properties, see the [AWS documentation on AWS Logs SubscriptionFilter.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeSubscriptionFiltersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeSubscriptionFiltersResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_subscription_filters.md b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_subscription_filters.md index 82de403c0..615ea11dc 100644 --- a/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_subscription_filters.md +++ b/docs-chef-io/content/inspec/resources/aws_cloudwatchlogs_subscription_filters.md @@ -16,9 +16,9 @@ The AWS::Logs::SubscriptionFilter specifies a subscription filter and associates For additional information, including details on parameters and properties, see the [AWS documentation on AWS Logs SubscriptionFilter.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-subscriptionfilter.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -127,4 +127,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeSubscriptionFiltersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeSubscriptionFiltersResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cognito_identity_pool.md b/docs-chef-io/content/inspec/resources/aws_cognito_identity_pool.md index 721c84412..00e154f88 100644 --- a/docs-chef-io/content/inspec/resources/aws_cognito_identity_pool.md +++ b/docs-chef-io/content/inspec/resources/aws_cognito_identity_pool.md @@ -14,9 +14,9 @@ Use the `aws_cognito_identity_pool` InSpec audit resource to test properties of For additional information, including details on parameters and properties, see the [AWS documentation on Cognito identity pool](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CognitoIdentity:Client:IdentityPool" %}} +{{% inspec-aws/aws_permissions_principal action="CognitoIdentity:Client:IdentityPool" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cognito_identity_pools.md b/docs-chef-io/content/inspec/resources/aws_cognito_identity_pools.md index 703c8f199..90ca28803 100644 --- a/docs-chef-io/content/inspec/resources/aws_cognito_identity_pools.md +++ b/docs-chef-io/content/inspec/resources/aws_cognito_identity_pools.md @@ -14,9 +14,9 @@ Use the `aws_cognito_identity_pools` InSpec audit resource to test properties of For additional information, including details on parameters and properties, see the [AWS documentation on Cognito identity pool](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-identitypool.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -60,7 +60,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -91,4 +91,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CognitoIdentity:Client:ListIdentityPoolsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CognitoIdentity:Client:ListIdentityPoolsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cognito_userpool.md b/docs-chef-io/content/inspec/resources/aws_cognito_userpool.md index 16d74f7a9..144b45488 100644 --- a/docs-chef-io/content/inspec/resources/aws_cognito_userpool.md +++ b/docs-chef-io/content/inspec/resources/aws_cognito_userpool.md @@ -14,9 +14,9 @@ Use the `aws_cognito_userpool` InSpec audit resource to test properties of a sin For additional information, including details on parameters and properties, see the [AWS documentation on Cognito user pool](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -140,7 +140,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -174,4 +174,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CognitoIdentityProvider:Client:DescribeUserPoolResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CognitoIdentityProvider:Client:DescribeUserPoolResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cognito_userpool_client.md b/docs-chef-io/content/inspec/resources/aws_cognito_userpool_client.md index 5c9dbd6b3..7c2c804c3 100644 --- a/docs-chef-io/content/inspec/resources/aws_cognito_userpool_client.md +++ b/docs-chef-io/content/inspec/resources/aws_cognito_userpool_client.md @@ -14,9 +14,9 @@ Use the `aws_cognito_userpool_client` InSpec audit resource to test properties o For additional information, including details on parameters and properties, see the [AWS documentation on Cognito user pool](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -145,7 +145,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -179,4 +179,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CognitoIdentityProvider:Client:DescribeUserPoolClientResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CognitoIdentityProvider:Client:DescribeUserPoolClientResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cognito_userpool_clients.md b/docs-chef-io/content/inspec/resources/aws_cognito_userpool_clients.md index e9c612594..4d41975bb 100644 --- a/docs-chef-io/content/inspec/resources/aws_cognito_userpool_clients.md +++ b/docs-chef-io/content/inspec/resources/aws_cognito_userpool_clients.md @@ -14,9 +14,9 @@ Use the `aws_cognito_userpool_clients` InSpec audit resource to test properties For additional information, including details on parameters and properties, see the [AWS documentation on Cognito user pool](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpoolclient.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -63,7 +63,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -97,4 +97,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CognitoIdentityProvider:Client:ListUserPoolClientsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CognitoIdentityProvider:Client:ListUserPoolClientsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_cognito_userpools.md b/docs-chef-io/content/inspec/resources/aws_cognito_userpools.md index 410338bbb..c8310a5f0 100644 --- a/docs-chef-io/content/inspec/resources/aws_cognito_userpools.md +++ b/docs-chef-io/content/inspec/resources/aws_cognito_userpools.md @@ -14,9 +14,9 @@ Use the `aws_cognito_userpools` InSpec audit resource to test properties of mult For additional information, including details on parameters and properties, see the [AWS documentation on Cognito user pool](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-cognito-userpool.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -106,4 +106,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CognitoIdentityProvider:Client:ListUserPoolsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CognitoIdentityProvider:Client:ListUserPoolsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_config_delivery_channel.md b/docs-chef-io/content/inspec/resources/aws_config_delivery_channel.md index 7e7f4a97c..230be7541 100644 --- a/docs-chef-io/content/inspec/resources/aws_config_delivery_channel.md +++ b/docs-chef-io/content/inspec/resources/aws_config_delivery_channel.md @@ -19,9 +19,9 @@ One delivery channel is allowed per region per AWS account, and the delivery cha For additional information, including details on parameters and properties, see the [AWS documentation on Delivery Channels](https://docs.aws.amazon.com/config/latest/developerguide/manage-delivery-channel.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -110,6 +110,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ConfigService:Client:DescribeDeliveryChannelsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ConfigService:Client:DescribeDeliveryChannelsResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for AWS Config](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awsconfig.html). diff --git a/docs-chef-io/content/inspec/resources/aws_config_recorder.md b/docs-chef-io/content/inspec/resources/aws_config_recorder.md index ae6a67fc3..325b9841c 100644 --- a/docs-chef-io/content/inspec/resources/aws_config_recorder.md +++ b/docs-chef-io/content/inspec/resources/aws_config_recorder.md @@ -18,9 +18,9 @@ As of April 2018, you are only permitted one configuration recorder per region. For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::Config::ConfigurationRecorder` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-config-configurationrecorder.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -134,6 +134,6 @@ it { should be_recording_all_global_types } ## AWS Permissions -{{% aws_permissions_principal action="ConfigService:Client:DescribeConfigurationRecordersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ConfigService:Client:DescribeConfigurationRecordersResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for AWS Config](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awsconfig.html). 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 43b18c6ab..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 @@ -18,9 +18,9 @@ This resource accepts a single parameter, the DB parameter group name. This can For additional information, including details on parameters and properties, see the [AWS documentation on DB parameter groups](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -88,6 +90,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBParameterGroupsMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBParameterGroupsMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). 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 1cff6a936..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 @@ -16,9 +16,9 @@ This resource does not expect any parameters. For additional information, including details on parameters and properties, see the [AWS documentation on DB parameter groups](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-dbparametergroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -62,7 +62,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -84,6 +86,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBParameterGroupsMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBParameterGroupsMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). 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 d9d8f4280..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_db_subnet_group` InSpec audit resource to test properties of a db subnet group. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -34,7 +34,7 @@ end : This resource accepts a single parameter, the DB Subnet Group Name. This can be passed either as a string or as a `aws_db_subnet_group: 'value'` key-value entry in a hash. -See also the [AWS documentation on DB Subnet Groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Subnets). +See the [AWS documentation on DB Subnet Groups](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_VPC.WorkingWithRDSInstanceinaVPC.html#USER_VPC.Subnets). ## Properties @@ -71,7 +71,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -93,6 +95,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBSubnetGroupMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBSubnetGroupMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). \ No newline at end of file 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 65408a6eb..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 @@ -14,9 +14,9 @@ Use the `aws_db_subnet_groups` InSpec audit resource to test properties of a col RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, or Amazon Aurora database server. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -88,6 +90,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBSubnetGroupMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBSubnetGroupMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). \ No newline at end of file diff --git a/docs-chef-io/content/inspec/resources/aws_dhcp_options.md b/docs-chef-io/content/inspec/resources/aws_dhcp_options.md index dc56a6254..974f7e5ff 100644 --- a/docs-chef-io/content/inspec/resources/aws_dhcp_options.md +++ b/docs-chef-io/content/inspec/resources/aws_dhcp_options.md @@ -17,9 +17,9 @@ Use the `aws_dhcp_options` InSpec audit resource to test properties of a single For additional information, including details on parameters and properties, see the [AWS documentation on EC2](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeDhcpOptions.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,6 +71,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeDhcpOptionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeDhcpOptionsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_dms_endpoint.md b/docs-chef-io/content/inspec/resources/aws_dms_endpoint.md index 3d7f50905..45e289aa0 100644 --- a/docs-chef-io/content/inspec/resources/aws_dms_endpoint.md +++ b/docs-chef-io/content/inspec/resources/aws_dms_endpoint.md @@ -14,9 +14,9 @@ Use the `aws_dms_endpoint` InSpec audit resource to test properties of a single For additional information, including details on parameters and properties, see the [AWS documentation on DMS endpoints](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -155,7 +155,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -189,4 +189,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="DatabaseMigrationService:Client:DescribeEndpointsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="DatabaseMigrationService:Client:DescribeEndpointsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_dms_endpoints.md b/docs-chef-io/content/inspec/resources/aws_dms_endpoints.md index e7e1ae54c..08d9f8abf 100644 --- a/docs-chef-io/content/inspec/resources/aws_dms_endpoints.md +++ b/docs-chef-io/content/inspec/resources/aws_dms_endpoints.md @@ -14,9 +14,9 @@ Use the `aws_dms_endpoints` InSpec audit resource to test properties of a single For additional information, including details on parameters and properties, see the [AWS documentation on DMS Endpoint](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-endpoint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -153,7 +153,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -187,4 +187,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="DatabaseMigrationService:Client:DescribeEndpointsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="DatabaseMigrationService:Client:DescribeEndpointsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_dms_replication_instance.md b/docs-chef-io/content/inspec/resources/aws_dms_replication_instance.md index a69f3407a..c634b55c1 100644 --- a/docs-chef-io/content/inspec/resources/aws_dms_replication_instance.md +++ b/docs-chef-io/content/inspec/resources/aws_dms_replication_instance.md @@ -16,9 +16,9 @@ The AWS::DMS::ReplicationInstance resource creates an AWS DMS replication instan For additional information, including details on parameters and properties, see the [AWS documentation on DMS replication instances](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="DatabaseMigrationService:Client:DescribeOrderableReplicationInstancesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="DatabaseMigrationService:Client:DescribeOrderableReplicationInstancesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_dms_replication_instances.md b/docs-chef-io/content/inspec/resources/aws_dms_replication_instances.md index 0b087477b..ffdba0cd9 100644 --- a/docs-chef-io/content/inspec/resources/aws_dms_replication_instances.md +++ b/docs-chef-io/content/inspec/resources/aws_dms_replication_instances.md @@ -16,9 +16,9 @@ The AWS::DMS::ReplicationInstance resource creates an AWS DMS replication instan For additional information, including details on parameters and properties, see the [AWS documentation on DMS Replication Instance](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationinstance.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="DatabaseMigrationService:Client:DescribeOrderableReplicationInstancesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="DatabaseMigrationService:Client:DescribeOrderableReplicationInstancesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_dms_replication_subnet_group.md b/docs-chef-io/content/inspec/resources/aws_dms_replication_subnet_group.md index 958c956db..e8ae3133c 100644 --- a/docs-chef-io/content/inspec/resources/aws_dms_replication_subnet_group.md +++ b/docs-chef-io/content/inspec/resources/aws_dms_replication_subnet_group.md @@ -14,9 +14,9 @@ Use the `aws_dms_replication_subnet_group` InSpec audit resource to test propert For additional information, including details on parameters and properties, see the [AWS documentation on DMS Replication Subnet Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,7 +71,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="DatabaseMigrationService:Client:DescribeReplicationSubnetGroupsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="DatabaseMigrationService:Client:DescribeReplicationSubnetGroupsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_dms_replication_subnet_groups.md b/docs-chef-io/content/inspec/resources/aws_dms_replication_subnet_groups.md index 37ae9bcb3..ad999a0b7 100644 --- a/docs-chef-io/content/inspec/resources/aws_dms_replication_subnet_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_dms_replication_subnet_groups.md @@ -14,9 +14,9 @@ Use the `aws_dms_replication_subnet_groups` InSpec audit resource to test proper For additional information, including details on parameters and properties, see the [AWS documentation on DMS Replication Subnet Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-dms-replicationsubnetgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -69,7 +69,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -103,4 +103,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="DatabaseMigrationService:Client:DescribeReplicationSubnetGroupsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="DatabaseMigrationService:Client:DescribeReplicationSubnetGroupsResponse" %}} 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 e3d97cee1..9b6ceec95 100644 --- a/docs-chef-io/content/inspec/resources/aws_dynamodb_table.md +++ b/docs-chef-io/content/inspec/resources/aws_dynamodb_table.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_dynamodb_table` InSpec audit resource to test properties of a single DynamoDb Table. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -120,7 +120,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. #### be_encrypted @@ -150,6 +152,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="DynamoDB:Client:DescribeTableOutput" %}} +{{% inspec-aws/aws_permissions_principal action="DynamoDB:Client:DescribeTableOutput" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Dynamodb](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazondynamodb.html). 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 65e1313b1..67f4c7577 100644 --- a/docs-chef-io/content/inspec/resources/aws_dynamodb_tables.md +++ b/docs-chef-io/content/inspec/resources/aws_dynamodb_tables.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_dynamodb_table` InSpec audit resource to test properties of a collection of AWS DynamoDB Table. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -96,6 +98,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="DynamoDB:Client:ListTablesOutput" %}} +{{% inspec-aws/aws_permissions_principal action="DynamoDB:Client:ListTablesOutput" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Dynamodb](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazondynamodb.html). 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 954bc8fe8..421e00c72 100644 --- a/docs-chef-io/content/inspec/resources/aws_ebs_snapshot.md +++ b/docs-chef-io/content/inspec/resources/aws_ebs_snapshot.md @@ -15,9 +15,9 @@ incremental backups of AWS EBS volumes that are saved to AWS S3. For additional information, including details on parameters and properties, see the [AWS documentation on EBS Snapshots](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSSnapshots.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -132,7 +132,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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_ebs_snapshots.md b/docs-chef-io/content/inspec/resources/aws_ebs_snapshots.md index 6240fdf3c..cb3bb78de 100644 --- a/docs-chef-io/content/inspec/resources/aws_ebs_snapshots.md +++ b/docs-chef-io/content/inspec/resources/aws_ebs_snapshots.md @@ -14,9 +14,9 @@ Use the `aws_ebs_snapshots` InSpec audit resource to test properties of a collec For additional information, including details on parameters and properties, see the [AWS documentation on EBS Snapshots](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSsnapshots.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -94,6 +96,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client::DescribeSnapshotsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client::DescribeSnapshotsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 c600cc0e5..7a6a93174 100644 --- a/docs-chef-io/content/inspec/resources/aws_ebs_volume.md +++ b/docs-chef-io/content/inspec/resources/aws_ebs_volume.md @@ -14,9 +14,9 @@ Use the `aws_ebs_volume` InSpec audit resource to test the properties of a singl For additional information, including details on parameters and properties, see the [AWS documentation on EBS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,7 +102,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -132,6 +134,6 @@ it { should be_encrypted } ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVolumesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVolumesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 6347e7216..86c1b73e2 100644 --- a/docs-chef-io/content/inspec/resources/aws_ebs_volumes.md +++ b/docs-chef-io/content/inspec/resources/aws_ebs_volumes.md @@ -16,9 +16,9 @@ EBS volumes are persistent block storage volumes for Amazon EC2 instances in the For additional information, including details on parameters and properties, see the [AWS documentation on EBS](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AmazonEBS.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -110,7 +110,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -132,5 +134,5 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVolumesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVolumesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_capacity_reservation.md b/docs-chef-io/content/inspec/resources/aws_ec2_capacity_reservation.md index d59dd4583..41432061d 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_capacity_reservation.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_capacity_reservation.md @@ -16,9 +16,9 @@ The `AWS::EC2::CapacityReservation` resource type creates a new Capacity Reserva For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Capacity Reservation.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -118,7 +118,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -152,4 +152,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeCapacityReservationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeCapacityReservationsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_capacity_reservations.md b/docs-chef-io/content/inspec/resources/aws_ec2_capacity_reservations.md index fb4e60b05..f66e5244c 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_capacity_reservations.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_capacity_reservations.md @@ -16,9 +16,9 @@ The `AWS::EC2::CapacityReservation` resource type creates a new Capacity Reserva For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Capacity Reservation.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-capacityreservation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -156,7 +156,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -180,4 +180,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeCapacityReservationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeCapacityReservationsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_carrier_gateway.md b/docs-chef-io/content/inspec/resources/aws_ec2_carrier_gateway.md index ef4a533ee..7e438135d 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_carrier_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_carrier_gateway.md @@ -20,9 +20,9 @@ The AWS::EC2::CarrierGateway resource creates a carrier gateway. For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Carrier Gateway](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-carriergateway.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -77,7 +77,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -111,4 +111,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeCarrierGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeCarrierGatewaysResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_carrier_gateways.md b/docs-chef-io/content/inspec/resources/aws_ec2_carrier_gateways.md index 5ebde6932..7cea57d38 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_carrier_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_carrier_gateways.md @@ -16,9 +16,9 @@ The AWS::EC2::CarrierGateway resource creates a carrier gateway. For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Carrier Gateway](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-carriergateway.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -81,7 +81,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeCarrierGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeCarrierGatewaysResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_authorization_rule.md b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_authorization_rule.md index c03d308b5..2634d8eec 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_authorization_rule.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_authorization_rule.md @@ -16,9 +16,9 @@ The `AWS::EC2::ClientVpnAuthorizationRule` specifies an ingress authorization ru For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Client VPN authorization rule.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnauthorizationrule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeClientVpnAuthorizationRulesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeClientVpnAuthorizationRulesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_authorization_rules.md b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_authorization_rules.md index 5f665cc2a..807f2d907 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_authorization_rules.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_authorization_rules.md @@ -16,9 +16,9 @@ The AWS::EC2::ClientVpnAuthorizationRule specifies an ingress authorization rule For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Client VPN authorization rule.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnauthorizationrule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -127,4 +127,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeClientVpnAuthorizationRulesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeClientVpnAuthorizationRulesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_endpoint.md b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_endpoint.md index 8e0bf19e6..6082c7f89 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_endpoint.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_endpoint.md @@ -16,9 +16,9 @@ The `AWS::EC2::ClientVpnEndpoint` specifies a Client VPN endpoint. For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 ClientVpnEndpoint.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -160,7 +160,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -194,4 +194,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeClientVpnEndpointsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeClientVpnEndpointsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_endpoints.md b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_endpoints.md index b0910e834..e12aaa493 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_endpoints.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_endpoints.md @@ -16,9 +16,9 @@ The `AWS::EC2::ClientVpnEndpoint` specifies a Client VPN endpoint. For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 ClientVpnEndpoint.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnendpoint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -226,7 +226,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -260,4 +260,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeClientVpnEndpointsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeClientVpnEndpointsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_route.md b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_route.md index d794402e7..173148c41 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_route.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_route.md @@ -16,9 +16,9 @@ The `AWS::EC2::ClientVpnRoute` specifies a network route to add to a Client VPN For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 ClientVpnRoute.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,7 +102,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -136,4 +136,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeClientVpnRoutesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeClientVpnRoutesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_routes.md b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_routes.md index 3c84b736a..48abe7dd6 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_routes.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_routes.md @@ -16,9 +16,9 @@ The `AWS::EC2::ClientVpnRoute` specifies a network route to add to a Client VPN For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 ClientVpnRoute.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpnroute.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -98,7 +98,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -132,4 +132,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeClientVpnRoutesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeClientVpnRoutesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_target_network_association.md b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_target_network_association.md index 69b825213..df2f2f351 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_target_network_association.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_target_network_association.md @@ -16,9 +16,9 @@ The `AWS::EC2::ClientVpnTargetNetworkAssociation` checks if a target network to For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Client VPN target network association.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpntargetnetworkassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeClientVpnTargetNetworksResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeClientVpnTargetNetworksResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_target_network_associations.md b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_target_network_associations.md index 2447dc6a2..fb6822a6b 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_target_network_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_client_vpn_target_network_associations.md @@ -16,9 +16,9 @@ The `AWS::EC2::ClientVpnTargetNetworkAssociation` specifies a target network to For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 ClientVpnTargetNetworkAssociation.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-clientvpntargetnetworkassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -127,4 +127,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeClientVpnTargetNetworksResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeClientVpnTargetNetworksResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_customer_gateway.md b/docs-chef-io/content/inspec/resources/aws_ec2_customer_gateway.md index 7840f02ee..712473cba 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_customer_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_customer_gateway.md @@ -16,9 +16,9 @@ The `AWS::EC2::CustomerGateway` resource type specifies a customer gateway. For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 customer gateway](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customer-gateway.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -82,7 +82,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -116,4 +116,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeCustomerGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeCustomerGatewaysResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_customer_gateways.md b/docs-chef-io/content/inspec/resources/aws_ec2_customer_gateways.md index 71a74b0c3..19ba77b84 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_customer_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_customer_gateways.md @@ -16,9 +16,9 @@ The `AWS::EC2::CustomerGateway` resource type specifies a customer gateway. For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 customer gateway](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-customer-gateway.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -96,7 +96,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -130,4 +130,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeCustomerGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeCustomerGatewaysResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_dhcp_option.md b/docs-chef-io/content/inspec/resources/aws_ec2_dhcp_option.md index b96838162..f65861b63 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_dhcp_option.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_dhcp_option.md @@ -14,9 +14,9 @@ Use the `aws_ec2_dhcp_option` InSpec audit resource to test the properties of a For additional information, including details on parameters and properties, see the [AWS documentation on EC2](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeDhcpOptions.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -87,6 +87,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeDhcpOptionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeDhcpOptionsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_dhcp_options.md b/docs-chef-io/content/inspec/resources/aws_ec2_dhcp_options.md index a8d3858fb..c15b7b231 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_dhcp_options.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_dhcp_options.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_dhcp_options` InSpec audit resource to test properties of multiple AWS DHCP options sets. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -59,6 +59,6 @@ This resource does not have any examples. ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeDhcpOptionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeDhcpOptionsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_egress_only_internet_gateway.md b/docs-chef-io/content/inspec/resources/aws_ec2_egress_only_internet_gateway.md index 5814d7477..af9e600ed 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_egress_only_internet_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_egress_only_internet_gateway.md @@ -14,9 +14,9 @@ Use the `aws_ec2_egress_only_internet_gateway` InSpec audit resource to test pro The `AWS::EC2::EgressOnlyInternetGateway` specifies an egress-only internet gateway for your VPC. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -73,7 +73,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -107,4 +107,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeEgressOnlyInternetGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeEgressOnlyInternetGatewaysResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_egress_only_internet_gateways.md b/docs-chef-io/content/inspec/resources/aws_ec2_egress_only_internet_gateways.md index 8d0e95871..d17bae1f1 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_egress_only_internet_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_egress_only_internet_gateways.md @@ -14,9 +14,9 @@ Use the `aws_ec2_egress_only_internet_gateways` InSpec audit resource to test pr The `AWS::EC2::EgressOnlyInternetGateway` specifies an egress-only internet gateway for your VPC. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,7 +79,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -113,4 +113,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeEgressOnlyInternetGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeEgressOnlyInternetGatewaysResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_eip.md b/docs-chef-io/content/inspec/resources/aws_ec2_eip.md index 42097beca..2ceec434e 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_eip.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_eip.md @@ -16,9 +16,9 @@ An Elastic IP (EIP) is uniquely identified by the public IPv4 address, for examp For additional information, including details on parameters and properties, see the [AWS documentation on Elastic IP (EIP)](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -128,6 +128,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeAddressesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeAddressesResult" %}} See the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation for additional information. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_eip_association.md b/docs-chef-io/content/inspec/resources/aws_ec2_eip_association.md index 2a180d32d..c9ff7dc49 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_eip_association.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_eip_association.md @@ -20,9 +20,9 @@ The association ID for the address. For additional information, including details on parameters and properties, see the [AWS documentation on AWS Elastic IP association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -57,7 +57,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -91,6 +91,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeAddressesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeAddressesResult" %}} See the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation for additional information. 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 cb6e04e62..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 @@ -16,9 +16,9 @@ This resource does not expect any parameters. For additional information, including details on parameters and properties, see the [AWS documentation on AWS Elastic IP association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip-association.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -53,7 +53,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -77,6 +79,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeAddressesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeAddressesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). 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 c86dee1de..79d5809ec 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_eips.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_eips.md @@ -16,9 +16,9 @@ This resource does not expect any parameters. For additional information, including details on parameters and properties, see the [AWS documentation on Elastic IP (EIP)](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -96,7 +96,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -112,6 +114,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeAddressesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeAddressesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_fleet.md b/docs-chef-io/content/inspec/resources/aws_ec2_fleet.md index 1c0375311..51bb88ad2 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_fleet.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_fleet.md @@ -16,9 +16,9 @@ The `AWS::EC2::SpotFleet` resource specifies the configuration information to la For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Fleet.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ec2fleet.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -166,7 +166,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -200,4 +200,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeFleetsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeFleetsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_fleets.md b/docs-chef-io/content/inspec/resources/aws_ec2_fleets.md index 5c415b2e0..f024a0481 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_fleets.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_fleets.md @@ -16,9 +16,9 @@ The `AWS::EC2::SpotFleet` resource specifies the configuration information to la For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Fleet.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-ec2fleet.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -156,7 +156,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -190,4 +190,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeFleetsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeFleetsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_host.md b/docs-chef-io/content/inspec/resources/aws_ec2_host.md index 2ad6c368e..b804745df 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_host.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_host.md @@ -16,9 +16,9 @@ The `AWS::EC2::host` allocates a fully dedicated physical server for launching E For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 host.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -124,7 +124,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -158,4 +158,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeHostsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeHostsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_hosts.md b/docs-chef-io/content/inspec/resources/aws_ec2_hosts.md index 60f8c3ff7..fc87b6c58 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_hosts.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_hosts.md @@ -16,9 +16,9 @@ The `AWS::EC2::host` allocates a fully dedicated physical server for launching E For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 host.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-host.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -141,7 +141,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -175,4 +175,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeHostsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeHostsResult" %}} 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 5650f4a1b..38992cfa5 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_instance.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_instance.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_instance` InSpec audit resource to test properties of a single AWS EC2 instance. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -126,8 +126,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -214,6 +215,6 @@ it { should be_unknown } ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeInstancesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeInstancesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_instances.md b/docs-chef-io/content/inspec/resources/aws_ec2_instances.md index 9e57444c4..5ed5b31b7 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_instances.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_instances.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_instances` InSpec audit resource to test properties of some or all AWS EC2 instances. To audit a single EC2 instance, use `aws_ec2_instance` (singular). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -137,7 +137,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ### exist @@ -160,6 +160,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeInstancesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeInstancesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_internet_gateway.md b/docs-chef-io/content/inspec/resources/aws_ec2_internet_gateway.md index 7326deb85..7c37e8bd1 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_internet_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_internet_gateway.md @@ -16,9 +16,9 @@ The `AWS::EC2::InternetGateway` resource allocates an internet gateway for use w For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 internet gateway](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -92,7 +92,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -126,4 +126,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeInternetGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeInternetGatewaysResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_internet_gateways.md b/docs-chef-io/content/inspec/resources/aws_ec2_internet_gateways.md index 24c5e7de3..be6f1321c 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_internet_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_internet_gateways.md @@ -16,9 +16,9 @@ The `AWS::EC2::InternetGateway` resource allocates an internet gateway for use w For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 internet gateway](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-internetgateway.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,7 +102,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -126,4 +126,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeInternetGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeInternetGatewaysResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_launch_template.md b/docs-chef-io/content/inspec/resources/aws_ec2_launch_template.md index d2ab6d91b..56aeed821 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_launch_template.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_launch_template.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_launch_template` InSpec audit resource to test properties of a single AWS Launch Template. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_launch_templates.md b/docs-chef-io/content/inspec/resources/aws_ec2_launch_templates.md index 55feb433c..697704d34 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_launch_templates.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_launch_templates.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_launch_templates` InSpec audit resource to test properties of a all the AWS Launch templates. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,4 +79,4 @@ There are also additional properties available. For a comprehensive list, see [t ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_analysis.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_analysis.md index ddfc36c90..4110ecb1f 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_analysis.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_analysis.md @@ -16,9 +16,9 @@ The `AWS::EC2::NetworkInsightsAnalysis` resource specifies a network insights an For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Network Insights Analysis](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -97,7 +97,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -131,4 +131,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInsightsAnalysesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInsightsAnalysesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_analysis_plural.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_analysis_plural.md index 059161d20..40c8eddb9 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_analysis_plural.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_analysis_plural.md @@ -16,9 +16,9 @@ The `AWS::EC2::NetworkInsightsAnalysis` resource specifies a network insights an For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Network Insights Analysis](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightsanalysis.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,7 +121,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -145,4 +145,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInsightsAnalysesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInsightsAnalysesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_path.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_path.md index 0066360bb..e3c2435a0 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_path.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_path.md @@ -16,9 +16,9 @@ The `AWS::EC2::NetworkInsightsPath` resource specifies a path to analyze for rea For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 network insights path](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,7 +88,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -122,4 +122,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInsightsPathsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInsightsPathsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_paths.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_paths.md index 2311d3ee5..ece8b2f88 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_paths.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_insights_paths.md @@ -16,9 +16,9 @@ The `AWS::EC2::NetworkInsightsPath` resource specifies a path to analyze for rea For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 network insights path](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinsightspath.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -106,7 +106,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -130,4 +130,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInsightsPathsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInsightsPathsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface.md index b82db3543..a5c7c12c0 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface.md @@ -16,9 +16,9 @@ The `AWS::EC2::NetworkInterface` resource describes a network interface in an El For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 network interface](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -163,7 +163,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -197,4 +197,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_attachment.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_attachment.md index 9a676ce54..090dfdd4f 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_attachment.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_attachment.md @@ -16,9 +16,9 @@ The `AWS::EC2::NetworkInterfaceAttachment` resource attaches an elastic network For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 network interface attachment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface-attachment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -82,7 +82,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -116,4 +116,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_attachments.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_attachments.md index 0a5cfab88..04cde16a9 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_attachments.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_attachments.md @@ -16,9 +16,9 @@ The `AWS::EC2::NetworkInterfaceAttachment` resource attaches an elastic network For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda Function](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-function.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -96,7 +96,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_permission.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_permission.md index d907b5e64..8057b0b2e 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_permission.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_permission.md @@ -14,9 +14,9 @@ Use the `aws_ec2_network_interface_permission` InSpec audit resource to test the For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Network Interface Permission](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-networkinterfacepermission.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,7 +71,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacePermissionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacePermissionsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_permissions.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_permissions.md index 9e48f88bb..e53b8a049 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_permissions.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_interface_permissions.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_network_interface_permissions` InSpec audit resource to test properties of multiple AWS EC2 network interface permission. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,7 +79,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -113,4 +113,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacePermissionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacePermissionsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_network_interfaces.md b/docs-chef-io/content/inspec/resources/aws_ec2_network_interfaces.md index e23609e82..c9cb0e14f 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_network_interfaces.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_network_interfaces.md @@ -16,9 +16,9 @@ The `AWS::EC2::NetworkInterface` resource describes a network interface in an El For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 network interface](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-network-interface.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -161,7 +161,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -185,4 +185,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkInterfacesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_placement_group.md b/docs-chef-io/content/inspec/resources/aws_ec2_placement_group.md index 3855b9070..85b2c1d2b 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_placement_group.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_placement_group.md @@ -16,9 +16,9 @@ The `AWS::EC2::PlacementGroup` resource type specifies a placement group in whic For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 placement group.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribePlacementGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribePlacementGroupsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_placement_groups.md b/docs-chef-io/content/inspec/resources/aws_ec2_placement_groups.md index 59680df09..e21a0df8b 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_placement_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_placement_groups.md @@ -16,9 +16,9 @@ The `AWS::EC2::PlacementGroup` resource type specifies a placement group in whic For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 placement group.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-placementgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribePlacementGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribePlacementGroupsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_prefix_list.md b/docs-chef-io/content/inspec/resources/aws_ec2_prefix_list.md index 8682d7a0c..5be72e377 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_prefix_list.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_prefix_list.md @@ -16,9 +16,9 @@ The `AWS::EC2::PrefixList` resource specifies a managed prefix list. For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 prefix lists](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -96,7 +96,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -130,4 +130,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeManagedPrefixListsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeManagedPrefixListsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_prefix_lists.md b/docs-chef-io/content/inspec/resources/aws_ec2_prefix_lists.md index 1323e8f76..781db7442 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_prefix_lists.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_prefix_lists.md @@ -16,9 +16,9 @@ The `AWS::EC2::PrefixList` resource specifies a managed prefix list. For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 prefix lists](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-prefixlist.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -118,4 +118,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeManagedPrefixListsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeManagedPrefixListsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_spot_fleet.md b/docs-chef-io/content/inspec/resources/aws_ec2_spot_fleet.md index 4844831e0..865fe92c1 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_spot_fleet.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_spot_fleet.md @@ -16,9 +16,9 @@ The `AWS::EC2::SpotFleet` resource specifies a Spot Fleet request. A Spot Fleet For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Spot Fleet.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-spotfleet.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -213,7 +213,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -247,4 +247,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeSpotFleetRequestsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeSpotFleetRequestsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_spot_fleets.md b/docs-chef-io/content/inspec/resources/aws_ec2_spot_fleets.md index d494d8811..7d2aeec81 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_spot_fleets.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_spot_fleets.md @@ -16,9 +16,9 @@ The `AWS::EC2::SpotFleet` resource specifies a Spot Fleet request. A Spot Fleet For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Spot Fleet.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-spotfleet.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeSpotFleetRequestsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeSpotFleetRequestsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_filter.md b/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_filter.md index 693645072..55d5c62ba 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_filter.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_filter.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_traffic_mirror_filter` InSpec audit resource to test properties of a single AWS traffic mirror filter. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -106,6 +106,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTrafficMirrorFiltersResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTrafficMirrorFiltersResult" %}} See the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation for additional information. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_filters.md b/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_filters.md index 4289ee66f..e5c5c7069 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_filters.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_traffic_mirror_filters.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_traffic_mirror_filters` InSpec audit resource to test properties of multiple AWS traffic mirror filters. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,7 +71,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -95,6 +95,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTrafficMirrorFiltersResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTrafficMirrorFiltersResult" %}} See the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation for additional information. 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 2e2d3dabf..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_traffic_mirror_session` InSpec audit resource to test properties an AWS Traffic Mirror session. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### be_available @@ -117,4 +119,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTrafficMirrorSessionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTrafficMirrorSessionsResult" %}} 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 12c759a47..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ec2_traffic_mirror_sessions` InSpec audit resource to test properties of all AWS Traffic Mirror sessions. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -106,7 +106,9 @@ For additional information, see [the API reference documentation](https://docs.a ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### be_available @@ -124,4 +126,4 @@ Use `should_not` to test a Traffic mirror session that should not exist. ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTrafficMirrorSessionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTrafficMirrorSessionsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_attachment.md b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_attachment.md index 45fc17f26..051bdd793 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_attachment.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_attachment.md @@ -16,9 +16,9 @@ A Transit Gateway attachment attaches a VPC to a Transit Gateway. For additional information, including details on parameters and properties, see the [AWS documentation on Transit Gateway attachments](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayattachment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -97,7 +97,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -139,6 +139,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ec2:DescribeAddresses" %}} +{{% inspec-aws/aws_permissions_principal action="ec2:DescribeAddresses" %}} See the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation for additional information. 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 749d0cf8f..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 @@ -16,9 +16,9 @@ This resource does not expect any parameters. For additional information, including details on parameters and properties, see the [AWS documentation on Transit Gateway attachment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayattachment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -99,7 +99,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -124,6 +126,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ec2:DescribeVpcEndpoints" %}} +{{% inspec-aws/aws_permissions_principal action="ec2:DescribeVpcEndpoints" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table.md b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table.md index 7e9b572f4..df1fe4917 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table.md @@ -16,9 +16,9 @@ A Transit Gateway route table association associates the specified attachment wi For additional information, including details on parameters and properties, see the [AWS documentation on Transit Gateway route table](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetable.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,7 +79,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -121,6 +121,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ec2:describe_transit_gateway_route_tables" %}} +{{% inspec-aws/aws_permissions_principal action="ec2:describe_transit_gateway_route_tables" %}} See the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation for additional information. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_association.md b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_association.md index ca18171cc..c2d389ab5 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_association.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_association.md @@ -14,9 +14,9 @@ Use the `aws_ec2_transit_gateway_route_table_association` InSpec audit resource A transit gateway route table association associates the specified attachment with the specified transit gateway route table. You can associate only one route table with an attachment. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,6 +102,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ec2:client:get_transit_gateway_route_table_associations" %}} +{{% inspec-aws/aws_permissions_principal action="ec2:client:get_transit_gateway_route_table_associations" %}} For addition information, check out the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation. diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_associations.md b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_associations.md index 5b884b8b2..9939f3a27 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_transit_gateway_route_table_associations.md @@ -14,9 +14,9 @@ Use the `aws_ec2_transit_gateway_route_table_associations` InSpec audit resource An AWS transit gateway route table association associates the specified attachment with the specified transit gateway route table. You can associate only one route table with an attachment. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -100,6 +100,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetTransitGatewayRouteTableAssociationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetTransitGatewayRouteTableAssociationsResult" %}} For addition information, check out the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation. 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 ba636ff66..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 @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayRouteTablePropagation` resource enables the specifi For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayRouteTablePropagation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetablepropagation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,9 +74,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -108,4 +108,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetTransitGatewayRouteTablePropagationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetTransitGatewayRouteTablePropagationsResult" %}} 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 cac4409eb..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 @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayRouteTablePropagation` resource enables the specifi For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayRouteTablePropagation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetablepropagation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -78,9 +78,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -112,4 +112,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetTransitGatewayRouteTablePropagationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetTransitGatewayRouteTablePropagationsResult" %}} 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 2bf209e5c..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 @@ -16,9 +16,9 @@ This resource does not expect any parameters. For additional information, including details on parameters and properties, see the [AWS documentation on Transit Gateway route tables](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayroutetable.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -87,7 +87,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -109,6 +111,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTransitGatewayRouteTablesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTransitGatewayRouteTablesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_volume_attachment.md b/docs-chef-io/content/inspec/resources/aws_ec2_volume_attachment.md index 63f4e3c23..2ddd9a77c 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_volume_attachment.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_volume_attachment.md @@ -16,9 +16,9 @@ The `AWS::EC2::VolumeAttachment` resource attaches an Amazon EBS volume to a run For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Volume Attachment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVolumesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVolumesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_volume_attachments.md b/docs-chef-io/content/inspec/resources/aws_ec2_volume_attachments.md index 306f68067..38922685f 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_volume_attachments.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_volume_attachments.md @@ -16,9 +16,9 @@ The `AWS::EC2::VolumeAttachment` resource attaches an Amazon EBS volume to a run For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 Volume Attachment](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-ebs-volumeattachment.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVolumesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVolumesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_vpc_peering_connection.md b/docs-chef-io/content/inspec/resources/aws_ec2_vpc_peering_connection.md index 608c02a0c..1916d9fd3 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_vpc_peering_connection.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_vpc_peering_connection.md @@ -16,9 +16,9 @@ The AWS::EC2::VPCPeeringConnection resource requests a VPC peering connection be For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 VPC Peering Connection.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -193,7 +193,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -227,4 +227,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcPeeringConnectionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcPeeringConnectionsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_vpc_peering_connections.md b/docs-chef-io/content/inspec/resources/aws_ec2_vpc_peering_connections.md index 29b5a377a..d246e0257 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_vpc_peering_connections.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_vpc_peering_connections.md @@ -16,9 +16,9 @@ The AWS::EC2::VPCPeeringConnection resource requests a VPC peering connection be For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 VPC Peering Connection.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpcpeeringconnection.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcPeeringConnectionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcPeeringConnectionsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_vpn_connection_routes.md b/docs-chef-io/content/inspec/resources/aws_ec2_vpn_connection_routes.md index 2c7281e96..fde726812 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_vpn_connection_routes.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_vpn_connection_routes.md @@ -16,9 +16,9 @@ The `AWS::EC2::VPNConnectionRoute` resource specifies a static route for a VPN c For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 VPN Connection Route.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-connection-route.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -73,7 +73,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -97,4 +97,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpnConnectionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpnConnectionsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_vpn_gateway_route_propagation.md b/docs-chef-io/content/inspec/resources/aws_ec2_vpn_gateway_route_propagation.md index 8fc236f7e..8483b0a23 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_vpn_gateway_route_propagation.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_vpn_gateway_route_propagation.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayRouteTablePropagation` resource enables a virtual p For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 VPNGatewayRoutePropagation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gatewayrouteprop.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -64,7 +64,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeRouteTablesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeRouteTablesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ec2_vpn_gateway_route_propagations.md b/docs-chef-io/content/inspec/resources/aws_ec2_vpn_gateway_route_propagations.md index 851ac49e0..3f469a92b 100644 --- a/docs-chef-io/content/inspec/resources/aws_ec2_vpn_gateway_route_propagations.md +++ b/docs-chef-io/content/inspec/resources/aws_ec2_vpn_gateway_route_propagations.md @@ -16,9 +16,9 @@ The `AWS::EC2::VPNGatewayRoutePropagation` resource enables a virtual private ga For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 VPNGatewayRoutePropagation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpn-gatewayrouteprop.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -100,4 +100,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeRouteTablesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeRouteTablesResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ecr.md b/docs-chef-io/content/inspec/resources/aws_ecr.md index 10a877b0f..eee83404e 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr.md @@ -19,9 +19,9 @@ parent = "inspec/resources/aws" Use the `aws_ecr` InSpec audit resource to test properties of a single AWS Elastic Container Registry. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -89,8 +89,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 97eb98211..11ed41932 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr_image.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr_image.md @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_ecr_image` InSpec audit resource to test the properties of a single image in an AWS Elastic Container Registry (ECR) repository. This resource is available in InSpec AWS resource pack version **[1.11.0](https://github.com/inspec/inspec-aws/releases/tag/v1.11.0)** onwards. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -111,8 +111,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 aa45e0177..15b158147 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr_images.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr_images.md @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_ecr_images` InSpec audit resource to test the properties of all images in an AWS Elastic Container Registry (ECR) repository. This resource is available in InSpec AWS resource pack version **[1.11.0](https://github.com/inspec/inspec-aws/releases/tag/v1.11.0)** onwards. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -95,8 +95,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -118,6 +119,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECR:Client:DescribeImagesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECR:Client:DescribeImagesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_Operations.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ecr_repositories.md b/docs-chef-io/content/inspec/resources/aws_ecr_repositories.md index f8f9f27e4..6acd29c1c 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr_repositories.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr_repositories.md @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_ecr_repositories` InSpec audit resource to test the properties of all repositories in an AWS Elastic Container Registry (ECR). This resource is available in InSpec AWS resource pack version **[1.11.0](https://github.com/inspec/inspec-aws/releases/tag/v1.11.0)** onwards. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -85,7 +85,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ### exist @@ -107,6 +107,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECR:Client:DescribeRepositoriesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECR:Client:DescribeRepositoriesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_Operations.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 fd3a73b4f..2f063da11 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr_repository.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr_repository.md @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_ecr_repository` InSpec audit resource to test the properties of a single AWS Elastic Container Registry (ECR) repository. This resource is available in InSpec AWS resource pack version **[1.11.0](https://github.com/inspec/inspec-aws/releases/tag/v1.11.0)** onwards. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -95,8 +95,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -108,6 +109,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECR:Client:DescribeRepositoriesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECR:Client:DescribeRepositoriesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_Operations.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ecr_repository_policy.md b/docs-chef-io/content/inspec/resources/aws_ecr_repository_policy.md index e7c622813..1737dcd44 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecr_repository_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_ecr_repository_policy.md @@ -14,9 +14,9 @@ Use the `aws_ecr_repository_policy` InSpec audit resource to test the policy con New in InSpec AWS resource pack [1.11.0](https://github.com/inspec/inspec-aws/releases/tag/v1.11.0). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,6 +102,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECR:Client:GetRepositoryPolicyResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECR:Client:GetRepositoryPolicyResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ECR](https://docs.aws.amazon.com/AmazonECR/latest/APIReference/API_Operations.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 dd2ac64f7..00a8c3eea 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecrpublic_repositories.md +++ b/docs-chef-io/content/inspec/resources/aws_ecrpublic_repositories.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ecrpublic_repositories` InSpec audit resource to test the properties of all public repositories in an AWS Elastic Container Registry (ECR). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -68,7 +68,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -90,6 +92,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECRPublic:Client:DescribeRepositoriesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECRPublic:Client:DescribeRepositoriesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ECR Public](https://docs.aws.amazon.com/AmazonECRPublic/latest/APIReference/API_Repository.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_ecrpublic_repository.md b/docs-chef-io/content/inspec/resources/aws_ecrpublic_repository.md index 9500c2260..34c21b651 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecrpublic_repository.md +++ b/docs-chef-io/content/inspec/resources/aws_ecrpublic_repository.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ecrpublic_repository` InSpec audit resource to test the properties of a single AWS Elastic Container Registry (ECR) public repository. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,10 +74,10 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ## AWS Permissions -{{% aws_permissions_principal action="ECRPublic:Client:DescribeRepositoriesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECRPublic:Client:DescribeRepositoriesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ECR Public](https://docs.aws.amazon.com/AmazonECRPublic/latest/APIReference/API_Repository.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 d70d7cc7b..2317f0a87 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecs_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_ecs_cluster.md @@ -14,9 +14,9 @@ Use the `aws_ecs_cluster` InSpec audit resource to test properties of a single A For additional information, including details on parameters and properties, see the [AWS documentation on ECS Clusters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_clusters.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -84,7 +84,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -106,5 +108,5 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECS:Client:DescribeClustersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECS:Client:DescribeClustersResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ecs_clusters.md b/docs-chef-io/content/inspec/resources/aws_ecs_clusters.md index 99c6c4de8..fc887aa72 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecs_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_ecs_clusters.md @@ -14,9 +14,9 @@ Use the `aws_ecs_clusters` InSpec audit resource to test properties of some or a For additional information, including details on parameters and properties, see the [AWS documentation on ECS Clusters](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_clusters.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_ecs_service.md b/docs-chef-io/content/inspec/resources/aws_ecs_service.md index 7aa639db1..cd9b5826e 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecs_service.md +++ b/docs-chef-io/content/inspec/resources/aws_ecs_service.md @@ -16,9 +16,9 @@ The AWS ECS Service resource creates an Amazon Elastic Container Service (Amazon For additional information, including details on parameters and properties, see the [AWS documentation on ECS Service](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -95,7 +95,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -129,4 +129,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECS:Client:DeleteServiceResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECS:Client:DeleteServiceResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ecs_services.md b/docs-chef-io/content/inspec/resources/aws_ecs_services.md index 9ba8c9b8e..5239ea91b 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecs_services.md +++ b/docs-chef-io/content/inspec/resources/aws_ecs_services.md @@ -15,9 +15,9 @@ The AWS ECS Service resource creates an Amazon Elastic Container Service (Amazon For additional information, including details on parameters and properties, see the [AWS documentation on ECS Service](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -81,7 +81,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -115,4 +115,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECS:Client:ListServicesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECS:Client:ListServicesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ecs_task_definition.md b/docs-chef-io/content/inspec/resources/aws_ecs_task_definition.md index 54ec2ebf5..b2b4374ff 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecs_task_definition.md +++ b/docs-chef-io/content/inspec/resources/aws_ecs_task_definition.md @@ -14,9 +14,9 @@ Use the `aws_ecs_task_definition` InSpec audit resource to test the properties o For additional information, including details on parameters and properties, see the [AWS ECS task definition documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -813,7 +813,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -847,4 +847,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECS:Client:DescribeTaskDefinitionResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECS:Client:DescribeTaskDefinitionResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ecs_task_definitions.md b/docs-chef-io/content/inspec/resources/aws_ecs_task_definitions.md index 1968382d2..7e753b888 100644 --- a/docs-chef-io/content/inspec/resources/aws_ecs_task_definitions.md +++ b/docs-chef-io/content/inspec/resources/aws_ecs_task_definitions.md @@ -14,9 +14,9 @@ Use the `aws_ecs_task_definitions` InSpec audit resource to test the properties For additional information, including details on parameters and properties, see the [AWS ECS task definition documentation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-taskdefinition.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -49,7 +49,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list_task_definitions` method returns at least one result. @@ -83,4 +83,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ECS:Client:ListTaskDefinitionsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ECS:Client:ListTaskDefinitionsResponse" %}} 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 c7338294f..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 @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_efs_file_system` InSpec audit resource to test the properties of a single AWS EFS file system. This resource is added to InSpec AWS resource pack in version **[1.10.0](https://github.com/inspec/inspec-aws/releases/tag/v1.10.0)** and it is available with InSpec **[4.18.108](https://github.com/inspec/inspec/releases/tag/v4.18.108)** and later versions. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -115,8 +115,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -136,6 +137,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EFS:Client:DescribeFileSystemsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EFS:Client:DescribeFileSystemsResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EFS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticfilesystem.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_efs_file_systems.md b/docs-chef-io/content/inspec/resources/aws_efs_file_systems.md index c4c7b23fb..05851ed33 100644 --- a/docs-chef-io/content/inspec/resources/aws_efs_file_systems.md +++ b/docs-chef-io/content/inspec/resources/aws_efs_file_systems.md @@ -14,9 +14,9 @@ Use the `aws_efs_file_systems` InSpec audit resource to test the properties of s This resource is added to InSpec AWS resource pack in version **[1.10.0](https://github.com/inspec/inspec-aws/releases/tag/v1.10.0)** and it is available with InSpec **[4.18.108](https://github.com/inspec/inspec/releases/tag/v4.18.108)** and later versions. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -98,7 +98,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ### exist @@ -120,6 +120,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EFS:Client:DescribeFileSystemsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EFS:Client:DescribeFileSystemsResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EFS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticfilesystem.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_efs_mount_target.md b/docs-chef-io/content/inspec/resources/aws_efs_mount_target.md index 69a560101..0649e9110 100644 --- a/docs-chef-io/content/inspec/resources/aws_efs_mount_target.md +++ b/docs-chef-io/content/inspec/resources/aws_efs_mount_target.md @@ -16,9 +16,9 @@ The AWS::EFS::MountTarget resource is an Amazon EFS resource that creates a moun For additional information, including details on parameters and properties, see the [AWS documentation on EFS Mount Target](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EFS:Client:DescribeMountTargetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EFS:Client:DescribeMountTargetsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_efs_mount_targets.md b/docs-chef-io/content/inspec/resources/aws_efs_mount_targets.md index 095b43402..e41161cf5 100644 --- a/docs-chef-io/content/inspec/resources/aws_efs_mount_targets.md +++ b/docs-chef-io/content/inspec/resources/aws_efs_mount_targets.md @@ -16,9 +16,9 @@ The AWS::EFS::MountTarget resource is an Amazon EFS resource that creates a moun For additional information, including details on parameters and properties, see the [AWS documentation on EFS Mount Target](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-efs-mounttarget.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -114,4 +114,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EFS:Client:DescribeMountTargetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EFS:Client:DescribeMountTargetsResponse" %}} 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 12ad87869..5eaa6d67b 100644 --- a/docs-chef-io/content/inspec/resources/aws_eks_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_eks_cluster.md @@ -14,9 +14,9 @@ Use the `aws_eks_cluster` InSpec audit resource to test properties of a single A For additional information, including details on parameters and properties, see the [AWS documentation on EKS Clusters](https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -171,9 +171,9 @@ end ## Matchers -This InSpec audit resource has no special matchers. +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -{{% inspec_matchers_link %}} +This resource has the following special matchers. ### exist @@ -195,7 +195,7 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EKS:Client:DescribeClusterResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EKS:Client:DescribeClusterResponse" %}} You can find detailed documentation at [Amazon EKS IAM Policies, Roles, and Permissions](https://docs.aws.amazon.com/eks/latest/userguide/IAM_policies.html) The documentation for EKS actions is at [Policy Structure](https://docs.aws.amazon.com/eks/latest/userguide/iam-policy-structure.html#UsingWithEKS_Actions) 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 7177ac434..6049c9e32 100644 --- a/docs-chef-io/content/inspec/resources/aws_eks_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_eks_clusters.md @@ -14,9 +14,9 @@ Use the `aws_eks_clusters` resource to test the configuration of a collection of For additional information, including details on parameters and properties, see the [AWS documentation on EKS Clusters](https://docs.aws.amazon.com/eks/latest/userguide/getting-started.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -114,7 +114,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -137,7 +139,7 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EKS:Client:DescribeClusterResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EKS:Client:DescribeClusterResponse" %}} You can find detailed documentation at [Amazon EKS IAM Policies, Roles, and Permissions](https://docs.aws.amazon.com/eks/latest/userguide/IAM_policies.html) The documentation for EKS actions is at [Policy Structure](https://docs.aws.amazon.com/eks/latest/userguide/iam-policy-structure.html#UsingWithEKS_Actions) 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 f7ae4ed38..6bb3e9338 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticache_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticache_cluster.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_elasticache_cluster` InSpec audit resource to test the properties of a single AWS ElastiCache cluster. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -101,8 +101,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -122,6 +123,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElastiCache:Client:CacheClusterMessage" %}} +{{% inspec-aws/aws_permissions_principal action="ElastiCache:Client:CacheClusterMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ElastiCache](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticache.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). \ No newline at end of file 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 918b23c81..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_elasticache_cluster_node` InSpec audit resource to test the properties of a single AWS ElastiCache cluster node. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -90,8 +90,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -103,6 +104,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElastiCache:Client:CacheClusterMessage" %}} +{{% inspec-aws/aws_permissions_principal action="ElastiCache:Client:CacheClusterMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ElastiCache](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticache.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). \ No newline at end of file diff --git a/docs-chef-io/content/inspec/resources/aws_elasticache_clusters.md b/docs-chef-io/content/inspec/resources/aws_elasticache_clusters.md index 2c338fc2c..6f5b0295c 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticache_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticache_clusters.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_elasticache_clusters` InSpec audit resource to test the properties of all AWS ElastiCache clusters. To audit a single ElastiCache cluster, use `aws_elasticache_cluster` (singular). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,7 +80,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ### exist @@ -102,6 +102,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElastiCache:Client:CacheClusterMessage" %}} +{{% inspec-aws/aws_permissions_principal action="ElastiCache:Client:CacheClusterMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ElastiCache](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticache.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). \ No newline at end of file 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 646154127..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_elasticache_replication_group` InSpec audit resource to test the properties of a single Amazon ElastiCache replication group. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -77,7 +77,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -97,6 +99,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElastiCache:Client:ReplicationGroupMessage" %}} +{{% inspec-aws/aws_permissions_principal action="ElastiCache:Client:ReplicationGroupMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ElastiCache](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticache.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). \ No newline at end of file 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 f54f881a3..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_elasticache_replication_groups` InSpec audit resource to test the properties of all Amazon ElastiCache replication groups. To audit a single ElastiCache replication group, use `aws_elasticache_replication_group` (singular). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -69,7 +69,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -91,6 +93,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElastiCache:Client:ReplicationGroupMessage" %}} +{{% inspec-aws/aws_permissions_principal action="ElastiCache:Client:ReplicationGroupMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ElastiCache](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonelasticache.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). \ No newline at end of file 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 61011ba99..0cb6324cb 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener.md @@ -14,9 +14,9 @@ Use the `aws_elasticloadbalancingv2_listener` InSpec audit resource to test prop For additional information, including details on parameters and properties, see the [AWS documentation on ElasticLoadBalancingV2 Listener](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -202,7 +202,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -218,7 +220,7 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeListenersOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeListenersOutput" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Auto Scaling Groups](https://docs.aws.amazon.com/autoscaling/ec2/userguide/control-access-using-iam.html). 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 3f63185a7..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 @@ -14,9 +14,9 @@ Use the `aws_elasticloadbalancingv2_listener_certificate` InSpec audit resource For additional information, including details on parameters and properties, see the [AWS documentation on ElasticLoadBalancingV2 Listener Certificate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenercertificate.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -70,7 +70,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -86,5 +88,5 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeListenerCertificatesOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeListenerCertificatesOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_certificates.md b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_certificates.md index 0c1f1b128..f4a60d26b 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_certificates.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_certificates.md @@ -14,9 +14,9 @@ Use the `aws_elasticloadbalancingv2_listener_certificates` InSpec audit resource For additional information, including details on parameters and properties, see the [AWS documentation on ElasticLoadBalancingV2 Listener Certificate](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenercertificate.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -62,7 +62,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -86,4 +86,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeListenerCertificatesOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeListenerCertificatesOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_rule.md b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_rule.md index 446b67dbf..cff62c267 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_rule.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_rule.md @@ -14,9 +14,9 @@ Use the `aws_elasticloadbalancingv2_listener_rule` InSpec audit resource to test For additional information, including details on parameters and properties, see the [AWS documentation on ELBv2 Listener Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -203,7 +203,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -237,4 +237,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeRulesOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeRulesOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_rules.md b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_rules.md index 10092012e..c1e3f84f4 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_rules.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listener_rules.md @@ -16,9 +16,9 @@ Each rule consists of a priority, one or more actions, and one or more condition For additional information, including details on parameters and properties, see the [AWS documentation on ELBv2 Listener Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listenerrule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeRulesOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeRulesOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listeners.md b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listeners.md index d4161dbc9..b114b0fae 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listeners.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_listeners.md @@ -14,9 +14,9 @@ Use the `aws_elasticloadbalancingv2_listeners` InSpec audit resource to test the For additional information, including details on parameters and properties, see the [AWS documentation on ElasticLoadBalancingV2 Listener](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-listener.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -88,6 +88,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeListenersOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeListenersOutput" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Auto Scaling Groups](https://docs.aws.amazon.com/autoscaling/ec2/userguide/control-access-using-iam.html). diff --git a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_target_group.md b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_target_group.md index 81bc38db8..1f547c94a 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_target_group.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_target_group.md @@ -14,9 +14,9 @@ Use the `aws_elasticloadbalancingv2_target_group` InSpec audit resource to test For additional information, including details on parameters and properties, see the [AWS documentation on ElasticLoadBalancingV2 TargetGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticloadbalancingv2-targetgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -109,7 +109,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -143,4 +143,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeTargetGroupsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeTargetGroupsOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_target_groups.md b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_target_groups.md index fb048099f..16127a879 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_target_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticloadbalancingv2_target_groups.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_elasticloadbalancingv2_target_groups` InSpec audit resource to test properties of multiple Elastic Load Balancing V2 target groups. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -100,7 +100,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -134,4 +134,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeTargetGroupsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancingV2:Client:DescribeTargetGroupsOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_elasticsearchservice_domain.md b/docs-chef-io/content/inspec/resources/aws_elasticsearchservice_domain.md index a0a31e91b..1594557e3 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticsearchservice_domain.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticsearchservice_domain.md @@ -16,9 +16,9 @@ The AWS::Elasticsearch::Domain resource creates an Amazon Elasticsearch Service For additional information, including details on parameters and properties, see the [AWS documentation on Elasticsearch Domain](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -242,7 +242,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -276,4 +276,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticsearchService:Client:DescribeElasticsearchDomainResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticsearchService:Client:DescribeElasticsearchDomainResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_elasticsearchservice_domains.md b/docs-chef-io/content/inspec/resources/aws_elasticsearchservice_domains.md index 9bd657a24..6689b18f3 100644 --- a/docs-chef-io/content/inspec/resources/aws_elasticsearchservice_domains.md +++ b/docs-chef-io/content/inspec/resources/aws_elasticsearchservice_domains.md @@ -16,9 +16,9 @@ The AWS::Elasticsearch::Domain resource creates an Amazon Elasticsearch Service For additional information, including details on parameters and properties, see the [AWS documentation on Elasticsearch Domain](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -51,7 +51,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -85,4 +85,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticsearchService:Client:ListDomainNamesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticsearchService:Client:ListDomainNamesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_elb.md b/docs-chef-io/content/inspec/resources/aws_elb.md index 684a03d4c..a47fd718d 100644 --- a/docs-chef-io/content/inspec/resources/aws_elb.md +++ b/docs-chef-io/content/inspec/resources/aws_elb.md @@ -14,9 +14,9 @@ Use the `aws_elb` InSpec audit resource to test properties of a single AWS Elast For additional information, including details on parameters and properties, see the [AWS documentation on Elastic Load Balancing](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -153,9 +153,9 @@ end ## Matchers -This InSpec audit resource has no special matchers. +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} -{{% inspec_matchers_link %}} +This resource has the following special matchers. ### exist @@ -177,6 +177,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancing:Client:DescribeAccessPointsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancing:Client:DescribeAccessPointsOutput" %}} You can find detailed documentation at [Authentication and Access Control for Your Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/load-balancer-authentication-access-control.html) diff --git a/docs-chef-io/content/inspec/resources/aws_elbs.md b/docs-chef-io/content/inspec/resources/aws_elbs.md index 86cbf0d22..0d80a52c2 100644 --- a/docs-chef-io/content/inspec/resources/aws_elbs.md +++ b/docs-chef-io/content/inspec/resources/aws_elbs.md @@ -14,9 +14,9 @@ Use the `aws_elbs` InSpec audit resource to test the configuration of a collecti For additional information, including details on parameters and properties, see the [AWS documentation on Elastic Load Balancing](https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -85,7 +85,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -107,6 +107,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ElasticLoadBalancing:Client:DescribeAccessPointsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ElasticLoadBalancing:Client:DescribeAccessPointsOutput" %}} You can find detailed documentation at [Authentication and Access Control for Your Load Balancers](https://docs.aws.amazon.com/elasticloadbalancing/latest/userguide/load-balancer-authentication-access-control.html) 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 bf1e0ece8..f06f289a1 100644 --- a/docs-chef-io/content/inspec/resources/aws_emr_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_emr_cluster.md @@ -14,9 +14,9 @@ Use the `aws_emr_cluster` InSpec audit resource to test properties of the singul For additional information, including details on parameters and properties, see the [AWS documentation on AWS EMR clusters](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -135,7 +135,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -157,4 +159,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EMR:Client:DescribeClusterOutput" %}} +{{% inspec-aws/aws_permissions_principal action="EMR:Client:DescribeClusterOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_emr_clusters.md b/docs-chef-io/content/inspec/resources/aws_emr_clusters.md index a3b75d654..acee3adec 100644 --- a/docs-chef-io/content/inspec/resources/aws_emr_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_emr_clusters.md @@ -14,9 +14,9 @@ Use the `aws_emr_clusters` resource to test the configuration of a collection of For additional information, including details on parameters and properties, see the [AWS documentation on AWS EMR clusters](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticmapreduce-cluster.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -161,7 +161,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://docs.chef.io/inspec/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://docs.chef.io/inspec/matchers/). ### 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 c01585abd..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 @@ -14,9 +14,9 @@ Use the `aws_emr_security_configuration` InSpec audit resource to test propertie For additional information, including details on parameters and properties, see the [AWS documentation on AWS EMR security configuration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-securityconfiguration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,7 +80,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -102,4 +104,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EMR:Client:DescribeSecurityConfigurationOutput" %}} +{{% inspec-aws/aws_permissions_principal action="EMR:Client:DescribeSecurityConfigurationOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_emr_security_configurations.md b/docs-chef-io/content/inspec/resources/aws_emr_security_configurations.md index 85b7e6b3a..d48e66218 100644 --- a/docs-chef-io/content/inspec/resources/aws_emr_security_configurations.md +++ b/docs-chef-io/content/inspec/resources/aws_emr_security_configurations.md @@ -14,9 +14,9 @@ Use the `aws_emr_security_configurations` resource to test the properties of col For additional information, including details on parameters and properties, see the [AWS documentation on AWS EMR security configuration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-emr-securityconfiguration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -67,7 +67,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://docs.chef.io/inspec/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://docs.chef.io/inspec/matchers/). ### exist @@ -89,4 +89,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EMR:Client:DescribeSecurityConfigurationOutput" %}} +{{% inspec-aws/aws_permissions_principal action="EMR:Client:DescribeSecurityConfigurationOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_eventbridge_rule.md b/docs-chef-io/content/inspec/resources/aws_eventbridge_rule.md index abd3a7e6e..e5f6180e1 100644 --- a/docs-chef-io/content/inspec/resources/aws_eventbridge_rule.md +++ b/docs-chef-io/content/inspec/resources/aws_eventbridge_rule.md @@ -16,9 +16,9 @@ The AWS::Events::Rule resource creates a rule that matches incoming events and r For additional information, including details on parameters and properties, see the [AWS documentation on Events Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EventBridge:Client:DescribeRuleResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EventBridge:Client:DescribeRuleResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_eventbridge_rules.md b/docs-chef-io/content/inspec/resources/aws_eventbridge_rules.md index a8f5fcc76..fa4d28849 100644 --- a/docs-chef-io/content/inspec/resources/aws_eventbridge_rules.md +++ b/docs-chef-io/content/inspec/resources/aws_eventbridge_rules.md @@ -16,9 +16,9 @@ The AWS::Events::Rule resource creates a rule that matches incoming events and r For additional information, including details on parameters and properties, see the [AWS documentation on Events Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-events-rule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -117,4 +117,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EventBridge:Client:ListRulesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EventBridge:Client:ListRulesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_flow_log.md b/docs-chef-io/content/inspec/resources/aws_flow_log.md index 876f24ef6..0828309e6 100644 --- a/docs-chef-io/content/inspec/resources/aws_flow_log.md +++ b/docs-chef-io/content/inspec/resources/aws_flow_log.md @@ -14,9 +14,9 @@ Use the `aws_flow_log` InSpec audit resource to test properties of a single Flow For additional information, including details on parameters and properties, see the [AWS documentation on Flow Logs](https://docs.aws.amazon.com/vpc/latest/userguide/flow-logs.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -146,4 +146,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeFlowLogsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeFlowLogsResult" %}} 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 bf2d9f6cb..d59036311 100644 --- a/docs-chef-io/content/inspec/resources/aws_glue_crawler.md +++ b/docs-chef-io/content/inspec/resources/aws_glue_crawler.md @@ -16,9 +16,9 @@ The AWS::Glue::Crawler resource specifies an AWS Glue crawler. For additional information, including details on parameters and properties, see the [AWS documentation on Glue Crawler](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -115,9 +115,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -149,4 +149,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetCrawlerResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetCrawlerResponse" %}} 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 8525b8f3c..29b31fa1d 100644 --- a/docs-chef-io/content/inspec/resources/aws_glue_crawlers.md +++ b/docs-chef-io/content/inspec/resources/aws_glue_crawlers.md @@ -16,9 +16,9 @@ The AWS::Glue::Crawler resource specifies an AWS Glue crawler. For additional information, including details on parameters and properties, see the [AWS documentation on Glue Crawler](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-crawler.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -113,9 +113,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -147,4 +147,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetCrawlersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetCrawlersResponse" %}} 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 469f1a616..50b96de4d 100644 --- a/docs-chef-io/content/inspec/resources/aws_glue_database.md +++ b/docs-chef-io/content/inspec/resources/aws_glue_database.md @@ -16,9 +16,9 @@ The AWS::Glue::Database resource specifies a logical grouping of tables in AWS G For additional information, including details on parameters and properties, see the [AWS documentation on Glue Database](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,9 +88,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -122,4 +122,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetDatabaseResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetDatabaseResponse" %}} 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 17374ced9..b946899ff 100644 --- a/docs-chef-io/content/inspec/resources/aws_glue_databases.md +++ b/docs-chef-io/content/inspec/resources/aws_glue_databases.md @@ -16,9 +16,9 @@ The AWS::Glue::Database resource specifies a logical grouping of tables in AWS G For additional information, including details on parameters and properties, see the [AWS documentation on Glue Database](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-glue-database.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,9 +72,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -106,4 +106,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetDatabasesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetDatabasesResponse" %}} 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 1e11af6ef..8b983f931 100644 --- a/docs-chef-io/content/inspec/resources/aws_guardduty_detector.md +++ b/docs-chef-io/content/inspec/resources/aws_guardduty_detector.md @@ -20,9 +20,9 @@ For additional information, including details on parameters and properties, see Train AWS version 0.1.18 or newer is required for this resource. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -78,7 +78,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### be_enabled @@ -116,4 +118,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="GuardDuty:Client:GetDetectorResponse" %}} +{{% inspec-aws/aws_permissions_principal action="GuardDuty:Client:GetDetectorResponse" %}} 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 5ab385e5f..fd08aaeae 100644 --- a/docs-chef-io/content/inspec/resources/aws_guardduty_detectors.md +++ b/docs-chef-io/content/inspec/resources/aws_guardduty_detectors.md @@ -22,9 +22,9 @@ For additional information, including details on parameters and properties, see Train AWS version 0.1.18 or newer is required for this resource. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -68,7 +68,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -90,4 +92,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="GuardDuty:Client:GetDetectorResponse" %}} +{{% inspec-aws/aws_permissions_principal action="GuardDuty:Client:GetDetectorResponse" %}} 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 6d778a079..2df49c542 100644 --- a/docs-chef-io/content/inspec/resources/aws_hosted_zone.md +++ b/docs-chef-io/content/inspec/resources/aws_hosted_zone.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_hosted_zone` resource to test a specific hosted zone configuration. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -65,7 +65,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -104,6 +106,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53:Client:GetHostedZoneResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53:Client:GetHostedZoneResponse" %}} You can find detailed documentation at [Amazon Route 53](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/r53-api-permissions-ref.html) diff --git a/docs-chef-io/content/inspec/resources/aws_hosted_zones.md b/docs-chef-io/content/inspec/resources/aws_hosted_zones.md index 9eac5d9e1..04b1f4e9e 100644 --- a/docs-chef-io/content/inspec/resources/aws_hosted_zones.md +++ b/docs-chef-io/content/inspec/resources/aws_hosted_zones.md @@ -16,9 +16,9 @@ The `AWS::Route53::HostedZone` creates a new public or private hosted zone. For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::Route53::HostedZone` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53-hostedzone.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -118,4 +118,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53:Client:ListHostedZonesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53:Client:ListHostedZonesResponse" %}} 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 6104bc1a1..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 @@ -14,9 +14,9 @@ Use the `aws_iam_access_key` InSpec audit resource to test properties of a singl For additional information, including details on parameters and properties, see the [AWS documentation on IAM Access Keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,7 +79,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -105,6 +107,6 @@ it { should be_active } ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetAccessKeyLastUsedResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetAccessKeyLastUsedResponse" %}} You can find detailed documentation at [Amazon Route 53](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/r53-api-permissions-ref.html) \ No newline at end of file diff --git a/docs-chef-io/content/inspec/resources/aws_iam_access_keys.md b/docs-chef-io/content/inspec/resources/aws_iam_access_keys.md index 4d1fce9cc..292628417 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_access_keys.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_access_keys.md @@ -14,9 +14,9 @@ Use the `aws_iam_access_keys` InSpec audit resource to test properties of some o For additional information, including details on parameters and properties, see the [AWS documentation on IAM Access Keys](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -106,7 +106,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_iam_account_alias.md b/docs-chef-io/content/inspec/resources/aws_iam_account_alias.md index b472d1201..72237b99a 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_account_alias.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_account_alias.md @@ -14,9 +14,9 @@ Use the `aws_iam_account_alias` InSpec audit resource to test properties of the For additional information, including details on parameters and properties, see the [AWS documentation on Account Aliases](https://docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,5 +72,5 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListAccountAliasesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListAccountAliasesResponse" %}} \ No newline at end of file diff --git a/docs-chef-io/content/inspec/resources/aws_iam_group.md b/docs-chef-io/content/inspec/resources/aws_iam_group.md index bb426d0d0..b476e5bb2 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_group.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_group.md @@ -14,9 +14,9 @@ Use the `aws_iam_group` InSpec audit resource to test properties of a single IAM For additional information, including details on parameters and properties, see the [AWS documentation on IAM Groups](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -91,6 +91,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetGroupResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetGroupResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_iam_groups.md b/docs-chef-io/content/inspec/resources/aws_iam_groups.md index 2b0012dac..7eb78e7bc 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_groups.md @@ -14,9 +14,9 @@ Use the `aws_iam_groups` InSpec audit resource to test properties of a collectio For additional information, including details on parameters and properties, see the [AWS documentation on IAM Groups](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_groups.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -95,6 +95,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListGroupsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListGroupsResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 0572b185d..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_iam_inline_policy` InSpec audit resource to test properties of a single inline AWS IAM Policy embedded with IAM User, IAM Group or IAM Role. For managed policies, use the `aws_iam_policy` resource. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,9 @@ it { should_not have_statement(NotAction: 'iam:*') } ## Matchers -{{% inspec_matchers_link %}} +{{< 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_instance_profile.md b/docs-chef-io/content/inspec/resources/aws_iam_instance_profile.md index c33115c73..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 @@ -16,9 +16,9 @@ This resource retrieves information about the specified instance profile, includ For additional information, including details on parameters and properties, see the [AWS documentation on IAM Instance Profile](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -113,9 +113,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -147,4 +147,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetInstanceProfileResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetInstanceProfileResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_iam_instance_profiles.md b/docs-chef-io/content/inspec/resources/aws_iam_instance_profiles.md index 615f2ce1c..e306996c6 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_instance_profiles.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_instance_profiles.md @@ -16,9 +16,9 @@ This resource lists the instance profiles that have the specified path prefix. For additional information, including details on parameters and properties, see the [AWS documentation on IAM Instance Profile](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,7 +74,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -108,4 +108,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListInstanceProfilesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListInstanceProfilesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_iam_managed_policies.md b/docs-chef-io/content/inspec/resources/aws_iam_managed_policies.md index 5bd95237d..36ef179b7 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_managed_policies.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_managed_policies.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_iam_managed_policies` InSpec audit resource to test the properties of a collection of AWS IAM managed policies. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -118,7 +118,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -142,6 +142,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="iam:ListPolicies" %}} +{{% inspec-aws/aws_permissions_principal action="iam:ListPolicies" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_iam_managed_policy.md b/docs-chef-io/content/inspec/resources/aws_iam_managed_policy.md index ca6bf91b3..1f2f0f054 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_managed_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_managed_policy.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_iam_managed_policy` InSpec audit resource to test the properties of an AWS IAM managed policy. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -75,7 +75,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -99,6 +99,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="iam:ListPolicies" %}} +{{% inspec-aws/aws_permissions_principal action="iam:ListPolicies" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 483a89c7c..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 @@ -16,9 +16,9 @@ This resource retrieves information about the specified OIDC provider. For additional information, including details on parameters and properties, see the [AWS documentation on IAM OIDC provider](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-oidcprovider.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -67,9 +67,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -101,4 +101,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetOpenIDConnectProviderResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetOpenIDConnectProviderResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_iam_oidc_providers.md b/docs-chef-io/content/inspec/resources/aws_iam_oidc_providers.md index 247db4156..f7d0f186a 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_oidc_providers.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_oidc_providers.md @@ -14,9 +14,9 @@ Use the `aws_iam_oidc_providers` InSpec audit resource to test properties of a s This resource retrieves information about all OIDC providers. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -51,7 +51,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -85,4 +85,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListOpenIDConnectProviderTagsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListOpenIDConnectProviderTagsResponse" %}} 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 be17f9ee6..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 @@ -14,9 +14,9 @@ Use the `aws_iam_password_policy` InSpec audit resource to test properties of an For additional information, including details on parameters and properties, see the [AWS documentation on Auto Scaling Group](https://docs.aws.amazon.com/autoscaling/ec2/userguide/AutoScalingGroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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_policies.md b/docs-chef-io/content/inspec/resources/aws_iam_policies.md index cb2b5b81a..c46bf8b2c 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_policies.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_policies.md @@ -14,9 +14,9 @@ Use the `aws_iam_policies` InSpec audit resource to test properties of a collect For additional information, including details on parameters and properties, see the [AWS documentation on IAM Policy](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -90,7 +90,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -112,6 +112,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListPoliciesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListPoliciesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 127bd9c33..83ecd708a 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_policy.md @@ -14,9 +14,9 @@ Use the `aws_iam_policy` InSpec audit resource to test properties of a single ma For additional information, including details on parameters and properties, see the [AWS documentation on IAM Policy](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -119,7 +119,9 @@ it { should_not have_statement(NotAction: 'iam:*') } ## Matchers -{{% inspec_matchers_link %}} +{{< 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_role.md b/docs-chef-io/content/inspec/resources/aws_iam_role.md index d74f8da9f..f873ff780 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_role.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_role.md @@ -14,9 +14,9 @@ Use the `aws_iam_role` InSpec audit resource to test properties of an AWS IAM Ro For additional information, including details on parameters and properties, see the [AWS documentation on IAM Roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -89,8 +89,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -112,7 +113,7 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetRoleResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetRoleResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_iam_roles.md b/docs-chef-io/content/inspec/resources/aws_iam_roles.md index 30a544ec0..91389389e 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_roles.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_roles.md @@ -14,9 +14,9 @@ Use the `aws_iam_roles` InSpec audit resource to test properties of a collection For additional information, including details on parameters and properties, see the [AWS documentation on IAM Roles](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -87,7 +87,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -103,6 +103,6 @@ You may also use `it { should_not exist }`. ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListRolesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListRolesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). 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 cd15816cc..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 @@ -14,9 +14,9 @@ Use the `aws_iam_root_user` InSpec audit resource to test properties of an AWS I For additional information, including details on parameters and properties, see the [AWS documentation on Root Users](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_root-user.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -69,7 +69,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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_saml_provider.md b/docs-chef-io/content/inspec/resources/aws_iam_saml_provider.md index f59868c78..9cd748e9b 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_saml_provider.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_saml_provider.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_iam_saml_provider` InSpec audit resource to test properties of an AWS IAM SAML Provider. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,7 @@ describe aws_iam_saml_provider("arn:aws:iam::123456789012:saml-provider/FANCY") ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -87,4 +87,4 @@ You may also use `it { should_not exist }`. ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetSAMLProviderResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetSAMLProviderResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_iam_saml_providers.md b/docs-chef-io/content/inspec/resources/aws_iam_saml_providers.md index a9e980ea7..56aec31ed 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_saml_providers.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_saml_providers.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_iam_saml_providers` InSpec audit resource to test properties of some or all AWS IAM SAML Providers. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,7 +79,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist 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 227f1f4f0..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 @@ -16,9 +16,9 @@ This resource retrieves information about the specified server certificate, incl For additional information, including details on parameters and properties, see the [AWS documentation on IAM Instance Profile](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-instanceprofile.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,9 +74,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -108,4 +108,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetServerCertificateResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetServerCertificateResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_iam_server_certificates.md b/docs-chef-io/content/inspec/resources/aws_iam_server_certificates.md index ac8b8350c..cc677fb20 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_server_certificates.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_server_certificates.md @@ -14,9 +14,9 @@ Use the `aws_iam_server_certificates` InSpec audit resource to test the properti This resource retrieves information about the server certificate, including the server certificate's path, GUID, ARN, and role. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -70,7 +70,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -104,4 +104,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListServerCertificateResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListServerCertificateResponse" %}} 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 a981f3928..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 @@ -18,9 +18,9 @@ The deletion task identifier. For additional information, including details on parameters and properties, see the [AWS documentation on Service linked role deletion status](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-servicelinkedrole.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -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 @@ -89,4 +89,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetServiceLinkedRoleDeletionStatusResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetServiceLinkedRoleDeletionStatusResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_iam_ssh_public_key.md b/docs-chef-io/content/inspec/resources/aws_iam_ssh_public_key.md index 91fa2502e..650bdc4d4 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_ssh_public_key.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_ssh_public_key.md @@ -14,9 +14,9 @@ Use the `aws_iam_ssh_public_key` InSpec audit resource to test the properties of For additional information, including details on parameters and properties, see the [AWS documentation on AWS IAM AccessKey.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -127,4 +127,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:GetSSHPublicKeyResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:GetSSHPublicKeyResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_iam_ssh_public_keys.md b/docs-chef-io/content/inspec/resources/aws_iam_ssh_public_keys.md index 647c1de89..87d377f0b 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_ssh_public_keys.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_ssh_public_keys.md @@ -14,9 +14,9 @@ Use the `aws_iam_ssh_public_keys` InSpec audit resource to test the properties o For additional information, including details on parameters and properties, see the [AWS documentation on AWS IAM AccessKey.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-iam-accesskey.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -100,7 +100,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `list` method returns at least one result. @@ -152,4 +152,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListSSHPublicKeysResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListSSHPublicKeysResponse" %}} 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 a921fb11b..f36ab78a2 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_user.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_user.md @@ -14,9 +14,9 @@ Use the `aws_iam_user` InSpec audit resource to test properties of a single AWS For additional information, including details on parameters and properties, see the [AWS documentation on IAM Users](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -109,7 +109,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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_users.md b/docs-chef-io/content/inspec/resources/aws_iam_users.md index ac2ec2b09..83add74f6 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_users.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_users.md @@ -14,9 +14,9 @@ Use the `aws_iam_users` InSpec audit resource to test properties of some or all For additional information, including details on parameters and properties, see the [AWS documentation on IAM Users](https://docs.aws.amazon.com/IAM/latest/UserGuide/id_users.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -104,7 +104,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist diff --git a/docs-chef-io/content/inspec/resources/aws_iam_virtual_mfa_devices.md b/docs-chef-io/content/inspec/resources/aws_iam_virtual_mfa_devices.md index c28582bef..1271ea9f1 100644 --- a/docs-chef-io/content/inspec/resources/aws_iam_virtual_mfa_devices.md +++ b/docs-chef-io/content/inspec/resources/aws_iam_virtual_mfa_devices.md @@ -16,9 +16,9 @@ This resource does not require any parameters. For additional information, including details on parameters and properties, see the [AWS documentation on IAM virtual MFA Devices](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-virtualmfadevice.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -130,4 +130,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="IAM:Client:ListVirtualMFADevicesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="IAM:Client:ListVirtualMFADevicesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_internet_gateway.md b/docs-chef-io/content/inspec/resources/aws_internet_gateway.md index a41cabf16..be3d1e308 100644 --- a/docs-chef-io/content/inspec/resources/aws_internet_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_internet_gateway.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_internet_gateway` InSpec audit resource to test the properties of a single AWS internet gateway. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,7 +102,7 @@ end ## Matchers -This InSpec audit resource has the following special matcher. For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +This InSpec audit resource has the following special matcher. For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -115,6 +115,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeInternetGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeInternetGatewaysResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_internet_gateways.md b/docs-chef-io/content/inspec/resources/aws_internet_gateways.md index 374720fbf..39a8bc41b 100644 --- a/docs-chef-io/content/inspec/resources/aws_internet_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_internet_gateways.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_internet_gateways` InSpec audit resource to test the properties of all AWS internet gateways owned by the AWS account. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -85,7 +85,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ### exist @@ -108,6 +108,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeInternetGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeInternetGatewaysResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_kms_key.md b/docs-chef-io/content/inspec/resources/aws_kms_key.md index b7fdc47a3..5bebdd115 100644 --- a/docs-chef-io/content/inspec/resources/aws_kms_key.md +++ b/docs-chef-io/content/inspec/resources/aws_kms_key.md @@ -18,9 +18,9 @@ Each AWS KMS Key is uniquely identified by its key_id or arn. For additional information, including details on parameters and properties, see the [AWS documentation on KS Keys](https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax 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 5623079f1..53d082cd8 100644 --- a/docs-chef-io/content/inspec/resources/aws_kms_keys.md +++ b/docs-chef-io/content/inspec/resources/aws_kms_keys.md @@ -18,9 +18,9 @@ AWS Key Management Service is integrated with several other AWS services to help For additional information, including details on parameters and properties, see the [AWS documentation on KS Keys](https://docs.aws.amazon.com/kms/latest/developerguide/getting-started.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -70,7 +70,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -93,6 +95,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="KMS:Client:ListKeysResponse" %}} +{{% inspec-aws/aws_permissions_principal action="KMS:Client:ListKeysResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for AWS Key Management Service](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awskeymanagementservice.html). diff --git a/docs-chef-io/content/inspec/resources/aws_lambda.md b/docs-chef-io/content/inspec/resources/aws_lambda.md index 9b25070d5..dba56f8b2 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_lambda` resource to test a specific AWS Lambda function. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -51,11 +51,11 @@ end ## Matchers -This InSpec audit resource uses the standard matchers. For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +This InSpec audit resource uses the standard matchers. For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:GetFunctionResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:GetFunctionResponse" %}} You can find detailed documentation at [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/lambda-api-permissions-ref.html) 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 2681126ff..dd314647b 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_alias.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_alias.md @@ -16,9 +16,9 @@ The `AWS::Lambda::Alias` resource creates an alias for a Lambda function version For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda alias](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,9 +80,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -114,4 +114,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:AliasConfiguration" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:AliasConfiguration" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_aliases.md b/docs-chef-io/content/inspec/resources/aws_lambda_aliases.md index 6d5eb8277..87a1bb6c5 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_aliases.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_aliases.md @@ -16,9 +16,9 @@ The `AWS::Lambda::Alias` resource creates an alias for a Lambda function version For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda alias](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-alias.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,7 +88,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -122,4 +122,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:ListAliasesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:ListAliasesResponse" %}} 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 f44d146cf..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 @@ -16,9 +16,9 @@ The `AWS::Lambda::CodeSigningConfig` resource specifies the details about a code For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM CodeSigningConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,9 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:GetCodeSigningConfigResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:GetCodeSigningConfigResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_code_signing_configs.md b/docs-chef-io/content/inspec/resources/aws_lambda_code_signing_configs.md index 59beed77c..1cc1da3f2 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_code_signing_configs.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_code_signing_configs.md @@ -16,9 +16,9 @@ The `AWS::Lambda::CodeSigningConfig` resource specifies the details about a code For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM CodeSigningConfig](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-codesigningconfig.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:ListCodeSigningConfigsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:ListCodeSigningConfigsResponse" %}} 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 012bff4ac..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 @@ -16,9 +16,9 @@ The AWS::Lambda::EventInvokeConfig resource configures options for asynchronous For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda EventInvokeConfig.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -96,9 +96,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -130,4 +130,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:FunctionEventInvokeConfig" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:FunctionEventInvokeConfig" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_event_invoke_configs.md b/docs-chef-io/content/inspec/resources/aws_lambda_event_invoke_configs.md index 4cdc2e63d..6d1fe5756 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_event_invoke_configs.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_event_invoke_configs.md @@ -16,9 +16,9 @@ The AWS::Lambda::EventInvokeConfig resource configures options for asynchronous For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda EventInvokeConfig.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventinvokeconfig.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -78,7 +78,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -102,4 +102,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:ListFunctionEventInvokeConfigsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:ListFunctionEventInvokeConfigsResponse" %}} 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 d7ed2b07f..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 @@ -16,9 +16,9 @@ The `AWS::Lambda::EventSourceMapping` resource creates a mapping between an even For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda EventSourceMapping](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-eventsourcemapping.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,9 +121,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -155,4 +155,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:EventSourceMappingConfiguration" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:EventSourceMappingConfiguration" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_event_source_mappings.md b/docs-chef-io/content/inspec/resources/aws_lambda_event_source_mappings.md index 457cb4182..f558b893d 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_event_source_mappings.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_event_source_mappings.md @@ -16,9 +16,9 @@ The `AWS::Lambda::EventSourceMapping` resource creates a mapping between an even For additional information, including details on parameters and properties, see the [AWS documentation on Athena Work Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-athena-workgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -113,7 +113,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -147,4 +147,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:ListEventSourceMappingsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:ListEventSourceMappingsResponse" %}} 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 41545a6dd..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 @@ -16,9 +16,9 @@ The `AWS::Lambda::LayerVersionPermission` resource adds permissions to the resou For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda layer version permission](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-layerversionpermission.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -68,9 +68,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -102,4 +102,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:GetLayerVersionPolicyResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:GetLayerVersionPolicyResponse" %}} 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 e7333a264..48d5ee02e 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_permission.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_permission.md @@ -16,9 +16,9 @@ The `AWS::Lambda::Permission` resource grants an AWS service or another account For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda permission](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -77,10 +77,10 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 -{{% aws_permissions_principal action="Lambda:Client:GetPolicyResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:GetPolicyResponse" %}} 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 a9271ba32..c8d3ed6ad 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_permissions.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_permissions.md @@ -16,9 +16,9 @@ The `AWS::Lambda::Permission` resource grants an AWS service or another account For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda permission](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-permission.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,10 +71,10 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 -{{% aws_permissions_principal action="Lambda:Client:GetPolicyResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:GetPolicyResponse" %}} 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 61e3a9eff..c6a86d212 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_version.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_version.md @@ -16,9 +16,9 @@ The `AWS::Lambda::Version` resource creates a version from the current code and For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda Version](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -101,9 +101,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -135,4 +135,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:GetLayerVersionResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:GetLayerVersionResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_lambda_versions.md b/docs-chef-io/content/inspec/resources/aws_lambda_versions.md index c593d1fe6..670c3ed63 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambda_versions.md +++ b/docs-chef-io/content/inspec/resources/aws_lambda_versions.md @@ -16,9 +16,9 @@ The `AWS::Lambda::Version` resource creates a version from the current code and For additional information, including details on parameters and properties, see the [AWS documentation on AWS Lambda Version](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-lambda-version.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -127,4 +127,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:ListLayerVersionsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:ListLayerVersionsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_lambdas.md b/docs-chef-io/content/inspec/resources/aws_lambdas.md index 3e457d7aa..2ee240f5b 100644 --- a/docs-chef-io/content/inspec/resources/aws_lambdas.md +++ b/docs-chef-io/content/inspec/resources/aws_lambdas.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_lambdas` resource to test the collection of lambdas deployed into an account. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -64,11 +64,11 @@ end ## Matchers -This InSpec audit resource uses the standard matchers. For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +This InSpec audit resource uses the standard matchers. For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ## AWS Permissions -{{% aws_permissions_principal action="Lambda:Client:ListFunctionsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Lambda:Client:ListFunctionsResponse" %}} You can find detailed documentation at [AWS Lambda](https://docs.aws.amazon.com/lambda/latest/dg/lambda-api-permissions-ref.html) 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 52e87141f..b45eb3ff7 100644 --- a/docs-chef-io/content/inspec/resources/aws_launch_configuration.md +++ b/docs-chef-io/content/inspec/resources/aws_launch_configuration.md @@ -14,9 +14,9 @@ Use the `aws_launch_configuration` InSpec audit resource to test properties of a For additional information, including details on parameters and properties, see the [AWS documentation on Launch Configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/LaunchConfiguration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,7 +121,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -143,5 +145,5 @@ end ## AWS Permissions -{{% aws_permissions_principal action="AutoScaling:Client:LaunchConfigurationsType" %}} +{{% inspec-aws/aws_permissions_principal action="AutoScaling:Client:LaunchConfigurationsType" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Auto Scaling Groups and launch configurations](https://docs.aws.amazon.com/autoscaling/ec2/userguide/control-access-using-iam.html). diff --git a/docs-chef-io/content/inspec/resources/aws_logs_metric_filter.md b/docs-chef-io/content/inspec/resources/aws_logs_metric_filter.md index d9d71ee6b..bc34a9d39 100644 --- a/docs-chef-io/content/inspec/resources/aws_logs_metric_filter.md +++ b/docs-chef-io/content/inspec/resources/aws_logs_metric_filter.md @@ -14,9 +14,9 @@ Use the `aws_logs_metric_filter` InSpec audit resource to test properties of a s For additional information, including details on parameters and properties, see the [AWS documentation on AWS Logs MetricFilter](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,7 +80,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -114,4 +114,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeMetricFiltersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeMetricFiltersResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_logs_metric_filters.md b/docs-chef-io/content/inspec/resources/aws_logs_metric_filters.md index 34cad63bb..adae253d5 100644 --- a/docs-chef-io/content/inspec/resources/aws_logs_metric_filters.md +++ b/docs-chef-io/content/inspec/resources/aws_logs_metric_filters.md @@ -14,9 +14,9 @@ Use the `aws_logs_metric_filters` InSpec audit resource to test properties of mu For additional information, including details on parameters and properties, see the [AWS documentation on AWS Logs MetricFilter](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-logs-metricfilter.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -69,7 +69,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -103,4 +103,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="CloudWatchLogs:Client:DescribeMetricFiltersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="CloudWatchLogs:Client:DescribeMetricFiltersResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_mq_broker.md b/docs-chef-io/content/inspec/resources/aws_mq_broker.md index 0fd4f9a1e..18a38e513 100644 --- a/docs-chef-io/content/inspec/resources/aws_mq_broker.md +++ b/docs-chef-io/content/inspec/resources/aws_mq_broker.md @@ -14,9 +14,9 @@ Use the `aws_mq_broker` InSpec audit resource to test the properties of a single For additional information, including details on parameters and properties, see the [AWS documentation on AWS MQ Broker](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-broker.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -136,7 +136,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control pass if the `describe` method returns at least one result. @@ -170,4 +170,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="MQ:Client:DescribeBrokerResponse" %}} +{{% inspec-aws/aws_permissions_principal action="MQ:Client:DescribeBrokerResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_mq_brokers.md b/docs-chef-io/content/inspec/resources/aws_mq_brokers.md index f27a407fc..61566cca5 100644 --- a/docs-chef-io/content/inspec/resources/aws_mq_brokers.md +++ b/docs-chef-io/content/inspec/resources/aws_mq_brokers.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_mq_brokers` InSpec audit resource to test the properties of multiple AWS MQ Broker. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control pass if the `list` method returns at least one result. @@ -128,4 +128,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="MQ:Client:ListBrokersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="MQ:Client:ListBrokersResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_mq_configuration.md b/docs-chef-io/content/inspec/resources/aws_mq_configuration.md index eeb04e9bd..512313fdf 100644 --- a/docs-chef-io/content/inspec/resources/aws_mq_configuration.md +++ b/docs-chef-io/content/inspec/resources/aws_mq_configuration.md @@ -14,9 +14,9 @@ Use the `aws_mq_configuration` InSpec audit resource to test the properties of a For additional information, including details on parameters and properties, see the [AWS documentation on AWS MQ configuration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-amazonmq-configuration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,7 +102,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -136,4 +136,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="MQ:Client:DescribeConfigurationResponse" %}} +{{% inspec-aws/aws_permissions_principal action="MQ:Client:DescribeConfigurationResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_mq_configurations.md b/docs-chef-io/content/inspec/resources/aws_mq_configurations.md index ae390d87d..d834b1b35 100644 --- a/docs-chef-io/content/inspec/resources/aws_mq_configurations.md +++ b/docs-chef-io/content/inspec/resources/aws_mq_configurations.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_mq_configurations` InSpec audit resource to test the properties of multiple AWS MQ configuration. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -99,7 +99,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -133,4 +133,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="MQ:Client:ListConfigurationsResponsegit" %}} +{{% inspec-aws/aws_permissions_principal action="MQ:Client:ListConfigurationsResponsegit" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_nat_gateway.md b/docs-chef-io/content/inspec/resources/aws_nat_gateway.md index f0e83bfdb..eab72b2a6 100644 --- a/docs-chef-io/content/inspec/resources/aws_nat_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_nat_gateway.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_nat_gateway` InSpec audit resource to test the properties of a single AWS NAT gateway. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -132,11 +132,11 @@ describe aws_nat_gateway(vpc_id: 'vpc-abc01234', subnet_id: 'subnet-12345678') d end ``` -For more examples, please check the [integration tests](../../test/integration/verify/controls/aws_nat_gateway.rb). +For more examples, see the [integration tests](https://github.com/inspec/inspec-aws/blob/main/test/integration/verify/controls/aws_nat_gateway.rb). ## Matchers -This InSpec audit resource has the following special matcher. For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +This InSpec audit resource has the following special matcher. For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -149,6 +149,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNatGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNatGatewaysResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_nat_gateways.md b/docs-chef-io/content/inspec/resources/aws_nat_gateways.md index 87a24700e..7aa3178e8 100644 --- a/docs-chef-io/content/inspec/resources/aws_nat_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_nat_gateways.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_nat_gateways` InSpec audit resource to test the properties of all AWS NAT gateways owned by the AWS account. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -82,12 +82,11 @@ aws_nat_gateways.ids.each do |id| end ``` -For more examples, please check the [integration tests](../../test/integration/verify/controls/aws_nat_gateways.rb). - +For more examples, see the [integration tests](https://github.com/inspec/inspec-aws/blob/main/test/integration/verify/controls/aws_nat_gateways.rb). ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ### exist @@ -112,6 +111,6 @@ Please see [here](https://github.com/inspec/inspec/blob/master/docs/dev/filterta ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNatGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNatGatewaysResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 8f056d7eb..52f48539e 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_acl.md +++ b/docs-chef-io/content/inspec/resources/aws_network_acl.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_network_acl` InSpec audit resource to test the properties of a single Amazon network ACL. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -145,7 +145,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -212,6 +214,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkAclsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkAclsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for network ACL](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-policy-examples.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 f83740bb4..986ec4a8c 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_acls.md +++ b/docs-chef-io/content/inspec/resources/aws_network_acls.md @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_network_acls` InSpec audit resource to test the properties of all Amazon network ACLs. To audit a single network ACL, use the `aws_network_acl` (singular) resource. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -189,7 +189,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -211,6 +213,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeNetworkAclsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeNetworkAclsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ElastiCache](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-policy-examples.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall.md b/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall.md index 5a986f58b..e7ad52f96 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall.md +++ b/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall.md @@ -16,9 +16,9 @@ The firewall defines the configuration settings for an AWS Network Firewall fire For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Firewall Firewall](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,7 +121,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -155,4 +155,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkFirewall:Client:DescribeFirewallResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkFirewall:Client:DescribeFirewallResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall_policies.md b/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall_policies.md index a4377697d..d9ef99145 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall_policies.md +++ b/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall_policies.md @@ -16,9 +16,9 @@ The firewall defines the configuration settings for an AWS Network Firewall fire For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Firewall Policy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `List` method returns at least one result. @@ -90,4 +90,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkFirewall:Client:ListFirewallPoliciesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkFirewall:Client:ListFirewallPoliciesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall_policy.md b/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall_policy.md index a3d2b156f..0c42fbcfb 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall_policy.md +++ b/docs-chef-io/content/inspec/resources/aws_network_firewall_firewall_policy.md @@ -16,9 +16,9 @@ The firewall defines the configuration settings for an AWS Network Firewall fire For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Firewall Firewall](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewallpolicy.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -109,7 +109,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -143,4 +143,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkFirewall:Client:DescribeFirewallPolicyResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkFirewall:Client:DescribeFirewallPolicyResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_network_firewall_firewalls.md b/docs-chef-io/content/inspec/resources/aws_network_firewall_firewalls.md index 325e5747b..2a29e4cc8 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_firewall_firewalls.md +++ b/docs-chef-io/content/inspec/resources/aws_network_firewall_firewalls.md @@ -16,9 +16,9 @@ The firewall defines the configuration settings for an AWS Network Firewall fire For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Firewall Firewall](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-firewall.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -100,4 +100,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkFirewall:Client:DescribeFirewallResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkFirewall:Client:DescribeFirewallResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_network_firewall_logging_configuration.md b/docs-chef-io/content/inspec/resources/aws_network_firewall_logging_configuration.md index 92a282717..97adbb582 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_firewall_logging_configuration.md +++ b/docs-chef-io/content/inspec/resources/aws_network_firewall_logging_configuration.md @@ -16,9 +16,9 @@ The `AWS::NetworkFirewall::LoggingConfiguration` resource defines the destinatio For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Firewall Logging Configuration](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-loggingconfiguration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -70,7 +70,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -104,4 +104,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkFirewall:Client:DescribeFirewallResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkFirewall:Client:DescribeFirewallResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_network_firewall_rule_group.md b/docs-chef-io/content/inspec/resources/aws_network_firewall_rule_group.md index ed640d0ea..2b116db53 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_firewall_rule_group.md +++ b/docs-chef-io/content/inspec/resources/aws_network_firewall_rule_group.md @@ -16,9 +16,9 @@ The `AWS::NetworkFirewall::RuleGroup` resource defines a reusable collection of For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Firewall Rule Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -199,7 +199,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -233,4 +233,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkFirewall:Client:DescribeRuleGroupResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkFirewall:Client:DescribeRuleGroupResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_network_firewall_rule_groups.md b/docs-chef-io/content/inspec/resources/aws_network_firewall_rule_groups.md index 58d0e38b9..6e842559d 100644 --- a/docs-chef-io/content/inspec/resources/aws_network_firewall_rule_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_network_firewall_rule_groups.md @@ -16,9 +16,9 @@ The `AWS::NetworkFirewall::RuleGroup` resource defines a reusable collection of For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Firewall Rule Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkfirewall-rulegroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -90,4 +90,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkFirewall:Client:ListRuleGroupsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkFirewall:Client:ListRuleGroupsResponse" %}} 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 835e81d04..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 @@ -16,9 +16,9 @@ The `AWS::NetworkManager::CustomerGatewayAssociation` resource specifies an asso For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Manager Customer Gateway Association.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-customergatewayassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -77,9 +77,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -111,4 +111,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkManager:Client:GetCustomerGatewayAssociationsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkManager:Client:GetCustomerGatewayAssociationsResponse" %}} 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 9db2b9742..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 @@ -16,9 +16,9 @@ The `AWS::NetworkManager::CustomerGatewayAssociation` resource specifies an asso For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Manager Customer Gateway Association.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-customergatewayassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,9 +83,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -107,4 +107,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkManager:Client:GetCustomerGatewayAssociationsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkManager:Client:GetCustomerGatewayAssociationsResponse" %}} 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 1a5bb58b5..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 @@ -16,9 +16,9 @@ The `AWS::NetworkManager::Device` resource gets information about one or more of For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Manager Device](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -129,9 +129,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -163,4 +163,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkManager:Client:GetDevicesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkManager:Client:GetDevicesResponse" %}} 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 5929d4fdc..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 @@ -16,9 +16,9 @@ The `AWS::NetworkManager::Device` resource gets information about one or more of For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Manager Device](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-device.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -154,9 +154,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -178,4 +178,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkManager:Client:GetDevicesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkManager:Client:GetDevicesResponse" %}} 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 505445557..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 @@ -16,9 +16,9 @@ The `AWS::NetworkManager::GlobalNetwork` resource describes one or more global n For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Manager Global Network](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-globalnetwork.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,9 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkManager:Client:DescribeGlobalNetworksResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkManager:Client:DescribeGlobalNetworksResponse" %}} 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 77a04b035..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 @@ -16,9 +16,9 @@ The `AWS::NetworkManager::GlobalNetwork` resource describes one or more global n For additional information, including details on parameters and properties, see the [AWS documentation on AWS Network Manager Global Network](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-networkmanager-globalnetwork.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,9 +74,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="NetworkManager:Client:DescribeGlobalNetworksResponse" %}} +{{% inspec-aws/aws_permissions_principal action="NetworkManager:Client:DescribeGlobalNetworksResponse" %}} 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 9c550455c..39e75c318 100644 --- a/docs-chef-io/content/inspec/resources/aws_organizations_member.md +++ b/docs-chef-io/content/inspec/resources/aws_organizations_member.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_organizations_member` InSpec audit resource to test the current AWS Account being used within an organization. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -75,7 +75,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### be_master 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 6c005a345..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 @@ -14,9 +14,9 @@ Use the `aws_ram_resource_share` InSpec audit resource to test properties of a s For additional information, including details on parameters and properties, see the [AWS documentation on AWS RAM Resource Share](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -90,9 +90,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -124,4 +124,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RAM:Client:GetResourceSharesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="RAM:Client:GetResourceSharesResponse" %}} 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 07a3dca19..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 @@ -14,9 +14,9 @@ Use the `aws_ram_resource_shares` InSpec audit resource to test properties of mu For additional information, including details on parameters and properties, see the [AWS documentation on AWS RAM Resource Share](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ram-resourceshare.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,9 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RAM:Client:GetResourceSharesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="RAM:Client:GetResourceSharesResponse" %}} 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 8ce8463bd..9d3a58fe3 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_cluster.md @@ -16,9 +16,9 @@ RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Micros For additional information, including details on parameters and properties, see the [AWS documentation on RDS cluster](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Overview.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,7 +88,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -110,6 +112,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBClusterMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBClusterMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). 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 1fd4f553a..7e7f03852 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_clusters.md @@ -14,9 +14,9 @@ Use the `aws_rds_clusters` InSpec audit resource to test properties of a collect RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, or Amazon Aurora database server. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -89,7 +89,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -111,6 +113,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBClusterMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBClusterMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_cluster_snapshot.md b/docs-chef-io/content/inspec/resources/aws_rds_db_cluster_snapshot.md index ecc2608fc..c011a33b0 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_cluster_snapshot.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_cluster_snapshot.md @@ -14,9 +14,9 @@ Use the `aws_rds_db_cluster_snapshot` InSpec audit resource to test the properti For additional information, including details on parameters and properties, see the [AWS documentation on AWS RDS Cluster Snapshot.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_RDS.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -119,7 +119,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `describe` method returns at least one result. @@ -153,4 +153,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBClusterSnapshotMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBClusterSnapshotMessage" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_cluster_snapshots.md b/docs-chef-io/content/inspec/resources/aws_rds_db_cluster_snapshots.md index f0f960677..b5919996b 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_cluster_snapshots.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_cluster_snapshots.md @@ -14,9 +14,9 @@ Use the `aws_rds_db_cluster_snapshots` InSpec audit resource to test the propert For additional information, including details on parameters and properties, see the [AWS documentation on AWS RDS Cluster Snapshot.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/AWS_RDS.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -159,7 +159,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `describe` method returns at least one result. @@ -193,4 +193,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBClusterSnapshotMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBClusterSnapshotMessage" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy.md b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy.md index 48df2e25c..5edea70b5 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy.md @@ -16,9 +16,9 @@ The `AWS::RDS::DBProxy` resource creates or updates an RDS DB proxy. For additional information, including details on parameters and properties, see the [AWS documentation on AWS RDS DBProxy](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxy.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -123,7 +123,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -157,4 +157,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBProxiesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBProxiesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_endpoint.md b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_endpoint.md index 72c93c16b..43a5ac61e 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_endpoint.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_endpoint.md @@ -16,9 +16,9 @@ The `AWS::RDS::DBProxyEndpoint` resource creates or updates an AWS RDS DB proxy For additional information, including details on parameters and properties, see the [AWS documentation on AWS RDS DBProxyEndpoint](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -103,7 +103,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -137,4 +137,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBProxyEndpointsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBProxyEndpointsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_endpoints.md b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_endpoints.md index 0021bbc72..8a7094ec8 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_endpoints.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_endpoints.md @@ -16,9 +16,9 @@ The `AWS::RDS::DBProxyEndpoint` resource creates or updates an AWS RDS DB proxy For additional information, including details on parameters and properties, see the [AWS documentation on AWS RDS DBProxyEndpoint](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxyendpoint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,7 +121,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -155,4 +155,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBProxyEndpointsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBProxyEndpointsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_target_group.md b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_target_group.md index aa71c1803..88cac81ba 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_target_group.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_target_group.md @@ -16,9 +16,9 @@ The `AWS::RDS::DBProxyTargetGroup` resource represents a set of RDS DB instances For additional information, including details on parameters and properties, see the [AWS documentation on AWS RDS DBProxyTargetGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxytargetgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -106,7 +106,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -140,4 +140,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBProxyTargetGroupsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBProxyTargetGroupsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_target_groups.md b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_target_groups.md index a78bfbe85..190de9704 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_target_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_proxy_target_groups.md @@ -16,9 +16,9 @@ The `AWS::RDS::DBProxyTargetGroup` resource represents a set of RDS DB instances For additional information, including details on parameters and properties, see the [AWS documentation on AWS RDS DBProxyTargetGroup](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-dbproxytargetgroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -106,7 +106,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -140,4 +140,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBProxyTargetGroupsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBProxyTargetGroupsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_security_group.md b/docs-chef-io/content/inspec/resources/aws_rds_db_security_group.md index 614f0438c..5a8013b06 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_security_group.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_security_group.md @@ -14,9 +14,9 @@ Use the `aws_rds_db_security_group` InSpec audit resource to test properties of For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::RDS::DBSecurityGroup` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-rds-security-group.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -124,7 +124,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -158,4 +158,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBSecurityGroup" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBSecurityGroup" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_db_security_groups.md b/docs-chef-io/content/inspec/resources/aws_rds_db_security_groups.md index 197ba4087..45993de86 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_db_security_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_db_security_groups.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_rds_db_security_groups` InSpec audit resource to test properties of multiple Amazon Relational Database Service (RDS) database security groups. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -75,7 +75,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -109,4 +109,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBSecurityGroup" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBSecurityGroup" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_event_subscription.md b/docs-chef-io/content/inspec/resources/aws_rds_event_subscription.md index f82ca7472..b99ee9735 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_event_subscription.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_event_subscription.md @@ -14,9 +14,9 @@ Use the `aws_rds_event_subscription` InSpec audit resource to test properties of For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::RDS::EventSubscription` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-eventsubscription.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,7 +94,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -128,4 +128,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeEventSubscriptionsMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeEventSubscriptionsMessage" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_event_subscriptions.md b/docs-chef-io/content/inspec/resources/aws_rds_event_subscriptions.md index fd9a1e43c..64d39f54f 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_event_subscriptions.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_event_subscriptions.md @@ -14,9 +14,9 @@ Use the `aws_rds_event_subscriptions` InSpec audit resource to test properties o For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::RDS::EventSubscription` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-eventsubscription.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -112,7 +112,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -146,4 +146,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBSecurityGroup" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBSecurityGroup" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_global_cluster.md b/docs-chef-io/content/inspec/resources/aws_rds_global_cluster.md index 3c0aa2d32..896c88343 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_global_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_global_cluster.md @@ -16,9 +16,9 @@ The `AWS::RDS::GlobalCluster` resource creates or updates an Amazon Aurora globa For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::RDS::GlobalCluster` resource type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-globalcluster.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -114,7 +114,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -148,4 +148,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeGlobalClustersMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeGlobalClustersMessage" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_rds_global_clusters.md b/docs-chef-io/content/inspec/resources/aws_rds_global_clusters.md index 0053805c9..041181e24 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_global_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_global_clusters.md @@ -14,9 +14,9 @@ Use the `aws_rds_global_clusters` InSpec audit resource to test properties of mu The AWS::RDS::GlobalCluster resource creates or updates an Amazon Aurora global database spread across multiple AWS Regions. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -105,7 +105,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -139,4 +139,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeGlobalClustersMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeGlobalClustersMessage" %}} 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 68c76ae13..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 @@ -16,9 +16,9 @@ RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Micros For additional information, including details on parameters and properties, see the [AWS documentation on RDS Option Group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -91,7 +91,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -113,6 +115,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:OptionGroups" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:OptionGroups" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). 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 a2af0cb14..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 @@ -14,9 +14,9 @@ Use the `aws_rds_group_options` InSpec audit resource to test detailed propertie RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, or Amazon Aurora database server. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,7 @@ This resource does not require any parameters. : The storage allocated to each cluster. : **Field**: `allows_vpc_and_non_vpc_instance_memberships` -See also the [AWS documentation on RDS cluster](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html). +See the [AWS documentation on RDS cluster](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-rds-optiongroup.html). For a comprehensive list of properties available to test on an RDS cluster see the [AWS Response Object](https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/RDS/DBCluster.html). @@ -108,7 +108,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -130,6 +132,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:OptionGroups" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:OptionGroups" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). 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 ed3dead4b..88922f3ac 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_instance.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_instance.md @@ -16,9 +16,9 @@ RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Micros For additional information, including details on parameters and properties, see the [AWS documentation on RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,7 +93,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -115,6 +117,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBInstanceMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBInstanceMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). 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 8f1fd9440..0482d1e12 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_instances.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_instances.md @@ -16,9 +16,9 @@ RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Micros RDS instances are compute instances used by the RDS service. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -75,7 +75,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -97,6 +99,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBInstanceMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBInstanceMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 997b31c9b..c32086e15 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_snapshot.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_snapshot.md @@ -14,9 +14,9 @@ Use the `aws_rds_snapshot` InSpec audit resource to test the detailed properties For additional information, including details on parameters and properties, see the [AWS documentation on RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -102,7 +102,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -124,6 +126,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBSnapshotMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBSnapshotMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). 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 32044a9e7..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 @@ -14,9 +14,9 @@ Use the `aws_rds_snapshotattributes` InSpec audit resource to test the detailed For additional information, including details on parameters and properties, see the [AWS documentation on RDS](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_GettingStarted.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -98,6 +100,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DescribeDBSnapshotAttributesResult" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DescribeDBSnapshotAttributesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon RDS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonrds.html). 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 22d14b6e6..2ad78821f 100644 --- a/docs-chef-io/content/inspec/resources/aws_rds_snapshots.md +++ b/docs-chef-io/content/inspec/resources/aws_rds_snapshots.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_rds_snapshots` InSpec audit resource to test the properties of a collection of AWS RDS snapshots. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -84,7 +84,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -106,6 +108,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="RDS:Client:DBSnapshotMessage" %}} +{{% inspec-aws/aws_permissions_principal action="RDS:Client:DBSnapshotMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 6e51497b4..c12dfe0fc 100644 --- a/docs-chef-io/content/inspec/resources/aws_redshift_cluster.md +++ b/docs-chef-io/content/inspec/resources/aws_redshift_cluster.md @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_redshift_cluster` InSpec audit resource to test detailed properties of an individual AWS Redshift cluster. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -124,7 +124,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -146,6 +148,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Redshift:Client:ClustersMessage" %}} +{{% inspec-aws/aws_permissions_principal action="Redshift:Client:ClustersMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Redshift](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonRedshift.html). diff --git a/docs-chef-io/content/inspec/resources/aws_redshift_cluster_parameter_group.md b/docs-chef-io/content/inspec/resources/aws_redshift_cluster_parameter_group.md index db25625e8..4e27523a0 100644 --- a/docs-chef-io/content/inspec/resources/aws_redshift_cluster_parameter_group.md +++ b/docs-chef-io/content/inspec/resources/aws_redshift_cluster_parameter_group.md @@ -16,9 +16,9 @@ A Redshift cluster parameter group is uniquely identified by the parameter group For additional information, including details on parameters and properties, see the [AWS documentation on Redshift cluster parameter group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clusterparametergroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -68,7 +68,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -110,6 +110,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Redshift:Client:ClusterParameterGroupsMessage" %}} +{{% inspec-aws/aws_permissions_principal action="Redshift:Client:ClusterParameterGroupsMessage" %}} See the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html) documentation for additional information. 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 eaa03c9a4..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 @@ -16,9 +16,9 @@ This resource does not expect any parameters. For additional information, including details on parameters and properties, see the [AWS documentation on Redshift cluster parameter group](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-redshift-clusterparametergroup.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -84,7 +84,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -106,6 +108,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Redshift:Client:ClusterParameterGroupsMessage" %}} +{{% inspec-aws/aws_permissions_principal action="Redshift:Client:ClusterParameterGroupsMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). 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 79c83ccc3..dbc750ffe 100644 --- a/docs-chef-io/content/inspec/resources/aws_redshift_clusters.md +++ b/docs-chef-io/content/inspec/resources/aws_redshift_clusters.md @@ -14,9 +14,9 @@ Use the `aws_redshift_clusters` InSpec audit resource to test properties of a co Redshift gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, or Amazon Aurora database server. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -128,7 +128,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -152,6 +154,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Redshift:Client:ClustersMessage" %}} +{{% inspec-aws/aws_permissions_principal action="Redshift:Client:ClustersMessage" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_region.md b/docs-chef-io/content/inspec/resources/aws_region.md index 0940e2b8f..f1ad2f51f 100644 --- a/docs-chef-io/content/inspec/resources/aws_region.md +++ b/docs-chef-io/content/inspec/resources/aws_region.md @@ -14,9 +14,9 @@ Use the `aws_region` InSpec audit resource to test properties of a single AWS re For additional information, including details on parameters and properties, see the [AWS documentation on Regions](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -69,7 +69,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -81,6 +83,6 @@ it { should exist } ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeRegionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeRegionsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_regions.md b/docs-chef-io/content/inspec/resources/aws_regions.md index 52f2c24c2..2badf26b1 100644 --- a/docs-chef-io/content/inspec/resources/aws_regions.md +++ b/docs-chef-io/content/inspec/resources/aws_regions.md @@ -16,9 +16,9 @@ Note that this resource lists all AWS regions that are currently available to th For additional information, including details on parameters and properties, see the [AWS documentation on Regions](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-regions-availability-zones.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -77,7 +77,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -91,6 +91,6 @@ it { should exist } ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeRegionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeRegionsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_route53_record_set.md b/docs-chef-io/content/inspec/resources/aws_route53_record_set.md index 409bce834..5cc47e504 100644 --- a/docs-chef-io/content/inspec/resources/aws_route53_record_set.md +++ b/docs-chef-io/content/inspec/resources/aws_route53_record_set.md @@ -16,9 +16,9 @@ The `AWS::Route53::RecordSet` resource specifies information about the record th For additional information, including details on parameters and properties, see the [AWS documentation on AWS Route53 Record Set](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -113,7 +113,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -147,4 +147,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53:Client:ListResourceRecordSetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53:Client:ListResourceRecordSetsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_route53_record_sets.md b/docs-chef-io/content/inspec/resources/aws_route53_record_sets.md index 23b473bd9..9e4087285 100644 --- a/docs-chef-io/content/inspec/resources/aws_route53_record_sets.md +++ b/docs-chef-io/content/inspec/resources/aws_route53_record_sets.md @@ -16,9 +16,9 @@ The `AWS::Route53::RecordSet` type can be used as a standalone resource or as an For additional information, including details on parameters and properties, see the [AWS documentation on AWS Route53 Record Set](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-route53-recordset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -123,7 +123,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -147,4 +147,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53:Client:ListResourceRecordSetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53:Client:ListResourceRecordSetsResponse" %}} 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 5798b74b1..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 @@ -16,9 +16,9 @@ There are two types of Resolver endpoints, inbound and outbound. An inbound Reso For additional information, including details on parameters and properties, see the [AWS documentation on AWS Route53Resolver Resolver Endpoint](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -94,9 +94,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -128,4 +128,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53Resolver:Client:GetResolverEndpointResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53Resolver:Client:GetResolverEndpointResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_endpoints.md b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_endpoints.md index 657bd02a4..f7f14dbd1 100644 --- a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_endpoints.md +++ b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_endpoints.md @@ -16,9 +16,9 @@ There are two types of Resolver endpoints, inbound and outbound. An inbound Reso For additional information, including details on parameters and properties, see the [AWS documentation on AWS Route53Resolver Resolver Endpoint](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverendpoint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -92,7 +92,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -126,4 +126,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53Resolver:Client:ListResolverEndpointsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53Resolver:Client:ListResolverEndpointsResponse" %}} 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 1f26c8d89..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 @@ -16,9 +16,9 @@ The AWS Route53 Resolver Rule resource specifies which Resolver endpoint the que For additional information, including details on parameters and properties, see the [AWS documentation on AWS Route53 Resolver rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -103,9 +103,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -137,4 +137,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53Resolver:Client:GetResolverRuleResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53Resolver:Client:GetResolverRuleResponse" %}} 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 1ee6241d8..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 @@ -16,9 +16,9 @@ The Resolver rule association determines which DNS queries that originate in the For additional information, including details on parameters and properties, see the [AWS documentation on AWS Route53Resolver Resolver Rule Association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,9 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53Resolver:Client:GetResolverRuleAssociationResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53Resolver:Client:GetResolverRuleAssociationResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule_associations.md b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule_associations.md index 863c54186..4e07e1543 100644 --- a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rule_associations.md @@ -16,9 +16,9 @@ The Resolver rule association determines which DNS queries that originate in the For additional information, including details on parameters and properties, see the [AWS documentation on AWS Route53Resolver Resolver Rule Association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverruleassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,7 +74,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -108,4 +108,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53Resolver:Client:ListResolverRuleAssociationsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53Resolver:Client:ListResolverRuleAssociationsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rules.md b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rules.md index e8a2886f5..a5789fd69 100644 --- a/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rules.md +++ b/docs-chef-io/content/inspec/resources/aws_route53resolver_resolver_rules.md @@ -16,9 +16,9 @@ The AWS Route53 Resolver Rule resource specifies which Resolver endpoint the que For additional information, including details on parameters and properties, see the [AWS documentation on AWS Route53 Resolver Rule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-route53resolver-resolverrule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -98,7 +98,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -132,4 +132,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Route53Resolver:Client:ListResolverRulesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Route53Resolver:Client:ListResolverRulesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_route_table.md b/docs-chef-io/content/inspec/resources/aws_route_table.md index 0940c6ed8..5ce0ee7b0 100644 --- a/docs-chef-io/content/inspec/resources/aws_route_table.md +++ b/docs-chef-io/content/inspec/resources/aws_route_table.md @@ -14,9 +14,9 @@ Use the `aws_route_table` InSpec audit resource to test the properties of a sing For additional information, including details on parameters and properties, see the [AWS documentation on route tables](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route-table.html) and the [AWS documentation on routes](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route.html#cfn-ec2-route-destinationcidrblock). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -183,7 +183,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -258,6 +258,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeRouteTablesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeRouteTablesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_route_tables.md b/docs-chef-io/content/inspec/resources/aws_route_tables.md index ff1aac4db..f3897ae94 100644 --- a/docs-chef-io/content/inspec/resources/aws_route_tables.md +++ b/docs-chef-io/content/inspec/resources/aws_route_tables.md @@ -14,9 +14,9 @@ Use the `aws_route_tables` InSpec audit resource to test the properties of all r For additional information, including details on parameters and properties, see the [AWS documentation on route tables](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-route-table.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -223,6 +223,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeRouteTablesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeRouteTablesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). 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 548e42978..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 @@ -14,9 +14,9 @@ Use the `aws_s3_access_point` InSpec audit resource to test properties of a sing For additional information, including details on parameters and properties, see the [AWS documentation on AWS API Metric.](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -75,9 +75,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -109,4 +109,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="S3:Client:GetBucketMetricsConfigurationOutput" %}} +{{% inspec-aws/aws_permissions_principal action="S3:Client:GetBucketMetricsConfigurationOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_s3_access_points.md b/docs-chef-io/content/inspec/resources/aws_s3_access_points.md index ce747474e..2ae2e1ca8 100644 --- a/docs-chef-io/content/inspec/resources/aws_s3_access_points.md +++ b/docs-chef-io/content/inspec/resources/aws_s3_access_points.md @@ -14,9 +14,9 @@ Use the `aws_s3_access_points` InSpec audit resource to test properties of a Mul For additional information, including details on parameters and properties, see the [AWS documentation on AWS S3 Access Points.](https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketMetricsConfiguration.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -71,7 +71,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -105,4 +105,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="S3:Client:listBucketMetricsConfigurationOutput" %}} +{{% inspec-aws/aws_permissions_principal action="S3:Client:listBucketMetricsConfigurationOutput" %}} 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 d918ae16f..0a2e28f94 100644 --- a/docs-chef-io/content/inspec/resources/aws_s3_bucket.md +++ b/docs-chef-io/content/inspec/resources/aws_s3_bucket.md @@ -14,9 +14,9 @@ Use the `aws_s3_bucket` InSpec audit resource to test properties of a single AWS For additional information, including details on parameters and properties, see the [AWS documentation on S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -148,7 +148,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. #### be_public diff --git a/docs-chef-io/content/inspec/resources/aws_s3_bucket_object.md b/docs-chef-io/content/inspec/resources/aws_s3_bucket_object.md index 8f04b7d33..421fa62e7 100644 --- a/docs-chef-io/content/inspec/resources/aws_s3_bucket_object.md +++ b/docs-chef-io/content/inspec/resources/aws_s3_bucket_object.md @@ -16,9 +16,9 @@ Each S3 Object has a 'key' which can be thought of as the name of the S3 Object For additional information, including details on parameters and properties, see the [AWS documentation on S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/aws_s3_bucket_objects.md b/docs-chef-io/content/inspec/resources/aws_s3_bucket_objects.md index 6c8992fcd..0906db985 100644 --- a/docs-chef-io/content/inspec/resources/aws_s3_bucket_objects.md +++ b/docs-chef-io/content/inspec/resources/aws_s3_bucket_objects.md @@ -20,9 +20,9 @@ The bucket name. For additional information, including details on parameters and properties, see the [AWS documentation on S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -164,7 +164,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -188,4 +188,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="S3:Client:ListObjectsV2Output" %}} +{{% inspec-aws/aws_permissions_principal action="S3:Client:ListObjectsV2Output" %}} 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 f093b2c3d..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 @@ -16,9 +16,9 @@ The `AWS::S3::BucketPolicy` resource type applies an Amazon S3 bucket policy to For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::S3::BucketPolicy` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-policy.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -68,9 +68,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -102,4 +102,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="S3:Client:GetBucketPolicyOutput" %}} +{{% inspec-aws/aws_permissions_principal action="S3:Client:GetBucketPolicyOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_s3_buckets.md b/docs-chef-io/content/inspec/resources/aws_s3_buckets.md index b1908d736..a78b0dbf1 100644 --- a/docs-chef-io/content/inspec/resources/aws_s3_buckets.md +++ b/docs-chef-io/content/inspec/resources/aws_s3_buckets.md @@ -14,9 +14,9 @@ Use the `aws_s3_buckets` InSpec audit resource to list all buckets in a single a For additional information, including details on parameters and properties, see the [AWS documentation on S3 Buckets](https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingBucket.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,6 +80,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="S3:Client:ListBucketsOutput" %}} +{{% inspec-aws/aws_permissions_principal action="S3:Client:ListBucketsOutput" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon S3](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazons3.html). diff --git a/docs-chef-io/content/inspec/resources/aws_sdb_domains.md b/docs-chef-io/content/inspec/resources/aws_sdb_domains.md index acd2e746b..445709531 100644 --- a/docs-chef-io/content/inspec/resources/aws_sdb_domains.md +++ b/docs-chef-io/content/inspec/resources/aws_sdb_domains.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_sdb_domains` InSpec audit resource to test multiple SimpleDB domain names. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -52,7 +52,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -76,4 +76,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SimpleDB:Client:ListDomainsResult" %}} +{{% inspec-aws/aws_permissions_principal action="SimpleDB:Client:ListDomainsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_secretsmanager_secret.md b/docs-chef-io/content/inspec/resources/aws_secretsmanager_secret.md index 9a5fbcf1a..ce9090f5e 100644 --- a/docs-chef-io/content/inspec/resources/aws_secretsmanager_secret.md +++ b/docs-chef-io/content/inspec/resources/aws_secretsmanager_secret.md @@ -16,9 +16,9 @@ The `AWS::SecretsManager::Secret` resource creates a secret and stores it in Sec For additional information, including details on parameters and properties, see the [AWS documentation on AWS Secret Manager Secret](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -104,7 +104,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -138,4 +138,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SecretsManager:Client:DescribeSecretResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SecretsManager:Client:DescribeSecretResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_secretsmanager_secrets.md b/docs-chef-io/content/inspec/resources/aws_secretsmanager_secrets.md index 07a7b8347..f4f078a8d 100644 --- a/docs-chef-io/content/inspec/resources/aws_secretsmanager_secrets.md +++ b/docs-chef-io/content/inspec/resources/aws_secretsmanager_secrets.md @@ -16,9 +16,9 @@ The `AWS::SecretsManager::Secret` resource creates a secret and stores it in Sec For additional information, including details on parameters and properties, see the [AWS documentation on AWS Secret Manager Secret](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-secretsmanager-secret.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -104,7 +104,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -138,4 +138,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SecretsManager:Client:ListSecretsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SecretsManager:Client:ListSecretsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_security_group.md b/docs-chef-io/content/inspec/resources/aws_security_group.md index 4984f60e6..a56a7d3a4 100644 --- a/docs-chef-io/content/inspec/resources/aws_security_group.md +++ b/docs-chef-io/content/inspec/resources/aws_security_group.md @@ -48,9 +48,9 @@ This must be passed as a key-value entry in a hash. For example, `resource_data: For additional information, including details on parameters and properties, see the [AWS documentation on Security Groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -327,6 +327,6 @@ it { should_not exist } ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeSecurityGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeSecurityGroupsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). 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 bc83ae85f..55b5971ad 100644 --- a/docs-chef-io/content/inspec/resources/aws_security_groups.md +++ b/docs-chef-io/content/inspec/resources/aws_security_groups.md @@ -16,9 +16,9 @@ Security groups are a networking construct that contain ingress and egress rules For additional information, including details on parameters and properties, see the [AWS documentation on Security Groups](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/using-network-security.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -104,7 +104,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -121,6 +123,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeSecurityGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeSecurityGroupsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_securityhub_hub.md b/docs-chef-io/content/inspec/resources/aws_securityhub_hub.md index f6b1326ad..cb9bb70a7 100644 --- a/docs-chef-io/content/inspec/resources/aws_securityhub_hub.md +++ b/docs-chef-io/content/inspec/resources/aws_securityhub_hub.md @@ -14,9 +14,9 @@ Use the `aws_securityhub_hub` InSpec audit resource to test properties of a sing For additional information, including details on parameters and properties, see the [AWS documentation on AWS Security Hub](https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DescribeHub.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -65,7 +65,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -99,4 +99,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SecurityHub:Client:DescribeHubResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SecurityHub:Client:DescribeHubResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_servicecatalog_cloud_formation_product.md b/docs-chef-io/content/inspec/resources/aws_servicecatalog_cloud_formation_product.md index 87b9daa9d..60db77b70 100644 --- a/docs-chef-io/content/inspec/resources/aws_servicecatalog_cloud_formation_product.md +++ b/docs-chef-io/content/inspec/resources/aws_servicecatalog_cloud_formation_product.md @@ -14,9 +14,9 @@ Use the `aws_servicecatalog_cloud_formation_product` InSpec audit resource to te For additional information, including details on parameters and properties, see the [AWS documentation on AWS Service Catalog CloudFormation product](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-cloudformationproduct.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -89,7 +89,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -123,4 +123,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ServiceCatalog:Client:DescribeProductAsAdminOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ServiceCatalog:Client:DescribeProductAsAdminOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_servicecatalog_launch_role_constraint.md b/docs-chef-io/content/inspec/resources/aws_servicecatalog_launch_role_constraint.md index 059bda50d..615d5e4c2 100644 --- a/docs-chef-io/content/inspec/resources/aws_servicecatalog_launch_role_constraint.md +++ b/docs-chef-io/content/inspec/resources/aws_servicecatalog_launch_role_constraint.md @@ -14,9 +14,9 @@ Use the `aws_servicecatalog_launch_role_constraint` InSpec audit resource to tes For additional information, including details on parameters and properties, see the [AWS documentation on AWS Service Catalog launch role constraint](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,7 +80,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -114,4 +114,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ServiceCatalog:Client:DescribeConstraintOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ServiceCatalog:Client:DescribeConstraintOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_servicecatalog_launch_role_constraints.md b/docs-chef-io/content/inspec/resources/aws_servicecatalog_launch_role_constraints.md index 02912299f..68977325d 100644 --- a/docs-chef-io/content/inspec/resources/aws_servicecatalog_launch_role_constraints.md +++ b/docs-chef-io/content/inspec/resources/aws_servicecatalog_launch_role_constraints.md @@ -14,9 +14,9 @@ Use the `aws_servicecatalog_launch_role_constraints` InSpec audit resource to te For additional information, including details on parameters and properties, see the [AWS documentation on AWS ServiceCatalog LaunchRoleConstraint](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-launchroleconstraint.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,7 +74,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ServiceCatalog:Client:ListConstraintsForPortfolioOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ServiceCatalog:Client:ListConstraintsForPortfolioOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_principal_association.md b/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_principal_association.md index 04e152fcc..c63283846 100644 --- a/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_principal_association.md +++ b/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_principal_association.md @@ -14,9 +14,9 @@ Use the `aws_servicecatalog_portfolio_principal_association` InSpec audit resour For additional information, including details on parameters and properties, see the [AWS documentation on AWS Service Catalog Portfolio Principal Association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -62,7 +62,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -96,4 +96,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ServiceCatalog:Client:ListPrincipalsForPortfolioOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ServiceCatalog:Client:ListPrincipalsForPortfolioOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_principal_associations.md b/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_principal_associations.md index 10e39a57f..496fc0880 100644 --- a/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_principal_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_principal_associations.md @@ -14,9 +14,9 @@ Use the `aws_servicecatalog_portfolio_principal_associations` InSpec audit resou For additional information, including details on parameters and properties, see the [AWS documentation on AWS Service Catalog Portfolio Principal Association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioprincipalassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -62,7 +62,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -86,4 +86,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ServiceCatalog:Client:ListPrincipalsForPortfolioOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ServiceCatalog:Client:ListPrincipalsForPortfolioOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_product_association.md b/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_product_association.md index 0fb4ed076..71ae7c0a2 100644 --- a/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_product_association.md +++ b/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_product_association.md @@ -14,9 +14,9 @@ Use the `aws_servicecatalog_portfolio_product_association` InSpec audit resource For additional information, including details on parameters and properties, see the [AWS documentation on AWS Service Catalog Portfolio Product Association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,7 +74,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ServiceCatalog:Client:ListPortfoliosForProductOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ServiceCatalog:Client:ListPortfoliosForProductOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_product_associations.md b/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_product_associations.md index ef3f35c2b..1b8cb4422 100644 --- a/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_product_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_servicecatalog_portfolio_product_associations.md @@ -14,9 +14,9 @@ Use the `aws_servicecatalog_portfolio_product_associations` InSpec audit resourc For additional information, including details on parameters and properties, see the [AWS documentation on AWS Service Catalog Portfolio Product Association](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-servicecatalog-portfolioproductassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -74,7 +74,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="ServiceCatalog:Client:ListPortfoliosForProductOutput" %}} +{{% inspec-aws/aws_permissions_principal action="ServiceCatalog:Client:ListPortfoliosForProductOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule.md b/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule.md index 0e7986652..ffebc1bb8 100644 --- a/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule.md +++ b/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule.md @@ -16,9 +16,9 @@ The `AWS::SES::ReceiptRule` resource specifies a receipt rule. For additional information, including details on parameters and properties, see the [AWS documentation on AWS SES ReceiptRule](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptrule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -140,7 +140,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -174,4 +174,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SES:Client:DescribeReceiptRuleResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SES:Client:DescribeReceiptRuleResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule_set.md b/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule_set.md index 3b8ae8637..098412d56 100644 --- a/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule_set.md +++ b/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule_set.md @@ -16,9 +16,9 @@ The `AWS::SES::ReceiptRuleSet` resource specifies a receipt rule set. For additional information, including details on parameters and properties, see the [AWS documentation on AWS SES ReceiptRuleSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptruleset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -136,7 +136,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -170,4 +170,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SES:Client:DescribeReceiptRuleSetResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SES:Client:DescribeReceiptRuleSetResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule_sets.md b/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule_sets.md index 4dc9a811e..bcbac49be 100644 --- a/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule_sets.md +++ b/docs-chef-io/content/inspec/resources/aws_ses_receipt_rule_sets.md @@ -16,9 +16,9 @@ The `AWS::SES::ReceiptRuleSet` resource specifies a receipt rule set. For additional information, including details on parameters and properties, see the [AWS documentation on AWS SES ReceiptRuleSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-receiptruleset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -58,7 +58,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -82,4 +82,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SES:Client:ListReceiptRuleSetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SES:Client:ListReceiptRuleSetsResponse" %}} 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 d9988aefe..4258f2cf5 100644 --- a/docs-chef-io/content/inspec/resources/aws_ses_template.md +++ b/docs-chef-io/content/inspec/resources/aws_ses_template.md @@ -16,9 +16,9 @@ The `AWS::SES::Template` resource specifies an email template. For additional information, including details on parameters and properties, see the [AWS documentation on AWS SES Template](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,9 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -120,4 +120,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SES:Client:GetTemplateResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SES:Client:GetTemplateResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ses_templates.md b/docs-chef-io/content/inspec/resources/aws_ses_templates.md index 4eebb1766..5be093c6a 100644 --- a/docs-chef-io/content/inspec/resources/aws_ses_templates.md +++ b/docs-chef-io/content/inspec/resources/aws_ses_templates.md @@ -16,9 +16,9 @@ The `AWS::SES::Template` resource specifies an email template. For additional information, including details on parameters and properties, see the [AWS documentation on AWS SES Template](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ses-template.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -58,7 +58,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -82,4 +82,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SES:Client:ListTemplatesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SES:Client:ListTemplatesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_shield_subscription.md b/docs-chef-io/content/inspec/resources/aws_shield_subscription.md index 4c4822941..4647bfd06 100644 --- a/docs-chef-io/content/inspec/resources/aws_shield_subscription.md +++ b/docs-chef-io/content/inspec/resources/aws_shield_subscription.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_shield_subscription` InSpec audit resource to test properties of an AWS Shield Advanced subscription. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -65,10 +65,10 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ## AWS Permissions -{{% aws_permissions_principal action="Shield:Client:DescribeSubscriptionResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Shield:Client:DescribeSubscriptionResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Shield](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awsshield.html). diff --git a/docs-chef-io/content/inspec/resources/aws_signer_profile_permissions.md b/docs-chef-io/content/inspec/resources/aws_signer_profile_permissions.md index 2e8f131bb..cb6b8e77b 100644 --- a/docs-chef-io/content/inspec/resources/aws_signer_profile_permissions.md +++ b/docs-chef-io/content/inspec/resources/aws_signer_profile_permissions.md @@ -16,9 +16,9 @@ The `AWS::Signer::ProfilePermission` resource adds cross-account permissions to For additional information, including details on parameters and properties, see the [AWS documentation on AWS Signer ProfilePermission](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-profilepermission.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,7 +86,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Signer:Client:ListProfilePermissionsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Signer:Client:ListProfilePermissionsResponse" %}} 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 41bd1dc90..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 @@ -16,9 +16,9 @@ A signing profile is a code signing template that can be used to carry out a pre For additional information, including details on parameters and properties, see the [AWS documentation on AWS Signer SigningProfile.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -123,9 +123,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -157,4 +157,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Signer:Client:GetSigningProfileResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Signer:Client:GetSigningProfileResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_signer_signing_profiles.md b/docs-chef-io/content/inspec/resources/aws_signer_signing_profiles.md index 420cee9f1..777d6e614 100644 --- a/docs-chef-io/content/inspec/resources/aws_signer_signing_profiles.md +++ b/docs-chef-io/content/inspec/resources/aws_signer_signing_profiles.md @@ -16,9 +16,9 @@ A signing profile is a code signing template that can be used to carry out a pre For additional information, including details on parameters and properties, see the [AWS documentation on AWS Signer SigningProfile.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-signer-signingprofile.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -124,7 +124,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -148,4 +148,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Signer:Client:ListSigningProfilesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Signer:Client:ListSigningProfilesResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_sns_subscription.md b/docs-chef-io/content/inspec/resources/aws_sns_subscription.md index 3b71565c7..9c11847ae 100644 --- a/docs-chef-io/content/inspec/resources/aws_sns_subscription.md +++ b/docs-chef-io/content/inspec/resources/aws_sns_subscription.md @@ -14,9 +14,9 @@ Use the `aws_sns_subscription` InSpec audit resource to test detailed properties For additional information, including details on parameters and properties, see the [AWS documentation on SNS](https://docs.aws.amazon.com/sns/latest/dg/sns-getting-started.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -130,6 +130,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SNS:Client:GetSubscriptionAttributesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SNS:Client:GetSubscriptionAttributesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon SNS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsns.html). diff --git a/docs-chef-io/content/inspec/resources/aws_sns_subscriptions.md b/docs-chef-io/content/inspec/resources/aws_sns_subscriptions.md index 44bda4903..404408c30 100644 --- a/docs-chef-io/content/inspec/resources/aws_sns_subscriptions.md +++ b/docs-chef-io/content/inspec/resources/aws_sns_subscriptions.md @@ -16,9 +16,9 @@ The `AWS::SNS::Subscription` resource subscribes an endpoint to an Amazon SNS to For additional information, including details on parameters and properties, see the [AWS documentation on AWS SNS subscriptions.](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -81,7 +81,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -115,4 +115,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SNS:Client:ListSubscriptionsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SNS:Client:ListSubscriptionsResponse" %}} 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 eccad0aff..b1a1bb49a 100644 --- a/docs-chef-io/content/inspec/resources/aws_sns_topic.md +++ b/docs-chef-io/content/inspec/resources/aws_sns_topic.md @@ -14,9 +14,9 @@ Use the `aws_sns_topic` InSpec audit resource to test properties of a single AWS For additional information, including details on parameters and properties, see the [AWS documentation on SNS](https://docs.aws.amazon.com/sns/latest/dg/sns-getting-started.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -60,7 +60,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -82,6 +84,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SNS:Client:GetTopicAttributesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SNS:Client:GetTopicAttributesResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon SNS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsns.html). diff --git a/docs-chef-io/content/inspec/resources/aws_sns_topics.md b/docs-chef-io/content/inspec/resources/aws_sns_topics.md index cb84da18d..627b039e7 100644 --- a/docs-chef-io/content/inspec/resources/aws_sns_topics.md +++ b/docs-chef-io/content/inspec/resources/aws_sns_topics.md @@ -16,9 +16,9 @@ User the 'aws_sns_topic' InSpec audit resource to test a single SNS Topic in an For additional information, including details on parameters and properties, see the [AWS documentation on SNS](https://docs.aws.amazon.com/sns/latest/dg/sns-getting-started.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -75,6 +75,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SNS:Client:ListTopicsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="SNS:Client:ListTopicsResponse" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon SNS](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonsns.html). 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 6e4b3cadd..ed1182cb0 100644 --- a/docs-chef-io/content/inspec/resources/aws_sqs_queue.md +++ b/docs-chef-io/content/inspec/resources/aws_sqs_queue.md @@ -14,9 +14,9 @@ Use the `aws_sqs_queue` InSpec audit resource to test properties of a single AWS For additional information, including details on parameters and properties, see the [AWS documentation on SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/welcome.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,7 +121,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -181,5 +183,5 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SQS:Client:GetQueueAttributesResult" %}} +{{% inspec-aws/aws_permissions_principal action="SQS:Client:GetQueueAttributesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-using-identity-based-policies.html). 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 ac2a317d4..2377e00b4 100644 --- a/docs-chef-io/content/inspec/resources/aws_sqs_queues.md +++ b/docs-chef-io/content/inspec/resources/aws_sqs_queues.md @@ -14,9 +14,9 @@ Use the `aws_sqs_queues` InSpec audit resource to test properties of some or al For additional information, including details on parameters and properties, see the [AWS documentation on SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/welcome.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -70,7 +70,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -92,5 +94,5 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SQS:Client:GetQueueAttributesResult" %}} +{{% inspec-aws/aws_permissions_principal action="SQS:Client:GetQueueAttributesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon SQS](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-using-identity-based-policies.html). 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 5a4dec11b..058e08701 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_activation.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_activation.md @@ -14,9 +14,9 @@ Use the `aws_ssm_activation` InSpec audit resource to test properties of a ssm a For additional information, including details on parameters and properties, see the [AWS documentation on SSM Activations](https://docs.aws.amazon.com/systems-manager/latest/userguide/activations.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -81,7 +81,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -103,6 +105,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeActivationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeActivationsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 070f13d8b..d7b460d17 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_activations.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_activations.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ssm_activations` InSpec audit resource to test properties of a collection of AWS SSM Activations. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -98,6 +100,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeActivationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeActivationsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 058a7b306..79bff2e94 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_association.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_association.md @@ -14,9 +14,9 @@ Use the `aws_ssm_association` InSpec audit resource to test properties of a ssm For additional information, including details on parameters and properties, see the [AWS documentation on SSM Associations](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-state-assoc.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -123,7 +123,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -145,6 +147,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeAssociationResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeAssociationResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 d89d3ba0b..fa665575c 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_associations.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_associations.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ssm_associations` InSpec audit resource to test properties of a collection of AWS SSM Associations. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -98,6 +100,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:ListAssociationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:ListAssociationsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 0fb995687..0d5a5ae9a 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_document.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_document.md @@ -14,9 +14,9 @@ Use the `aws_ssm_document` InSpec audit resource to test properties of a ssm doc For additional information, including details on parameters and properties, see the [AWS documentation on SSM Documents](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-ssm-docs.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -119,7 +119,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -141,6 +143,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeDocumentResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeDocumentResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 70b7c7129..452606e0e 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_documents.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_documents.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ssm_documents` InSpec audit resource to test properties of a collection of AWS SSM Compliance Items. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -73,7 +73,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -95,6 +97,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:ListDocumentsResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:ListDocumentsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 690265d43..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 @@ -16,9 +16,9 @@ The `AWS::SSM::MaintenanceWindow` resource represents general information about For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::SSM::MaintenanceWindow` resource type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -121,9 +121,9 @@ end This Chef InSpec audit resource has the following special matchers. -{{% inspec_matchers_link %}} +{{< 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 @@ -155,4 +155,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:GetMaintenanceWindowResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:GetMaintenanceWindowResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_target.md b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_target.md index 5e0a588e9..92455942d 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_target.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_target.md @@ -14,9 +14,9 @@ Use the `aws_ssm_maintenance_window_target` Chef InSpec audit resource to test p For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM MaintenanceWindowTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -95,7 +95,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -129,4 +129,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowTargetsResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowTargetsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_targets.md b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_targets.md index a748538f5..88e0f7d3c 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_targets.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_targets.md @@ -14,9 +14,9 @@ Use the `aws_ssm_maintenance_window_targets` InSpec audit resource to test prope For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM MaintenanceWindowTarget](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtarget.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -99,7 +99,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -133,4 +133,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowTargetsResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowTargetsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_task.md b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_task.md index d4b09b345..3a1099d53 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_task.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_task.md @@ -16,9 +16,9 @@ The `AWS::SSM::MaintenanceWindowTask` resource defines information about a task For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM MaintenanceWindowTask](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -132,7 +132,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -156,4 +156,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowTasksResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowTasksResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_tasks.md b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_tasks.md index 04bd72861..f09aa168d 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_tasks.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_window_tasks.md @@ -16,9 +16,9 @@ The `AWS::SSM::MaintenanceWindowTask` resource defines information about a task For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM MaintenanceWindowTask](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindowtask.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -144,7 +144,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -168,4 +168,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowTasksResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowTasksResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_windows.md b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_windows.md index 96dc2964d..e2f9696ff 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_windows.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_maintenance_windows.md @@ -16,9 +16,9 @@ The `AWS::SSM::MaintenanceWindow` resource represents general information about For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::SSM::MaintenanceWindow` resource type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-maintenancewindow.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -124,7 +124,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -148,4 +148,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowsResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeMaintenanceWindowsResult" %}} 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 9ba3b436d..f107c9db4 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_parameter.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_parameter.md @@ -14,9 +14,9 @@ Use the `aws_ssm_parameter` InSpec audit resource to test properties of a ssm pa For additional information, including details on parameters and properties, see the [AWS documentation on SSM Parameters](https://docs.aws.amazon.com/systems-manager/latest/userguide/integration-ps-secretsmanager.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -83,7 +83,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -105,6 +107,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:GetParameterResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:GetParameterResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 dcd9b65fc..2c7b799b2 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_parameters.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_parameters.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ssm_parameters` InSpec audit resource to test properties of a collection of AWS SSM parameters. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -70,7 +70,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -92,6 +94,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribeParametersResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribeParametersResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 0c836c274..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 @@ -16,9 +16,9 @@ The `AWS::SSM::PatchBaseline` resource defines the basic information for an AWS For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM patch baseline](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -209,9 +209,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -243,4 +243,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:GetPatchBaselineResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:GetPatchBaselineResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_patch_baselines.md b/docs-chef-io/content/inspec/resources/aws_ssm_patch_baselines.md index 709219c98..14e31f2e5 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_patch_baselines.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_patch_baselines.md @@ -16,9 +16,9 @@ The `AWS::SSM::PatchBaseline` resource defines the basic information for an AWS For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM patch baseline](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-patchbaseline.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -97,7 +97,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -131,4 +131,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:DescribePatchBaselinesResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:DescribePatchBaselinesResult" %}} 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 bcd6f0c81..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ssm_resource_compliance_summaries` InSpec audit resource to test properties of a collection of AWS SSM compliance summaries. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -36,7 +36,7 @@ end : This optional parameter allows you to filter based on overall severity. This must be passed as a string `overall_severity: 'value'`. -See also the [AWS documentation on SSM](https://docs.aws.amazon.com/systems-manager/?id=docs_gateway). +See the [AWS documentation on SSM](https://docs.aws.amazon.com/systems-manager/?id=docs_gateway). ## Properties @@ -78,7 +78,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -100,6 +102,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:ListResourceComplianceSummariesResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:ListResourceComplianceSummariesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file 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 8fd927f6a..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_ssm_resource_compliance_summary` InSpec audit resource to test properties of a ssm resource compliance summary. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -46,7 +46,7 @@ end : This optional parameter allows you to filter based on resource_id and status together. This must be passed as a string `status: 'value'`. -See also the [AWS documentation on SSM Resource Compliance Summary](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-compliance-about.html#compliance-view-results). +See the [AWS documentation on SSM Resource Compliance Summary](https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-compliance-about.html#compliance-view-results). ## Properties @@ -101,7 +101,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -123,6 +125,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:ListResourceComplianceSummariesResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:ListResourceComplianceSummariesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon Systems Manager](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awssystemsmanager.html). \ No newline at end of file diff --git a/docs-chef-io/content/inspec/resources/aws_ssm_resource_data_syncs.md b/docs-chef-io/content/inspec/resources/aws_ssm_resource_data_syncs.md index 5fe40c447..b7f8a8824 100644 --- a/docs-chef-io/content/inspec/resources/aws_ssm_resource_data_syncs.md +++ b/docs-chef-io/content/inspec/resources/aws_ssm_resource_data_syncs.md @@ -16,9 +16,9 @@ The `AWS::SSM::ResourceDataSync` resource creates, updates, or deletes a resourc For additional information, including details on parameters and properties, see the [AWS documentation on AWS SSM ResourceDataSync](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ssm-resourcedatasync.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -114,7 +114,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -138,4 +138,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="SSM:Client:ListResourceDataSyncResult" %}} +{{% inspec-aws/aws_permissions_principal action="SSM:Client:ListResourceDataSyncResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_stepfunctions_activities.md b/docs-chef-io/content/inspec/resources/aws_stepfunctions_activities.md index d4848437f..346ba8c00 100644 --- a/docs-chef-io/content/inspec/resources/aws_stepfunctions_activities.md +++ b/docs-chef-io/content/inspec/resources/aws_stepfunctions_activities.md @@ -14,9 +14,9 @@ Use the `aws_stepfunctions_activity` Chef InSpec audit resource to test properti For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::StepFunctions::Activity` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -69,7 +69,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -93,4 +93,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="States:Client:ListActivitiesOutput" %}} +{{% inspec-aws/aws_permissions_principal action="States:Client:ListActivitiesOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_stepfunctions_activity.md b/docs-chef-io/content/inspec/resources/aws_stepfunctions_activity.md index ae137da9b..6d04d75f9 100644 --- a/docs-chef-io/content/inspec/resources/aws_stepfunctions_activity.md +++ b/docs-chef-io/content/inspec/resources/aws_stepfunctions_activity.md @@ -14,9 +14,9 @@ Use the `aws_stepfunctions_activity` Chef InSpec audit resource to test properti For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::StepFunctions::Activity` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-activity.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -65,7 +65,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -89,4 +89,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="States:Client:DescribeActivityOutput" %}} +{{% inspec-aws/aws_permissions_principal action="States:Client:DescribeActivityOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_stepfunctions_state_machine.md b/docs-chef-io/content/inspec/resources/aws_stepfunctions_state_machine.md index 4e30615d4..caf89a4ed 100644 --- a/docs-chef-io/content/inspec/resources/aws_stepfunctions_state_machine.md +++ b/docs-chef-io/content/inspec/resources/aws_stepfunctions_state_machine.md @@ -16,9 +16,9 @@ A state machine consists of a collection of states that can do work (Task states For additional information, including details on parameters and properties, see the [AWS documentation on Step Functions state machine](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -91,7 +91,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -124,4 +124,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="States:Client:DescribeStateMachineOutput" %}} +{{% inspec-aws/aws_permissions_principal action="States:Client:DescribeStateMachineOutput" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_stepfunctions_state_machines.md b/docs-chef-io/content/inspec/resources/aws_stepfunctions_state_machines.md index 223200681..a842eb530 100644 --- a/docs-chef-io/content/inspec/resources/aws_stepfunctions_state_machines.md +++ b/docs-chef-io/content/inspec/resources/aws_stepfunctions_state_machines.md @@ -16,9 +16,9 @@ A state machine consists of a collection of states that can do work (Task states For additional information, including details on parameters and properties, see the [AWS documentation on Step Functions state machine](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-stepfunctions-statemachine.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -68,7 +68,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -102,4 +102,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="States:Client:ListStateMachinesOutput" %}} +{{% inspec-aws/aws_permissions_principal action="States:Client:ListStateMachinesOutput" %}} 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 bd5e3e5b2..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_sts_caller_identity` InSpec audit resource to test properties of AWS IAM identity whose credentials are used in the current InSpec scan. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,7 +80,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### be_govcloud @@ -94,4 +96,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="STS:Client:GetCallerIdentityResponse" %}} +{{% inspec-aws/aws_permissions_principal action="STS:Client:GetCallerIdentityResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_subnet.md b/docs-chef-io/content/inspec/resources/aws_subnet.md index 91e40fc17..f4c557704 100644 --- a/docs-chef-io/content/inspec/resources/aws_subnet.md +++ b/docs-chef-io/content/inspec/resources/aws_subnet.md @@ -14,9 +14,9 @@ Use the `aws_subnet` InSpec audit resource to test properties of a vpc subnet. For additional information, including details on parameters and properties, see the [AWS documentation on Subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,7 +88,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. #### assigning_ipv_6_address_on_creation @@ -142,6 +144,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeSubnetsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeSubnetsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_subnets.md b/docs-chef-io/content/inspec/resources/aws_subnets.md index 54c82f40c..a6c544f50 100644 --- a/docs-chef-io/content/inspec/resources/aws_subnets.md +++ b/docs-chef-io/content/inspec/resources/aws_subnets.md @@ -18,9 +18,9 @@ Separating IP addresses allows for protection if there is a failure in one avail For additional information, including details on parameters and properties, see the [AWS documentation on Subnets](https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -109,7 +109,7 @@ end ## Matchers -For a full list of available matchers, please visit our [matchers page](https://www.inspec.io/docs/reference/matchers/). +For a full list of available matchers, visit the [InSpec matchers page](https://www.inspec.io/docs/reference/matchers/). ### exist @@ -131,6 +131,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeSubnetsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeSubnetsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_synthetics_canaries.md b/docs-chef-io/content/inspec/resources/aws_synthetics_canaries.md index c094d8d1a..0fd8b14f3 100644 --- a/docs-chef-io/content/inspec/resources/aws_synthetics_canaries.md +++ b/docs-chef-io/content/inspec/resources/aws_synthetics_canaries.md @@ -14,9 +14,9 @@ Use the `aws_synthetics_canaries` Chef InSpec audit resource to test properties For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::Synthetics::Canary` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -139,7 +139,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -163,4 +163,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Synthetics:Client:DescribeCanariesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Synthetics:Client:DescribeCanariesResponse" %}} 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 8f7364808..15e47db37 100644 --- a/docs-chef-io/content/inspec/resources/aws_synthetics_canary.md +++ b/docs-chef-io/content/inspec/resources/aws_synthetics_canary.md @@ -14,9 +14,9 @@ Use the `aws_synthetics_canary` Chef InSpec audit resource to test properties of For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::Synthetics::Canary` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-synthetics-canary.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -146,9 +146,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -170,4 +170,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Synthetics:Client:GetCanaryResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Synthetics:Client:GetCanaryResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transfer_user.md b/docs-chef-io/content/inspec/resources/aws_transfer_user.md index 8235a2539..42db1f046 100644 --- a/docs-chef-io/content/inspec/resources/aws_transfer_user.md +++ b/docs-chef-io/content/inspec/resources/aws_transfer_user.md @@ -14,9 +14,9 @@ Use the `aws_transfer_user` InSpec audit resource to test properties of a single For additional information, including details on parameters and properties, see the [AWS documentation on Transfer user](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -99,7 +99,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -133,4 +133,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Transfer:Client:DescribeUserResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Transfer:Client:DescribeUserResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transfer_users.md b/docs-chef-io/content/inspec/resources/aws_transfer_users.md index d35246858..258e19e20 100644 --- a/docs-chef-io/content/inspec/resources/aws_transfer_users.md +++ b/docs-chef-io/content/inspec/resources/aws_transfer_users.md @@ -14,9 +14,9 @@ Use the `aws_transfer_users` InSpec audit resource to test properties of multipl For additional information, including details on parameters and properties, see the [AWS documentation on Transfer user](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-transfer-user.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -72,7 +72,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -106,4 +106,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="Transfer:Client:ListUsersResponse" %}} +{{% inspec-aws/aws_permissions_principal action="Transfer:Client:ListUsersResponse" %}} 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 3ff4ecc30..bad18eebf 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway.md @@ -14,9 +14,9 @@ Use the `aws_transit_gateway` InSpec audit resource to test properties of a tran For additional information, including details on parameters and properties, see the [AWS documentation on Transit Gateways](https://docs.aws.amazon.com/vpc/latest/tgw/). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -70,7 +70,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -84,6 +86,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTransitGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTransitGatewaysResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_connect.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_connect.md index 241f25f5d..ea892b88c 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_connect.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_connect.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayConnect` resource creates a Connect attachment from For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayConnect](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,7 +79,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -113,4 +113,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTransitGatewayConnectsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTransitGatewayConnectsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_connects.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_connects.md index 5189c096e..305a6808b 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_connects.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_connects.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayConnect` resource creates a Connect attachment from For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayConnect](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -77,7 +77,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -111,4 +111,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTransitGatewayConnectsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTransitGatewayConnectsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain.md index 7f28c02ae..cecc8a7ac 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domain.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayMulticastDomain` resource creates a multicast domai For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayConnect](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewayconnect.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -88,7 +88,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -122,4 +122,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTransitGatewayMulticastDomainsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTransitGatewayMulticastDomainsResult" %}} 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 94c2ade4e..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 @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayMulticastDomainAssociation` resource associates the For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayMulticastDomainAssociation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaymulticastdomainassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,9 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -110,4 +110,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetTransitGatewayMulticastDomainAssociationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetTransitGatewayMulticastDomainAssociationsResult" %}} 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 c8f34770f..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 @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayMulticastDomainAssociation` resource associates the For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayMulticastDomainAssociation](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaymulticastdomainassociation.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -73,9 +73,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -107,4 +107,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:GetTransitGatewayMulticastDomainAssociationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:GetTransitGatewayMulticastDomainAssociationsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domains.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domains.md index e9cf6cf2d..86144b3ae 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domains.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_domains.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayMulticastDomain` resource creates a Connect attachm For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayMulticastDomain](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaymulticastdomain.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -80,7 +80,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `describe` method returns at least one result. @@ -114,4 +114,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTransitGatewayMulticastDomainsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTransitGatewayMulticastDomainsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_member.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_member.md index 911d6e94b..c8d926fb6 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_member.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_member.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayMulticastGroupMember` resource registers members (n For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayMulticastGroupMember](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaymulticastgroupmember.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -91,7 +91,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `search` method returns at least one result. @@ -125,4 +125,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:SearchTransitGatewayMulticastGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:SearchTransitGatewayMulticastGroupsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_members.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_members.md index 7c0ea0abb..c0abf4dd2 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_members.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_members.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayMulticastGroupMember` resource registers members (n For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayMulticastGroupMember](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaymulticastgroupmember.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -113,7 +113,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `search` method returns at least one result. @@ -147,4 +147,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:SearchTransitGatewayMulticastGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:SearchTransitGatewayMulticastGroupsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_source.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_source.md index 05df092d4..4e04133ec 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_source.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_source.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayMulticastGroupSource` resource registers sources (n For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayMulticastGroupSource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaymulticastgroupsource.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -91,7 +91,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `search` method returns at least one result. @@ -125,4 +125,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:SearchTransitGatewayMulticastGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:SearchTransitGatewayMulticastGroupsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_sources.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_sources.md index a811b8567..94780bddc 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_sources.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_multicast_group_sources.md @@ -16,9 +16,9 @@ The `AWS::EC2::TransitGatewayMulticastGroupSource` resource registers sources (n For additional information, including details on parameters and properties, see the [AWS documentation on AWS EC2 TransitGatewayMulticastGroupSource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-transitgatewaymulticastgroupsource.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -113,7 +113,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `search` method returns at least one result. @@ -147,4 +147,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:SearchTransitGatewayMulticastGroupsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:SearchTransitGatewayMulticastGroupsResult" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_route.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_route.md index be27b849f..090567cbb 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_route.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_route.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_transit_gateway_route` InSpec audit resource to test the properties of a single AWS transit gateway route. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -171,6 +171,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTransitGatewayRouteTablesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTransitGatewayRouteTablesResult" %}} Get the detailed document at [Actions, Resources, and Condition Keys for transit gateway route](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-policy-examples.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_transit_gateway_routes.md b/docs-chef-io/content/inspec/resources/aws_transit_gateway_routes.md index a364963cd..0e91d92d2 100644 --- a/docs-chef-io/content/inspec/resources/aws_transit_gateway_routes.md +++ b/docs-chef-io/content/inspec/resources/aws_transit_gateway_routes.md @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_transit_gateway_routes` InSpec audit resource to test the properties of all Route for a AWS transit gateway route table. To audit a single gateway route, use the `aws_transit_gateway_route` (singular) resource. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -210,6 +210,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeTransitGatewayRouteTablesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeTransitGatewayRouteTablesResult" %}} Get the detailed document at [Actions, Resources, and Condition Keys for transit gateway route](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-policy-examples.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_vpc.md b/docs-chef-io/content/inspec/resources/aws_vpc.md index 0e9e97bf2..64d09f599 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc.md @@ -18,9 +18,9 @@ Every AWS account has at least one VPC, the "default" VPC, in every region. For additional information, including details on parameters and properties, see the [AWS documentation on VPCs](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -299,6 +299,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcsResult" %}} You can find the detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). \ No newline at end of file diff --git a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint.md b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint.md index 0a37b7879..a8c5c4026 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint.md @@ -16,9 +16,9 @@ A VPC Endpoint is uniquely identified by the VPC Endpoint ID (e.g vpce-123456abc For additional information, including details on parameters and properties, see the [AWS documentation on VPC Endpoints](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -147,7 +147,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the describe returns at least one result. @@ -220,6 +220,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcEndpointsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcEndpointsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_notification.md b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_notification.md index 2dbec05fb..5801f2198 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_notification.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_notification.md @@ -14,9 +14,9 @@ Use the `aws_vpc_endpoint_connection_notification` Inspec audit resource to test For additional information, including details on parameters and properties, see the [AWS VPC endpoint connection notification documentation](https://docs.AWS.amazon.com/AWSCloudFormation/latest/UserGuide/AWS-resource-ec2-vpcendpointconnectionnotification.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -118,6 +118,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcEndpointConnectionNotificationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcEndpointConnectionNotificationsResult" %}} You can find the detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.AWS.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). \ No newline at end of file diff --git a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_notifications.md b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_notifications.md index e7c1da1b7..2051cbafd 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_notifications.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_notifications.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_vpc_endpoint_connection_notifications` InSpec audit resource to test the properties of multiple AWS VPC endpoint connection notification. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -26,7 +26,7 @@ describe aws_vpc_endpoint_connection_notifications do end ``` -See also the [AWS VPC endpoint connection notification documentation](https://docs.AWS.amazon.com/AWSCloudFormation/latest/UserGuide/AWS-resource-ec2-vpcendpointconnectionnotification.html). +See the [AWS VPC endpoint connection notification documentation](https://docs.AWS.amazon.com/AWSCloudFormation/latest/UserGuide/AWS-resource-ec2-vpcendpointconnectionnotification.html). ## Parameters @@ -115,6 +115,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcEndpointConnectionNotificationsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcEndpointConnectionNotificationsResult" %}} You can find the detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.AWS.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service.md b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service.md index 6ee819e14..e7e964181 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_service.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_vpc_endpoint_service` InSpec audit resource to test the properties of a single AWS VPC endpoint service. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -154,6 +154,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcEndpointServicesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcEndpointServicesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for VPC endpoint services](https://docs.amazonaws.cn/en_us/vpc/latest/userguide/vpc-policy-examples.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 bcc2257dc..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_vpc_endpoint_service_permission` InSpec audit resource to test the properties of a single AWS VPC endpoint service permission. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -67,8 +67,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -120,6 +121,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcEndpointServicePermissionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcEndpointServicePermissionsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon VPC endpoint service permissions](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServicePermissions.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 80b524d32..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 @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_vpc_endpoint_service_permissions` InSpec audit resource to test the properties of all Amazon VPC endpoint service permissions. To audit a single AWS VPC Endpoint service, use the `aws_vpc_endpoint_service_permission` (singular) resource. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -77,7 +77,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -99,6 +101,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcEndpointServicePermissionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcEndpointServicePermissionsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon VPC endpoint service permissions](https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpcEndpointServicePermissions.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). diff --git a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_services.md b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_services.md index 963d71d81..b49d3c12f 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_services.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoint_services.md @@ -13,9 +13,9 @@ parent = "inspec/resources/aws" Use the `aws_vpc_endpoint_services` InSpec audit resource to test the properties of all AWS VPC Endpoint Services. To audit a single endpoint service, use the `aws_vpc_endpoint_service` (singular) resource. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -165,6 +165,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcEndpointServicesResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcEndpointServicesResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for VPC endpoint services](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-policy-examples.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 e112e5066..6f495f8fc 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpc_endpoints.md +++ b/docs-chef-io/content/inspec/resources/aws_vpc_endpoints.md @@ -18,9 +18,9 @@ A Gateway type VPC endpoint accepts a route-table whereas an Interface type VPC For additional information, including details on parameters and properties, see the [AWS documentation on VPC Endpoints](https://docs.aws.amazon.com/vpc/latest/userguide/vpc-endpoints.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -96,7 +96,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -118,6 +120,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcEndpointsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcEndpointsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_vpcs.md b/docs-chef-io/content/inspec/resources/aws_vpcs.md index 277bdc082..fb9504286 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpcs.md +++ b/docs-chef-io/content/inspec/resources/aws_vpcs.md @@ -19,11 +19,11 @@ Every AWS account has at least one VPC, the "default" VPC, in every region. This resource also have the functionality to test the CIDR block. The VPCCidrBlock associates a CIDR block with your VPC. You can only associate a single IPv6 CIDR block with your VPC. The IPv6 CIDR block size is fixed at /56. For additional information, including details on parameters and properties, see the [AWS documentation on VPCs](https://docs.aws.amazon.com/vpc/latest/userguide/what-is-amazon-vpc.html). -See also the [AWS documentation on VPCCidrBlock](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html). +See the [AWS documentation on VPCCidrBlock](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ec2-vpccidrblock.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -255,6 +255,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpcsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpcsResult" %}} You can find detailed documentation at the [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). diff --git a/docs-chef-io/content/inspec/resources/aws_vpn_connection.md b/docs-chef-io/content/inspec/resources/aws_vpn_connection.md index 20a8bcf90..6d2ed4f8e 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpn_connection.md +++ b/docs-chef-io/content/inspec/resources/aws_vpn_connection.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_vpn_connection` InSpec audit resource to test the properties of a single AWS VPN connection. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The control passes if the `get` method returns at least one result. @@ -102,4 +102,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpnConnectionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpnConnectionsResult" %}} 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 3d98dc56a..8f36134bf 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpn_connections.md +++ b/docs-chef-io/content/inspec/resources/aws_vpn_connections.md @@ -14,9 +14,9 @@ Use the `aws_vpn_connections` InSpec audit resource to test the properties of al For additional information, including details on parameters and properties, see the [AWS documentation on VPN Connections](https://docs.aws.amazon.com/vpc/latest/userguide/vpn-connections.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -100,6 +102,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpnConnectionsResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpnConnectionsResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon EC2](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_amazonec2.html). 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 b79cc1a03..d3ef430cc 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpn_gateway.md +++ b/docs-chef-io/content/inspec/resources/aws_vpn_gateway.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_vpn_gateway` InSpec audit resource to test the properties of a single AWS VPN gateway. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -86,8 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} +This resource has the following special matchers. ### exist @@ -108,6 +109,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpnGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpnGatewaysResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ElastiCache](https://docs.amazonaws.cn/en_us/vpc/latest/userguide/vpc-policy-examples.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 78a2bd5f1..54c4fbb61 100644 --- a/docs-chef-io/content/inspec/resources/aws_vpn_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_vpn_gateways.md @@ -12,9 +12,9 @@ parent = "inspec/resources/aws" Use the `aws_vpn_gateways` InSpec audit resource to test the properties of all Amazon VPN gateways. To audit a single AWS VPN gateway, use the `aws_vpn_gateway` (singular) resource. -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -76,7 +76,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -98,6 +100,6 @@ end ## AWS Permissions -{{% aws_permissions_principal action="EC2:Client:DescribeVpnGatewaysResult" %}} +{{% inspec-aws/aws_permissions_principal action="EC2:Client:DescribeVpnGatewaysResult" %}} You can find detailed documentation at [Actions, Resources, and Condition Keys for Amazon ElastiCache](https://docs.amazonaws.cn/en_us/vpc/latest/userguide/vpc-policy-examples.html), and [Actions, Resources, and Condition Keys for Identity And Access Management](https://docs.aws.amazon.com/IAM/latest/UserGuide/list_identityandaccessmanagement.html). 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 f0fc851f6..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 @@ -14,9 +14,9 @@ Use the `aws_waf_byte_match_set` Chef InSpec audit resource to test the properti For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAF::ByteMatchSet` resource type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-bytematchset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -93,9 +93,9 @@ end This Chef InSpec audit resource has the following special matchers. -{{% inspec_matchers_link %}} +{{< 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 @@ -127,4 +127,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:GetByteMatchSetResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:GetByteMatchSetResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_waf_byte_match_sets.md b/docs-chef-io/content/inspec/resources/aws_waf_byte_match_sets.md index d6c95592b..75fc87177 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_byte_match_sets.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_byte_match_sets.md @@ -14,9 +14,9 @@ Use the `aws_waf_byte_match_sets` Chef InSpec audit resource to test the propert For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAF::ByteMatchSet` resource type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-bytematchset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,7 @@ end This Chef InSpec audit resource has the following special matchers. -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -90,4 +90,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:ListByteMatchSetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:ListByteMatchSetsResponse" %}} 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 83c8bf497..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 @@ -14,9 +14,9 @@ Use the `aws_waf_ip_set` Chef InSpec audit resource to test the properties of a For additional information, including details on parameters and properties, see the [AWS documentation on AWS WAF IPSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -79,9 +79,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -113,4 +113,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:GetIPSetResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:GetIPSetResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_waf_ip_sets.md b/docs-chef-io/content/inspec/resources/aws_waf_ip_sets.md index b5631e32a..72aca4c6d 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_ip_sets.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_ip_sets.md @@ -14,9 +14,9 @@ Use the `aws_waf_ip_sets` Chef InSpec audit resource to test the properties of m For additional information, including details on parameters and properties, see the [AWS documentation on `AWS::WAF::IPSet` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-ipset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -90,4 +90,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:ListIPSetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:ListIPSetsResponse" %}} 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 2564043a8..0c4caa570 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_rule.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_rule.md @@ -16,9 +16,9 @@ The `AWS::WAF::Rule` resource type creates a firewall rule that identifies the w For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAF::Rule` resource type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-rule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -92,9 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -126,4 +126,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:GetRuleResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:GetRuleResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_waf_rules.md b/docs-chef-io/content/inspec/resources/aws_waf_rules.md index d4bf2ee98..acf4fc365 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_rules.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_rules.md @@ -14,9 +14,9 @@ Use the `aws_waf_rules` Chef InSpec audit resource to test the properties of mul For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAF::Rule` resource type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-rule.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -64,7 +64,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:ListRulesResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:ListRulesResponse" %}} 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 c12081e64..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 @@ -14,9 +14,9 @@ Use the `aws_waf_size_constraint_set` Chef InSpec audit resource to test the pro For additional information, including details on parameters and properties, see the [AWS documentation on `AWS::WAF::SizeConstraintSet` resource type](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -98,9 +98,9 @@ end This Chef InSpec audit resource has the following special matchers. -{{% inspec_matchers_link %}} +{{< 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 @@ -132,4 +132,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:GetSizeConstraintSetResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:GetSizeConstraintSetResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_waf_size_constraint_sets.md b/docs-chef-io/content/inspec/resources/aws_waf_size_constraint_sets.md index 16cf314ac..04009ce94 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_size_constraint_sets.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_size_constraint_sets.md @@ -14,9 +14,9 @@ Use the `aws_waf_size_constraint_sets` Chef InSpec audit resource to test the pr For additional information, including details on parameters and properties, see the [AWS documentation on AWS WAF SizeConstraintSet](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sizeconstraintset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,7 @@ end This Chef InSpec audit resource has the following special matchers. -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -90,4 +90,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:ListSizeConstraintSetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:ListSizeConstraintSetsResponse" %}} 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 b9ef964de..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 @@ -14,9 +14,9 @@ Use the `aws_waf_sql_injection_match_set` InSpec audit resource to test the prop For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAF::SqlInjectionMatchSet` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sqlinjectionmatchset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -82,9 +82,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -116,4 +116,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:GetSqlInjectionMatchSetResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:GetSqlInjectionMatchSetResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_waf_sql_injection_match_sets.md b/docs-chef-io/content/inspec/resources/aws_waf_sql_injection_match_sets.md index a191d61d6..f93388017 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_sql_injection_match_sets.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_sql_injection_match_sets.md @@ -14,9 +14,9 @@ Use the `aws_waf_sql_injection_match_sets` Chef InSpec audit resource to test th For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAF::SqlInjectionMatchSet` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-sqlinjectionmatchset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -64,7 +64,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -98,4 +98,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:ListSqlInjectionMatchSetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:ListSqlInjectionMatchSetsResponse" %}} 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 8e82775f8..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 @@ -16,9 +16,9 @@ The `AWS::WAFv2::WebACL` AWS resource defines a collection of rules to use to in For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAFv2::WebACL` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-webacl.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -108,9 +108,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -142,4 +142,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:GetWebACLResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:GetWebACLResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_waf_web_acls.md b/docs-chef-io/content/inspec/resources/aws_waf_web_acls.md index e6a206da2..237d4e783 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_web_acls.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_web_acls.md @@ -16,9 +16,9 @@ The `AWS::WAFv2::WebACL` AWS resource defines a collection of rules to use to in For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAFv2::WebACL` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-webacl.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -66,7 +66,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -100,4 +100,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:ListWebACLsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:ListWebACLsResponse" %}} 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 fe538e8f3..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 @@ -14,9 +14,9 @@ Use the `aws_waf_xss_match_set` InSpec audit resource to test the properties of For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAF::XssMatchSet` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -82,9 +82,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< 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 @@ -116,4 +116,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:GetXssMatchSetResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:GetXssMatchSetResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/aws_waf_xss_match_match_sets.md b/docs-chef-io/content/inspec/resources/aws_waf_xss_match_match_sets.md index 17871a529..a85a10546 100644 --- a/docs-chef-io/content/inspec/resources/aws_waf_xss_match_match_sets.md +++ b/docs-chef-io/content/inspec/resources/aws_waf_xss_match_match_sets.md @@ -14,9 +14,9 @@ Use the `aws_waf_xss_match_sets` InSpec audit resource to test the properties of For additional information, including details on parameters and properties, see the [AWS documentation on the `AWS::WAF::XssMatchSet` resource](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-waf-xssmatchset.html). -## Installation +## Install -{{% inspec_aws_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_aws_install.md" >}} ## Syntax @@ -64,7 +64,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} The controls will pass if the `list` method returns at least one result. @@ -88,4 +88,4 @@ end ## AWS Permissions -{{% aws_permissions_principal action="WAF:Client:ListXssMatchSetsResponse" %}} +{{% inspec-aws/aws_permissions_principal action="WAF:Client:ListXssMatchSetsResponse" %}} diff --git a/docs-chef-io/content/inspec/resources/reusable/index.md b/docs-chef-io/content/inspec/resources/reusable/index.md new file mode 100644 index 000000000..41de90ae4 --- /dev/null +++ b/docs-chef-io/content/inspec/resources/reusable/index.md @@ -0,0 +1,5 @@ ++++ +headless = true +## headless = true makes this directory a headless bundle. +## See https://gohugo.io/content-management/page-bundles/#headless-bundle ++++ diff --git a/docs-chef-io/content/inspec/resources/reusable/md/inspec_aws_install.md b/docs-chef-io/content/inspec/resources/reusable/md/inspec_aws_install.md new file mode 100644 index 000000000..f935fd3fa --- /dev/null +++ b/docs-chef-io/content/inspec/resources/reusable/md/inspec_aws_install.md @@ -0,0 +1,4 @@ + +This resource is available in the [Chef InSpec AWS resource pack](https://github.com/inspec/inspec-aws). + +For information on configuring your AWS environment for Chef InSpec and creating an InSpec profile that uses the InSpec AWS resource pack, see the [Chef InSpec documentation on the AWS cloud platform](/inspec/cloud/aws/). diff --git a/docs-chef-io/layouts/shortcodes/aws_permissions_principal.md b/docs-chef-io/layouts/shortcodes/inspec-aws/aws_permissions_principal.md similarity index 100% rename from docs-chef-io/layouts/shortcodes/aws_permissions_principal.md rename to docs-chef-io/layouts/shortcodes/inspec-aws/aws_permissions_principal.md diff --git a/docs-chef-io/layouts/shortcodes/inspec_aws_install.md b/docs-chef-io/layouts/shortcodes/inspec_aws_install.md deleted file mode 100644 index 1c30bc95d..000000000 --- a/docs-chef-io/layouts/shortcodes/inspec_aws_install.md +++ /dev/null @@ -1,4 +0,0 @@ - -This resource is available in the [Chef InSpec AWS resource pack](https://github.com/inspec/inspec-aws). - -See the [Chef InSpec documentation on cloud platforms](/inspec/platforms/#aws-platform-support-in-inspec) for information on configuring your AWS environment for InSpec and creating an InSpec profile that uses the InSpec AWS resource pack.