Releases: mondoohq/terraform-provider-mondoo
Releases · mondoohq/terraform-provider-mondoo
v0.12.0
What's Changed
- ⭐️ added data source for compliance frameworks by @mati007thm in #119
Full Changelog: v0.11.1...v0.12.0
v0.11.1
What's Changed
- Added Resource imports for Terraform by @mati007thm in #118
- Bump the gomodupdates group with 3 updates by @dependabot in #122
- Bump actions/setup-go from 5.0.1 to 5.0.2 by @dependabot in #121
Full Changelog: v0.11.0...v0.11.1
v0.11.0
With #112 we introduced a new data source to access active policies via a data source:
data "mondoo_active_policy" "policy" {
space_id = "your-space-1234567"
}
In addition, users can use terraform to enable compliance frameworks and even upload custom frameworks:
provider "mondoo" {
region = "us"
}
variable "mondoo_org" {
description = "The Mondoo Organization ID"
type = string
default = "my-org-1234567"
}
variable "my_custom_framework" {
description = "Path to the custom policy file. The file must be in MQL format."
type = string
default = "framework.mql.yaml"
}
# Create a new space
resource "mondoo_space" "my_space" {
name = "Custom Framework Space"
org_id = var.mondoo_org
}
resource "mondoo_custom_framework" "compliance_framework_example" {
space_id = mondoo_space.my_space.id
data_url = var.my_custom_framework
}
Huge kudos to @Pauti and @mati007thm for those contributions.
What's Changed
- ✨ Added custom compliance framework upload and compliance framework (de)activation by @Pauti in #108
- ⭐️ Policy data source by @mati007thm in #112
Full Changelog: v0.10.0...v0.11.0
v0.10.0
Thanks to the contribution from @Pauti users have full access to the asset list of a Mondoo space and can leverage them in terraform hcl:
terraform {
required_providers {
mondoo = {
source = "mondoohq/mondoo"
version = ">= 0.4.0"
}
}
}
provider "mondoo" {
region = "us"
}
variable "mondoo_org" {
description = "Mondoo Organization"
type = string
}
# Create a new space
resource "mondoo_space" "my_space" {
name = "Terraform Space"
org_id = var.mondoo_org
}
# Setup the Domain integration
resource "mondoo_integration_domain" "domain_integration" {
space_id = mondoo_space.my_space.id
host = "mondoo.com"
https = true
http = false
}
data "mondoo_assets" "my_space" {
space_id = mondoo_space.my_space.id
}
output "asset_mrns" {
description = "MRNs of the assets"
value = [for asset in data.mondoo_assets.my_space.assets : asset.mrn]
}
output "asset_names" {
description = "Names of the assets"
value = [for asset in data.mondoo_assets.my_space.assets : asset.name]
}
What's Changed
- Bump github.com/hashicorp/terraform-plugin-testing from 1.7.0 to 1.8.0 in the gomodupdates group by @dependabot in #102
- Bump github.com/hashicorp/terraform-plugin-docs from 0.19.2 to 0.19.3 in the gomodupdates group by @dependabot in #107
- Bump the gomodupdates group with 2 updates by @dependabot in #110
- Bump goreleaser/goreleaser-action from 5.1.0 to 6.0.0 by @dependabot in #109
- ⭐️ Added resource validations by @Pauti in #114
- feat: added asset data source by @Pauti in #113
- 🐛 space and org data source by @mati007thm in #111
- 🧹 update dependencies by @chris-rock in #115
- 🐛 update goreleaser version by @chris-rock in #116
- 🧹 update changelog config for goreleaser by @chris-rock in #117
Full Changelog: v0.9.0...v0.10.0
v0.9.0
What's Changed
- Bump contributor-assistant/github-action from 2.3.2 to 2.4.0 by @dependabot in #101
- Bump hashicorp/setup-terraform from 3.1.0 to 3.1.1 by @dependabot in #100
- Bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 by @dependabot in #98
- Bump goreleaser/goreleaser-action from 5.0.0 to 5.1.0 by @dependabot in #99
- ⭐️ AWS integration by @chris-rock in #83
Full Changelog: v0.8.0...v0.9.0
v0.8.0
v0.7.0
What's Changed
- Bump golangci/golangci-lint-action from 4.0.0 to 5.1.0 by @dependabot in #87
- Bump hashicorp/setup-terraform from 3.0.0 to 3.1.0 by @dependabot in #88
- Add spellcheck GHA + fix some spelling issues by @tas50 in #89
- Update copyright date to 2024 by @tas50 in #90
- Bump github.com/hashicorp/terraform-plugin-docs from 0.19.1 to 0.19.2 in the gomodupdates group by @dependabot in #86
- Bump golangci/golangci-lint-action from 5.1.0 to 5.3.0 by @dependabot in #93
- Bump actions/setup-go from 5.0.0 to 5.0.1 by @dependabot in #94
- feat: Integration ms365 resource by @Pauti in #91
- 🧹 update go dependencies by @chris-rock in #95
New Contributors
Full Changelog: v0.6.0...v0.7.0
v0.6.0
What's Changed
- feat: added slack integration by @Pauti in #72
- 🧹 improve the slack integration by @chris-rock in #85
Full Changelog: v0.5.0...v0.6.0
v0.5.0
What's Changed
- ⭐️ add cla bot by @chris-rock in #63
- Bump actions/checkout from 4.1.1 to 4.1.2 by @dependabot in #51
- 🐛 updated README.md by @mati007thm in #62
- 🧹 do not run acceptance tests for dependabot by @chris-rock in #64
- Bump the gomodupdates group with 4 updates by @dependabot in #65
- Bump actions/checkout from 4.1.2 to 4.1.3 by @dependabot in #68
- Bump github.com/hashicorp/terraform-plugin-docs from 0.19.0 to 0.19.1 in the gomodupdates group by @dependabot in #67
- 🧹 disable acceptance tests for external PRs since they have no access to the secrets by @chris-rock in #73
- feat: Integration azure resource by @mati007thm in #69
- feat: added domain integration by @Pauti in #71
- 🧹 update markdown description of resources by @chris-rock in #74
- 🧹 tf lint by @chris-rock in #75
- 🧹 update tested tf versions by @chris-rock in #76
- 🧹 lint hcl files by @chris-rock in #77
- ⭐️ output service account credential by @chris-rock in #79
- 🧹 require gcp integration name by @chris-rock in #80
- ⭐️ improve azure example by @chris-rock in #81
- 🧹 update go mods by @chris-rock in #82
- ⭐️ trigger immediate scan after the integration has been created by @chris-rock in #84
New Contributors
- @mati007thm made their first contribution in #62
- @Pauti made their first contribution in #71
Full Changelog: v0.4.0...v0.5.0
v0.4.0
What's Changed
- Bump golangci/golangci-lint-action from 3.7.0 to 4.0.0 by @dependabot in #41
- 🧹 update go dependencies by @chris-rock in #47
- ⭐️ add the SCIM group mapping resource by @chris-rock in #48
- ⭐️ organization and space data source by @chris-rock in #49
Full Changelog: v0.3.0...v0.4.0