highbond_control (Data Source)

Example Usage

data "highbond_project_type" "main" {
  name = "Test project type name"
}

data "highbond_framework" "main" {
  name = "Test framework name"
}

// Sample for framework objective
data "highbond_objective" "famework_objective" {
  title                = "Test objective framework"
  parent_resource_id   = data.highbond_framework.main.frameworks[0].id
  parent_resource_type = "frameworks"
}

data "highbond_control" "main" {
  control_id   = "C01"
  objective_id = data.highbond_objective.famework_objective.objectives[0].id
}

//  We can access this datasource value as below:: data.highbond_control.main.controls[0].id

Schema

Required

  • control_id (String)
  • objective_id (Number)

Read-Only

  • controls (List of Object) (see below for nested schema)
  • id (String) The ID of this resource.
  • is_available (Boolean)

Nested Schema for controls

Read-Only:

  • control_id (String)
  • control_test_plan_id (String)
  • control_tests_ids (List of String)
  • control_type (String)
  • created_at (String)
  • custom_attributes (Set of Object) (see below for nested schema)
  • description (String)
  • entities (List of String)
  • framework_origin_id (String)
  • frequency (String)
  • id (String)
  • method (String)
  • mitigation_ids (List of String)
  • objective_id (Number)
  • owner (String)
  • owner_user (String)
  • position (Number)
  • prevent_detect (String)
  • status (String)
  • title (String)
  • updated_at (String)
  • walkthrough_id (String)

Nested Schema for controls.custom_attributes

Read-Only:

  • id (String)
  • term (String)
  • value (Set of String)