google_logging_project_exclusions resource
Use the google_logging_project_exclusions
InSpec audit resource to to test a Google Cloud ProjectExclusion resource.
Examples
describe google_logging_project_exclusions(project: 'chef-gcp-inspec') do
its('names'){ should include 'inspec-folder-exclusion' }
end
Properties
Properties that can be accessed from the google_logging_project_exclusions
resource:
See google_logging_project_exclusion for more detailed information.
projects
: an array ofgoogle_logging_project_exclusion
projectnames
: an array ofgoogle_logging_project_exclusion
namedescriptions
: an array ofgoogle_logging_project_exclusion
descriptionfilters
: an array ofgoogle_logging_project_exclusion
filterdisableds
: an array ofgoogle_logging_project_exclusion
disabled
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
Ensure the Stackdriver Logging API is enabled for the current project.