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_policykindids: an array ofgoogle_compute_network_firewall_policyidcreation_timestamps: an array ofgoogle_compute_network_firewall_policycreation_timestampnames: an array ofgoogle_compute_network_firewall_policynamedescriptions: an array ofgoogle_compute_network_firewall_policydescriptionrules: an array ofgoogle_compute_network_firewall_policyrulesfingerprints: an array ofgoogle_compute_network_firewall_policyfingerprintself_links: an array ofgoogle_compute_network_firewall_policyself_linkself_link_with_ids: an array ofgoogle_compute_network_firewall_policyself_link_with_idassociations: an array ofgoogle_compute_network_firewall_policyassociationsrule_tuple_counts: an array ofgoogle_compute_network_firewall_policyrule_tuple_countshort_names: an array ofgoogle_compute_network_firewall_policyshort_namedisplay_names: an array ofgoogle_compute_network_firewall_policydisplay_nameparents: an array ofgoogle_compute_network_firewall_policyparentregions: an array ofgoogle_compute_network_firewall_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.