-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: balasubramanian-s <[email protected]>
- Loading branch information
1 parent
85f0c9f
commit 3c821dc
Showing
7 changed files
with
97 additions
and
96 deletions.
There are no files selected for viewing
20 changes: 9 additions & 11 deletions
20
...ources/google_monitoring_project_group.md → docs/resources/google_monitoring_group.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
+++ | ||
|
||
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. | ||
|
||
## Installation | ||
{{% inspec_gcp_install %}} | ||
|
||
## Syntax | ||
A `google_monitoring_groups` is used to test a Google Group resource | ||
|
||
## Examples | ||
``` | ||
describe google_monitoring_groups(name: 'value_name') do | ||
it { should exist } | ||
its('names') { should include 'value_name' } | ||
its('display_names') { should include 'value_displayname' } | ||
its('filters') { should include 'value_filter' } | ||
end | ||
``` | ||
|
||
## Parameters | ||
Properties that can be accessed from the `google_monitoring_groups` resource: | ||
|
||
See [google_monitoring_group.md](google_monitoring_group.md) for more detailed information | ||
* `names`: an array of `google_monitoring_group` name | ||
* `display_names`: an array of `google_monitoring_group` display_name | ||
* `parent_names`: an array of `google_monitoring_group` parent_name | ||
* `filters`: an array of `google_monitoring_group` filter | ||
* `is_clusters`: an array of `google_monitoring_group` is_cluster | ||
## Properties | ||
Properties that can be accessed from the `google_monitoring_groups` resource: | ||
|
||
See [google_monitoring_group.md](google_monitoring_group.md) for more detailed information | ||
* `names`: an array of `google_monitoring_group` name | ||
* `display_names`: an array of `google_monitoring_group` display_name | ||
* `parent_names`: an array of `google_monitoring_group` parent_name | ||
* `filters`: an array of `google_monitoring_group` filter | ||
* `is_clusters`: an array of `google_monitoring_group` is_cluster | ||
|
||
## 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 Monitoring API](https://console.cloud.google.com/apis/library/monitoring.googleapis.com/) is enabled for the current project. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters