Skip to content

Latest commit

 

History

History
43 lines (34 loc) · 1.39 KB

google_dlp_jobs.md

File metadata and controls

43 lines (34 loc) · 1.39 KB
title platform
About the google_dlp_jobs resource
gcp

Syntax

A google_dlp_jobs is used to test a Google Job resource

Examples



describe google_dlp_jobs(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_jobs resource:

See google_dlp_job.md for more detailed information

  • names: an array of google_dlp_job name
  • types: an array of google_dlp_job type
  • states: an array of google_dlp_job state
  • create_times: an array of google_dlp_job create_time
  • start_times: an array of google_dlp_job start_time
  • end_times: an array of google_dlp_job end_time
  • job_trigger_names: an array of google_dlp_job job_trigger_name
  • errors: an array of google_dlp_job errors
  • act_dets: an array of google_dlp_job act_det
  • risk_details: an array of google_dlp_job risk_details
  • inspect_details: an array of google_dlp_job inspect_details
  • parents: an array of google_dlp_job 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.

GCP Permissions