Skip to content

Commit

Permalink
rotation policy enabled check
Browse files Browse the repository at this point in the history
Signed-off-by: samir anand <samir.anand@progress.com>
  • Loading branch information
sa-progress committed Nov 22, 2022
1 parent 9f64ce5 commit ec7caee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/verify/controls/azurerm_key_vault_key.rb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
vault_name = input('key_vault_name', value: nil)
key_name = input('key_vault_key_name', value: nil)

control 'azurerm_key_vault_key' do
control 'azure_key_vault_key' do

impact 1.0
title 'Testing the singular resource of azurerm_key_vault_key.'
desc 'Testing the singular resource of azurerm_key_vault_key.'

describe azurerm_key_vault_key(vault_name, key_name) do
describe azure_key_vault_key(vault_name, key_name) do
its('key.kid') { should_not be_nil }
its('attributes') { should have_attributes(enabled: true) }
it { should have_rotation_policy_enabled }
Expand Down

0 comments on commit ec7caee

Please sign in to comment.