All os detection now uses Yaml (#12186)

* All os detection now uses Yaml
Move OS detection code into the Core module.
Defer all OS with snmp queries.
Add snmpwalk option.
Port ubnt and mobileiron to yaml.

* Silly ide refactor
This commit is contained in:
Tony Murray
2020-10-05 07:26:37 -05:00
committed by GitHub
parent 210be6266e
commit 88b40c3d6c
21 changed files with 254 additions and 172 deletions

View File

@@ -41,7 +41,8 @@
"sysDescr_regex": {"$ref": "#/definitions/regex_group"},
"sysDescr_regex_except": {"$ref": "#/definitions/regex_group"},
"snmpget": {"$ref": "#/definitions/snmpget"},
"snmpget_except": {"$ref": "#/definitions/snmpget"}
"snmpget_except": {"$ref": "#/definitions/snmpget"},
"snmpwalk": {"$ref": "#/definitions/snmpget"}
},
"minProperties": 1,
"additionalProperties": false
@@ -426,7 +427,8 @@
"required": [
"os",
"text",
"type"
"type",
"discovery"
],
"definitions": {
"string_group": {