Skip to content

Commit

Permalink
resolved conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Soumyodeep Karmakar <[email protected]>
  • Loading branch information
soumyo13 committed Mar 12, 2022
2 parents 232708a + f9d4822 commit 1d61cc4
Show file tree
Hide file tree
Showing 128 changed files with 5,392 additions and 17 deletions.
84 changes: 82 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,90 @@
# Changelog
<!-- latest_release 1.97.1 -->
<!-- latest_release 1.113.0 -->
## [v1.113.0](https://github.com/inspec/inspec-azure/tree/v1.113.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-115 Support azure service fabric mesh network [#582](https://github.com/inspec/inspec-azure/pull/582) ([sathish-progress](https://github.com/sathish-progress))
<!-- latest_release -->

## [v1.112.0](https://github.com/inspec/inspec-azure/tree/v1.112.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-117 Support azure service fabric mesh service [#579](https://github.com/inspec/inspec-azure/pull/579) ([sathish-progress](https://github.com/sathish-progress))

## [v1.111.0](https://github.com/inspec/inspec-azure/tree/v1.111.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-116 Support azure service fabric mesh service replicas [#580](https://github.com/inspec/inspec-azure/pull/580) ([sathish-progress](https://github.com/sathish-progress))

## [v1.110.0](https://github.com/inspec/inspec-azure/tree/v1.110.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-114 Support azure service fabric mesh volumes [#581](https://github.com/inspec/inspec-azure/pull/581) ([sathish-progress](https://github.com/sathish-progress))

## [v1.109.0](https://github.com/inspec/inspec-azure/tree/v1.109.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-118 Support azure service fabric mesh apps [#578](https://github.com/inspec/inspec-azure/pull/578) ([sathish-progress](https://github.com/sathish-progress))

## [v1.108.0](https://github.com/inspec/inspec-azure/tree/v1.108.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-132 Support managed applications [#575](https://github.com/inspec/inspec-azure/pull/575) ([sathish-progress](https://github.com/sathish-progress))

## [v1.107.0](https://github.com/inspec/inspec-azure/tree/v1.107.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-124 Support service bus regions [#566](https://github.com/inspec/inspec-azure/pull/566) ([sathish-progress](https://github.com/sathish-progress))

## [v1.106.0](https://github.com/inspec/inspec-azure/tree/v1.106.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-122 Support service bus subscriptions [#568](https://github.com/inspec/inspec-azure/pull/568) ([sathish-progress](https://github.com/sathish-progress))

## [v1.105.0](https://github.com/inspec/inspec-azure/tree/v1.105.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-123 Support servicebus subscription rules [#567](https://github.com/inspec/inspec-azure/pull/567) ([sathish-progress](https://github.com/sathish-progress))

## [v1.104.0](https://github.com/inspec/inspec-azure/tree/v1.104.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-121 Support azure service bus topics [#565](https://github.com/inspec/inspec-azure/pull/565) ([sathish-progress](https://github.com/sathish-progress))

## [v1.103.0](https://github.com/inspec/inspec-azure/tree/v1.103.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-129 Support service bus namespaces [#562](https://github.com/inspec/inspec-azure/pull/562) ([sathish-progress](https://github.com/sathish-progress))

## [v1.102.0](https://github.com/inspec/inspec-azure/tree/v1.102.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-145 Support azure power bi dataflow storage accounts [#549](https://github.com/inspec/inspec-azure/pull/549) ([sathish-progress](https://github.com/sathish-progress))

## [v1.101.0](https://github.com/inspec/inspec-azure/tree/v1.101.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-148 Support azure power bi capacity workloads [#534](https://github.com/inspec/inspec-azure/pull/534) ([sathish-progress](https://github.com/sathish-progress))

## [v1.100.0](https://github.com/inspec/inspec-azure/tree/v1.100.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-152 Support azure power bi app reports [#529](https://github.com/inspec/inspec-azure/pull/529) ([sathish-progress](https://github.com/sathish-progress))

## [v1.99.0](https://github.com/inspec/inspec-azure/tree/v1.99.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-153 Support azure power bi app dashboards [#521](https://github.com/inspec/inspec-azure/pull/521) ([sathish-progress](https://github.com/sathish-progress))

## [v1.98.0](https://github.com/inspec/inspec-azure/tree/v1.98.0) (2022-03-12)

#### Merged Pull Requests
- RESOURCE-157 Support power bi embedded capacities [#487](https://github.com/inspec/inspec-azure/pull/487) ([sathish-progress](https://github.com/sathish-progress))

## [v1.97.1](https://github.com/inspec/inspec-azure/tree/v1.97.1) (2022-03-02)

#### Merged Pull Requests
- Removes the unwanted warnings from the integration tests [#643](https://github.com/inspec/inspec-azure/pull/643) ([soumyo13](https://github.com/soumyo13))
<!-- latest_release -->

## [v1.97.0](https://github.com/inspec/inspec-azure/tree/v1.97.0) (2022-02-28)

Expand Down
42 changes: 40 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,10 @@ The following is a list of static resources.
- [azure_data_factory_datasets](docs/resources/azure_data_factory_datasets.md)
- [azure_data_factory_linked_service](docs/resources/azure_data_factory_linked_service.md)
- [azure_data_factory_linked_services](docs/resources/azure_data_factory_linked_services.md)
- [azure_data_factory_pipeline](docs/resources/azure_data_factory_pipeline.md)
- [azure_data_factory_pipelines](docs/resources/azure_data_factory_pipelines.md)
- [azure_data_lake_storage_gen2_filesystem](docs/resources/azure_data_lake_storage_gen2_filesystem.md)
- [azure_data_lake_storage_gen2_filesystems](docs/resources/azure_data_lake_storage_gen2_filesystems.md)
- [azure_db_migration_service](docs/resources/azure_db_migration_service.md)
- [azure_db_migration_services](docs/resources/azure_db_migration_services.md)
- [azure_ddos_protection_resource](docs/resources/azure_ddos_protection_resource.md)
Expand Down Expand Up @@ -338,6 +342,8 @@ The following is a list of static resources.
- [azure_load_balancers](docs/resources/azure_load_balancers.md)
- [azure_lock](docs/resources/azure_lock.md)
- [azure_locks](docs/resources/azure_locks.md)
- [azure_managed_application](docs/resources/azure_managed_application.md)
- [azure_managed_applications](docs/resources/azure_managed_applications.md)
- [azure_management_group](docs/resources/azure_management_group.md)
- [azure_management_groups](docs/resources/azure_management_groups.md)
- [azure_mariadb_server](docs/resources/azure_mariadb_server.md)
Expand Down Expand Up @@ -381,8 +387,13 @@ The following is a list of static resources.
- [azure_postgresql_databases](docs/resources/azure_postgresql_databases.md)
- [azure_postgresql_server](docs/resources/azure_postgresql_server.md)
- [azure_postgresql_servers](docs/resources/azure_postgresql_servers.md)
- [azure_power_bi_dashboard](docs/resources/azure_power_bi_dashboard.md)
- [azure_power_bi_dashboards](docs/resources/azure_power_bi_dashboards.md)
- [azure_power_bi_app_dashboard](docs/resources/azure_power_bi_app_dashboard.md)
- [azure_power_bi_app_dashboards](docs/resources/azure_power_bi_app_dashboards.md)
- [azure_power_bi_app_report](docs/resources/azure_power_bi_app_report.md)
- [azure_power_bi_app_reports](docs/resources/azure_power_bi_app_reports.md)
- [azure_power_bi_capacity_workload](docs/resources/azure_power_bi_capacity_workload.md)
- [azure_power_bi_capacity_workloads](docs/resources/azure_power_bi_capacity_workloads.md)
- [azure_power_bi_dataflow_storage_accounts](docs/resources/azure_power_bi_dataflow_storage_accounts.md)
- [azure_public_ip](docs/resources/azure_public_ip.md)
- [azure_redis_cache](docs/resources/azure_redis_cache.md)
- [azure_redis_caches](docs/resources/azure_redis_caches.md)
Expand All @@ -397,6 +408,30 @@ The following is a list of static resources.
- [azure_role_definitions](docs/resources/azure_role_definitions.md)
- [azure_security_center_policy](docs/resources/azure_security_center_policy.md)
- [azure_security_center_policies](docs/resources/azure_security_center_policies.md)
- [azure_sentinel_alert_rule_template](docs/resources/azure_sentinel_alert_rule_template.md)
- [azure_sentinel_alert_rule_templates](docs/resources/azure_sentinel_alert_rule_templates.md)
- [azure_service_fabric_mesh_network](docs/resources/azure_service_fabric_mesh_network.md)
- [azure_service_fabric_mesh_networks](docs/resources/azure_service_fabric_mesh_networks.md)
- [azure_service_fabric_mesh_service](docs/resources/azure_service_fabric_mesh_service.md)
- [azure_service_fabric_mesh_services](docs/resources/azure_service_fabric_mesh_services.md)
- [azure_service_fabric_mesh_replica](docs/resources/azure_service_fabric_mesh_replica.md)
- [azure_service_fabric_mesh_replicas](docs/resources/azure_service_fabric_mesh_replicas.md)
- [azure_service_fabric_mesh_volume](docs/resources/azure_service_fabric_mesh_volume.md)
- [azure_service_fabric_mesh_volumes](docs/resources/azure_service_fabric_mesh_volumes.md)
- [azure_service_fabric_mesh_application](docs/resources/azure_service_fabric_mesh_application.md)
- [azure_service_fabric_mesh_applications](docs/resources/azure_service_fabric_mesh_applications.md)
- [azure_sentinel_incidents_resource](docs/resources/azure_sentinel_incidents_resource.md)
- [azure_sentinel_incidents_resources](docs/resources/azure_sentinel_incidents_resources.md)
- [azure_service_bus_namespace](docs/resources/azure_service_bus_namespace.md)
- [azure_service_bus_namespaces](docs/resources/azure_service_bus_namespaces.md)
- [azure_service_bus_regions](docs/resources/azure_service_bus_regions.md)
- [azure_service_bus_subscription](docs/resources/azure_service_bus_subscription.md)
- [azure_service_bus_subscriptions](docs/resources/azure_service_bus_subscriptions.md)
- [azure_service_bus_subscription_rule](docs/resources/azure_service_bus_subscription_rule.md)
- [azure_service_bus_subscription_rules](docs/resources/azure_service_bus_subscription_rules.md)
- [azure_service_bus_topic](docs/resources/azure_service_bus_topic.md)
- [azure_service_bus_topics](docs/resources/azure_service_bus_topics.md)
- [azure_service_bus_regions](docs/resources/azure_service_bus_regions.md)
- [azure_sql_database](docs/resources/azure_sql_database.md)
- [azure_sql_databases](docs/resources/azure_sql_databases.md)
- [azure_sql_server](docs/resources/azure_sql_server.md)
Expand All @@ -420,7 +455,10 @@ The following is a list of static resources.
- [azure_virtual_machine_disk](docs/resources/azure_virtual_machine_disk.md)
- [azure_virtual_machine_disks](docs/resources/azure_virtual_machine_disks.md)
- [azure_virtual_network](docs/resources/azure_virtual_network.md)
- [azure_virtual_network_gateway](docs/resources/azure_virtual_network_gateway.md)
- [azure_virtual_network_gateways](docs/resources/azure_virtual_network_gateways.md)
- [azure_virtual_network_gateway_connection](docs/resources/azure_virtual_network_gateway_connection.md)
- [azure_virtual_network_gateway_connections](docs/resources/azure_virtual_network_gateway_connections.md)
- [azure_virtual_network_peering](docs/resources/azure_virtual_network_peering.md)
- [azure_virtual_network_peerings](docs/resources/azure_virtual_network_peerings.md)
- [azure_virtual_networks](docs/resources/azure_virtual_networks.md)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.97.1
1.113.0
111 changes: 111 additions & 0 deletions docs-chef-io/content/inspec/resources/azure_managed_application.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
+++
title = "azure_managed_application Resource"
platform = "azure"
draft = false
gh_repo = "inspec-azure"

[menu.inspec]
title = "azure_managed_application"
identifier = "inspec/resources/azure/azure_managed_application Resource"
parent = "inspec/resources/azure"
+++

Use the `azure_managed_application` InSpec audit resource to test properties related to an Azure managed application.

## Azure REST API Version, Endpoint, and HTTP Client Parameters

{{% inspec_azure_common_parameters %}}

## Installation

{{% inspec_azure_install %}}

## Syntax

`name`, `resource_group` is a required parameter.

```ruby
describe azure_managed_application(resource_group: 'RESOURCE_GROUP', name: 'MANAGED_APPLICATION_NAME') do
it { should exist }
its('type') { should eq 'Microsoft.ServiceBus/Namespaces' }
its('location') { should eq 'East US' }
end
```

```ruby
describe azure_managed_application(resource_group: 'RESOURCE_GROUP', name: 'MANAGED_APPLICATION_NAME') do
it { should exist }
end
```

## Parameters

`name` _(required)_
: Name of the Azure managed applications to test.

`resource_group` _(required)_
: Azure resource group that the targeted resource resides in.

## Properties

`id`
: Resource Id.

`name`
: Resource name.

`type`
: Resource type. `Microsoft.Solutions/applications`.

`location`
: Resource location.

`properties`
: The properties of the managed application.

`properties.plan`
: The plan information.

`properties.identity`
: The identity of the resource.

`properties.provisioningState`
: Provisioning state of the namespace.


For properties applicable to all resources, such as `type`, `name`, `id`, `properties`, refer to [`azure_generic_resource`]({{< relref "azure_generic_resource.md#properties" >}}).

Also, refer to [Azure documentation](https://docs.microsoft.com/en-us/rest/api/managedapplications/applications/get) for other properties available.

## Examples

**Test that the managed applications is provisioned successfully.**

```ruby
describe azure_managed_application(resource_group: 'RESOURCE_GROUP', name: 'MANAGED_APPLICATION_NAME') do
its('properties.provisioningState') { should eq 'Succeeded' }
end
```

## Matchers

{{% inspec_matchers_link %}}

### exists

```ruby
# If a managed application is found it will exist

describe azure_managed_application(resource_group: 'RESOURCE_GROUP', name: 'MANAGED_APPLICATION_NAME') do
it { should exist }
end
# if managed application is not found it will not exist

describe azure_managed_application(resource_group: 'RESOURCE_GROUP', name: 'MANAGED_APPLICATION_NAME') do
it { should_not exist }
end
```

## Azure Permissions

{{% azure_permissions_service_principal role="reader" %}}
Loading

0 comments on commit 1d61cc4

Please sign in to comment.