+++
title = "google_monitoring_groups Resource" platform = "gcp" draft = false gh_repo = "inspec-gcp"
[menu.inspec]
title = "google_monitoring_groups" identifier = "inspec/resources/gcp/google_monitoring_groups Resource" parent = "inspec/resources/gcp" +++
Use the google_monitoring_groups
InSpec audit resource to test the properties of a test a Google Group.
{{% inspec_gcp_install %}}
A google_monitoring_groups
is used to test a Google Group resource
describe google_monitoring_groups(name: 'projects/*') do
it { should exist }
its('names') { should include 'value_name' }
its('display_names') { should include 'value_displayname' }
its('filters') { should include 'value_filter' }
end
Properties that can be accessed from the google_monitoring_groups
resource:
See google_monitoring_group.md for more detailed information
names
: an array ofgoogle_monitoring_group
namedisplay_names
: an array ofgoogle_monitoring_group
display_nameparent_names
: an array ofgoogle_monitoring_group
parent_namefilters
: an array ofgoogle_monitoring_group
filteris_clusters
: an array ofgoogle_monitoring_group
is_cluster
Properties that can be accessed from the google_monitoring_groups
resource:
See google_monitoring_group.md for more detailed information
names
: an array ofgoogle_monitoring_group
namedisplay_names
: an array ofgoogle_monitoring_group
display_nameparent_names
: an array ofgoogle_monitoring_group
parent_namefilters
: an array ofgoogle_monitoring_group
filteris_clusters
: an array ofgoogle_monitoring_group
is_cluster
This resource supports all of the above properties as filter criteria, which can be used
with where
as a block or a method.
Ensure the Stackdriver Monitoring API is enabled for the current project.