Releases: JupiterOne/terraform-provider-jupiterone
Releases · JupiterOne/terraform-provider-jupiterone
v1.10.0
v1.9.1
v1.9.0
v1.8.0
v1.7.0
Add support for adding labels to rule instances. These are key/value pairs that will be treated as tags by the internal system of J1.
v1.6.0
Add ignore_previous_results option to rules. This allows the diffing logic to be skipped for rules that have no interest in the diffing results, such as data export rules.
v1.5.1
Implemented back off and retry logic when we receive a 429 from the jupiterone api.
v1.5.1
Implemented back off and retry logic when we receive a 429 from the jupiterone api.
v1.5.0
Fixed an issue that would arise from resources being deleted remotely but not flagged for recreation in state when an apply/plan was run.
v1.4.3
Add support for insight dashboards and widgets.
Example Terraform
terraform {
required_providers {
jupiterone = {
source = "JupiterOne/jupiterone"
version = "1.4.3"
}
}
}
provider "jupiterone" {}
resource "jupiterone_dashboard" "compliance_dashboard" {
name = "Compliance Dashboard"
type = "Account"
}
resource "jupiterone_widget" "compliance-score" {
title = "Compliance score"
dashboard_id = jupiterone_dashboard.compliance.id
description = "Percentage of compliance requirements that have no issues."
type = "number"
config = {
queries = [{
name = "Query1"
query = "FIND jupiterone_rule WITH [tag.CIS2.0]=true AS rules (THAT REPORTED jupiterone_rule_alert AS alerts)? RETURN (1-count(alerts)/count(rules))*100 AS value"
}]
settings = jsonencode({ number : { error : { limitCondition : "greaterThan", val1 : "0" } } })
}
}
resource "jupiterone_widget" "compliant-controls" {
title = "Number of compliant controls"
dashboard_id = jupiterone_dashboard.compliance.id
description = "Count of all controls that are compliant across all frameworks."
type = "number"
config = {
queries = [{
name = "Query1"
query = "FIND jupiterone_rule WITH [tag.CIS2.0]=true AS ENT THAT !RELATES TO jupiterone_rule_alert RETURN count(ENT) AS value"
}]
settings = jsonencode({ number : { success : { limitCondition : "greaterThan", val1 : "0" } } })
}
}