google_dlp_job_triggers resource
Use the google_dlp_job_triggers InSpec audit resource to to test a Google Cloud JobTrigger resource.
Examples
describe google_dlp_job_triggers(parent: "projects/#{'chef-gcp-inspec'}/locations/#{'us-east-2'}") do
it { should exist }
its('names') { should include 'name1' }
its('display_name') { should include 'dp' }
its('descriptions') { should include 'description' }
its('status') { should include 'HEALTHY' }
end
Properties
Properties that can be accessed from the google_dlp_job_triggers resource:
See google_dlp_job_trigger for more detailed information.
names: an array ofgoogle_dlp_job_triggernamedescriptions: an array ofgoogle_dlp_job_triggerdescriptiondisplay_names: an array ofgoogle_dlp_job_triggerdisplay_namelast_run_times: an array ofgoogle_dlp_job_triggerlast_run_timestatuses: an array ofgoogle_dlp_job_triggerstatustriggers: an array ofgoogle_dlp_job_triggertriggersinspect_jobs: an array ofgoogle_dlp_job_triggerinspect_jobparents: an array ofgoogle_dlp_job_triggerparent
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.