Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.15 KB

google_dlp_inspect_templates.md

File metadata and controls

36 lines (27 loc) · 1.15 KB
title platform
About the google_dlp_inspect_templates resource
gcp

Syntax

A google_dlp_inspect_templates is used to test a Google 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.md for more detailed information

  • names: an array of google_dlp_inspect_template name
  • descriptions: an array of google_dlp_inspect_template description
  • display_names: an array of google_dlp_inspect_template display_name
  • inspect_configs: an array of google_dlp_inspect_template inspect_config
  • parents: an array of google_dlp_inspect_template 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