google_orgpolicy_folder_policies resource
Use the google_orgpolicy_folder_policies
InSpec audit resource to to test a Google Cloud FolderPolicy resource.
Examples
describe google_orgpolicy_folder_policies(parent: ' value_parent') do
it { should exist }
end
Properties
Properties that can be accessed from the google_orgpolicy_folder_policies
resource:
See google_orgpolicy_folder_policy for more detailed information.
dry_run_specs
: an array ofgoogle_orgpolicy_folder_policy
dry_run_specspecs
: an array ofgoogle_orgpolicy_folder_policy
specnames
: an array ofgoogle_orgpolicy_folder_policy
namealternates
: an array ofgoogle_orgpolicy_folder_policy
alternate
Filter criteria
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
GCP permissions
Ensure the https://orgpolicy.googleapis.com/ is enabled for the current project.