google_compute_region_security_policies resource
Use the google_compute_region_security_policies InSpec audit resource to test the properties of a Google Cloud RegionSecurityPolicy resource.
Examples
describe google_compute_region_security_policies(project: 'chef-gcp-inspec', region: ' ') do
it { should exist }
end
Parameters
Parameters that can be accessed from the google_compute_region_security_policies resource:
See google_compute_region_security_policy for more detailed information.
user_defined_fields: an array ofgoogle_compute_region_security_policyuser_defined_fieldskinds: an array ofgoogle_compute_region_security_policykindids: an array ofgoogle_compute_region_security_policyidcreation_timestamps: an array ofgoogle_compute_region_security_policycreation_timestampnames: an array ofgoogle_compute_region_security_policynamedescriptions: an array ofgoogle_compute_region_security_policydescriptionrules: an array ofgoogle_compute_region_security_policyrulescloud_armor_configs: an array ofgoogle_compute_region_security_policycloud_armor_configadaptive_protection_configs: an array ofgoogle_compute_region_security_policyadaptive_protection_configddos_protection_configs: an array ofgoogle_compute_region_security_policyddos_protection_configadvanced_options_configs: an array ofgoogle_compute_region_security_policyadvanced_options_configrecaptcha_options_configs: an array ofgoogle_compute_region_security_policyrecaptcha_options_configfingerprints: an array ofgoogle_compute_region_security_policyfingerprintself_links: an array ofgoogle_compute_region_security_policyself_linkself_link_with_ids: an array ofgoogle_compute_region_security_policyself_link_with_idtypes: an array ofgoogle_compute_region_security_policytypeassociations: an array ofgoogle_compute_region_security_policyassociationslabels: an array ofgoogle_compute_region_security_policylabelslabel_fingerprints: an array ofgoogle_compute_region_security_policylabel_fingerprintrule_tuple_counts: an array ofgoogle_compute_region_security_policyrule_tuple_countdisplay_names: an array ofgoogle_compute_region_security_policydisplay_nameparents: an array ofgoogle_compute_region_security_policyparentregions: an array ofgoogle_compute_region_security_policyregion
Properties
Properties that can be accessed from the google_compute_region_security_policies resource:
See google_compute_region_security_policy for more detailed information.
user_defined_fields: an array ofgoogle_compute_region_security_policyuser_defined_fieldskinds: an array ofgoogle_compute_region_security_policykindids: an array ofgoogle_compute_region_security_policyidcreation_timestamps: an array ofgoogle_compute_region_security_policycreation_timestampnames: an array ofgoogle_compute_region_security_policynamedescriptions: an array ofgoogle_compute_region_security_policydescriptionrules: an array ofgoogle_compute_region_security_policyrulescloud_armor_configs: an array ofgoogle_compute_region_security_policycloud_armor_configadaptive_protection_configs: an array ofgoogle_compute_region_security_policyadaptive_protection_configddos_protection_configs: an array ofgoogle_compute_region_security_policyddos_protection_configadvanced_options_configs: an array ofgoogle_compute_region_security_policyadvanced_options_configrecaptcha_options_configs: an array ofgoogle_compute_region_security_policyrecaptcha_options_configfingerprints: an array ofgoogle_compute_region_security_policyfingerprintself_links: an array ofgoogle_compute_region_security_policyself_linkself_link_with_ids: an array ofgoogle_compute_region_security_policyself_link_with_idtypes: an array ofgoogle_compute_region_security_policytypeassociations: an array ofgoogle_compute_region_security_policyassociationslabels: an array ofgoogle_compute_region_security_policylabelslabel_fingerprints: an array ofgoogle_compute_region_security_policylabel_fingerprintrule_tuple_counts: an array ofgoogle_compute_region_security_policyrule_tuple_countdisplay_names: an array ofgoogle_compute_region_security_policydisplay_nameparents: an array ofgoogle_compute_region_security_policyparentregions: an array ofgoogle_compute_region_security_policyregion
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 Compute Engine API is enabled for the current project.