google_compute_packet_mirrorings resource
Use the google_compute_packet_mirrorings InSpec audit resource to to test a Google Cloud PacketMirroring resource.
Examples
describe google_compute_packet_mirrorings(project: 'chef-gcp-inspec', region: ' value_region') do
it { should exist }
end
Properties
Properties that can be accessed from the google_compute_packet_mirrorings resource:
See google_compute_packet_mirroring for more detailed information.
kinds: an array ofgoogle_compute_packet_mirroringkindids: an array ofgoogle_compute_packet_mirroringidcreation_timestamps: an array ofgoogle_compute_packet_mirroringcreation_timestampself_links: an array ofgoogle_compute_packet_mirroringself_linkself_link_with_ids: an array ofgoogle_compute_packet_mirroringself_link_with_idnames: an array ofgoogle_compute_packet_mirroringnamedescriptions: an array ofgoogle_compute_packet_mirroringdescriptionregions: an array ofgoogle_compute_packet_mirroringregionnetworks: an array ofgoogle_compute_packet_mirroringnetworkpriorities: an array ofgoogle_compute_packet_mirroringprioritycollector_ilbs: an array ofgoogle_compute_packet_mirroringcollector_ilbmirrored_resources: an array ofgoogle_compute_packet_mirroringmirrored_resourcesfilters: an array ofgoogle_compute_packet_mirroringfilterenables: an array ofgoogle_compute_packet_mirroringenable
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.