Skip to content

Releases: JupiterOne/terraform-provider-jupiterone

v1.10.0

14 Nov 21:08
5e05be1
Compare
Choose a tag to compare
  • Add support for jupiterone_resource_group resource
  • Add support for jupiterone_resource_group data source
  • Fix jupiterone_resource_permission behavior on update to correctly reflect new subject_id, subject_type, resource_id, resource_type, or resource_area

v1.9.1

13 Nov 17:55
7e0b725
Compare
Choose a tag to compare
  • Update jupiterone_rule resource with resource_group_id property

v1.9.0

11 Nov 14:35
11a4d47
Compare
Choose a tag to compare
  • Add jupiterone_resource_permission resource
  • Add support for collection_id on a jupiterone_rule

v1.8.0

31 Oct 18:15
64485b9
Compare
Choose a tag to compare

What's Changed

  • Add support for insights inline parameters
  • Add support for integrations

v1.7.0

23 Oct 19:07
9e71751
Compare
Choose a tag to compare

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

22 Aug 15:38
b92fe3e
Compare
Choose a tag to compare

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

09 Aug 19:31
8bc435b
Compare
Choose a tag to compare

Implemented back off and retry logic when we receive a 429 from the jupiterone api.

v1.5.1

09 Aug 19:04
8bc435b
Compare
Choose a tag to compare

Implemented back off and retry logic when we receive a 429 from the jupiterone api.

v1.5.0

05 Aug 22:59
c145a6d
Compare
Choose a tag to compare

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

03 Jul 18:29
dedc5dd
Compare
Choose a tag to compare

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" } } })
  }
}