google_compute_network_firewall_policies resource
Use the google_compute_network_firewall_policies
InSpec audit resource to to test a Google Cloud NetworkFirewallPolicy resource.
Examples
describe google_compute_network_firewall_policies(project: 'chef-gcp-inspec') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_network_firewall_policies
resource:
See google_compute_network_firewall_policy for more detailed information.
kinds
: an array ofgoogle_compute_network_firewall_policy
kindids
: an array ofgoogle_compute_network_firewall_policy
idcreation_timestamps
: an array ofgoogle_compute_network_firewall_policy
creation_timestampnames
: an array ofgoogle_compute_network_firewall_policy
namedescriptions
: an array ofgoogle_compute_network_firewall_policy
descriptionrules
: an array ofgoogle_compute_network_firewall_policy
rulesfingerprints
: an array ofgoogle_compute_network_firewall_policy
fingerprintself_links
: an array ofgoogle_compute_network_firewall_policy
self_linkself_link_with_ids
: an array ofgoogle_compute_network_firewall_policy
self_link_with_idassociations
: an array ofgoogle_compute_network_firewall_policy
associationsrule_tuple_counts
: an array ofgoogle_compute_network_firewall_policy
rule_tuple_countshort_names
: an array ofgoogle_compute_network_firewall_policy
short_namedisplay_names
: an array ofgoogle_compute_network_firewall_policy
display_nameparents
: an array ofgoogle_compute_network_firewall_policy
parentregions
: an array ofgoogle_compute_network_firewall_policy
region
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.