google_logging_organization_log_sinks resource
Syntax
A google_logging_organization_log_sinks is used to test a Google OrganizationLogSink resource
Examples
describe google_logging_organization_log_sinks(organization: '190694428152') do
its('names') { should include 'inspec-gcp-org-sink' }
end
Properties
Properties that can be accessed from the google_logging_organization_log_sinks resource:
See the google_logging_organization_log_sink resource for more information.
organizations- an array of
google_logging_organization_log_sinkorganization names- an array of
google_logging_organization_log_sinkname filters- an array of
google_logging_organization_log_sinkfilter destinations- an array of
google_logging_organization_log_sinkdestination writer_identities- an array of
google_logging_organization_log_sinkwriter_identity include_children- an array of
google_logging_organization_log_sinkinclude_children
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.
Was this page helpful?