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_trigger
namedescriptions
: an array ofgoogle_dlp_job_trigger
descriptiondisplay_names
: an array ofgoogle_dlp_job_trigger
display_namelast_run_times
: an array ofgoogle_dlp_job_trigger
last_run_timestatuses
: an array ofgoogle_dlp_job_trigger
statustriggers
: an array ofgoogle_dlp_job_trigger
triggersinspect_jobs
: an array ofgoogle_dlp_job_trigger
inspect_jobparents
: an array ofgoogle_dlp_job_trigger
parent
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.