google_dlp_inspect_templates resource
Use the google_dlp_inspect_templates InSpec audit resource to to test a Google Cloud InspectTemplate resource.
Examples
describe google_dlp_inspect_templates(parent: "projects/#{'chef-gcp-inspec'}/locations/#{'us-east-2'}") do
it { should exist }
its('names') { should include 'i-inspec-gcp-dlp' }
its('types') { should include 'INSPECT_JOB' }
its('states') { should include 'ACTIVE' }
end
Properties
Properties that can be accessed from the google_dlp_inspect_templates resource:
See google_dlp_inspect_template for more detailed information.
names: an array ofgoogle_dlp_inspect_templatenamedescriptions: an array ofgoogle_dlp_inspect_templatedescriptiondisplay_names: an array ofgoogle_dlp_inspect_templatedisplay_nameinspect_configs: an array ofgoogle_dlp_inspect_templateinspect_configparents: an array ofgoogle_dlp_inspect_templateparent
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.