Skip to content

Releases: mondoohq/terraform-provider-mondoo

v0.15.1

Choose a tag to compare

@chris-rock chris-rock released this 05 Aug 06:49
8a2eaf6

What's Changed

  • 📝 Fix AWS serverless integration example to use the right template URL. by @preslavgerchev in #126

Full Changelog: v0.15.0...v0.15.1

v0.15.0

Choose a tag to compare

@preslavgerchev preslavgerchev released this 30 Jul 21:02
787bb93

What's Changed

  • ✨ Delete AWS serverless integration when the TF resource is destroyed. by @preslavgerchev in #125

Full Changelog: v0.14.0...v0.15.0

v0.14.0

Choose a tag to compare

@preslavgerchev preslavgerchev released this 30 Jul 16:23
2de9145

What's Changed

New Contributors

Full Changelog: v0.13.0...v0.14.0

v0.13.0

Choose a tag to compare

@preslavgerchev preslavgerchev released this 30 Jul 12:36
6786c25

What's Changed

Full Changelog: v0.12.0...v0.13.0

v0.12.0

Choose a tag to compare

@chris-rock chris-rock released this 19 Jul 07:41
dc0deba

What's Changed

  • ⭐️ added data source for compliance frameworks by @mati007thm in #119

Full Changelog: v0.11.1...v0.12.0

v0.11.1

Choose a tag to compare

@chris-rock chris-rock released this 17 Jul 12:03
baebea9

What's Changed

Full Changelog: v0.11.0...v0.11.1

v0.11.0

Choose a tag to compare

@chris-rock chris-rock released this 02 Jul 09:47
7233095

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

Choose a tag to compare

@chris-rock chris-rock released this 28 Jun 13:56
5bb5468

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

Choose a tag to compare

@chris-rock chris-rock released this 20 May 09:18
4787a66

What's Changed

Full Changelog: v0.8.0...v0.9.0

v0.8.0

Choose a tag to compare

@chris-rock chris-rock released this 08 May 23:17
eb84668

What's Changed

Full Changelog: v0.7.0...v0.8.0