Cortex ignores defaultValue of configurationItems of type boolean when this one is set to false.
For example with FileInfo:
Configuration
"configurationItems": [
{
"name": "manalyze_enable",
"description": "Wether to enable manalyze submodule or not.",
"type": "boolean",
"required": true,
"multi": false,
"defaultValue": false
},
{
"name": "manalyze_enable_docker",
"description": "Use docker to run Manalyze. Can be used only if not using the docker image of FileInfo",
"type": "boolean",
"required": false,
"multi": false,
"defaultValue": false
},
{
"name": "manalyze_enable_binary",
"description": "Use local binary to run Manalyze. Need to compile it before!",
"type": "boolean",
"required": false,
"multi": false,
"defaultValue": false
},
Results
Configuration
What happens when some are set to true ?
{
"name": "manalyze_enable",
"description": "Wether to enable manalyze submodule or not.",
"type": "boolean",
"required": true,
"multi": false,
"defaultValue": true
},
{
"name": "manalyze_enable_docker",
"description": "Use docker to run Manalyze. Can be used only if not using the docker image of FileInfo",
"type": "boolean",
"required": false,
"multi": false,
"defaultValue": false
},
{
"name": "manalyze_enable_binary",
"description": "Use local binary to run Manalyze. Need to compile it before!",
"type": "boolean",
"required": false,
"multi": false,
"defaultValue": true
},
Result in Cortex
The text was updated successfully, but these errors were encountered:
Request Type
Bug
Problem Description
Cortex ignores
defaultValue
of configurationItems of typeboolean
when this one is set tofalse
.For example with FileInfo:
Configuration
Results
Configuration
What happens when some are set to
true
?Result in Cortex
The text was updated successfully, but these errors were encountered: