diff --git a/docs-chef-io/archetypes/resource.md b/docs-chef-io/archetypes/resource.md index df6153118..9a4e2233e 100644 --- a/docs-chef-io/archetypes/resource.md +++ b/docs-chef-io/archetypes/resource.md @@ -16,11 +16,11 @@ Use the `{{ .Name }}` Chef InSpec audit resource to test properties of... ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -48,7 +48,7 @@ end ## Examples -**EXAMPLE DESCRIPTION** +EXAMPLE DESCRIPTION ```ruby describe {{ .Name }} do @@ -56,7 +56,7 @@ describe {{ .Name }} do end ``` -**EXAMPLE DESCRIPTION** +EXAMPLE DESCRIPTION ```ruby describe {{ .Name }} do @@ -66,7 +66,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ## Azure Permissions diff --git a/docs-chef-io/content/inspec/resources/azure_active_directory_domain_service.md b/docs-chef-io/content/inspec/resources/azure_active_directory_domain_service.md index 6504a9a62..6044f771a 100644 --- a/docs-chef-io/content/inspec/resources/azure_active_directory_domain_service.md +++ b/docs-chef-io/content/inspec/resources/azure_active_directory_domain_service.md @@ -14,11 +14,11 @@ Use the `azure_active_directory_domain_service` InSpec audit resource to test th ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -95,7 +95,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_active_directory_domain_services.md b/docs-chef-io/content/inspec/resources/azure_active_directory_domain_services.md index 663d8c289..b0cc5c708 100644 --- a/docs-chef-io/content/inspec/resources/azure_active_directory_domain_services.md +++ b/docs-chef-io/content/inspec/resources/azure_active_directory_domain_services.md @@ -14,11 +14,11 @@ Use the `azure_active_directory_domain_services` InSpec audit resource to test t ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -110,7 +110,11 @@ It is advised to use these parameters to narrow down the targeted resources at t : **Field**: `state` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -142,7 +146,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_active_directory_object.md b/docs-chef-io/content/inspec/resources/azure_active_directory_object.md index 8dc7beb64..f43ed12c0 100644 --- a/docs-chef-io/content/inspec/resources/azure_active_directory_object.md +++ b/docs-chef-io/content/inspec/resources/azure_active_directory_object.md @@ -14,11 +14,11 @@ Use the `azure_active_directory_object` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -155,7 +155,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_active_directory_objects.md b/docs-chef-io/content/inspec/resources/azure_active_directory_objects.md index 85e7ac718..ed251f64e 100644 --- a/docs-chef-io/content/inspec/resources/azure_active_directory_objects.md +++ b/docs-chef-io/content/inspec/resources/azure_active_directory_objects.md @@ -14,11 +14,11 @@ Use the `azure_active_directory_objects` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -41,7 +41,11 @@ This resource does not require any parameters. : **Field**: `value` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -59,7 +63,9 @@ This resource does not require any parameters. ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -85,4 +91,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_aks_cluster.md b/docs-chef-io/content/inspec/resources/azure_aks_cluster.md index 31bfec8f5..b915c0745 100644 --- a/docs-chef-io/content/inspec/resources/azure_aks_cluster.md +++ b/docs-chef-io/content/inspec/resources/azure_aks_cluster.md @@ -14,11 +14,11 @@ Use the `azure_aks_cluster` InSpec audit resource to test the properties of an A ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -117,7 +117,7 @@ describe azure_aks_cluster('RESOURCE_GROUP', name: 'CLUSTER_NAME') do end ``` -See [integration tests](../../test/integration/verify/controls/azurerm_aks_cluster.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_aks_cluster.rb) for more examples. ## Matchers @@ -145,4 +145,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_aks_clusters.md b/docs-chef-io/content/inspec/resources/azure_aks_clusters.md index d2ccdca91..48635be6e 100644 --- a/docs-chef-io/content/inspec/resources/azure_aks_clusters.md +++ b/docs-chef-io/content/inspec/resources/azure_aks_clusters.md @@ -14,11 +14,11 @@ Use the `azure_aks_clusters` InSpec audit resource to test the properties and co ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -71,7 +71,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -85,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. ### exists @@ -111,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_api_management.md b/docs-chef-io/content/inspec/resources/azure_api_management.md index 4f9a25663..54838c160 100644 --- a/docs-chef-io/content/inspec/resources/azure_api_management.md +++ b/docs-chef-io/content/inspec/resources/azure_api_management.md @@ -14,11 +14,11 @@ Use the `azure_api_management` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -88,7 +88,7 @@ azure_api_managements.ids.each do |resource_id| end ``` -See [integration tests](../../test/integration/verify/controls/azurerm_api_management.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_api_management.rb) for more examples. ## Matchers @@ -116,4 +116,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_api_managements.md b/docs-chef-io/content/inspec/resources/azure_api_managements.md index e1fb60cec..64056c641 100644 --- a/docs-chef-io/content/inspec/resources/azure_api_managements.md +++ b/docs-chef-io/content/inspec/resources/azure_api_managements.md @@ -14,11 +14,11 @@ Use the `azure_api_managements` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -99,7 +103,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -125,4 +131,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_application_gateway.md b/docs-chef-io/content/inspec/resources/azure_application_gateway.md index 7630e0d67..0d7052166 100644 --- a/docs-chef-io/content/inspec/resources/azure_application_gateway.md +++ b/docs-chef-io/content/inspec/resources/azure_application_gateway.md @@ -14,11 +14,11 @@ Use the `azure_application_gateway` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -84,7 +84,7 @@ describe azure_application_gateway(resource_id: '/subscriptions/{subscriptionId} end ``` -See [integration tests](../../test/integration/verify/controls/azurerm_application_gateway.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_application_gateway.rb) for more examples. ## Matchers @@ -112,4 +112,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_application_gateways.md b/docs-chef-io/content/inspec/resources/azure_application_gateways.md index b973b2afa..c02e5a4ec 100644 --- a/docs-chef-io/content/inspec/resources/azure_application_gateways.md +++ b/docs-chef-io/content/inspec/resources/azure_application_gateways.md @@ -14,11 +14,11 @@ Use the `azure_application_gateways` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -99,7 +103,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -126,4 +132,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_bastion_hosts_resource.md b/docs-chef-io/content/inspec/resources/azure_bastion_hosts_resource.md index d68d8b7a7..5e0aae878 100644 --- a/docs-chef-io/content/inspec/resources/azure_bastion_hosts_resource.md +++ b/docs-chef-io/content/inspec/resources/azure_bastion_hosts_resource.md @@ -14,11 +14,11 @@ Use the `azure_bastion_hosts_resource` InSpec audit resource to test the propert ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -108,4 +108,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_bastion_hosts_resources.md b/docs-chef-io/content/inspec/resources/azure_bastion_hosts_resources.md index 380a37dbc..f97f17210 100644 --- a/docs-chef-io/content/inspec/resources/azure_bastion_hosts_resources.md +++ b/docs-chef-io/content/inspec/resources/azure_bastion_hosts_resources.md @@ -14,11 +14,11 @@ Use the `azure_bastion_hosts_resources` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -68,7 +68,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -106,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. ### exists @@ -120,4 +126,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_blob_service.md b/docs-chef-io/content/inspec/resources/azure_blob_service.md index dbcaa7937..65d7be715 100644 --- a/docs-chef-io/content/inspec/resources/azure_blob_service.md +++ b/docs-chef-io/content/inspec/resources/azure_blob_service.md @@ -14,11 +14,11 @@ Use the `azure_blob_service` Chef InSpec audit resource to test the properties o ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -102,7 +102,7 @@ describe azure_blob_service(resource_group: 'RESOURCE_GROUP', storage_account_na end ``` -See [integration tests](../../test/integration/verify/controls/azure_blob_service.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_blob_service.rb) for more examples. ## Matchers @@ -127,4 +127,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_blob_services.md b/docs-chef-io/content/inspec/resources/azure_blob_services.md index 8f67d47f2..2cf392763 100644 --- a/docs-chef-io/content/inspec/resources/azure_blob_services.md +++ b/docs-chef-io/content/inspec/resources/azure_blob_services.md @@ -14,11 +14,11 @@ Use the `azure_blob_services` Chef InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -65,7 +65,11 @@ end : **Field**: `type` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} See [Azure's documentation on Blob services](https://learn.microsoft.com/en-us/rest/api/storagerp/blob-services/list?tabs=HTTP) for a full list of available properties. @@ -79,11 +83,13 @@ describe azure_blob_services(resource_group: 'RESOURCE_GROUP_NAME', storage_acco end ``` -See [integration tests](../../test/integration/verify/controls/azure_blob_services.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_blob_services.rb) for more examples. ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -103,4 +109,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_cdn_profile.md b/docs-chef-io/content/inspec/resources/azure_cdn_profile.md index 780362676..492688d52 100644 --- a/docs-chef-io/content/inspec/resources/azure_cdn_profile.md +++ b/docs-chef-io/content/inspec/resources/azure_cdn_profile.md @@ -14,11 +14,11 @@ Use the `azure_cdn_profile` Chef InSpec audit resource to test the properties an ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -106,4 +106,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_cdn_profiles.md b/docs-chef-io/content/inspec/resources/azure_cdn_profiles.md index 613dade79..6230de7a0 100644 --- a/docs-chef-io/content/inspec/resources/azure_cdn_profiles.md +++ b/docs-chef-io/content/inspec/resources/azure_cdn_profiles.md @@ -14,11 +14,11 @@ Use the `azure_cdn_profiles` Chef InSpec audit resource to test properties and c ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -81,7 +81,11 @@ end : **Field**: `sku` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -112,7 +116,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -134,4 +140,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_container_group.md b/docs-chef-io/content/inspec/resources/azure_container_group.md index 2ea6bf04d..73b863db9 100644 --- a/docs-chef-io/content/inspec/resources/azure_container_group.md +++ b/docs-chef-io/content/inspec/resources/azure_container_group.md @@ -14,11 +14,11 @@ Use the `azure_container_group` InSpec audit resource to test the properties rel ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -105,4 +105,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_container_groups.md b/docs-chef-io/content/inspec/resources/azure_container_groups.md index a1fe4c51e..8851011e5 100644 --- a/docs-chef-io/content/inspec/resources/azure_container_groups.md +++ b/docs-chef-io/content/inspec/resources/azure_container_groups.md @@ -14,11 +14,11 @@ Use the `azure_container_groups` InSpec audit resource to test the properties re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -111,7 +111,11 @@ This resource does not require any parameters. : **Field**: `restart_policy` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -135,7 +139,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -159,4 +165,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_container_registries.md b/docs-chef-io/content/inspec/resources/azure_container_registries.md index 3936bd15c..2a736f237 100644 --- a/docs-chef-io/content/inspec/resources/azure_container_registries.md +++ b/docs-chef-io/content/inspec/resources/azure_container_registries.md @@ -14,11 +14,11 @@ Use the `azure_container_registries` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -99,7 +103,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -127,4 +133,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_container_registry.md b/docs-chef-io/content/inspec/resources/azure_container_registry.md index 80e1bfdce..7055837ab 100644 --- a/docs-chef-io/content/inspec/resources/azure_container_registry.md +++ b/docs-chef-io/content/inspec/resources/azure_container_registry.md @@ -14,11 +14,11 @@ Use the `azure_container_registry` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -84,7 +84,7 @@ describe azure_container_registry(resource_id: '/subscriptions/{subscriptionId}/ end ``` -See [integration tests](../../test/integration/verify/controls/azure_container_registry.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_container_registry.rb) for more examples. ## Matchers @@ -112,4 +112,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_cosmosdb_database_account.md b/docs-chef-io/content/inspec/resources/azure_cosmosdb_database_account.md index f51e684d2..65fd42428 100644 --- a/docs-chef-io/content/inspec/resources/azure_cosmosdb_database_account.md +++ b/docs-chef-io/content/inspec/resources/azure_cosmosdb_database_account.md @@ -14,11 +14,11 @@ Use the `azure_cosmosdb_database_account` InSpec audit resource to test the prop ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -110,4 +110,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factories.md b/docs-chef-io/content/inspec/resources/azure_data_factories.md index 2a3441b85..5694f7dca 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factories.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factories.md @@ -14,11 +14,11 @@ Use the `azure_data_factories` InSpec audit resource to test the properties rela ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -105,7 +105,11 @@ end : **Field**: `tenant_id` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -143,4 +147,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory.md b/docs-chef-io/content/inspec/resources/azure_data_factory.md index 6a1e50702..86d53d1e4 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory.md @@ -14,11 +14,11 @@ Use the `azure_data_factory` InSpec audit resource to test the properties of an ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -111,4 +111,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory_dataset.md b/docs-chef-io/content/inspec/resources/azure_data_factory_dataset.md index b26084c58..39cccbbd2 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory_dataset.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory_dataset.md @@ -16,11 +16,11 @@ See the [`Azure Data Factories Dataset documentation`](https://docs.microsoft.co ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -109,4 +109,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory_datasets.md b/docs-chef-io/content/inspec/resources/azure_data_factory_datasets.md index aa375aa5c..8b8522fd0 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory_datasets.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory_datasets.md @@ -16,11 +16,11 @@ See the [`Azure Data Factories Dataset documentation`](https://docs.microsoft.co ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -77,7 +77,11 @@ end : **Field**: `linkedServiceName_type` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -115,4 +119,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory_linked_service.md b/docs-chef-io/content/inspec/resources/azure_data_factory_linked_service.md index c67f4d266..4f36637b5 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory_linked_service.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory_linked_service.md @@ -14,11 +14,11 @@ Use the `azure_data_factory_linked_service` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -91,4 +91,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory_linked_services.md b/docs-chef-io/content/inspec/resources/azure_data_factory_linked_services.md index fb9eb2ce3..14e6c9223 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory_linked_services.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory_linked_services.md @@ -14,11 +14,11 @@ Use the `azure_data_factory_linked_services` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -72,7 +72,11 @@ end : **Field**: `type_properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -107,4 +111,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline.md b/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline.md index f4a389474..fd2b67241 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline.md @@ -14,11 +14,11 @@ Use the `azure_data_factory_pipeline` InSpec audit resource to test the properti ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -82,4 +82,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline_run_resource.md b/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline_run_resource.md index d067d5098..dadc69980 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline_run_resource.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline_run_resource.md @@ -16,11 +16,11 @@ For additional information, see the [`Azure API documentation on Data Factory pi ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -99,4 +99,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline_run_resources.md b/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline_run_resources.md index d802f0e62..a0d332fd3 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline_run_resources.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory_pipeline_run_resources.md @@ -16,11 +16,11 @@ For additional information, see the [`API documentation on Azure Data Factory pi ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -74,7 +74,11 @@ end : **Field**: `runEnd` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -110,4 +114,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_factory_pipelines.md b/docs-chef-io/content/inspec/resources/azure_data_factory_pipelines.md index 061b349b5..e4f2eac5b 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_factory_pipelines.md +++ b/docs-chef-io/content/inspec/resources/azure_data_factory_pipelines.md @@ -19,9 +19,9 @@ If not provided, the latest version will be used. For more information, refer to Unless defined, the `azure_cloud` global endpoint and default values for the HTTP client will be used. For more information, refer to the resource pack [README](https://github.com/inspec/inspec-azure/blob/main/README.md). For API related information, [`Azure pipeline Docs`](https://docs.microsoft.com/en-us/rest/api/datafactory/pipelines/list-by-factory). -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -60,7 +60,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -85,4 +89,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_filesystem.md b/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_filesystem.md index b7921b34a..085313929 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_filesystem.md +++ b/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_filesystem.md @@ -14,11 +14,11 @@ Use the `azure_data_lake_storage_gen2_filesystem` InSpec audit resource to test ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_filesystems.md b/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_filesystems.md index 88b0e68ee..c82577695 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_filesystems.md +++ b/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_filesystems.md @@ -14,11 +14,11 @@ Use the `azure_data_lake_storage_gen2_filesystems` InSpec audit resource to test ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -67,7 +67,11 @@ end : **Field**: `DenyEncryptionScopeOverrides` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/filesystem/list) for other properties available. ## Examples @@ -92,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. ### exists @@ -116,4 +122,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_path.md b/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_path.md index 187173e4e..3d4108f8f 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_path.md +++ b/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_path.md @@ -14,11 +14,11 @@ Use the `azure_data_lake_storage_gen2_path` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_paths.md b/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_paths.md index 0a240f336..344b2b298 100644 --- a/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_paths.md +++ b/docs-chef-io/content/inspec/resources/azure_data_lake_storage_gen2_paths.md @@ -14,11 +14,11 @@ Use the `azure_data_lake_storage_gen2_paths` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -63,7 +63,11 @@ end : **Field**: `contentLength` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/storageservices/datalakestoragegen2/path/list) for other properties available. ## Examples @@ -88,7 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_db_migration_service.md b/docs-chef-io/content/inspec/resources/azure_db_migration_service.md index 40825bd35..ca36852a6 100644 --- a/docs-chef-io/content/inspec/resources/azure_db_migration_service.md +++ b/docs-chef-io/content/inspec/resources/azure_db_migration_service.md @@ -14,11 +14,11 @@ Use the `azure_db_migration_service` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -137,4 +137,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_db_migration_services.md b/docs-chef-io/content/inspec/resources/azure_db_migration_services.md index c94cc3cef..3955b9ea5 100644 --- a/docs-chef-io/content/inspec/resources/azure_db_migration_services.md +++ b/docs-chef-io/content/inspec/resources/azure_db_migration_services.md @@ -14,11 +14,11 @@ Use the `azure_db_migration_services` InSpec audit resource to test the properti ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -111,7 +111,11 @@ end : **Field**: `virtual_subnet_id` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -135,7 +139,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -159,4 +165,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_ddos_protection_resource.md b/docs-chef-io/content/inspec/resources/azure_ddos_protection_resource.md index 631d5a79d..11afdf795 100644 --- a/docs-chef-io/content/inspec/resources/azure_ddos_protection_resource.md +++ b/docs-chef-io/content/inspec/resources/azure_ddos_protection_resource.md @@ -14,11 +14,11 @@ Use the `azure_ddos_protection_resource` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -110,4 +110,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_ddos_protection_resources.md b/docs-chef-io/content/inspec/resources/azure_ddos_protection_resources.md index ceab070ab..72ce3d431 100644 --- a/docs-chef-io/content/inspec/resources/azure_ddos_protection_resources.md +++ b/docs-chef-io/content/inspec/resources/azure_ddos_protection_resources.md @@ -14,11 +14,11 @@ Use the `azure_ddos_protection_resources` InSpec audit resource to test the prop ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -67,7 +67,11 @@ end : **Field**: `resource_guid` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to the [Azure documentation](https://docs.microsoft.com/en-us/rest/api/virtualnetwork/ddos-protection-plans/list) for all available properties. Access any attribute in the response by separating the key names with a period (`.`). @@ -99,7 +103,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -113,4 +119,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_dns_zones_resource.md b/docs-chef-io/content/inspec/resources/azure_dns_zones_resource.md index 328d5fd14..94d54b73c 100644 --- a/docs-chef-io/content/inspec/resources/azure_dns_zones_resource.md +++ b/docs-chef-io/content/inspec/resources/azure_dns_zones_resource.md @@ -14,11 +14,11 @@ Use the `azure_dns_zones_resource` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -117,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_dns_zones_resources.md b/docs-chef-io/content/inspec/resources/azure_dns_zones_resources.md index 9914dbb40..44af42f11 100644 --- a/docs-chef-io/content/inspec/resources/azure_dns_zones_resources.md +++ b/docs-chef-io/content/inspec/resources/azure_dns_zones_resources.md @@ -14,11 +14,11 @@ Use the `azure_dns_zones_resources` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ This resource does not require any parameters. : **Field**: `name_servers` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -114,7 +118,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -128,4 +134,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_event_hub_authorization_rule.md b/docs-chef-io/content/inspec/resources/azure_event_hub_authorization_rule.md index b7d5dc963..a4533a000 100644 --- a/docs-chef-io/content/inspec/resources/azure_event_hub_authorization_rule.md +++ b/docs-chef-io/content/inspec/resources/azure_event_hub_authorization_rule.md @@ -14,11 +14,11 @@ Use the `azure_event_hub_authorization_rule` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -113,4 +113,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_event_hub_event_hub.md b/docs-chef-io/content/inspec/resources/azure_event_hub_event_hub.md index 46cc45a84..36617d294 100644 --- a/docs-chef-io/content/inspec/resources/azure_event_hub_event_hub.md +++ b/docs-chef-io/content/inspec/resources/azure_event_hub_event_hub.md @@ -14,11 +14,11 @@ Use the `azure_event_hub_event_hub` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -110,4 +110,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_event_hub_namespace.md b/docs-chef-io/content/inspec/resources/azure_event_hub_namespace.md index 48f493b5f..cdd07dcc7 100644 --- a/docs-chef-io/content/inspec/resources/azure_event_hub_namespace.md +++ b/docs-chef-io/content/inspec/resources/azure_event_hub_namespace.md @@ -14,11 +14,11 @@ Use the `azure_event_hub_namespace` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -107,4 +107,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_express_route_circuit.md b/docs-chef-io/content/inspec/resources/azure_express_route_circuit.md index d68f77fd7..1a0d9ad61 100644 --- a/docs-chef-io/content/inspec/resources/azure_express_route_circuit.md +++ b/docs-chef-io/content/inspec/resources/azure_express_route_circuit.md @@ -14,11 +14,11 @@ Use the `azure_express_route_circuit` InSpec audit resource to test the properti ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -164,4 +164,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_express_route_circuits.md b/docs-chef-io/content/inspec/resources/azure_express_route_circuits.md index 41790fbf6..335401b9e 100644 --- a/docs-chef-io/content/inspec/resources/azure_express_route_circuits.md +++ b/docs-chef-io/content/inspec/resources/azure_express_route_circuits.md @@ -19,9 +19,9 @@ If not provided, the latest version is used. For more information, refer to [`az Unless defined, `azure_cloud` global endpoint and default values for the HTTP client is used. For more information, refer to the resource pack [README](https://github.com/inspec/inspec-azure/blob/main/README.md). -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -130,7 +130,11 @@ end : **Field**: `sku_family` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/expressroute/express-route-circuits/list?tabs=HTTP) for other properties available. @@ -154,7 +158,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -178,4 +184,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_express_route_providers.md b/docs-chef-io/content/inspec/resources/azure_express_route_providers.md index 60ac0db24..caac8501f 100644 --- a/docs-chef-io/content/inspec/resources/azure_express_route_providers.md +++ b/docs-chef-io/content/inspec/resources/azure_express_route_providers.md @@ -14,11 +14,11 @@ Use the `azure_express_route_providers` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -82,7 +82,11 @@ end : **Field**: `bandwidths` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -107,7 +111,7 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} ```ruby # Should not exist if no azure_express_route is in the resource group. @@ -121,4 +125,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_generic_resource.md b/docs-chef-io/content/inspec/resources/azure_generic_resource.md index 4e46e32cd..a28d453ce 100644 --- a/docs-chef-io/content/inspec/resources/azure_generic_resource.md +++ b/docs-chef-io/content/inspec/resources/azure_generic_resource.md @@ -12,9 +12,9 @@ parent = "inspec/resources/azure" Use the `azure_generic_resource` Inspec audit resource to test any valid Azure resource available through Azure Resource Manager. -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -178,7 +178,9 @@ For more examples, please see the [integration tests](/test/integration/verify/c ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -202,4 +204,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_generic_resources.md b/docs-chef-io/content/inspec/resources/azure_generic_resources.md index 501542f31..ed62d2fad 100644 --- a/docs-chef-io/content/inspec/resources/azure_generic_resources.md +++ b/docs-chef-io/content/inspec/resources/azure_generic_resources.md @@ -12,9 +12,9 @@ parent = "inspec/resources/azure" Use the `azure_generic_resources` Inspec audit resource to test any valid Azure resources. -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -142,7 +142,11 @@ It is advised to use these parameter sets to narrow down the targeted resources : **Field**: `provisioning_state` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ** These properties are not available when `resource_uri` is used. @@ -211,13 +215,19 @@ describe azure_generic_resources(add_subscription_id: true, resource_uri: "provi end ``` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} For more examples, please see the [integration tests](/test/integration/verify/controls/azure_generic_resources.rb). ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exist @@ -241,4 +251,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_graph_generic_resource.md b/docs-chef-io/content/inspec/resources/azure_graph_generic_resource.md index 4e8cebb7a..6c78dd23e 100644 --- a/docs-chef-io/content/inspec/resources/azure_graph_generic_resource.md +++ b/docs-chef-io/content/inspec/resources/azure_graph_generic_resource.md @@ -14,11 +14,11 @@ Use the `azure_graph_generic_resource` Inspec audit resource to test any valid A ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -65,11 +65,13 @@ describe azure_graph_generic_resource(resource: 'USERS', id: 'jdoe@contoso.com', end ``` -For more examples, please see the [integration tests](../../test/integration/verify/controls/azure_graph_generic_resource.rb). +For more examples, please see the [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_graph_generic_resource.rb). ## 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/azure_graph_generic_resources.md b/docs-chef-io/content/inspec/resources/azure_graph_generic_resources.md index 6ecedbb4b..01bb7994e 100644 --- a/docs-chef-io/content/inspec/resources/azure_graph_generic_resources.md +++ b/docs-chef-io/content/inspec/resources/azure_graph_generic_resources.md @@ -14,11 +14,11 @@ Use the `azure_graph_generic_resources` Inspec audit resource to test any valid ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -105,7 +105,11 @@ end end ``` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} **Test `given_names` Parameter.** @@ -119,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 diff --git a/docs-chef-io/content/inspec/resources/azure_graph_user.md b/docs-chef-io/content/inspec/resources/azure_graph_user.md index ce5b7dd0e..8ad466979 100644 --- a/docs-chef-io/content/inspec/resources/azure_graph_user.md +++ b/docs-chef-io/content/inspec/resources/azure_graph_user.md @@ -14,11 +14,11 @@ Use the `azure_graph_user` InSpec audit resource to test the properties of an Az ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_graph_users.md b/docs-chef-io/content/inspec/resources/azure_graph_users.md index da977da49..5e4b4ee66 100644 --- a/docs-chef-io/content/inspec/resources/azure_graph_users.md +++ b/docs-chef-io/content/inspec/resources/azure_graph_users.md @@ -14,11 +14,11 @@ Use the `azure_graph_users` InSpec audit resource to test the properties of some ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -88,7 +88,11 @@ It is advised to use these parameters to narrow down the targeted resources at t : **Field**: `userPrincipalName` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -120,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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_hdinsight_cluster.md b/docs-chef-io/content/inspec/resources/azure_hdinsight_cluster.md index fe7b1d27f..798487a43 100644 --- a/docs-chef-io/content/inspec/resources/azure_hdinsight_cluster.md +++ b/docs-chef-io/content/inspec/resources/azure_hdinsight_cluster.md @@ -14,11 +14,11 @@ Use the `azure_hdinsight_cluster` InSpec audit resource to test the properties o ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -85,7 +85,7 @@ describe azure_hdinsight_cluster(resource_group: 'RESOURCE_GROUP', name: 'CLUSTE end ``` -See [integration tests](../../test/integration/verify/controls/azurerm_hdinsight_cluster.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_hdinsight_cluster.rb) for more examples. ## Matchers @@ -113,4 +113,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_hpc_asc_operation.md b/docs-chef-io/content/inspec/resources/azure_hpc_asc_operation.md index 6ea6abe20..2f6d78efe 100644 --- a/docs-chef-io/content/inspec/resources/azure_hpc_asc_operation.md +++ b/docs-chef-io/content/inspec/resources/azure_hpc_asc_operation.md @@ -14,11 +14,11 @@ Use the `azure_hpc_asc_operation` InSpec audit resource to test the properties r ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -103,4 +105,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_hpc_cache.md b/docs-chef-io/content/inspec/resources/azure_hpc_cache.md index d8fccdb39..d86191714 100644 --- a/docs-chef-io/content/inspec/resources/azure_hpc_cache.md +++ b/docs-chef-io/content/inspec/resources/azure_hpc_cache.md @@ -14,11 +14,11 @@ Use the `azure_hpc_cache` InSpec audit resource to test the properties related t ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -112,4 +114,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_hpc_cache_skus.md b/docs-chef-io/content/inspec/resources/azure_hpc_cache_skus.md index ff53cef88..6b626a6d3 100644 --- a/docs-chef-io/content/inspec/resources/azure_hpc_cache_skus.md +++ b/docs-chef-io/content/inspec/resources/azure_hpc_cache_skus.md @@ -14,11 +14,11 @@ Use the `azure_hpc_cache_skus` InSpec audit resource to test the properties rela ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -59,7 +59,11 @@ end **Field**: `kind` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -92,4 +96,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_hpc_caches.md b/docs-chef-io/content/inspec/resources/azure_hpc_caches.md index e25a913b9..94f66b407 100644 --- a/docs-chef-io/content/inspec/resources/azure_hpc_caches.md +++ b/docs-chef-io/content/inspec/resources/azure_hpc_caches.md @@ -14,11 +14,11 @@ Use the `azure_hpc_caches` InSpec audit resource to test the properties related ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -72,7 +72,11 @@ end **Field**: `subnet` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -96,7 +100,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -120,4 +126,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_hpc_storage_target.md b/docs-chef-io/content/inspec/resources/azure_hpc_storage_target.md index 44ca8d224..64cbe10b6 100644 --- a/docs-chef-io/content/inspec/resources/azure_hpc_storage_target.md +++ b/docs-chef-io/content/inspec/resources/azure_hpc_storage_target.md @@ -14,11 +14,11 @@ Use the `azure_hpc_storage_target` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -115,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_hpc_storage_targets.md b/docs-chef-io/content/inspec/resources/azure_hpc_storage_targets.md index aa38887fc..efa6c3f0f 100644 --- a/docs-chef-io/content/inspec/resources/azure_hpc_storage_targets.md +++ b/docs-chef-io/content/inspec/resources/azure_hpc_storage_targets.md @@ -14,11 +14,11 @@ Use the `azure_hpc_storage_targets` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -75,7 +75,11 @@ end : **Field**: `provisioningState` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -99,7 +103,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -123,4 +129,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_iothub.md b/docs-chef-io/content/inspec/resources/azure_iothub.md index 0993e209a..b5f9f473f 100644 --- a/docs-chef-io/content/inspec/resources/azure_iothub.md +++ b/docs-chef-io/content/inspec/resources/azure_iothub.md @@ -14,11 +14,11 @@ Use the `azure_iothub` InSpec audit resource to test the properties of an Azure ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -107,4 +107,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_iothub_event_hub_consumer_group.md b/docs-chef-io/content/inspec/resources/azure_iothub_event_hub_consumer_group.md index ea9bbbd2e..9e4cdba23 100644 --- a/docs-chef-io/content/inspec/resources/azure_iothub_event_hub_consumer_group.md +++ b/docs-chef-io/content/inspec/resources/azure_iothub_event_hub_consumer_group.md @@ -14,11 +14,11 @@ Use the `azure_iothub_event_hub_consumer_group` InSpec audit resource to test th ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -113,4 +113,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_iothub_event_hub_consumer_groups.md b/docs-chef-io/content/inspec/resources/azure_iothub_event_hub_consumer_groups.md index 2f273e1fa..51d9a269a 100644 --- a/docs-chef-io/content/inspec/resources/azure_iothub_event_hub_consumer_groups.md +++ b/docs-chef-io/content/inspec/resources/azure_iothub_event_hub_consumer_groups.md @@ -14,11 +14,11 @@ Use the `azure_iothub_event_hub_consumer_groups` InSpec audit resource to test t ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -79,7 +79,11 @@ end : **Field**: `etag` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -111,4 +115,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_key_vault.md b/docs-chef-io/content/inspec/resources/azure_key_vault.md index 2298982c3..15942cedc 100644 --- a/docs-chef-io/content/inspec/resources/azure_key_vault.md +++ b/docs-chef-io/content/inspec/resources/azure_key_vault.md @@ -14,11 +14,11 @@ Use the `azure_key_vault` InSpec audit resource to test the properties related t ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -125,4 +125,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_key_vault_key.md b/docs-chef-io/content/inspec/resources/azure_key_vault_key.md index 5b1b6f99a..7fdcd1881 100644 --- a/docs-chef-io/content/inspec/resources/azure_key_vault_key.md +++ b/docs-chef-io/content/inspec/resources/azure_key_vault_key.md @@ -14,11 +14,11 @@ Use the `azure_key_vault_key` InSpec audit resource to test the properties and c ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -132,4 +132,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_key_vault_keys.md b/docs-chef-io/content/inspec/resources/azure_key_vault_keys.md index 2b4ff7d77..b48d0c8de 100644 --- a/docs-chef-io/content/inspec/resources/azure_key_vault_keys.md +++ b/docs-chef-io/content/inspec/resources/azure_key_vault_keys.md @@ -14,11 +14,11 @@ Use the `azure_key_vault_keys` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -58,7 +58,11 @@ end : **Field**: `tags` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -83,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. ### exists @@ -109,4 +115,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_key_vault_secret.md b/docs-chef-io/content/inspec/resources/azure_key_vault_secret.md index f0dbe74bd..d9d9d80ef 100644 --- a/docs-chef-io/content/inspec/resources/azure_key_vault_secret.md +++ b/docs-chef-io/content/inspec/resources/azure_key_vault_secret.md @@ -14,11 +14,11 @@ Use the `azure_key_vault_secret` InSpec audit resource to test the properties an ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -136,4 +136,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_key_vault_secrets.md b/docs-chef-io/content/inspec/resources/azure_key_vault_secrets.md index a45b62cb5..142a157c1 100644 --- a/docs-chef-io/content/inspec/resources/azure_key_vault_secrets.md +++ b/docs-chef-io/content/inspec/resources/azure_key_vault_secrets.md @@ -14,11 +14,11 @@ Use the `azure_key_vault_secrets` InSpec audit resource to test the properties a ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -63,7 +63,11 @@ end : **Field**: `tags` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -88,7 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -112,4 +118,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_key_vaults.md b/docs-chef-io/content/inspec/resources/azure_key_vaults.md index fe7e72f84..3843edc8b 100644 --- a/docs-chef-io/content/inspec/resources/azure_key_vaults.md +++ b/docs-chef-io/content/inspec/resources/azure_key_vaults.md @@ -14,11 +14,11 @@ Use the `azure_key_vaults` InSpec audit resource to test the properties related ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -108,7 +112,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### not_exists @@ -132,4 +138,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_load_balancer.md b/docs-chef-io/content/inspec/resources/azure_load_balancer.md index c4b35bc77..f5aac7caa 100644 --- a/docs-chef-io/content/inspec/resources/azure_load_balancer.md +++ b/docs-chef-io/content/inspec/resources/azure_load_balancer.md @@ -14,11 +14,11 @@ Use the `azure_load_balancer` InSpec audit resource to test the properties and c ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -111,4 +111,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_load_balancers.md b/docs-chef-io/content/inspec/resources/azure_load_balancers.md index 9c618b855..5c85775f3 100644 --- a/docs-chef-io/content/inspec/resources/azure_load_balancers.md +++ b/docs-chef-io/content/inspec/resources/azure_load_balancers.md @@ -14,11 +14,11 @@ Use the `azure_load_balancers` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -81,7 +81,11 @@ end : **Field**: `sku` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -112,7 +116,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -138,4 +144,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_lock.md b/docs-chef-io/content/inspec/resources/azure_lock.md index 50bf34d51..e187aadf0 100644 --- a/docs-chef-io/content/inspec/resources/azure_lock.md +++ b/docs-chef-io/content/inspec/resources/azure_lock.md @@ -14,11 +14,11 @@ Use the `azure_lock` InSpec audit resource to test the properties and configurat ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -102,4 +104,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_locks.md b/docs-chef-io/content/inspec/resources/azure_locks.md index c4f1500fe..4b17e6a10 100644 --- a/docs-chef-io/content/inspec/resources/azure_locks.md +++ b/docs-chef-io/content/inspec/resources/azure_locks.md @@ -14,11 +14,11 @@ Use the `azure_locks` InSpec audit resource to test the properties and configura ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -92,7 +92,11 @@ Either one of the parameter sets can be provided for a valid query: : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -124,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. ### exists @@ -137,4 +143,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_managed_application.md b/docs-chef-io/content/inspec/resources/azure_managed_application.md index 4478fe0ca..950990a86 100644 --- a/docs-chef-io/content/inspec/resources/azure_managed_application.md +++ b/docs-chef-io/content/inspec/resources/azure_managed_application.md @@ -14,11 +14,11 @@ Use the `azure_managed_application` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -112,4 +114,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_managed_applications.md b/docs-chef-io/content/inspec/resources/azure_managed_applications.md index 6da97487b..5b7a7aca8 100644 --- a/docs-chef-io/content/inspec/resources/azure_managed_applications.md +++ b/docs-chef-io/content/inspec/resources/azure_managed_applications.md @@ -14,11 +14,11 @@ Use the `azure_managed_applications` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -82,7 +82,11 @@ end : **Field**: `publisherTenantId` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -106,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. ### exists @@ -130,4 +136,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_management_group.md b/docs-chef-io/content/inspec/resources/azure_management_group.md index 85273451c..898290cd6 100644 --- a/docs-chef-io/content/inspec/resources/azure_management_group.md +++ b/docs-chef-io/content/inspec/resources/azure_management_group.md @@ -14,11 +14,11 @@ Use the `azure_management_group` InSpec audit resource to test the properties of ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -101,7 +101,7 @@ describe azure_management_group(group_id: 'ABC-1234', recurse: true, expand: 'CH end ``` -See [integration tests](../../test/integration/verify/controls/azurerm_management_group.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_management_group.rb) for more examples. ## Matchers @@ -129,4 +129,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_management_groups.md b/docs-chef-io/content/inspec/resources/azure_management_groups.md index 4eadb1e43..9badb9103 100644 --- a/docs-chef-io/content/inspec/resources/azure_management_groups.md +++ b/docs-chef-io/content/inspec/resources/azure_management_groups.md @@ -14,11 +14,11 @@ Use the `azure_management_groups` InSpec audit resource to test the properties a ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -56,7 +56,11 @@ This resource does not require any parameters. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -70,7 +74,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -96,4 +102,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_mariadb_server.md b/docs-chef-io/content/inspec/resources/azure_mariadb_server.md index f130ade9e..d8ffac8c1 100644 --- a/docs-chef-io/content/inspec/resources/azure_mariadb_server.md +++ b/docs-chef-io/content/inspec/resources/azure_mariadb_server.md @@ -14,11 +14,11 @@ Use the `azure_mariadb_server` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -133,4 +133,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_mariadb_servers.md b/docs-chef-io/content/inspec/resources/azure_mariadb_servers.md index 799a869ec..769929096 100644 --- a/docs-chef-io/content/inspec/resources/azure_mariadb_servers.md +++ b/docs-chef-io/content/inspec/resources/azure_mariadb_servers.md @@ -14,11 +14,11 @@ Use the `azure_mariadb_servers` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -81,7 +81,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -120,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. ### exists @@ -134,4 +140,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_pricing.md b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_pricing.md index 0e3b81bf8..042158eec 100644 --- a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_pricing.md +++ b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_pricing.md @@ -14,11 +14,11 @@ Use the `azure_microsoft_defender_pricing` Chef InSpec audit resource to test th ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -69,7 +69,9 @@ This resource does not have any examples. ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_pricings.md b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_pricings.md index dc1788c47..4599f06f3 100644 --- a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_pricings.md +++ b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_pricings.md @@ -14,11 +14,11 @@ Use the `azure_microsoft_defender_pricings` Chef InSpec audit resource to test t ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -64,7 +64,11 @@ No required parameters. : **Field**: `properties.subPlan` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} See the [Azure documentation on Defender for Cloud pricing configuration](https://learn.microsoft.com/en-us/rest/api/defenderforcloud/pricings/list) for additional information. You may access any attribute in the response with the key names separated by dots (`.`). @@ -74,7 +78,9 @@ This resource does not have any examples. ## 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/azure_microsoft_defender_security_contact.md b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_security_contact.md index c55b4d1d9..fe7b9ae0a 100644 --- a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_security_contact.md +++ b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_security_contact.md @@ -14,11 +14,11 @@ Use the `azure_microsoft_defender_security_contact` Chef InSpec audit resource t ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -92,7 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_setting.md b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_setting.md index c258ca909..ba4d574a7 100644 --- a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_setting.md +++ b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_setting.md @@ -52,7 +52,9 @@ This resource does not have any examples. ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_settings.md b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_settings.md index 3c14301b9..9f673d633 100644 --- a/docs-chef-io/content/inspec/resources/azure_microsoft_defender_settings.md +++ b/docs-chef-io/content/inspec/resources/azure_microsoft_defender_settings.md @@ -51,7 +51,11 @@ No required parameters. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} See the [Azure documentation on Defender for Cloud Settings configuration](https://learn.microsoft.com/en-us/rest/api/defenderforcloud/settings/list?tabs=HTTP) for additional information. You may access any attribute in the response with the key names separated by dots (`.`). @@ -61,7 +65,9 @@ This resource does not have any examples. ## 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/azure_migrate_assessment.md b/docs-chef-io/content/inspec/resources/azure_migrate_assessment.md index 7ac987f10..2e74b63cf 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_assessment.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_assessment.md @@ -14,11 +14,11 @@ Use the `azure_migrate_assessment` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -123,4 +123,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_group.md b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_group.md index 94f6859f5..c05aeeb78 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_group.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_group.md @@ -14,11 +14,11 @@ Use the `azure_migrate_assessment_group` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -117,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_groups.md b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_groups.md index f042aa63a..37a8a1ee0 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_groups.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_groups.md @@ -14,11 +14,11 @@ Use the `azure_migrate_assessment_groups` InSpec audit resource to test the prop ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -102,7 +102,11 @@ The parameter set that should be provided for a valid query is `resource_group` : **Field**: `updatedTimestamp` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -126,7 +130,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -150,4 +156,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_machine.md b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_machine.md index 1b5e297d1..ae2f48077 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_machine.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_machine.md @@ -14,11 +14,11 @@ Use the `azure_migrate_assessment_machine` InSpec audit resource to test the pro ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -122,4 +122,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_machines.md b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_machines.md index 102a58403..f2ba49308 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_machines.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_machines.md @@ -14,11 +14,11 @@ Use the `azure_migrate_assessment_machines` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -147,7 +147,11 @@ end : **Field**: `updatedTimestamp` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -171,7 +175,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -195,4 +201,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_project.md b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_project.md index c10f4176d..f92eb9655 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_project.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_project.md @@ -14,11 +14,11 @@ Use the `azure_migrate_assessment_project` InSpec audit resource to test the pro ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -123,4 +123,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_projects.md b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_projects.md index 9b891d519..d3b396585 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_assessment_projects.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_assessment_projects.md @@ -14,11 +14,11 @@ Use the `azure_migrate_assessment_projects` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -146,7 +146,11 @@ This resource does not require any parameters. : **Field**: `updatedTimestamp` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -170,7 +174,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -194,4 +200,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_assessments.md b/docs-chef-io/content/inspec/resources/azure_migrate_assessments.md index 3181e409e..2867bfc09 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_assessments.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_assessments.md @@ -14,11 +14,11 @@ Use the `azure_migrate_assessments` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -219,7 +219,11 @@ The parameter set that should be provided for a valid query are `resource_group` Refer to the [Azure Migrate assements documentation](https://docs.microsoft.com/en-us/rest/api/migrate/assessment/assessments/list-by-project) for additional information. -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -243,7 +247,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -267,4 +273,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project.md b/docs-chef-io/content/inspec/resources/azure_migrate_project.md index 96b1055f4..a47fdbc31 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project.md @@ -19,9 +19,9 @@ If not provided, the latest version will be used. For more information, refer to Unless defined, `azure_cloud` global endpoint and default values for the HTTP client will be used. For more information, refer to the resource pack [README](https://github.com/inspec/inspec-azure/blob/main/README.md). -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -106,4 +106,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_database.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_database.md index 866f72ad6..7125eaacf 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_database.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_database.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_database` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -130,4 +130,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_database_instance.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_database_instance.md index 4d8b92e9a..2f20259a7 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_database_instance.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_database_instance.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_database_instance` InSpec audit resource to test ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -146,4 +146,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_database_instances.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_database_instances.md index c352d4d51..b1e73d708 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_database_instances.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_database_instances.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_database_instances` InSpec audit resource to test ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -127,7 +127,11 @@ end : **Field**: `solutionNames` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -151,7 +155,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -175,4 +181,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_databases.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_databases.md index 16393c4e1..45e9f9159 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_databases.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_databases.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_databases` InSpec audit resource to test the prop ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -137,7 +137,11 @@ The parameter set should be provided for a valid query is`resource_group` and `p : **Field**: `solutionName` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -161,7 +165,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -185,4 +191,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_event.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_event.md index 85da1d70e..9121e45e9 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_event.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_event.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_event` InSpec audit resource to test the properti ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -106,4 +106,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_events.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_events.md index 23a065a91..1771319eb 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_events.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_events.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_events` InSpec audit resource to test the propert ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -102,7 +102,11 @@ The parameter set that should be provided for a valid query is `resource_group` : **Field**: `clientRequestId` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} For more details on the available properties, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/migrate/projects/events/enumerate-events). @@ -128,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. ### not_exists @@ -152,4 +158,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_machine.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_machine.md index f2356dde9..0c72b5c30 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_machine.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_machine.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_machine` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -119,4 +119,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_machines.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_machines.md index 0a0856964..d51257c36 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_machines.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_machines.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_machines` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -82,7 +82,11 @@ The parameter set that should be provided for a valid query is `resource_group` : **Field**: `lastUpdatedTime` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -114,7 +118,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -138,4 +144,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_solution.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_solution.md index 098fa9faa..704171266 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_solution.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_solution.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_solution` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -120,4 +120,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_migrate_project_solutions.md b/docs-chef-io/content/inspec/resources/azure_migrate_project_solutions.md index 98a5370de..9d286969b 100644 --- a/docs-chef-io/content/inspec/resources/azure_migrate_project_solutions.md +++ b/docs-chef-io/content/inspec/resources/azure_migrate_project_solutions.md @@ -14,11 +14,11 @@ Use the `azure_migrate_project_solutions` InSpec audit resource to test the prop ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -137,7 +137,11 @@ The parameter set that should be provided for a valid query is `resource_group` : **Field**: `extendedDetails` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -161,7 +165,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### not_exists @@ -185,4 +191,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_monitor_activity_log_alert.md b/docs-chef-io/content/inspec/resources/azure_monitor_activity_log_alert.md index d4ddd3572..449074b2c 100644 --- a/docs-chef-io/content/inspec/resources/azure_monitor_activity_log_alert.md +++ b/docs-chef-io/content/inspec/resources/azure_monitor_activity_log_alert.md @@ -14,11 +14,11 @@ Use the `azure_monitor_activity_log_alert` InSpec audit resource to test the pro ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -126,4 +126,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_monitor_activity_log_alerts.md b/docs-chef-io/content/inspec/resources/azure_monitor_activity_log_alerts.md index a2d399d15..16444ccaf 100644 --- a/docs-chef-io/content/inspec/resources/azure_monitor_activity_log_alerts.md +++ b/docs-chef-io/content/inspec/resources/azure_monitor_activity_log_alerts.md @@ -14,11 +14,11 @@ Use the `azure_monitor_activity_log_alerts` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `resource_group` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -100,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. ### exists @@ -126,4 +132,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_monitor_log_profile.md b/docs-chef-io/content/inspec/resources/azure_monitor_log_profile.md index dc1430669..c9d57587c 100644 --- a/docs-chef-io/content/inspec/resources/azure_monitor_log_profile.md +++ b/docs-chef-io/content/inspec/resources/azure_monitor_log_profile.md @@ -14,11 +14,11 @@ Use the `azure_monitor_log_profile` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -97,7 +97,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### have_log_retention_enabled @@ -131,4 +133,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_monitor_log_profiles.md b/docs-chef-io/content/inspec/resources/azure_monitor_log_profiles.md index ea2401143..0c5f0e8fb 100644 --- a/docs-chef-io/content/inspec/resources/azure_monitor_log_profiles.md +++ b/docs-chef-io/content/inspec/resources/azure_monitor_log_profiles.md @@ -14,11 +14,11 @@ Use the `azure_monitor_log_profiles` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -51,7 +51,11 @@ This resource does not require any parameters. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -82,7 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -96,4 +102,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_mysql_database.md b/docs-chef-io/content/inspec/resources/azure_mysql_database.md index eaec265a9..baa287f08 100644 --- a/docs-chef-io/content/inspec/resources/azure_mysql_database.md +++ b/docs-chef-io/content/inspec/resources/azure_mysql_database.md @@ -14,11 +14,11 @@ Use the `azure_mysql_database` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -111,4 +111,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_mysql_databases.md b/docs-chef-io/content/inspec/resources/azure_mysql_databases.md index 95c55ebc5..65f4d9c3e 100644 --- a/docs-chef-io/content/inspec/resources/azure_mysql_databases.md +++ b/docs-chef-io/content/inspec/resources/azure_mysql_databases.md @@ -14,11 +14,11 @@ Use the `azure_mysql_databases` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -65,7 +65,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -88,7 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -114,4 +120,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_mysql_server.md b/docs-chef-io/content/inspec/resources/azure_mysql_server.md index 7c966e591..f43b74785 100644 --- a/docs-chef-io/content/inspec/resources/azure_mysql_server.md +++ b/docs-chef-io/content/inspec/resources/azure_mysql_server.md @@ -14,11 +14,11 @@ Use the `azure_mysql_server` InSpec audit resource to test the properties and co ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -123,4 +123,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_mysql_server_configuration.md b/docs-chef-io/content/inspec/resources/azure_mysql_server_configuration.md index 44ce71dbd..3eae9eb72 100644 --- a/docs-chef-io/content/inspec/resources/azure_mysql_server_configuration.md +++ b/docs-chef-io/content/inspec/resources/azure_mysql_server_configuration.md @@ -120,4 +120,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_mysql_server_configurations.md b/docs-chef-io/content/inspec/resources/azure_mysql_server_configurations.md index eee5936bc..905828a41 100644 --- a/docs-chef-io/content/inspec/resources/azure_mysql_server_configurations.md +++ b/docs-chef-io/content/inspec/resources/azure_mysql_server_configurations.md @@ -14,11 +14,11 @@ Use the `azure_mysql_database_configurations` InSpec audit resource to test the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -60,7 +60,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -83,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. ### exists @@ -107,4 +113,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_mysql_servers.md b/docs-chef-io/content/inspec/resources/azure_mysql_servers.md index ddbfc6a7b..12972b7c8 100644 --- a/docs-chef-io/content/inspec/resources/azure_mysql_servers.md +++ b/docs-chef-io/content/inspec/resources/azure_mysql_servers.md @@ -14,11 +14,11 @@ Use the `azure_mysql_servers` InSpec audit resource to test the properties and c ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -115,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. ### exists @@ -129,4 +135,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_network_interface.md b/docs-chef-io/content/inspec/resources/azure_network_interface.md index 9fed1dcfd..ff9254296 100644 --- a/docs-chef-io/content/inspec/resources/azure_network_interface.md +++ b/docs-chef-io/content/inspec/resources/azure_network_interface.md @@ -14,11 +14,11 @@ Use the `azure_network_interface` InSpec audit resource to test the properties a ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -158,4 +158,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_network_interfaces.md b/docs-chef-io/content/inspec/resources/azure_network_interfaces.md index e235ef813..e734cf5ba 100644 --- a/docs-chef-io/content/inspec/resources/azure_network_interfaces.md +++ b/docs-chef-io/content/inspec/resources/azure_network_interfaces.md @@ -14,11 +14,11 @@ Use the `azure_network_interfaces` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -99,7 +103,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -125,4 +131,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_network_security_group.md b/docs-chef-io/content/inspec/resources/azure_network_security_group.md index c452633d9..3869429ac 100644 --- a/docs-chef-io/content/inspec/resources/azure_network_security_group.md +++ b/docs-chef-io/content/inspec/resources/azure_network_security_group.md @@ -14,11 +14,11 @@ Use the `azure_network_security_group` InSpec audit resource to test the propert ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -180,7 +180,9 @@ Please note that `allow` requires the `direction` parameter to be set to `inboun ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -219,4 +221,4 @@ end ``` ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_network_security_groups.md b/docs-chef-io/content/inspec/resources/azure_network_security_groups.md index b255cdade..63752c636 100644 --- a/docs-chef-io/content/inspec/resources/azure_network_security_groups.md +++ b/docs-chef-io/content/inspec/resources/azure_network_security_groups.md @@ -14,11 +14,11 @@ Use the `azure_network_security_groups` InSpec audit resource to enumerate the N ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -75,7 +75,11 @@ end : A list of all properties of all the resources. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -105,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. ### exists @@ -131,4 +137,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_network_watcher.md b/docs-chef-io/content/inspec/resources/azure_network_watcher.md index 7bc1390f1..9c551eeb8 100644 --- a/docs-chef-io/content/inspec/resources/azure_network_watcher.md +++ b/docs-chef-io/content/inspec/resources/azure_network_watcher.md @@ -14,11 +14,11 @@ Use the `azure_network_watcher` InSpec audit resource to test the properties of ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -106,7 +106,7 @@ azure_network_security_groups.where(location: 'eastus').ids.each do |nsg_id| end ``` -See [integration tests](../../test/integration/verify/controls/azurerm_network_watcher.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_network_watcher.rb) for more examples. ## Matchers @@ -130,4 +130,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_network_watchers.md b/docs-chef-io/content/inspec/resources/azure_network_watchers.md index fb01b81b9..121eb7bbb 100644 --- a/docs-chef-io/content/inspec/resources/azure_network_watchers.md +++ b/docs-chef-io/content/inspec/resources/azure_network_watchers.md @@ -14,11 +14,11 @@ Use the `azure_network_watchers` InSpec audit resource to test the properties an ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -66,7 +66,11 @@ end : **Field**: `tags` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -80,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. ### exists @@ -106,4 +112,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_policy_assignments.md b/docs-chef-io/content/inspec/resources/azure_policy_assignments.md index 82ae03c8d..e729666fb 100644 --- a/docs-chef-io/content/inspec/resources/azure_policy_assignments.md +++ b/docs-chef-io/content/inspec/resources/azure_policy_assignments.md @@ -14,11 +14,11 @@ Use the `azure_policy_assignments` InSpec resource to examine assignments of the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -160,4 +160,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_policy_definition.md b/docs-chef-io/content/inspec/resources/azure_policy_definition.md index 980f646ef..431c5b9e1 100644 --- a/docs-chef-io/content/inspec/resources/azure_policy_definition.md +++ b/docs-chef-io/content/inspec/resources/azure_policy_definition.md @@ -14,11 +14,11 @@ Use the `azure_policy_definition` InSpec audit resource to test the properties a ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### custom @@ -125,4 +127,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_policy_definitions.md b/docs-chef-io/content/inspec/resources/azure_policy_definitions.md index 9d18b0f8e..542c758f1 100644 --- a/docs-chef-io/content/inspec/resources/azure_policy_definitions.md +++ b/docs-chef-io/content/inspec/resources/azure_policy_definitions.md @@ -14,11 +14,11 @@ Use the `azure_policy_definitions` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -91,7 +91,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -122,7 +126,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -136,4 +142,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_policy_exemption.md b/docs-chef-io/content/inspec/resources/azure_policy_exemption.md index 5395dae90..96f8d2b54 100644 --- a/docs-chef-io/content/inspec/resources/azure_policy_exemption.md +++ b/docs-chef-io/content/inspec/resources/azure_policy_exemption.md @@ -14,11 +14,11 @@ Use the `azure_policy_exemption` InSpec audit resource to test the properties re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -127,4 +127,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_policy_exemptions.md b/docs-chef-io/content/inspec/resources/azure_policy_exemptions.md index 1cbb04e01..0a6787ad5 100644 --- a/docs-chef-io/content/inspec/resources/azure_policy_exemptions.md +++ b/docs-chef-io/content/inspec/resources/azure_policy_exemptions.md @@ -14,11 +14,11 @@ Use the `azure_policy_exemptions` InSpec audit resource to test properties relat ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -119,7 +119,11 @@ end : **Field**: `last_modified_at` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -143,7 +147,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### not_exists @@ -167,4 +173,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_policy_insights_query_result.md b/docs-chef-io/content/inspec/resources/azure_policy_insights_query_result.md index 279f62fcb..cd8167d04 100644 --- a/docs-chef-io/content/inspec/resources/azure_policy_insights_query_result.md +++ b/docs-chef-io/content/inspec/resources/azure_policy_insights_query_result.md @@ -14,11 +14,11 @@ Use the `azure_policy_insights_query_result` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -139,7 +139,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### compliant @@ -173,4 +175,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_policy_insights_query_results.md b/docs-chef-io/content/inspec/resources/azure_policy_insights_query_results.md index b7e619836..85afaa38d 100644 --- a/docs-chef-io/content/inspec/resources/azure_policy_insights_query_results.md +++ b/docs-chef-io/content/inspec/resources/azure_policy_insights_query_results.md @@ -14,11 +14,11 @@ Use the `azure_policy_insights_query_results` InSpec audit resource to test prop ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -134,7 +134,11 @@ This resource does not require any parameters. : **Field**: `compliance_reason_code` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -165,7 +169,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -179,4 +185,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_postgresql_database.md b/docs-chef-io/content/inspec/resources/azure_postgresql_database.md index 0d26265a2..b7e2fc644 100644 --- a/docs-chef-io/content/inspec/resources/azure_postgresql_database.md +++ b/docs-chef-io/content/inspec/resources/azure_postgresql_database.md @@ -14,11 +14,11 @@ Use the `azure_postgresql_database` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -111,4 +111,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_postgresql_databases.md b/docs-chef-io/content/inspec/resources/azure_postgresql_databases.md index a0715a0a5..f75aeceb4 100644 --- a/docs-chef-io/content/inspec/resources/azure_postgresql_databases.md +++ b/docs-chef-io/content/inspec/resources/azure_postgresql_databases.md @@ -14,11 +14,11 @@ Use the `azure_postgresql_databases` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -65,7 +65,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -88,7 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -114,4 +120,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_postgresql_server.md b/docs-chef-io/content/inspec/resources/azure_postgresql_server.md index 3c73abe55..c926ca814 100644 --- a/docs-chef-io/content/inspec/resources/azure_postgresql_server.md +++ b/docs-chef-io/content/inspec/resources/azure_postgresql_server.md @@ -14,11 +14,11 @@ Use the `azure_postgresql_server` InSpec audit resource to test the properties a ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -125,7 +125,9 @@ end ``` ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -149,4 +151,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_postgresql_servers.md b/docs-chef-io/content/inspec/resources/azure_postgresql_servers.md index cccb1132b..b6b00f932 100644 --- a/docs-chef-io/content/inspec/resources/azure_postgresql_servers.md +++ b/docs-chef-io/content/inspec/resources/azure_postgresql_servers.md @@ -14,11 +14,11 @@ Use the `azure_postgresql_servers` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -81,7 +81,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -119,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. ### exists @@ -133,4 +139,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_app.md b/docs-chef-io/content/inspec/resources/azure_power_bi_app.md index 95ab6cb9f..1434c8eb2 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_app.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_app.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_app` InSpec audit resource to test the properties relate ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard.md b/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard.md index 4da0cfb19..cca2d4b46 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_app_dashboard` InSpec audit resource to test the propert ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard_tile.md b/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard_tile.md index 7b46d9541..f4b25b8c6 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard_tile.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard_tile.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_app_dashboard_tile` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard_tiles.md b/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard_tiles.md index 1ba99ebd9..50a7666a8 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard_tiles.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboard_tiles.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_app_dashboard_tiles` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -77,7 +77,11 @@ end : **Field**: `datasetId` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/apps/get-tiles) for other properties available. ## Examples @@ -102,7 +106,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboards.md b/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboards.md index bb7954cfa..230d1b05a 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboards.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_app_dashboards.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_app_dashboards` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -57,7 +57,11 @@ end : **Field**: `isReadOnly` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/apps/get-dashboards) for other properties available. ## Examples @@ -82,7 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_app_report.md b/docs-chef-io/content/inspec/resources/azure_power_bi_app_report.md index 89044bb58..8a3f2400d 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_app_report.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_app_report.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_app_report` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_app_reports.md b/docs-chef-io/content/inspec/resources/azure_power_bi_app_reports.md index b09e7d819..10d2d2d03 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_app_reports.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_app_reports.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_app_reports` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -68,7 +68,11 @@ end : **Field**: `webUrl` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/apps/get-reports) for other properties available. ## Examples @@ -93,7 +97,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_apps.md b/docs-chef-io/content/inspec/resources/azure_power_bi_apps.md index da7577548..580318881 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_apps.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_apps.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_apps` InSpec audit resource to test the properties relat ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -56,7 +56,11 @@ This resource does not require any parameters. : **Field**: `lastUpdate` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/apps/get-apps) for other properties available. ## Examples @@ -81,7 +85,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_capacities.md b/docs-chef-io/content/inspec/resources/azure_power_bi_capacities.md index ff7745a11..2db67814d 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_capacities.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_capacities.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_app_capacities` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -71,7 +71,11 @@ This resource does not require any parameters. : **Field**: `capacityUserAccessRight` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/capacities/get-capacities) for other properties available. @@ -87,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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_refreshable.md b/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_refreshable.md index 5e3fc2ad8..fc3f37de1 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_refreshable.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_refreshable.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_capacity_refreshable` InSpec audit resource to test the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_refreshables.md b/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_refreshables.md index 0c0949798..4818ef101 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_refreshables.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_refreshables.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_capacity_refreshables` InSpec audit resource to test the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -77,7 +77,11 @@ end : **Field**: `averageDuration` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} For additional information, refer to the [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/capacities/get-refreshables) for other properties available. @@ -93,7 +97,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_workload.md b/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_workload.md index c04ccdf48..c4a3f8d5b 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_workload.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_workload.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_capacity_workload` InSpec audit resource to test the pro ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_workloads.md b/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_workloads.md index 260c215ba..1adeb345c 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_workloads.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_capacity_workloads.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_capacity_workloads` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -52,7 +52,11 @@ end : **Field**: `maxMemoryPercentageSetByUser` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/capacities/get-Workloads) for other properties available. ## Examples @@ -67,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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard.md index 15acfef19..315244ff1 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dashboard` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard_tile.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard_tile.md index 90a03478d..5eb08be3d 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard_tile.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard_tile.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dashboard_tile` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard_tiles.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard_tiles.md index a34dbffd6..9f246a0b7 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard_tiles.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dashboard_tiles.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dashboard_tiles` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -81,7 +81,11 @@ end : **Field**: `datasetId` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/get-dashboards) for other properties available. ## Examples @@ -106,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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dashboards.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dashboards.md index bba1e8f93..bf51b7ad9 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dashboards.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dashboards.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dashboards` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -63,7 +63,11 @@ end : **Field**: `isReadOnlies` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/dashboards/get-dashboards) for other properties available. @@ -89,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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dataflow.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dataflow.md index 90382d5d4..42d84d5af 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dataflow.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dataflow.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dataflow` InSpec audit resource to test the properties o ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dataflow_storage_accounts.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dataflow_storage_accounts.md index 88ee1588a..568029b8c 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dataflow_storage_accounts.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dataflow_storage_accounts.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dataflow_storage_accounts` InSpec audit resource to test ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -51,7 +51,11 @@ This resource does not require any parameters. : **Field**: `isEnabled` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/dataflow-storage-accounts/get-dataflow-storage-accounts) for other properties available. @@ -67,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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dataflows.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dataflows.md index 9b2779056..5f64f9261 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dataflows.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dataflows.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dataflows` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -61,7 +61,11 @@ end : **Field**: `modelUrl` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -75,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. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dataset.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dataset.md index 986b40225..bfe33ec8d 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dataset.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dataset.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dataset` InSpec audit resource to test the properties re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_dataset_datasources.md b/docs-chef-io/content/inspec/resources/azure_power_bi_dataset_datasources.md index c1b7a7e35..ae274d2b3 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_dataset_datasources.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_dataset_datasources.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_dataset_datasources` Chef InSpec audit resource to test ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -60,7 +60,11 @@ end : **Field**: `connectionDetails` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasources) for other properties available. diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_datasets.md b/docs-chef-io/content/inspec/resources/azure_power_bi_datasets.md index c0943d9e2..421854e83 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_datasets.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_datasets.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_datasets` InSpec audit resource to test the properties o ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -72,7 +72,11 @@ end : **Field**: `isOnPremGatewayRequired` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/get-datasets) for other properties available. @@ -88,7 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_embedded_capacities.md b/docs-chef-io/content/inspec/resources/azure_power_bi_embedded_capacities.md index 7785a0c18..06b69a590 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_embedded_capacities.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_embedded_capacities.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_embedded_capacities` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -92,7 +92,11 @@ The following parameters are optional,`account_name` and `dns_suffix`. : **Field**: `administration_members` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -116,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. ### exists @@ -140,4 +146,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_embedded_capacity.md b/docs-chef-io/content/inspec/resources/azure_power_bi_embedded_capacity.md index 43028045b..5a67608d3 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_embedded_capacity.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_embedded_capacity.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_embedded_capacity` InSpec audit resource to test the pro ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -115,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_gateway.md b/docs-chef-io/content/inspec/resources/azure_power_bi_gateway.md index 85ce8553d..183b3fe4c 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_gateway.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_gateway.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_gateway` InSpec audit resource to test the properties re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax diff --git a/docs-chef-io/content/inspec/resources/azure_power_bi_gateways.md b/docs-chef-io/content/inspec/resources/azure_power_bi_gateways.md index 7ff2d78dc..b1bff5720 100644 --- a/docs-chef-io/content/inspec/resources/azure_power_bi_gateways.md +++ b/docs-chef-io/content/inspec/resources/azure_power_bi_gateways.md @@ -14,11 +14,11 @@ Use the `azure_power_bi_gateways` InSpec audit resource to test the properties r ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -57,7 +57,11 @@ end : **Field**: `modulus` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/power-bi/Gateways/get-Gateways) for other available properties. ## Examples @@ -82,7 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists diff --git a/docs-chef-io/content/inspec/resources/azure_public_ip.md b/docs-chef-io/content/inspec/resources/azure_public_ip.md index 13eadc47e..d51be39c4 100644 --- a/docs-chef-io/content/inspec/resources/azure_public_ip.md +++ b/docs-chef-io/content/inspec/resources/azure_public_ip.md @@ -14,11 +14,11 @@ Use the `azure_public_ip` InSpec audit resource to test the properties of an Azu ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -77,7 +77,7 @@ describe azure_public_ip(resource_id: '/subscriptions/{subscriptionId}/resourceG end ``` -See [integration tests](../../test/integration/verify/controls/azurerm_public_ip.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_public_ip.rb) for more examples. ## Matchers @@ -105,4 +105,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_redis_cache.md b/docs-chef-io/content/inspec/resources/azure_redis_cache.md index 7cad47f7c..928b5d5ce 100644 --- a/docs-chef-io/content/inspec/resources/azure_redis_cache.md +++ b/docs-chef-io/content/inspec/resources/azure_redis_cache.md @@ -14,11 +14,11 @@ Use the `azure_redis_cache` InSpec audit resource to test the properties related ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -147,4 +147,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_redis_caches.md b/docs-chef-io/content/inspec/resources/azure_redis_caches.md index 2f462a83c..904df25fd 100644 --- a/docs-chef-io/content/inspec/resources/azure_redis_caches.md +++ b/docs-chef-io/content/inspec/resources/azure_redis_caches.md @@ -14,11 +14,11 @@ Use the `azure_redis_caches` InSpec audit resource to test the properties of mul ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -172,7 +172,11 @@ The parameter should be provided for a valid query is `resource_group`. : **Field**: `linked_servers` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -196,7 +200,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -220,4 +226,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_resource_group.md b/docs-chef-io/content/inspec/resources/azure_resource_group.md index d875e9a2c..2e3eeeced 100644 --- a/docs-chef-io/content/inspec/resources/azure_resource_group.md +++ b/docs-chef-io/content/inspec/resources/azure_resource_group.md @@ -14,11 +14,11 @@ Use the `azure_resource_group` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -111,4 +113,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_resource_groups.md b/docs-chef-io/content/inspec/resources/azure_resource_groups.md index 6df6aab8e..4913ce56b 100644 --- a/docs-chef-io/content/inspec/resources/azure_resource_groups.md +++ b/docs-chef-io/content/inspec/resources/azure_resource_groups.md @@ -14,11 +14,11 @@ Use the `azure_resource_groups` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -56,7 +56,11 @@ This resource does not require any parameters. : **Field**: `location` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -87,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. ### exists @@ -101,4 +107,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_resource_health_availability_status.md b/docs-chef-io/content/inspec/resources/azure_resource_health_availability_status.md index cee14d458..01d6dd32b 100644 --- a/docs-chef-io/content/inspec/resources/azure_resource_health_availability_status.md +++ b/docs-chef-io/content/inspec/resources/azure_resource_health_availability_status.md @@ -14,11 +14,11 @@ Use the `azure_resource_health_availability_status` InSpec audit resource to tes ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -103,4 +103,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_resource_health_availability_statuses.md b/docs-chef-io/content/inspec/resources/azure_resource_health_availability_statuses.md index 646ab6cab..bc96cdc62 100644 --- a/docs-chef-io/content/inspec/resources/azure_resource_health_availability_statuses.md +++ b/docs-chef-io/content/inspec/resources/azure_resource_health_availability_statuses.md @@ -14,11 +14,11 @@ Use the `azure_resource_health_availability_statuses` InSpec audit resource to t ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -61,7 +61,11 @@ This resource does not require any parameters. : **Field**: `location` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -85,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. ### exists @@ -109,4 +115,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_resource_health_emerging_issue.md b/docs-chef-io/content/inspec/resources/azure_resource_health_emerging_issue.md index ee2685031..77e258a35 100644 --- a/docs-chef-io/content/inspec/resources/azure_resource_health_emerging_issue.md +++ b/docs-chef-io/content/inspec/resources/azure_resource_health_emerging_issue.md @@ -14,11 +14,11 @@ Use the `azure_resource_health_emerging_issue` InSpec audit resource to test the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -101,4 +101,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_resource_health_emerging_issues.md b/docs-chef-io/content/inspec/resources/azure_resource_health_emerging_issues.md index 99ce88742..8fd68f328 100644 --- a/docs-chef-io/content/inspec/resources/azure_resource_health_emerging_issues.md +++ b/docs-chef-io/content/inspec/resources/azure_resource_health_emerging_issues.md @@ -14,11 +14,11 @@ Use the `azure_resource_health_emerging_issues` InSpec audit resource to test th ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -56,7 +56,11 @@ This resource does not require any parameters. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} See [Azure's documentation](https://docs.microsoft.com/en-us/rest/api/resourcehealth/emerging-issues/get) for other available properties. @@ -72,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. ### exists @@ -96,4 +102,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_resource_health_events.md b/docs-chef-io/content/inspec/resources/azure_resource_health_events.md index 53d06a0dc..6a60117f8 100644 --- a/docs-chef-io/content/inspec/resources/azure_resource_health_events.md +++ b/docs-chef-io/content/inspec/resources/azure_resource_health_events.md @@ -14,11 +14,11 @@ Use the `azure_resource_health_events` InSpec audit resource to test the propert ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -79,7 +79,11 @@ If one or more parameters are missing then all events in a subscription will be : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} See the [Azure documentation](https://docs.microsoft.com/en-us/rest/api/resourcehealth/events/list-by-single-resource) for other available properties. @@ -103,7 +107,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -127,4 +133,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_role_definition.md b/docs-chef-io/content/inspec/resources/azure_role_definition.md index d861e3521..f8ad62ad1 100644 --- a/docs-chef-io/content/inspec/resources/azure_role_definition.md +++ b/docs-chef-io/content/inspec/resources/azure_role_definition.md @@ -14,11 +14,11 @@ Use the `azure_role_definition` InSpec audit resource to test the properties and ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -85,7 +85,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -109,4 +111,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_role_definitions.md b/docs-chef-io/content/inspec/resources/azure_role_definitions.md index 14a6d0ff4..fc9661c13 100644 --- a/docs-chef-io/content/inspec/resources/azure_role_definitions.md +++ b/docs-chef-io/content/inspec/resources/azure_role_definitions.md @@ -14,11 +14,11 @@ Use the `azure_role_definitions` InSpec audit resource to test the properties an ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -61,7 +61,11 @@ This resource does not require any parameters. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -101,7 +105,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -115,4 +121,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_security_center_policies.md b/docs-chef-io/content/inspec/resources/azure_security_center_policies.md index fadf7e873..82bcdc211 100644 --- a/docs-chef-io/content/inspec/resources/azure_security_center_policies.md +++ b/docs-chef-io/content/inspec/resources/azure_security_center_policies.md @@ -14,11 +14,11 @@ Use the `azure_security_center_policies` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -51,7 +51,11 @@ This resource does not require any parameters. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -82,7 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -96,4 +102,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_security_center_policy.md b/docs-chef-io/content/inspec/resources/azure_security_center_policy.md index 2e1527ef0..75af3a6da 100644 --- a/docs-chef-io/content/inspec/resources/azure_security_center_policy.md +++ b/docs-chef-io/content/inspec/resources/azure_security_center_policy.md @@ -14,11 +14,11 @@ Use the `azure_security_center_policy` InSpec audit resource to test the propert ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -152,11 +152,13 @@ describe azure_security_center_policy(resource_group: 'RESOURCE_GROUP', name: 'P end ``` -See [integration tests](../../test/integration/verify/controls/azurerm_security_center_policy.rb) for more examples. +See [integration tests](https://github.com/inspec/inspec-azure/blob/main/test/integration/verify/controls/azure_security_center_policy.rb) for more examples. ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### have_auto_provisioning_enabled @@ -190,4 +192,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_namespace.md b/docs-chef-io/content/inspec/resources/azure_service_bus_namespace.md index d5da54dbf..c622e0aa8 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_namespace.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_namespace.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_namespace` InSpec audit resource to test the properti ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -115,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_namespaces.md b/docs-chef-io/content/inspec/resources/azure_service_bus_namespaces.md index 8ea2d3920..78fc78840 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_namespaces.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_namespaces.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_namespaces` InSpec audit resource to test the propert ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -87,7 +87,11 @@ end : **Field**: `sku_tier` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -111,7 +115,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -135,4 +141,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_regions.md b/docs-chef-io/content/inspec/resources/azure_service_bus_regions.md index 2b9cf3628..45cf03137 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_regions.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_regions.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_regions` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -72,7 +72,11 @@ end : **Field**: `fullName` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -86,7 +90,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -110,4 +116,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_subscription.md b/docs-chef-io/content/inspec/resources/azure_service_bus_subscription.md index 3ba3dc977..6bd244b05 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_subscription.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_subscription.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_subscription` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -107,4 +109,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_subscription_rule.md b/docs-chef-io/content/inspec/resources/azure_service_bus_subscription_rule.md index 4f333253e..7b51209fb 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_subscription_rule.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_subscription_rule.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_subscription_rule` InSpec audit resource to test the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -86,7 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -110,4 +112,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_subscription_rules.md b/docs-chef-io/content/inspec/resources/azure_service_bus_subscription_rules.md index a4d2644fb..8564e4622 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_subscription_rules.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_subscription_rules.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_subscription_rules` InSpec audit resource to test the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `sqlFilter` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -90,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. ### exists @@ -114,4 +120,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_subscriptions.md b/docs-chef-io/content/inspec/resources/azure_service_bus_subscriptions.md index 4adee6c6e..8023944dd 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_subscriptions.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_subscriptions.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_subscriptions` InSpec audit resource to test the prop ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -73,7 +73,11 @@ end : **Field**: `status` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -87,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. ### exists @@ -111,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_topic.md b/docs-chef-io/content/inspec/resources/azure_service_bus_topic.md index bd96c2f8b..1972319b8 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_topic.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_topic.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_topic` InSpec audit resource to test the properties r ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -112,4 +114,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_bus_topics.md b/docs-chef-io/content/inspec/resources/azure_service_bus_topics.md index 042ee4de0..4d4a8e510 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_bus_topics.md +++ b/docs-chef-io/content/inspec/resources/azure_service_bus_topics.md @@ -14,11 +14,11 @@ Use the `azure_service_bus_topics` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -82,7 +82,11 @@ end : **Field**: `countDetails` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -106,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. ### exists @@ -130,4 +136,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_application.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_application.md index ea1c5f18a..0258050ab 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_application.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_application.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_application` InSpec audit resource to test th ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -113,4 +115,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_applications.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_applications.md index c54b12a14..3864e83f0 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_applications.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_applications.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_applications` InSpec audit resource to test t ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -77,7 +77,11 @@ end : **Field**: `serviceNames` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -101,7 +105,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -125,4 +131,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_network.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_network.md index 5f8978ba6..601032fac 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_network.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_network.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_network` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -90,7 +90,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -114,4 +116,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_networks.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_networks.md index aab50440a..e1708a2c7 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_networks.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_networks.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_networks` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -72,7 +72,11 @@ end : **Field**: `addressPrefix` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -96,7 +100,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -120,4 +126,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_replica.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_replica.md index eb4d7e25d..10c5ae3af 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_replica.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_replica.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_replica` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -104,4 +106,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_replicas.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_replicas.md index 5d06defd2..30f15cdba 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_replicas.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_replicas.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_replicas` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -63,7 +63,11 @@ end : **Field**: `replicaName` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -77,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. ### exists @@ -101,4 +107,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_service.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_service.md index 3f4d627ef..bde3a6f82 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_service.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_service.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_service` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -82,7 +82,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -106,4 +108,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_services.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_services.md index 4100e48d9..f550f3924 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_services.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_services.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_services` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -72,7 +72,11 @@ end : **Field**: `healthState` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -96,7 +100,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -120,4 +126,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_volume.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_volume.md index b392da8a7..c9c3ea5d6 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_volume.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_volume.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_volume` InSpec audit resource to test the pro ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -86,7 +86,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -110,4 +112,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_volumes.md b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_volumes.md index edbd2a613..ed537b52f 100644 --- a/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_volumes.md +++ b/docs-chef-io/content/inspec/resources/azure_service_fabric_mesh_volumes.md @@ -14,11 +14,11 @@ Use the `azure_service_fabric_mesh_volumes` InSpec audit resource to test the pr ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -77,7 +77,11 @@ end : **Field**: `shareName` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -101,7 +105,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -125,4 +131,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_snapshot.md b/docs-chef-io/content/inspec/resources/azure_snapshot.md index 447e886bd..aaac91983 100644 --- a/docs-chef-io/content/inspec/resources/azure_snapshot.md +++ b/docs-chef-io/content/inspec/resources/azure_snapshot.md @@ -14,11 +14,11 @@ Use the `azure_snapshot` InSpec audit resource to test the properties and config ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -121,4 +123,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_snapshots.md b/docs-chef-io/content/inspec/resources/azure_snapshots.md index 201cb4172..687ed55ce 100644 --- a/docs-chef-io/content/inspec/resources/azure_snapshots.md +++ b/docs-chef-io/content/inspec/resources/azure_snapshots.md @@ -14,11 +14,11 @@ Use the `azure_snapshots` InSpec audit resource to test the properties and confi ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -64,7 +64,11 @@ No required parameters. : **Field**: `sku` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} See the [Azure documentation](https://learn.microsoft.com/en-us/rest/api/compute/snapshots/list-by-resource-group?tabs=HTTP) for other available properties. @@ -80,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. ### exists @@ -104,4 +110,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_database.md b/docs-chef-io/content/inspec/resources/azure_sql_database.md index 6c5dc51ab..86ac17fb9 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_database.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_database.md @@ -14,11 +14,11 @@ Use the `azure_sql_database` InSpec audit resource to test the properties and co ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -152,4 +154,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_database_server_vulnerability_assessment.md b/docs-chef-io/content/inspec/resources/azure_sql_database_server_vulnerability_assessment.md index 87b06b986..f7d9540f1 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_database_server_vulnerability_assessment.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_database_server_vulnerability_assessment.md @@ -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 @@ -95,4 +97,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_database_server_vulnerability_assessments.md b/docs-chef-io/content/inspec/resources/azure_sql_database_server_vulnerability_assessments.md index 74f1c39fd..a306756b5 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_database_server_vulnerability_assessments.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_database_server_vulnerability_assessments.md @@ -62,7 +62,11 @@ end : **Field**: `properties.recurringScans.emails` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -100,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 @@ -120,4 +126,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_databases.md b/docs-chef-io/content/inspec/resources/azure_sql_databases.md index e78fe9a56..7c8af8d53 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_databases.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_databases.md @@ -14,11 +14,11 @@ Use the `azure_sql_databases` InSpec audit resource to test the properties and c ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -75,7 +75,11 @@ end : **Field**: `kind` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -106,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. ### exists @@ -132,4 +138,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_managed_instance.md b/docs-chef-io/content/inspec/resources/azure_sql_managed_instance.md index c28d92c65..a18b12cee 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_managed_instance.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_managed_instance.md @@ -14,11 +14,11 @@ Use the `azure_sql_managed_instance` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -115,4 +115,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_managed_instances.md b/docs-chef-io/content/inspec/resources/azure_sql_managed_instances.md index 3a1550a61..9fd12e954 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_managed_instances.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_managed_instances.md @@ -14,11 +14,11 @@ Use the `azure_sql_managed_instances` InSpec audit resource to test the properti ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -83,7 +83,11 @@ end : **Field**: `sku_tier` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -107,7 +111,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -131,4 +137,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_server.md b/docs-chef-io/content/inspec/resources/azure_sql_server.md index beb095be3..06215c1c9 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_server.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_server.md @@ -14,11 +14,11 @@ Use the `azure_sql_server` InSpec audit resource to test the properties and conf ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -144,7 +144,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -168,4 +170,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_servers.md b/docs-chef-io/content/inspec/resources/azure_sql_servers.md index 23d806d3a..e30827a77 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_servers.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_servers.md @@ -14,11 +14,11 @@ Use the `azure_sql_servers` InSpec audit resource to test the properties and con ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -86,7 +86,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -124,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. ### exists @@ -138,4 +144,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine.md b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine.md index 0c7255eeb..3829730c2 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine.md @@ -14,11 +14,11 @@ Use the `azure_sql_virtual_machine` Chef InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -106,4 +106,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group.md b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group.md index d7a9b66ad..2e99c34bd 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group.md @@ -14,11 +14,11 @@ Use the `azure_sql_virtual_machine_group` InSpec audit resource to test the prop ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -108,4 +108,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group_availability_listener.md b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group_availability_listener.md index acf81466f..479ff1535 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group_availability_listener.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group_availability_listener.md @@ -14,11 +14,11 @@ Use the `azure_sql_virtual_machine_group_availability_listener` InSpec audit res ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -106,4 +106,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group_availability_listeners.md b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group_availability_listeners.md index 53a9745c7..11cf3ac01 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group_availability_listeners.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_group_availability_listeners.md @@ -14,11 +14,11 @@ Use the `azure_sql_virtual_machine_group_availability_listeners` InSpec audit re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -67,7 +67,11 @@ end : **Field**: `provisioningState` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -91,7 +95,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -115,4 +121,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_groups.md b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_groups.md index 80e609d4d..efb37b6e5 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_groups.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machine_groups.md @@ -14,11 +14,11 @@ Use the `azure_sql_virtual_machine_groups` InSpec audit resource to test the pro ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -68,7 +68,11 @@ end : **Field**: `provisioningState` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -92,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. ### exists @@ -116,4 +122,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machines.md b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machines.md index 917636088..e1a5d6bfd 100644 --- a/docs-chef-io/content/inspec/resources/azure_sql_virtual_machines.md +++ b/docs-chef-io/content/inspec/resources/azure_sql_virtual_machines.md @@ -14,11 +14,11 @@ Use the `azure_sql_virtual_machines` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -68,7 +68,11 @@ end : **Field**: `provisioningState` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -92,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. ### exists @@ -116,4 +122,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_storage_account.md b/docs-chef-io/content/inspec/resources/azure_storage_account.md index aa0269466..d736785fc 100644 --- a/docs-chef-io/content/inspec/resources/azure_storage_account.md +++ b/docs-chef-io/content/inspec/resources/azure_storage_account.md @@ -14,11 +14,11 @@ Use the `azure_storage_account` InSpec audit resource to test the properties rel ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -206,4 +206,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_storage_account_blob_container.md b/docs-chef-io/content/inspec/resources/azure_storage_account_blob_container.md index e257882e3..b50c15b1f 100644 --- a/docs-chef-io/content/inspec/resources/azure_storage_account_blob_container.md +++ b/docs-chef-io/content/inspec/resources/azure_storage_account_blob_container.md @@ -14,11 +14,11 @@ Use the `azure_storage_account_blob_container` InSpec audit resource to test the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -131,4 +131,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_storage_account_blob_containers.md b/docs-chef-io/content/inspec/resources/azure_storage_account_blob_containers.md index 13c74f9df..b093a64ac 100644 --- a/docs-chef-io/content/inspec/resources/azure_storage_account_blob_containers.md +++ b/docs-chef-io/content/inspec/resources/azure_storage_account_blob_containers.md @@ -14,11 +14,11 @@ Use the `azure_storage_account_blob_containers` InSpec audit resource to test th ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -65,7 +65,11 @@ end : **Field**: `etag` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -101,4 +105,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_storage_accounts.md b/docs-chef-io/content/inspec/resources/azure_storage_accounts.md index 1dc0c04e5..2fe7aea49 100644 --- a/docs-chef-io/content/inspec/resources/azure_storage_accounts.md +++ b/docs-chef-io/content/inspec/resources/azure_storage_accounts.md @@ -14,11 +14,11 @@ Use the `azure_storage_accounts` InSpec audit resource to test the properties an ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -75,7 +75,11 @@ end : A list of all properties of all the resources. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -89,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. ### exists @@ -115,4 +121,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_streaming_analytics_function.md b/docs-chef-io/content/inspec/resources/azure_streaming_analytics_function.md index b7edfdf6a..fc95d178f 100644 --- a/docs-chef-io/content/inspec/resources/azure_streaming_analytics_function.md +++ b/docs-chef-io/content/inspec/resources/azure_streaming_analytics_function.md @@ -14,11 +14,11 @@ Use the `azure_streaming_analytics_function` InSpec audit resource to test the p ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### Test streaming function to ensure it's using Javascript UDF @@ -108,4 +110,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_streaming_analytics_functions.md b/docs-chef-io/content/inspec/resources/azure_streaming_analytics_functions.md index c3bd8d0cd..ed641eb65 100644 --- a/docs-chef-io/content/inspec/resources/azure_streaming_analytics_functions.md +++ b/docs-chef-io/content/inspec/resources/azure_streaming_analytics_functions.md @@ -14,11 +14,11 @@ Use the `azure_streaming_analytics_functions` InSpec audit resource to test the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -65,7 +65,11 @@ end Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/streamanalytics/) for other properties available. Any attribute in the response may be accessed with the key names separated by dots (`.`). For example, `properties.`. -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -80,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. ### exists @@ -104,4 +110,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_subnet.md b/docs-chef-io/content/inspec/resources/azure_subnet.md index dcef59675..71e0c343b 100644 --- a/docs-chef-io/content/inspec/resources/azure_subnet.md +++ b/docs-chef-io/content/inspec/resources/azure_subnet.md @@ -14,11 +14,11 @@ Use the `azure_subnet` InSpec audit resource to test the properties related to a ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -90,7 +90,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -114,4 +116,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_subnets.md b/docs-chef-io/content/inspec/resources/azure_subnets.md index f56a75b22..467d24d2e 100644 --- a/docs-chef-io/content/inspec/resources/azure_subnets.md +++ b/docs-chef-io/content/inspec/resources/azure_subnets.md @@ -14,11 +14,11 @@ Use the `azure_subnets` InSpec audit resource to test the properties related to ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -55,7 +55,11 @@ end : **Field**: `etag` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -78,7 +82,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -92,4 +98,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_subscription.md b/docs-chef-io/content/inspec/resources/azure_subscription.md index 704f8b3f8..42186d1cb 100644 --- a/docs-chef-io/content/inspec/resources/azure_subscription.md +++ b/docs-chef-io/content/inspec/resources/azure_subscription.md @@ -14,11 +14,11 @@ Use the `azure_subscription` InSpec audit resource to test the properties of the ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -143,7 +143,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -167,4 +169,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_subscriptions.md b/docs-chef-io/content/inspec/resources/azure_subscriptions.md index 4b8da62f3..adad56f72 100644 --- a/docs-chef-io/content/inspec/resources/azure_subscriptions.md +++ b/docs-chef-io/content/inspec/resources/azure_subscriptions.md @@ -14,11 +14,11 @@ Use the `azure_subscriptions` InSpec audit resource to test the properties and c ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -56,7 +56,11 @@ This resource does not require any parameters. : **Field**: `tenant_id` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -70,7 +74,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -84,4 +90,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_synapse_notebook.md b/docs-chef-io/content/inspec/resources/azure_synapse_notebook.md index 4db9f918b..3a03676e7 100644 --- a/docs-chef-io/content/inspec/resources/azure_synapse_notebook.md +++ b/docs-chef-io/content/inspec/resources/azure_synapse_notebook.md @@ -14,11 +14,11 @@ Use the `azure_synapse_notebook` InSpec audit resource to test the properties re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -116,4 +116,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_synapse_notebooks.md b/docs-chef-io/content/inspec/resources/azure_synapse_notebooks.md index 16fc16beb..a099a3b38 100644 --- a/docs-chef-io/content/inspec/resources/azure_synapse_notebooks.md +++ b/docs-chef-io/content/inspec/resources/azure_synapse_notebooks.md @@ -14,11 +14,11 @@ Use the `azure_synapse_notebooks` InSpec audit resource to test the properties r ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -64,7 +64,11 @@ This resource requires the `endpoint` parameter for a valid query. : **Field**: `tags` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -88,7 +92,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -112,4 +118,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_synapse_workspace.md b/docs-chef-io/content/inspec/resources/azure_synapse_workspace.md index 1fa795cb5..745dd78f9 100644 --- a/docs-chef-io/content/inspec/resources/azure_synapse_workspace.md +++ b/docs-chef-io/content/inspec/resources/azure_synapse_workspace.md @@ -14,11 +14,11 @@ Use the `azure_synapse_workspace` InSpec audit resource to test the properties r ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -104,4 +106,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_synapse_workspaces.md b/docs-chef-io/content/inspec/resources/azure_synapse_workspaces.md index 13ecf2fee..7751d1544 100644 --- a/docs-chef-io/content/inspec/resources/azure_synapse_workspaces.md +++ b/docs-chef-io/content/inspec/resources/azure_synapse_workspaces.md @@ -14,11 +14,11 @@ Use the `azure_synapse_workspaces` InSpec audit resource to test the properties ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -67,7 +67,11 @@ end : **Field**: `provisioningState` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -91,7 +95,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -115,4 +121,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_machine.md b/docs-chef-io/content/inspec/resources/azure_virtual_machine.md index c88055b15..c1f458e24 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_machine.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_machine.md @@ -14,11 +14,11 @@ Use the `azure_virtual_machine` InSpec audit resource to test the properties rel ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -158,4 +158,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_machine_disk.md b/docs-chef-io/content/inspec/resources/azure_virtual_machine_disk.md index c25f3bde5..b43bbee08 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_machine_disk.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_machine_disk.md @@ -14,11 +14,11 @@ Use the `azure_virtual_machine_disk` InSpec audit resource to test the propertie ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -117,7 +117,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### attached @@ -151,4 +153,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_machine_disks.md b/docs-chef-io/content/inspec/resources/azure_virtual_machine_disks.md index aaf0f55d7..50a2636c1 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_machine_disks.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_machine_disks.md @@ -14,11 +14,11 @@ Use the `azure_virtual_machine_disks` InSpec audit resource to test the properti ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -81,7 +81,11 @@ end : **Field**: `tags` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -122,7 +126,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -146,4 +152,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_machines.md b/docs-chef-io/content/inspec/resources/azure_virtual_machines.md index a2b03a6a7..7b88bac3a 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_machines.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_machines.md @@ -14,11 +14,11 @@ Use the `azure_virtual_machines` InSpec audit resource to test the properties re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -76,7 +76,11 @@ end : **Field**: `tags` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -132,7 +136,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -156,4 +162,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_network.md b/docs-chef-io/content/inspec/resources/azure_virtual_network.md index 8eebab062..1e7551486 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_network.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_network.md @@ -14,11 +14,11 @@ Use the `azure_virtual_network` InSpec audit resource to test the properties rel ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -105,7 +105,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -129,4 +131,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway.md b/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway.md index a889495b3..1d3386716 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway.md @@ -14,11 +14,11 @@ Use the `azure_virtual_network_gateway` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -109,4 +109,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway_connection.md b/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway_connection.md index c7c75f1a2..5d0ce35a8 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway_connection.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway_connection.md @@ -14,11 +14,11 @@ Use the `azure_virtual_network_gateway_connection` InSpec audit resource to test ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -109,4 +109,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway_connections.md b/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway_connections.md index 8f2a5d47a..4f1e7bfe0 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway_connections.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_network_gateway_connections.md @@ -14,11 +14,11 @@ Use the `azure_virtual_network_gateway_connections` InSpec audit resource to tes ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -96,7 +96,11 @@ The parameter set should be provided for a valid query: : **Field**: `ipsecPolicies` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -120,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. ### exists @@ -144,4 +150,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="reader" %}} +{{% inspec-azure/azure_permissions_service_principal role="reader" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_network_gateways.md b/docs-chef-io/content/inspec/resources/azure_virtual_network_gateways.md index a89c24c37..bbef6e333 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_network_gateways.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_network_gateways.md @@ -14,11 +14,11 @@ Use the `azure_virtual_network_gateways` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -71,7 +71,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -85,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. ### exists @@ -111,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_network_peering.md b/docs-chef-io/content/inspec/resources/azure_virtual_network_peering.md index 6d5f6253c..07ef9aac4 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_network_peering.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_network_peering.md @@ -14,11 +14,11 @@ Use the `azure_virtual_network_peering` InSpec audit resource to test the proper ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### exists @@ -100,4 +102,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_network_peerings.md b/docs-chef-io/content/inspec/resources/azure_virtual_network_peerings.md index 5dc4b313c..8422fa372 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_network_peerings.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_network_peerings.md @@ -14,11 +14,11 @@ Use the `azure_virtual_network_peerings` InSpec audit resource to test the prope ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -55,7 +55,11 @@ end : **Field**: `etag` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -78,7 +82,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -92,4 +98,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_networks.md b/docs-chef-io/content/inspec/resources/azure_virtual_networks.md index b2f0a2396..e562de805 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_networks.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_networks.md @@ -14,11 +14,11 @@ Use the `azure_virtual_networks` InSpec audit resource to test the properties re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -71,7 +71,11 @@ end : **Field**: `etag` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -122,7 +126,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -136,4 +142,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_wan.md b/docs-chef-io/content/inspec/resources/azure_virtual_wan.md index d568ac2a7..1d1d3b6da 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_wan.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_wan.md @@ -14,11 +14,11 @@ Use the `azure_virtual_wan` InSpec audit resource to test the properties related ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -117,4 +117,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_wans.md b/docs-chef-io/content/inspec/resources/azure_virtual_wans.md index 837a8d74d..9cf31d5d7 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_wans.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_wans.md @@ -14,11 +14,11 @@ Use the `azure_virtual_wans` InSpec audit resource to test the properties relate ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -66,7 +66,11 @@ This resource does not require any parameters. : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -80,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. ### exists @@ -100,4 +106,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_web_app_function.md b/docs-chef-io/content/inspec/resources/azure_web_app_function.md index ccad6877d..05371ffd9 100644 --- a/docs-chef-io/content/inspec/resources/azure_web_app_function.md +++ b/docs-chef-io/content/inspec/resources/azure_web_app_function.md @@ -14,11 +14,11 @@ Use the `azure_web_app_function` InSpec audit resource to test the properties re ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -125,4 +125,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_web_app_functions.md b/docs-chef-io/content/inspec/resources/azure_web_app_functions.md index 4ec7351ea..7cfd28c8a 100644 --- a/docs-chef-io/content/inspec/resources/azure_web_app_functions.md +++ b/docs-chef-io/content/inspec/resources/azure_web_app_functions.md @@ -14,11 +14,11 @@ Use the `azure_web_app_functions` InSpec audit resource to test the properties r ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -75,7 +75,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -99,7 +103,9 @@ end ## Matchers -{{% inspec_matchers_link %}} +{{< readfile file="content/inspec/reusable/md/inspec_matchers_link.md" >}} + +This resource has the following special matchers. ### exists @@ -123,4 +129,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_webapp.md b/docs-chef-io/content/inspec/resources/azure_webapp.md index 0220ca0db..403248171 100644 --- a/docs-chef-io/content/inspec/resources/azure_webapp.md +++ b/docs-chef-io/content/inspec/resources/azure_webapp.md @@ -14,11 +14,11 @@ Use the `azure_webapp` InSpec audit resource to test the properties and configur ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_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. ### Test webapp to ensure it's using the latest supported version of .NET @@ -131,4 +133,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} diff --git a/docs-chef-io/content/inspec/resources/azure_webapps.md b/docs-chef-io/content/inspec/resources/azure_webapps.md index 07422cf2f..602cdebcc 100644 --- a/docs-chef-io/content/inspec/resources/azure_webapps.md +++ b/docs-chef-io/content/inspec/resources/azure_webapps.md @@ -14,11 +14,11 @@ Use the `azure_webapps` InSpec audit resource to test the properties and configu ## Azure REST API Version, Endpoint, and HTTP Client Parameters -{{% inspec_azure_common_parameters %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_common_parameters.md" >}} -## Installation +## Install -{{% inspec_azure_install %}} +{{< readfile file="content/inspec/resources/reusable/md/inspec_azure_install.md" >}} ## Syntax @@ -66,7 +66,11 @@ end : **Field**: `properties` -{{% inspec_filter_table %}} +{{< note >}} + +{{< readfile file="content/inspec/reusable/md/inspec_filter_table.md" >}} + +{{< /note>}} ## Examples @@ -80,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. ### exists @@ -106,4 +112,4 @@ end ## Azure Permissions -{{% azure_permissions_service_principal role="contributor" %}} +{{% inspec-azure/azure_permissions_service_principal role="contributor" %}} 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/layouts/shortcodes/inspec_azure_common_parameters.md b/docs-chef-io/content/inspec/resources/reusable/md/inspec_azure_common_parameters.md similarity index 100% rename from docs-chef-io/layouts/shortcodes/inspec_azure_common_parameters.md rename to docs-chef-io/content/inspec/resources/reusable/md/inspec_azure_common_parameters.md diff --git a/docs-chef-io/content/inspec/resources/reusable/md/inspec_azure_install.md b/docs-chef-io/content/inspec/resources/reusable/md/inspec_azure_install.md new file mode 100644 index 000000000..3dd26c5fb --- /dev/null +++ b/docs-chef-io/content/inspec/resources/reusable/md/inspec_azure_install.md @@ -0,0 +1,4 @@ + +This resource is available in the [Chef InSpec Azure resource pack](https://github.com/inspec/inspec-azure). + +For information on configuring your Azure environment for Chef InSpec and creating an InSpec profile that uses the InSpec Azure resource pack, see the [Chef InSpec documentation for the Azure cloud platform](/inspec/cloud/azure/). diff --git a/docs-chef-io/layouts/shortcodes/azure_permissions_service_principal.md b/docs-chef-io/layouts/shortcodes/inspec-azure/azure_permissions_service_principal.md similarity index 100% rename from docs-chef-io/layouts/shortcodes/azure_permissions_service_principal.md rename to docs-chef-io/layouts/shortcodes/inspec-azure/azure_permissions_service_principal.md diff --git a/docs-chef-io/layouts/shortcodes/inspec_azure_install.md b/docs-chef-io/layouts/shortcodes/inspec_azure_install.md deleted file mode 100644 index 29e24e8b4..000000000 --- a/docs-chef-io/layouts/shortcodes/inspec_azure_install.md +++ /dev/null @@ -1,4 +0,0 @@ - -This resource is available in the [Chef InSpec Azure resource pack](https://github.com/inspec/inspec-azure). - -See the [Chef InSpec documentation on cloud platforms](/inspec/platforms/#azure-platform-support-in-inspec) for information on configuring your Azure environment for InSpec and creating an InSpec profile that uses the InSpec Azure resource pack.