Merge pull request #5923 from inspec/im/azurerm

Deprecation note for azurerm resources
This commit is contained in:
Clinton Wolfe 2022-03-24 19:06:35 -04:00 committed by GitHub
commit 781c9e5e49
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
64 changed files with 145 additions and 4 deletions

View file

@ -3,8 +3,10 @@
SHELL=bash
preview_netlify: chef_web_docs
cp -R content/* chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/content
cp -R static/* chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/static
rm -rf chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/*
cp -R content chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/
cp -R static chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/
cp -R layouts chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/
cp -R config.toml chef-web-docs/_vendor/github.com/inspec/inspec/docs-chef-io/
pushd chef-web-docs && make bundle; hugo --gc --minify --buildFuture && popd

View file

@ -11,6 +11,12 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< warning >}}
This resource will be deprecated when version 2 of the inspec-azure resource pack is released.
{{< /warning >}}
Use the `azurerm_ad_user` InSpec audit resource to test properties of
an Azure Active Directory user within a Tenant.

View file

@ -11,6 +11,12 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< warning >}}
This resource will be deprecated when version 2 of the inspec-azure resource pack is released.
{{< /warning >}}
Use the `azurerm_ad_users` InSpec audit resource to test properties of
some or all Azure Active Directory users within a Tenant.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_aks_cluster" >}}
Use the `azurerm_aks_cluster` InSpec audit resource to test properties of an Azure AKS Cluster.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_aks_clusters" >}}
Use the `azurerm_aks_clusters` InSpec audit resource to enumerate AKS Clusters.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_cosmosdb_database_account" >}}
Use the `azurerm_cosmosdb_database_account` InSpec audit resource to test properties and configuration of
an Azure CosmosDb Database Account within a Resource Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_event_hub_authorization_rule" >}}
Use the `azurerm_event_hub_authorization_rule` InSpec audit resource to test properties and configuration of
an Azure Event Hub Authorization Rule within a Resource Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_event_hub_event_hub" >}}
Use the `azurerm_event_hub_event_hub` InSpec audit resource to test properties and configuration of
an Azure Event Hub Event Hub within a Resource Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_event_hub_namespace" >}}
Use the `azurerm_event_hub_namespace` InSpec audit resource to test properties and configuration of
an Azure Event Hub Namespace within a Resource Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_iothub" >}}
Use the `azurerm_iothub` InSpec audit resource to test properties and configuration of
an Azure Event Hub Namespace within a Resource Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_iothub_event_hub_consumer_group" >}}
Use the `azurerm_iothub_event_hub_consumer_group` InSpec audit resource to test
properties and configuration of an Azure IoT Hub Event Hub Consumer Group within
a Resource Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_iothub_event_hub_consumer_groups" >}}
Use the `azurerm_iothub_event_hub_consumer_groups` InSpec audit resource to test properties and configuration of
an Azure IoT Hub Event Hub Consumer Groups within a Resource Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_key_vault" >}}
Use the `azurerm_key_vault` InSpec audit resource to test properties and configuration of
an Azure Key Vault.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_key_vault_key" >}}
Use the `azurerm_key_vault_key` InSpec audit resource to test properties and configuration of
an Azure Key within a Vault.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_key_vault_keys" >}}
Use the `azurerm_key_vault_keys` InSpec audit resource to test properties and
configuration of Azure Keys within Vaults.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_key_vault_secret" >}}
Use the `azurerm_key_vault_secret` InSpec audit resource to test properties and configuration of
an Azure Secret within a Vault.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_key_vault_secrets" >}}
Use the `azurerm_key_vault_secrets` InSpec audit resource to test properties and configuration of Azure Secrets within Vaults.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_key_vaults" >}}
Use the `azurerm_key_vaults` InSpec audit resource to test properties and configuration of Azure Key Vaults.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_load_balancer" >}}
Use the `azurerm_load_balancer` InSpec audit resource to test properties and configuration of
an Azure Load Balancer.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_load_balancer" >}}
Use the `azurerm_load_balancers` InSpec audit resource to test properties and configuration of Azure Load Balancers.
## Azure REST API version

View file

@ -11,8 +11,9 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
Use the `azurerm_locks` InSpec audit resource to test properties of
some or all Azure Resource Locks.
{{< azurerm_deprecated resource="azure_locks" >}}
Use the `azurerm_locks` InSpec audit resource to test properties of some or all Azure Resource Locks.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_management_group" >}}
Use the `azurerm_management_group` InSpec audit resource to test properties related to a
management group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_management_groups" >}}
Use the `azurerm_management_groups` InSpec audit resource to test properties related to
management groups.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_monitor_activity_log_alert" >}}
Use the `azurerm_monitor_activity_log_alert` InSpec audit resource to test properties
of an Azure Monitor Activity Log Alert.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_monitor_activity_log_alerts" >}}
Use the `azurerm_monitor_activity_log_alerts` InSpec audit resource to verify that an
Activity Log Alert exists.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_monitor_log_profile" >}}
Use the `azurerm_monitor_log_profile` InSpec audit resource to test properties
of an Azure Monitor Log Profile.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_monitor_log_profiles" >}}
Use the `azurerm_monitor_log_profiles` InSpec audit resource to verify that a Log Profile
exists.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_mysql_database" >}}
Use the `azurerm_mysql_database` InSpec audit resource to test properties and configuration of
an Azure MySQL Database on a MySQL Server.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_mysql_databases" >}}
Use the `azurerm_mysql_databases` InSpec audit resource to test properties and configuration of Azure MySQL Databases.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_mysql_server" >}}
Use the `azurerm_mysql_server` InSpec audit resource to test properties and configuration of
an Azure MySQL Server.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_mysql_servers" >}}
Use the `azurerm_mysql_servers` InSpec audit resource to test properties and configuration of multiple Azure MySQL Servers.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_network_interface" >}}
Use the `azurerm_network_interface` InSpec audit resource to test properties and configuration of Azure Network Interface.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_network_interfaces" >}}
Use the `azurerm_network_interfaces` InSpec audit resource to test properties and configuration of Azure Network interfaces.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_network_security_group" >}}
Use the `azurerm_network_security_group` InSpec audit resource to test properties of an
Azure Network Security Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_network_security_groups" >}}
Use the `azurerm_network_security_groups` InSpec audit resource to enumerate Network
Security Groups.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_network_watcher" >}}
Use the `azurerm_network_watcher` InSpec audit resource to test properties of an Azure
Network Watcher.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_network_watchers" >}}
Use the `azurerm_network_watchers` InSpec audit resource to verify that a Network Watcher
exists.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_postgresql_database" >}}
Use the `azurerm_postgresql_database` InSpec audit resource to test properties and configuration of
an Azure PostgreSQL Database on a PostgreSQL Server.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_postgresql_databases" >}}
Use the `azurerm_postgresql_databases` InSpec audit resource to test properties and configuration of Azure PostgreSQL Databases.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_postgresql_server" >}}
Use the `azurerm_postgresql_server` InSpec audit resource to test properties and configuration of
an Azure PostgreSQL Server.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_postgresql_servers" >}}
Use the `azurerm_postgresql_servers` InSpec audit resource to test properties and configuration of multiple Azure PostgreSQL Servers.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_resource_groups" >}}
Use the `azurerm_resource_groups` InSpec audit resource to test properties of
some or all Azure Resource Groups

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_role_definition" >}}
Use the `azurerm_role_definition` InSpec audit resource to test properties of
an Azure Role Definition.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_role_definitions" >}}
Use the `azurerm_role_definitions` InSpec audit resource to test properties of
some or all Azure Role Definitions.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_security_center_policies" >}}
Use the `azurerm_security_center_policies` InSpec audit resource to test
properties of some or all Azure Security Center Policies.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_security_center_policy" >}}
Use the `azurerm_security_center_policy` InSpec audit resource to test properties
of the `default` Security Center Policy. Azure currently only supports looking
up the `default` policy via their Rest API. If you attempt to look up a

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_sql_database" >}}
Use the `azurerm_sql_database` InSpec audit resource to test properties and configuration of
an Azure SQL Database on a SQL Server.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_sql_databases" >}}
Use the `azurerm_sql_databases` InSpec audit resource to test properties and configuration of Azure SQL Databases.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_sql_server" >}}
Use the `azurerm_sql_server` InSpec audit resource to test properties and configuration of
an Azure SQL Server within a Resource Group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_sql_servers" >}}
Use the `azurerm_sql_servers` InSpec audit resource to test properties and configuration of Azure SQL Servers.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_storage_account_blob_container" >}}
Use the `azurerm_storage_account_blob_container` InSpec audit resource to test properties related to a
Blob Container in an Azure Storage Account.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_storage_account_blob_containers" >}}
Use the `azurerm_storage_account_blob_containers` InSpec audit resource to test properties and configuration of Blob Containers within an Azure Storage Account.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_subnet" >}}
Use the `azurerm_subnet` InSpec audit resource to test properties related to a
subnet for a given virtual network.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_subnet" >}}
Use the `azurerm_subnets` InSpec audit resource to test properties related to
subnets for a resource group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_subscription" >}}
Use the `azurerm_subscription` InSpec audit resource to test properties related to the current subscription
subscription.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_virtual_machine" >}}
Use the `azurerm_virtual_machine` InSpec audit resource to test properties related to a
virtual machine.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_virtual_machine_disk" >}}
Use the `azurerm_virtual_machine_disk` InSpec audit resource to test properties related to
a virtual machine's disk. This resource will only support managed disks. If your disk is
not managed it will not `exist` to the matcher.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_virtual_machine_disks" >}}
Use the `azurerm_virtual_machine_disks` InSpec audit resource to test properties of
some or all Azure Disks within a subscription.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_virtual_machines" >}}
Use the `azurerm_virtual_machines` InSpec audit resource to test properties related to
virtual machines for a resource group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_virtual_network" >}}
Use the `azurerm_virtual_network` InSpec audit resource to test properties related to a
virtual network.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_virtual_networks" >}}
Use the `azurerm_virtual_networks` InSpec audit resource to test properties related to
virtual networks for a resource group.

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_webapp" >}}
Use the `azurerm_webapp` InSpec audit resource to test properties of an Azure Webapp.
## Azure REST API version

View file

@ -11,6 +11,8 @@ platform = "azure"
parent = "inspec/resources/azure"
+++
{{< azurerm_deprecated resource="azure_webapps" >}}
Use the `azurerm_webapps` InSpec audit resource to enumerate Webapps.
## Azure REST API version

View file

@ -0,0 +1,8 @@
<div class="admonition-warning">
<p class="admonition-warning-title">Warning</p>
<div class="admonition-warning-text">
<p>
This resource will be deprecated when version 2 of the inspec-azure resource pack is released. Please use the <a href="/inspec/resources/{{.Get "resource" }}/">{{ .Get "resource" }} resource</a> instead.
</p>
</div>
</div>