Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #112 from inspec/minor-fix-org-controls
Browse files Browse the repository at this point in the history
Update google_organization(s) controls only_if condition to include o…
  • Loading branch information
russellseymour authored Feb 21, 2019
2 parents 4ea6ca2 + 2e885d9 commit a1ae1b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/verify/controls/google_organization.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

control 'gcp-organization-1.0' do

only_if { gcp_enable_privileged_resources.to_i == 1 }
only_if { gcp_enable_privileged_resources.to_i == 1 && gcp_organization_id != ''}
impact 1.0
title 'Ensure organization has the correct properties.'

Expand Down
2 changes: 1 addition & 1 deletion test/integration/verify/controls/google_organizations.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

control 'gcp-organizations-loop-1.0' do

only_if { gcp_enable_privileged_resources.to_i == 1 }
only_if { gcp_enable_privileged_resources.to_i == 1 && gcp_organization_id != ''}
impact 1.0
title 'Ensure organizations have the correct properties in bulk.'

Expand Down

0 comments on commit a1ae1b5

Please sign in to comment.