diff --git a/docs-chef-io/content/inspec/dsl_inspec.md b/docs-chef-io/content/inspec/dsl_inspec.md index d89804a16..99646e49b 100644 --- a/docs-chef-io/content/inspec/dsl_inspec.md +++ b/docs-chef-io/content/inspec/dsl_inspec.md @@ -15,7 +15,7 @@ Chef InSpec is a run-time framework and rule language used to specify compliance security, and policy requirements. It includes a collection of resources that help you write auditing controls quickly and easily. The syntax used by both open source and [Chef compliance](/compliance/) auditing is the same. The open source [Chef InSpec resource](/inspec/resources/) -framework is compatible with [Chef compliance](/compliance/). +framework is compatible with [Chef compliance](https://docs.chef.io/chef_compliance_phase/). The Chef InSpec Language is a Ruby DSL for writing audit controls, which includes audit resources that you can invoke. diff --git a/docs-chef-io/content/inspec/resources/aws_nat_gateways.md b/docs-chef-io/content/inspec/resources/aws_nat_gateways.md index 61216eee4..2070f6a55 100644 --- a/docs-chef-io/content/inspec/resources/aws_nat_gateways.md +++ b/docs-chef-io/content/inspec/resources/aws_nat_gateways.md @@ -77,7 +77,7 @@ Use `should_not` to test the entity should not exist. it { should_not exist } end -Please see [here](https://github.com/inspec/inspec/blob/main/docs/dev/filtertable-usage.md) for more information on how to use filter table. +Please see [here](https://github.com/inspec/inspec/blob/main/dev-docs/filtertable-usage.md) for more information on how to use filter table. ## AWS Permissions diff --git a/docs-chef-io/content/inspec/resources/aws_sns_subscription.md b/docs-chef-io/content/inspec/resources/aws_sns_subscription.md index ea20e4875..efbcece3c 100644 --- a/docs-chef-io/content/inspec/resources/aws_sns_subscription.md +++ b/docs-chef-io/content/inspec/resources/aws_sns_subscription.md @@ -11,8 +11,6 @@ platform = "aws" parent = "inspec/resources/aws" +++ -[\[edit on GitHub\]](https://github.com/inspec/inspec/blob/main/docs-chef-io/content/aws_sns_subscription.md) - Use the `aws_sns_subscription` InSpec audit resource to test detailed properties of a AWS SNS Subscription. ## Syntax 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 27e82e0c4..0fb39c176 100644 --- a/docs-chef-io/content/inspec/resources/azure_resource_group.md +++ b/docs-chef-io/content/inspec/resources/azure_resource_group.md @@ -291,5 +291,5 @@ Note: The tag name is case sensitive which makes the test case sensitive. E.g. ` For more information on Azure Ruby SDK resources, see: -- [Azure Ruby SDK - Resources](https://github.com/Azure/azure-sdk-for-ruby/tree/main/management/azure_mgmt_resources) +- [Azure Ruby SDK - Resources](https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_resources) - [Resource Group](https://github.com/chef/inspec/blob/fc990346f2438690f0ac36a9f6606e61574a79b8/test/azure/verify/controls/resource_group.rb) diff --git a/docs-chef-io/content/inspec/resources/azure_virtual_machine_data_disk.md b/docs-chef-io/content/inspec/resources/azure_virtual_machine_data_disk.md index 059474ea2..8fea89a5c 100644 --- a/docs-chef-io/content/inspec/resources/azure_virtual_machine_data_disk.md +++ b/docs-chef-io/content/inspec/resources/azure_virtual_machine_data_disk.md @@ -221,6 +221,6 @@ Returns a boolean stating if the machine has Managed Disks for data disks. ## References -- [Azure Ruby SDK - Compute](https://github.com/Azure/azure-sdk-for-ruby/tree/main/management/azure_mgmt_compute) -- [Linux Internal Data Disks](https://github.com/chef/inspec/blob/main/test/azure/verify/controls/virtual_machine_linux_external_vm_datadisk.rb) -- [Windows Internal Data Disk](https://github.com/chef/inspec/blob/main/test/azure/verify/controls/virtual_machine_windows_internal_vm_datadisk.rb) +- [Azure Ruby SDK - Compute](https://github.com/Azure/azure-sdk-for-ruby/tree/master/management/azure_mgmt_compute) +- [Linux Internal Data Disks](https://github.com/inspec/inspec/blob/main/test/integration/azure/verify/controls/virtual_machine_linux_external_vm_datadisk.rb) +- [Windows Internal Data Disk](https://github.com/inspec/inspec/blob/main/test/integration/azure/verify/controls/virtual_machine_windows_internal_vm_datadisk.rb) diff --git a/docs-chef-io/content/inspec/resources/azurerm_cosmosdb_database_account.md b/docs-chef-io/content/inspec/resources/azurerm_cosmosdb_database_account.md index a5219e246..0ddcaf0ba 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_cosmosdb_database_account.md +++ b/docs-chef-io/content/inspec/resources/azurerm_cosmosdb_database_account.md @@ -17,7 +17,7 @@ an Azure CosmosDb Database Account within a Resource Group. ## Azure REST API version This resource interacts with version `2015-04-08` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/cosmos-db-resource-provider/databaseaccounts/get). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/powershell/module/servicemanagement/azure.service/new-azureprofile?view=azuresmps-4.0.0). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_event_hub_authorization_rule.md b/docs-chef-io/content/inspec/resources/azurerm_event_hub_authorization_rule.md index 5fb8063b6..4f45a0a7d 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_event_hub_authorization_rule.md +++ b/docs-chef-io/content/inspec/resources/azurerm_event_hub_authorization_rule.md @@ -17,7 +17,7 @@ an Azure Event Hub Authorization Rule within a Resource Group. ## Azure REST API version This resource interacts with version `2017-04-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/eventhub/namespaces/getauthorizationrule). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/dotnet/api/microsoft.servicebus.messaging.namespaceinfo?view=azure-dotnet). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_event_hub_event_hub.md b/docs-chef-io/content/inspec/resources/azurerm_event_hub_event_hub.md index 8e3f8528c..8cc59213f 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_event_hub_event_hub.md +++ b/docs-chef-io/content/inspec/resources/azurerm_event_hub_event_hub.md @@ -17,7 +17,7 @@ an Azure Event Hub Event Hub within a Resource Group. ## Azure REST API version This resource interacts with version `2017-04-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/eventhub/eventhubs/get). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/dotnet/api/eventhub?view=bts-2020). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_event_hub_namespace.md b/docs-chef-io/content/inspec/resources/azurerm_event_hub_namespace.md index 6d509e5dc..dc116c6bb 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_event_hub_namespace.md +++ b/docs-chef-io/content/inspec/resources/azurerm_event_hub_namespace.md @@ -17,7 +17,7 @@ an Azure Event Hub Namespace within a Resource Group. ## Azure REST API version This resource interacts with version `2017-04-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/eventhub/namespaces/get). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/relay/namespaces). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_management_group.md b/docs-chef-io/content/inspec/resources/azurerm_management_group.md index bab07a84e..770bd986b 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_management_group.md +++ b/docs-chef-io/content/inspec/resources/azurerm_management_group.md @@ -17,7 +17,7 @@ management group. ## Azure REST API version This resource interacts with version `2018-03-01-preview` of the Azure -Management API. For more information see the [official Azure documentation](https://docs.microsoft.com/en-us/rest/api/resources/managementgroups/get). +Management API. For more information see the [official Azure documentation](https://docs.microsoft.com/en-us/java/api/com.azure.resourcemanager.loganalytics.models.managementgroups?view=azure-java-preview). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_management_groups.md b/docs-chef-io/content/inspec/resources/azurerm_management_groups.md index c45cb084f..57b40cb52 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_management_groups.md +++ b/docs-chef-io/content/inspec/resources/azurerm_management_groups.md @@ -17,7 +17,7 @@ management groups. ## Azure REST API version This resource interacts with version `2018-03-01-preview` of the Azure -Management API. For more information see the [official Azure documentation](https://docs.microsoft.com/en-us/rest/api/resources/managementgroups/list). +Management API. For more information see the [official Azure documentation](https://docs.microsoft.com/en-us/java/api/com.azure.resourcemanager.loganalytics.models.managementgroups.list?view=azure-java-preview). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_mysql_database.md b/docs-chef-io/content/inspec/resources/azurerm_mysql_database.md index fa5d82a6d..cf8ac53d4 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_mysql_database.md +++ b/docs-chef-io/content/inspec/resources/azurerm_mysql_database.md @@ -17,7 +17,7 @@ an Azure MySQL Database on a MySQL Server. ## Azure REST API version This resource interacts with version `2017-12-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/mysql/databases/get). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/mysql/flexibleserver/databases). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_mysql_databases.md b/docs-chef-io/content/inspec/resources/azurerm_mysql_databases.md index fd64ec36b..b313dd334 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_mysql_databases.md +++ b/docs-chef-io/content/inspec/resources/azurerm_mysql_databases.md @@ -16,7 +16,7 @@ Use the `azurerm_mysql_databases` InSpec audit resource to test properties and c ## Azure REST API version This resource interacts with version `2017-12-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/mysql/databases/listbyserver). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/mysql/flexibleserver/databases/list-by-server). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_mysql_servers.md b/docs-chef-io/content/inspec/resources/azurerm_mysql_servers.md index 16540dd0a..7584baee0 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_mysql_servers.md +++ b/docs-chef-io/content/inspec/resources/azurerm_mysql_servers.md @@ -16,7 +16,7 @@ Use the `azurerm_mysql_servers` InSpec audit resource to test properties and con ## Azure REST API version This resource interacts with version `2017-12-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/mysql/servers/list). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/sql/2020-08-01-preview/servers/list). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_network_interface.md b/docs-chef-io/content/inspec/resources/azurerm_network_interface.md index d2d12fb18..d8721fd0e 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_network_interface.md +++ b/docs-chef-io/content/inspec/resources/azurerm_network_interface.md @@ -16,7 +16,7 @@ Use the `azurerm_network_interface` InSpec audit resource to test properties and ## Azure REST API version This resource interacts with version `2018-11-01` of the Azure Management API. For more -information see the [Official Azure Documentation](). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/java/api/com.azure.resourcemanager.devtestlabs.fluent.models.labvirtualmachineinner.networkinterface?view=azure-java-preview). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_network_interfaces.md b/docs-chef-io/content/inspec/resources/azurerm_network_interfaces.md index c826524c3..9c8e31b6d 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_network_interfaces.md +++ b/docs-chef-io/content/inspec/resources/azurerm_network_interfaces.md @@ -16,7 +16,7 @@ Use the `azurerm_network_interfaces` InSpec audit resource to test properties an ## Azure REST API version This resource interacts with version `2018-11-01` of the Azure Management API. For more -information see the [Official Azure Documentation](). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/virtualnetwork/network-interfaces-in-cloud-service). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_postgresql_database.md b/docs-chef-io/content/inspec/resources/azurerm_postgresql_database.md index 94b382f69..272dcfaa4 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_postgresql_database.md +++ b/docs-chef-io/content/inspec/resources/azurerm_postgresql_database.md @@ -17,7 +17,7 @@ an Azure PostgreSQL Database on a PostgreSQL Server. ## Azure REST API version This resource interacts with version `2017-12-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/postgresql/databases/get). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/dotnet/api/microsoft.azure.powershell.cmdlets.postgresql.postgresql.-ctor?view=az-ps-latest). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_postgresql_databases.md b/docs-chef-io/content/inspec/resources/azurerm_postgresql_databases.md index eb2a98e7d..eb6c3d19c 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_postgresql_databases.md +++ b/docs-chef-io/content/inspec/resources/azurerm_postgresql_databases.md @@ -16,7 +16,7 @@ Use the `azurerm_postgresql_databases` InSpec audit resource to test properties ## Azure REST API version This resource interacts with version `2017-12-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/postgresql/databases/listbyserver). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/postgresql/singleserver/databases/list-by-server). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_postgresql_servers.md b/docs-chef-io/content/inspec/resources/azurerm_postgresql_servers.md index 1d18f4877..a9871a18d 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_postgresql_servers.md +++ b/docs-chef-io/content/inspec/resources/azurerm_postgresql_servers.md @@ -16,7 +16,7 @@ Use the `azurerm_postgresql_servers` InSpec audit resource to test properties an ## Azure REST API version This resource interacts with version `2017-12-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/postgresql/servers/list). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/postgresql/flexibleserver(preview)/servers/list). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_storage_account_blob_container.md b/docs-chef-io/content/inspec/resources/azurerm_storage_account_blob_container.md index 2c93ff6db..c0dea0beb 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_storage_account_blob_container.md +++ b/docs-chef-io/content/inspec/resources/azurerm_storage_account_blob_container.md @@ -17,7 +17,7 @@ Blob Container in an Azure Storage Account. ## Azure REST API version This resource interacts with version `2018-07-01` of the Azure -Management API. For more information see the [official Azure documentation](https://docs.microsoft.com/en-us/rest/api/storagerp/blobcontainers/blobcontainers_get). +Management API. For more information see the [official Azure documentation](https://docs.microsoft.com/en-us/javascript/api/@azure/arm-storage/blobcontainers?view=azure-node-latest). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/azurerm_storage_account_blob_containers.md b/docs-chef-io/content/inspec/resources/azurerm_storage_account_blob_containers.md index b26916bb1..d6c7ac2e6 100644 --- a/docs-chef-io/content/inspec/resources/azurerm_storage_account_blob_containers.md +++ b/docs-chef-io/content/inspec/resources/azurerm_storage_account_blob_containers.md @@ -16,7 +16,7 @@ Use the `azurerm_storage_account_blob_containers` InSpec audit resource to test ## Azure REST API version This resource interacts with version `2018-07-01` of the Azure Management API. For more -information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/rest/api/storagerp/blobcontainers/blobcontainers_list). +information see the [Official Azure Documentation](https://docs.microsoft.com/en-us/java/api/com.azure.resourcemanager.storage.models.blobcontainers.list?view=azure-java-stable). At the moment, there doesn't appear to be a way to select the version of the Azure API docs. If you notice a newer version being referenced in the official diff --git a/docs-chef-io/content/inspec/resources/google_cloudbuild_trigger.md b/docs-chef-io/content/inspec/resources/google_cloudbuild_trigger.md index 168ab15bc..5c462d1e0 100644 --- a/docs-chef-io/content/inspec/resources/google_cloudbuild_trigger.md +++ b/docs-chef-io/content/inspec/resources/google_cloudbuild_trigger.md @@ -132,7 +132,7 @@ Properties that can be accessed from the `google_cloudbuild_trigger` resource: : The operations to be performed on the workspace. `name` - : The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step. + : The name of the container image that will run this particular build step. If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary. The Docker daemon's cache will already have the latest versions of all of the officially supported build steps shown [here](https://github.com/GoogleCloudPlatform/cloud-builders). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them. If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step. `args` : A list of arguments that will be presented to the step when it is started. If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments. diff --git a/docs-chef-io/content/inspec/resources/google_container_cluster.md b/docs-chef-io/content/inspec/resources/google_container_cluster.md index 7e582916f..536b30c9a 100644 --- a/docs-chef-io/content/inspec/resources/google_container_cluster.md +++ b/docs-chef-io/content/inspec/resources/google_container_cluster.md @@ -105,7 +105,7 @@ Properties that can be accessed from the `google_container_cluster` resource: : The image type to use for this node. Note that for a given image type, the latest version of it will be used. `labels` -: The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. +: The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ . An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. `local_ssd_count` : The number of local SSD disks to be attached to the node. The limit for this value is dependant upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits for more information.