google_dlp_dts resource
Use the google_dlp_dts InSpec audit resource to to test a Google Cloud DT resource.
Examples
describe google_dlp_dt(parent: "projects/#{'chef-gcp-inspec'}/locations/#{''}", name: '') do
it { should exist }
its('display_name') { should cmp '' }
end
describe google_dlp_dt(parent: "projects/#{'chef-gcp-inspec'}/locations/#{''}", name: 'nonexistent') do
it { should_not exist }
end
Properties
Properties that can be accessed from the google_dlp_dts resource:
See google_dlp_dt for more detailed information.
names: an array ofgoogle_dlp_dtnamedescriptions: an array ofgoogle_dlp_dtdescriptiondisplay_names: an array ofgoogle_dlp_dtdisplay_nameconfigs: an array ofgoogle_dlp_dtconfigparents: an array ofgoogle_dlp_dtparent
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.