highbond_compliance_requirement (Resource)
Schema
Required
compliance_regulation_id | Number | The ID of the compliance regulation |
description | String | The detailed description of the requirement |
identifier | String | The identifier of the compliance requirement |
Optional
external_id | String | An optional identifier |
external_parent_id | String | An optional identifier of parent |
force_updates | Boolean | Allows overriding top-level 'create_only' option. |
id | String | The ID of this resource. |
name | String | The name of the compliance requirement |
parent_id | String | The ID of the associated parent reource |
position | Number | Position optional integer indicates position of compliance requirement in UI |
rationale | String | Rationale for the Requirement |
tags | List of String | List of applied tags. Must use elements from regulation's available_tags |
Read-Only
applicable | Boolean | Indicates whether requirement is covered/applicable |
coverage | Number | Coverage percentage |
covered | Boolean | Indicates whether requirement is covered/applicable |
created_at | String | The timestamp identifying when the requirement was created |
updated_at | String | The timestamp identifying when the requirement was last updated |
Example Usage
resource "highbond_compliance_regulation" "non_root_user" {
name = "My regulation250"
description = "Regulation details1"
external_id = "RG-1"
source = "Federal Trade Commission"
available_tags = ["foo", "foo1"]
tags = ["foo"]
locked = false
position = 1
force_updates = true // Create only with force update changes
}
resource "highbond_compliance_requirement" "compliance_requirement_parent" {
name = "Complaince Requirements Parent"
identifier = "REQ-2"
description = "Requirement details "
external_id = "EXT-2"
external_parent_id = "EXT-3"
tags = [
"foo"
]
rationale = "Requirement rationale"
compliance_regulation_id = highbond_compliance_regulation.main.id
position = 1
force_updates = true // Create only with force update changes
}
resource "highbond_compliance_requirement" "main" {
name = "Complaince Requirements"
identifier = "REQ-2"
description = "Requirement details "
external_id = "EXT-2"
external_parent_id = "EXT-3"
tags = [
"foo"
]
rationale = "Requirement rationale"
parent_id = highbond_compliance_requirement.compliance_requirement_parent.id
compliance_regulation_id = highbond_compliance_regulation.main.id
position = 1
force_updates = true // Create only with force update changes
}