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_dt
namedescriptions
: an array ofgoogle_dlp_dt
descriptiondisplay_names
: an array ofgoogle_dlp_dt
display_nameconfigs
: an array ofgoogle_dlp_dt
configparents
: an array ofgoogle_dlp_dt
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.