Skip to content
This repository has been archived by the owner on Oct 20, 2023. It is now read-only.

Commit

Permalink
[FORSETI RELEASE] Update Forseti version to v2.23.1 (#476)
Browse files Browse the repository at this point in the history
* Patch release v2.23.1

* Fix bigquery and Google provider issue for the 5.0.1 patch

* Updated version to v2.23.1

* Set version constraint for google provider on the install simple example

* Fix typos

* Pinned helm provider version to 0.10.*

Co-authored-by: Gregg Kowalski <[email protected]>
  • Loading branch information
red2k18 and gkowalski-google authored Feb 11, 2020
1 parent 041cc03 commit cf5e3ff
Show file tree
Hide file tree
Showing 21 changed files with 49 additions and 21 deletions.
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

Extending the adopted spec, each change should have a link to its corresponding pull request appended.

## Unreleased

## [v5.0.1] - 2020-01-31

### Added

- Support for Forseti v2.23.1 [#476]

## [5.0.0] - 2019-10-17
Version 5.0.0 is a backwards-incompatible release. Please see the [upgrade instructions](./docs/upgrading_to_v5.0.md) for details.

Expand All @@ -16,7 +24,7 @@ Version 5.0.0 is a backwards-incompatible release. Please see the [upgrade instr
- Added additional submodules for Forseti infrastructure components [#284]
- Update Cloud Shell tutorial [#309]
- Add variable to enable mailjet_rest library [#302]
- Updating helper scripts to include GKE related roles [#306]
- Updating helper scripts to include GKE related roles [#306]gi
- Setting the GKE version to a specific version [#307]
- Fix serviceusage test [#308]
- Adding cscc vars to on_gke examples [#304]
Expand Down Expand Up @@ -289,7 +297,9 @@ Version 4.0.0 is a backwards-incompatible release. Please see the [upgrade instr
[v4.2.1]: https://github.com/terraform-google-modules/terraform-google-forseti/compare/v4.1.0...v4.2.1
[v4.3.0]: https://github.com/terraform-google-modules/terraform-google-forseti/compare/v4.2.1...v4.3.0
[v5.0.0]: https://github.com/terraform-google-modules/terraform-google-forseti/compare/v4.3.0...v5.0.0
[v5.0.1]: https://github.com/terraform-google-modules/terraform-google-forseti/compare/v5.0.0...v5.0.1

[#476]: https://github.com/forseti-security/terraform-google-forseti/pull/476
[#330]: https://github.com/forseti-security/terraform-google-forseti/pull/330
[#329]: https://github.com/forseti-security/terraform-google-forseti/pull/329
[#309]: https://github.com/forseti-security/terraform-google-forseti/pull/309
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ For this module to work, you need the following APIs enabled on the Forseti proj
| forseti\_home | Forseti installation directory | string | `"$USER_HOME/forseti-security"` | no |
| forseti\_repo\_url | Git repo for the Forseti installation | string | `"https://github.com/forseti-security/forseti-security"` | no |
| forseti\_run\_frequency | Schedule of running the Forseti scans | string | `"null"` | no |
| forseti\_version | The version of Forseti to install | string | `"v2.23.0"` | no |
| forseti\_version | The version of Forseti to install | string | `"v2.23.1"` | no |
| forwarding\_rule\_enabled | Forwarding rule scanner enabled. | bool | `"false"` | no |
| forwarding\_rule\_violations\_should\_notify | Notify for forwarding rule violations | bool | `"true"` | no |
| group\_enabled | Group scanner enabled. | bool | `"true"` | no |
Expand Down
3 changes: 3 additions & 0 deletions examples/install_simple/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,7 @@

terraform {
required_version = ">= 0.12"
required_providers {
google = "~> 2.11"
}
}
4 changes: 2 additions & 2 deletions examples/on_gke_end_to_end/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ This script will also activate necessary APIs required for Terraform to deploy F
| gsuite\_admin\_email | G-Suite administrator email address to manage your Forseti installation | string | n/a | yes |
| helm\_repository\_url | The Helm repository containing the 'forseti-security' Helm charts | string | `"https://forseti-security-charts.storage.googleapis.com/release/"` | no |
| k8s\_forseti\_namespace | The Kubernetes namespace in which to deploy Forseti. | string | `"forseti"` | no |
| k8s\_forseti\_orchestrator\_image\_tag | The tag for the container image for the Forseti orchestrator | string | `"v2.23.0"` | no |
| k8s\_forseti\_server\_image\_tag | The tag for the container image for the Forseti server | string | `"v2.23.0"` | no |
| k8s\_forseti\_orchestrator\_image\_tag | The tag for the container image for the Forseti orchestrator | string | `"v2.23.1"` | no |
| k8s\_forseti\_server\_image\_tag | The tag for the container image for the Forseti server | string | `"v2.23.1"` | no |
| k8s\_tiller\_sa\_name | The Kubernetes Service Account used by Tiller | string | `"tiller"` | no |
| network | The name of the VPC being created | string | `"forseti-gke-network"` | no |
| network\_description | An optional description of the network. The resource must be recreated to modify this field. | string | `""` | no |
Expand Down
4 changes: 2 additions & 2 deletions examples/on_gke_end_to_end/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,12 @@ variable "k8s_tiller_sa_name" {

variable "k8s_forseti_orchestrator_image_tag" {
description = "The tag for the container image for the Forseti orchestrator"
default = "v2.23.0"
default = "v2.23.1"
}

variable "k8s_forseti_server_image_tag" {
description = "The tag for the container image for the Forseti server"
default = "v2.23.0"
default = "v2.23.1"
}

variable "network" {
Expand Down
2 changes: 1 addition & 1 deletion helpers/import.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ printf "\nStarting import of Forseti resources to Terraform\n\n"

terraform import "module.$MODULE_LOCAL_NAME.google_project_service.main[0]" "$PROJECT_ID/admin.googleapis.com"
terraform import "module.$MODULE_LOCAL_NAME.google_project_service.main[1]" "$PROJECT_ID/appengine.googleapis.com"
terraform import "module.$MODULE_LOCAL_NAME.google_project_service.main[2]" "$PROJECT_ID/bigquery-json.googleapis.com"
terraform import "module.$MODULE_LOCAL_NAME.google_project_service.main[2]" "$PROJECT_ID/bigquery.googleapis.com"
terraform import "module.$MODULE_LOCAL_NAME.google_project_service.main[3]" "$PROJECT_ID/cloudbilling.googleapis.com"
terraform import "module.$MODULE_LOCAL_NAME.google_project_service.main[4]" "$PROJECT_ID/cloudresourcemanager.googleapis.com"
terraform import "module.$MODULE_LOCAL_NAME.google_project_service.main[5]" "$PROJECT_ID/sql-component.googleapis.com"
Expand Down
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ locals {
services_list = [
"admin.googleapis.com",
"appengine.googleapis.com",
"bigquery-json.googleapis.com",
"bigquery.googleapis.com",
"cloudbilling.googleapis.com",
"cloudresourcemanager.googleapis.com",
"sql-component.googleapis.com",
Expand Down
2 changes: 1 addition & 1 deletion modules/client/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ variable "project_id" {

variable "forseti_version" {
description = "The version of Forseti to install"
default = "v2.23.0"
default = "v2.23.1"
}

variable "forseti_repo_url" {
Expand Down
3 changes: 3 additions & 0 deletions modules/client/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@

terraform {
required_version = ">= 0.12"
required_providers {
google = "~> 2.11"
}
}
6 changes: 3 additions & 3 deletions modules/on_gke/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ This sub-module deploys Forseti on GKE. In short, this deploys a server contain
| forseti\_home | Forseti installation directory | string | `"$USER_HOME/forseti-security"` | no |
| forseti\_repo\_url | Git repo for the Forseti installation | string | `"https://github.com/forseti-security/forseti-security"` | no |
| forseti\_run\_frequency | Schedule of running the Forseti scans | string | `"null"` | no |
| forseti\_version | The version of Forseti to install | string | `"v2.23.0"` | no |
| forseti\_version | The version of Forseti to install | string | `"v2.23.1"` | no |
| forwarding\_rule\_enabled | Forwarding rule scanner enabled. | bool | `"false"` | no |
| forwarding\_rule\_violations\_should\_notify | Notify for forwarding rule violations | bool | `"true"` | no |
| git\_sync\_image | The container image used by the config-validator git-sync side-car | string | `"gcr.io/google-containers/git-sync"` | no |
Expand Down Expand Up @@ -113,9 +113,9 @@ This sub-module deploys Forseti on GKE. In short, this deploys a server contain
| k8s\_config\_validator\_image\_tag | The tag for the config-validator image. | string | `"latest"` | no |
| k8s\_forseti\_namespace | The Kubernetes namespace in which to deploy Forseti. | string | `"forseti"` | no |
| k8s\_forseti\_orchestrator\_image | The container image for the Forseti orchestrator | string | `"gcr.io/forseti-containers/forseti"` | no |
| k8s\_forseti\_orchestrator\_image\_tag | The tag for the container image for the Forseti orchestrator | string | `"v2.23.0"` | no |
| k8s\_forseti\_orchestrator\_image\_tag | The tag for the container image for the Forseti orchestrator | string | `"v2.23.1"` | no |
| k8s\_forseti\_server\_image | The container image for the Forseti server | string | `"gcr.io/forseti-containers/forseti"` | no |
| k8s\_forseti\_server\_image\_tag | The tag for the container image for the Forseti server | string | `"v2.23.0"` | no |
| k8s\_forseti\_server\_image\_tag | The tag for the container image for the Forseti server | string | `"v2.23.1"` | no |
| k8s\_forseti\_server\_ingress\_cidr | If network_policy is true, k8s_forseti_server_ingress_cidr will restrict connections to the Forseti Server service from the CIDR's specified | string | `""` | no |
| k8s\_tiller\_sa\_name | The Kubernetes Service Account used by Tiller | string | `"tiller"` | no |
| ke\_scanner\_enabled | KE scanner enabled. | bool | `"false"` | no |
Expand Down
2 changes: 1 addition & 1 deletion modules/on_gke/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ locals {
services_list = [
"admin.googleapis.com",
"appengine.googleapis.com",
"bigquery-json.googleapis.com",
"bigquery.googleapis.com",
"cloudbilling.googleapis.com",
"cloudresourcemanager.googleapis.com",
"sql-component.googleapis.com",
Expand Down
6 changes: 3 additions & 3 deletions modules/on_gke/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ variable "gsuite_admin_email" {

variable "forseti_version" {
description = "The version of Forseti to install"
default = "v2.23.0"
default = "v2.23.1"
}

variable "forseti_repo_url" {
Expand Down Expand Up @@ -879,7 +879,7 @@ variable "k8s_forseti_orchestrator_image" {

variable "k8s_forseti_orchestrator_image_tag" {
description = "The tag for the container image for the Forseti orchestrator"
default = "v2.23.0"
default = "v2.23.1"
}

variable "k8s_forseti_server_image" {
Expand All @@ -889,7 +889,7 @@ variable "k8s_forseti_server_image" {

variable "k8s_forseti_server_image_tag" {
description = "The tag for the container image for the Forseti server"
default = "v2.23.0"
default = "v2.23.1"
}

variable "k8s_forseti_server_ingress_cidr" {
Expand Down
4 changes: 4 additions & 0 deletions modules/on_gke/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,8 @@

terraform {
required_version = ">= 0.12"
required_providers {
google = "~> 2.12"
helm = "~> 0.10"
}
}
3 changes: 3 additions & 0 deletions modules/real_time_enforcer/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@

terraform {
required_version = ">= 0.12"
required_providers {
google = "~> 2.11"
}
}
2 changes: 1 addition & 1 deletion modules/rules/templates/rules/enabled_apis_rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
# resource_ids:
# - '*'
# services:
# - 'bigquery-json.googleapis.com'
# - 'bigquery.googleapis.com'
# - 'clouddebugger.googleapis.com'
# - 'cloudtrace.googleapis.com'
# - 'compute.googleapis.com'
Expand Down
2 changes: 1 addition & 1 deletion modules/server/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ variable "project_id" {

variable "forseti_version" {
description = "The version of Forseti to install"
default = "v2.23.0"
default = "v2.23.1"
}

variable "forseti_repo_url" {
Expand Down
3 changes: 3 additions & 0 deletions modules/server/versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@

terraform {
required_version = ">= 0.12"
required_providers {
google = "~> 2.11"
}
}
2 changes: 1 addition & 1 deletion test/integration/simple_example/controls/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
require "yaml"

forseti_server_vm_ip = attribute("forseti-server-vm-ip")
forseti_version = "2.23.0"
forseti_version = "2.23.1"

control "client" do
title "Forseti client instance resources"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/simple_example/controls/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

require "yaml"

forseti_version = "2.23.0"
forseti_version = "2.23.1"

control "server" do
title "Forseti server instance resources"
Expand Down
2 changes: 1 addition & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ variable "gsuite_admin_email" {

variable "forseti_version" {
description = "The version of Forseti to install"
default = "v2.23.0"
default = "v2.23.1"
}

variable "forseti_repo_url" {
Expand Down
2 changes: 2 additions & 0 deletions versions.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
terraform {
required_version = ">= 0.12"
required_providers {
google = "~> 2.11"
helm = "~> 0.10"
null = "~> 2.0"
template = "~> 2.0"
random = "~> 2.0"
Expand Down

0 comments on commit cf5e3ff

Please sign in to comment.