Skip to content

Configuration Item Checkbox Section

Sébastien Gallou edited this page Apr 14, 2023 · 1 revision

Checkbox sections

This type allows user to create an optional section. Section should be displayed by GUI with an enable/disable mark (like checkbox).

Non optionnal fields

Type descriptor

This field define the type as a checkbox section

"type" : "checkboxSection"

Content

The content section contains an item or a sub-section.

"authentication": {
  "type": "checkboxSection",
  "content": {
    "Password": {
      "type": "string",
      "encrypted": true,
      "required": true
    }
  }
}

Ooptionnal fields

The enable/disable state can be provided by the defautValue tag (default to false if not provided).

"defautValue" : true

Example

"authentication": {
  "type": "checkboxSection",
  "defaultValue": true,
  "content": {
    "Password": {
      "type": "string",
      "encrypted": true,
      "required": true
    }
  }
}
Clone this wiki locally