Skip to content

Commit

Permalink
Merge branch 'main' into CHEF-12244-MAGIC-MODULE-dataproc_v1-Projects…
Browse files Browse the repository at this point in the history
…__locations__workflowTemplate
  • Loading branch information
balasubramanian-s committed Jun 17, 2024
2 parents dcca287 + 0ed7864 commit 51b63fe
Show file tree
Hide file tree
Showing 14 changed files with 586 additions and 6 deletions.
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
# Change Log

<!-- latest_release 1.11.114 -->
<!-- latest_release 1.11.116 -->
## [v1.11.116](https://github.com/inspec/inspec-gcp/tree/v1.11.116) (2024-06-17)

#### Merged Pull Requests
- CHEF-7348-ORG-MAGIC-MODULE-orgpolicy-Folders__policy - Resource Implementation [#556](https://github.com/inspec/inspec-gcp/pull/556) ([sa-progress](https://github.com/sa-progress))
<!-- latest_release -->

## [v1.11.115](https://github.com/inspec/inspec-gcp/tree/v1.11.115) (2024-06-11)

#### Merged Pull Requests
- CHEF-7347-V3-MAGIC-MODULE-orgpolicy_v2-Folders__constraint - Resource Implementation [#626](https://github.com/inspec/inspec-gcp/pull/626) ([sa-progress](https://github.com/sa-progress))

## [v1.11.114](https://github.com/inspec/inspec-gcp/tree/v1.11.114) (2024-06-05)

#### Merged Pull Requests
- CHEF-7352-MAGIC-MODULE-orgpolicy-Projects__policy - Resource Implementation [#554](https://github.com/inspec/inspec-gcp/pull/554) ([sa-progress](https://github.com/sa-progress))
<!-- latest_release -->

## [v1.11.113](https://github.com/inspec/inspec-gcp/tree/v1.11.113) (2024-05-30)

Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,12 @@ The following resources are available in the InSpec GCP Profile
| [google_memcache_instance](docs/resources/google_memcache_instance.md) | [google_memcache_instances](docs/resources/google_memcache_instances.md) |
| [google_ml_engine_model](docs/resources/google_ml_engine_model.md) | [google_ml_engine_models](docs/resources/google_ml_engine_models.md) |
| [google_organization](docs/resources/google_organization.md) | [google_organizations](docs/resources/google_organizations.md) |
| [google_orgpolicy_organization_policy](docs/resources/google_orgpolicy_organization_policy.md) | [google_orgpolicy_organization_policies](docs/resources/google_orgpolicy_organization_policies.md) |
| No Singular Resource | [google_orgpolicy_folder_constraints](docs/resources/google_orgpolicy_folder_constraints.md) |
| No Singular Resource | [google_orgpolicy_organization_constraints](docs/resources/google_orgpolicy_project_constraints.md) |
| No Singular Resource | [google_orgpolicy_project_constraints](docs/resources/google_orgpolicy_project_constraints.md) |
| [google_orgpolicy_folder_policy](docs/resources/google_orgpolicy_folder_policy.md) | [google_orgpolicy_folder_policies](docs/resources/google_orgpolicy_folder_policies.md) |
| [google_orgpolicy_organization_policy](docs/resources/google_orgpolicy_organization_policy.md) | [google_orgpolicy_organization_policies](docs/resources/google_orgpolicy_organization_policies.md) |
| [google_orgpolicy_project_policy](docs/resources/google_orgpolicy_project_policy.md) | [google_orgpolicy_project_policies](docs/resources/google_orgpolicy_project_policies.md) |
| [google_organization_iam_binding](docs/resources/google_organization_iam_binding.md) | No Plural Resource |
| [google_organization_iam_policy](docs/resources/google_organization_iam_policy.md) | No Plural Resource |
| [google_organization_policy](docs/resources/google_organization_policy.md) | No Plural Resource |
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.11.114
1.11.116
50 changes: 50 additions & 0 deletions docs/resources/google_orgpolicy_folder_constraints.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
title: About the google_orgpolicy_folder_constraints resource
platform: gcp
---

## Syntax
A `google_orgpolicy_folder_constraints` is used to test a Google FolderConstraint resource

## Examples
```
describe google_orgpolicy_folder_constraints(parent: ' value_parent') do
it { should exist }
its('names') { should include 'value_name'}
its('display_names') { should include 'value_displayName'}
its('descriptions') { should include 'value_description'}
its('constraint_defaults') { should include 'value_constraint_default'}
its('list_constraints') { should include 'value_list_constraint'}
end
```

## Properties
Properties that can be accessed from the `google_orgpolicy_folder_constraints` resource:

* `display_names`: The human readable name. Mutable.

* `descriptions`: Detailed description of what this constraint controls as well as how and where it is enforced. Mutable.

* `constraint_defaults`: The evaluation behavior of this constraint in the absence of a policy.
Possible values:
* CONSTRAINT_DEFAULT_UNSPECIFIED
* ALLOW
* DENY

* `supports_dry_runs`: Shows if dry run is supported for this constraint or not.

* `names`: Immutable. The resource name of the constraint. Must be in one of the following forms: * `projects/{project_number}/constraints/{constraint_name}` * `folders/{folder_id}/constraints/{constraint_name}` * `organizations/{organization_id}/constraints/{constraint_name}` For example, "/projects/123/constraints/compute.disableSerialPortAccess".

* `list_constraints`: A constraint that allows or disallows a list of string values, which are configured by an Organization Policy administrator with a policy.

* `supports_under`: Indicates whether subtrees of the Resource Manager resource hierarchy can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"under:folders/123"` would match any resource under the 'folders/123' folder.

* `supports_in`: Indicates whether values grouped into categories can be used in `Policy.allowed_values` and `Policy.denied_values`. For example, `"in:Python"` would match any value in the 'Python' group.

## 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 [https://orgpolicy.googleapis.com/](https://console.cloud.google.com/apis/library/orgpolicy.googleapis.com/) is enabled for the current project.
31 changes: 31 additions & 0 deletions docs/resources/google_orgpolicy_folder_policies.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
title: About the google_orgpolicy_folder_policies resource
platform: gcp
---

## Syntax
A `google_orgpolicy_folder_policies` is used to test a Google FolderPolicy resource

## Examples
```
describe google_orgpolicy_folder_policies(parent: ' value_parent') do
it { should exist }
end
```

## Properties
Properties that can be accessed from the `google_orgpolicy_folder_policies` resource:

See [google_orgpolicy_folder_policy.md](google_orgpolicy_folder_policy.md) for more detailed information
* `dry_run_specs`: an array of `google_orgpolicy_folder_policy` dry_run_spec
* `specs`: an array of `google_orgpolicy_folder_policy` spec
* `names`: an array of `google_orgpolicy_folder_policy` name
* `alternates`: an array of `google_orgpolicy_folder_policy` alternate

## 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 [https://orgpolicy.googleapis.com/](https://console.cloud.google.com/apis/library/orgpolicy.googleapis.com/) is enabled for the current project.
Loading

0 comments on commit 51b63fe

Please sign in to comment.