-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into RESOURCE-585-create-the-integration-test-for…
…-azure-graph-generic-resource-azure-lock-and-azure-key-vault-rotation-key-resources
- Loading branch information
Showing
8 changed files
with
63 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.118.35 | ||
1.118.37 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
test/integration/verify/controls/azure_microsoft_defender_pricing_setting.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
test/integration/verify/controls/azure_microsoft_defender_pricing_settings.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
test/integration/verify/controls/azure_microsoft_defender_setting.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
16 changes: 16 additions & 0 deletions
16
test/integration/verify/controls/azure_microsoft_defender_settings.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
8 changes: 8 additions & 0 deletions
8
test/integration/verify/controls/azure_power_bi_generic_resources.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |