Skip to content

Commit

Permalink
Merge branch 'main' into RESOURCE-585-create-the-integration-test-for…
Browse files Browse the repository at this point in the history
…-azure-graph-generic-resource-azure-lock-and-azure-key-vault-rotation-key-resources
  • Loading branch information
soumyo13 authored Feb 2, 2023
2 parents 5a78f72 + 42e2467 commit 2943b85
Show file tree
Hide file tree
Showing 8 changed files with 63 additions and 10 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# Changelog
<!-- latest_release 1.118.35 -->
<!-- latest_release 1.118.37 -->
## [v1.118.37](https://github.com/inspec/inspec-azure/tree/v1.118.37) (2023-02-02)

#### Merged Pull Requests
- Resource 589 create the singular and plural integration tests for azure microsoft defender setting and azure power bi app dashboard tile resources [#712](https://github.com/inspec/inspec-azure/pull/712) ([soumyo13](https://github.com/soumyo13))
<!-- latest_release -->

## [v1.118.36](https://github.com/inspec/inspec-azure/tree/v1.118.36) (2023-02-02)

#### Merged Pull Requests
- RESOURCE-590 Create the integration tests for azure_power_bi_generic_resources resource [#713](https://github.com/inspec/inspec-azure/pull/713) ([soumyo13](https://github.com/soumyo13))

## [v1.118.35](https://github.com/inspec/inspec-azure/tree/v1.118.35) (2023-01-31)

#### Merged Pull Requests
- Create the integration test for datafactory linked_services and pipeline_run_resource [#710](https://github.com/inspec/inspec-azure/pull/710) ([soumyo13](https://github.com/soumyo13))
<!-- latest_release -->

## [v1.118.34](https://github.com/inspec/inspec-azure/tree/v1.118.34) (2023-01-18)

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.118.35
1.118.37
2 changes: 1 addition & 1 deletion inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ copyright: Chef Software, Inc.
copyright_email: support@chef.io
license: Apache-2.0
summary: This resource pack provides compliance resources for Azure.
version: 1.118.35
version: 1.118.37
inspec_version: '>= 4.18.39'
supports:
- platform: azure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
control "azure_microsoft_defender_setting" do
title "Testing the singular resource of azure_microsoft_defender_setting."
desc "Testing the singular resource of azure_microsoft_defender_setting."
control "azure_microsoft_defender_pricing_setting" do
title "Testing the singular resource of azure_microsoft_defender_pricing_setting."
desc "Testing the singular resource of azure_microsoft_defender_pricing_setting."

describe azure_microsoft_defender_setting(name: "MCAS") do
it { should exist }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
control "azure_microsoft_defender_settings" do
title "Testing the plural resource of azure_microsoft_defender_settings."
desc "Testing the plural resource of azure_microsoft_defender_settings."
control "azure_microsoft_defender_pricing_settings" do
title "Testing the plural resource of azure_microsoft_defender_pricing_settings."
desc "Testing the plural resource of azure_microsoft_defender_pricing_settings."

describe azure_microsoft_defender_settings do
it { should exist }
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
control "azure_microsoft_defender_setting" do
title "Testing the singular resource of azure_microsoft_defender_setting."
desc "Testing the singular resource of azure_microsoft_defender_setting."

describe azure_microsoft_defender_setting(name: "MCAS") do
it { should exist }
end

describe azure_microsoft_defender_setting(name: "MCAS") do
its("id") { should_not be_empty }
its("name") { should eq "MCAS" }
its("type") { should eq "Microsoft.Security/settings" }
its("kind") { should eq "DataExportSettings" }
end

describe azure_microsoft_defender_setting(name: "MCAS") do
its("properties.enabled") { should be true }
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
control "azure_microsoft_defender_settings" do
title "Testing the plural resource of azure_microsoft_defender_settings."
desc "Testing the plural resource of azure_microsoft_defender_settings."

describe azure_microsoft_defender_settings do
it { should exist }
end

describe azure_microsoft_defender_settings do
its("ids") { should_not be_empty }
its("names") { should include "MCAS" }
its("types") { should include "Microsoft.Security/settings" }
its("kinds") { should include "DataExportSettings" }
its("properties") { should_not be_empty }
end
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
control "Verify the settings of azure_power_bi_generic_resources" do
title "Testing the plural resource of azure_power_bi_generic_resources."
desc "Testing the plural resource of azure_power_bi_generic_resources."

describe azure_power_bi_generic_resources do
it { should exist }
end
end

0 comments on commit 2943b85

Please sign in to comment.