forked from p34709852/monkey
Fix config structure
This commit is contained in:
parent
84315ad735
commit
f70493f3ce
|
@ -637,45 +637,45 @@ SCHEMA = {
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": True,
|
"default": True,
|
||||||
"description": "Determines whether monkey should scan its subnets additionally"
|
"description": "Determines whether monkey should scan its subnets additionally"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"network_range": {
|
||||||
|
"title": "Network range",
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"range_class": {
|
||||||
|
"title": "Range class",
|
||||||
|
"type": "string",
|
||||||
|
"default": "FixedRange",
|
||||||
|
"enum": [
|
||||||
|
"FixedRange",
|
||||||
|
"RelativeRange",
|
||||||
|
"ClassCRange"
|
||||||
|
],
|
||||||
|
"enumNames": [
|
||||||
|
"FixedRange",
|
||||||
|
"RelativeRange",
|
||||||
|
"ClassCRange"
|
||||||
|
],
|
||||||
|
"description": "Determines which class to use to determine scan range"
|
||||||
},
|
},
|
||||||
"network_range": {
|
"range_size": {
|
||||||
"title": "Network range",
|
"title": "Relative range size",
|
||||||
"type": "object",
|
"type": "integer",
|
||||||
"properties": {
|
"default": 1,
|
||||||
"range_class": {
|
"description": "Determines the size of the RelativeRange - amount of IPs to include"
|
||||||
"title": "Range class",
|
},
|
||||||
"type": "string",
|
"range_fixed": {
|
||||||
"default": "FixedRange",
|
"title": "Fixed range IP list",
|
||||||
"enum": [
|
"type": "array",
|
||||||
"FixedRange",
|
"uniqueItems": True,
|
||||||
"RelativeRange",
|
"items": {
|
||||||
"ClassCRange"
|
"type": "string"
|
||||||
],
|
},
|
||||||
"enumNames": [
|
"default": [
|
||||||
"FixedRange",
|
],
|
||||||
"RelativeRange",
|
"description": "List of IPs to include when using FixedRange"
|
||||||
"ClassCRange"
|
|
||||||
],
|
|
||||||
"description": "Determines which class to use to determine scan range"
|
|
||||||
},
|
|
||||||
"range_size": {
|
|
||||||
"title": "Relative range size",
|
|
||||||
"type": "integer",
|
|
||||||
"default": 1,
|
|
||||||
"description": "Determines the size of the RelativeRange - amount of IPs to include"
|
|
||||||
},
|
|
||||||
"range_fixed": {
|
|
||||||
"title": "Fixed range IP list",
|
|
||||||
"type": "array",
|
|
||||||
"uniqueItems": True,
|
|
||||||
"items": {
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
"default": [
|
|
||||||
],
|
|
||||||
"description": "List of IPs to include when using FixedRange"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue