113 lines
2.1 KiB
JSON
113 lines
2.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"type": "object",
|
|
"properties": {
|
|
"schema_version": {
|
|
"const": 1
|
|
},
|
|
"task": {
|
|
"const": "windows.discovery"
|
|
},
|
|
"observed_at": {
|
|
"type": "string",
|
|
"format": "date-time"
|
|
},
|
|
"os_edition": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"os_release": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"os_build": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"architecture": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"domain_role": {
|
|
"type": "integer",
|
|
"minimum": 0,
|
|
"maximum": 5
|
|
},
|
|
"part_of_domain": {
|
|
"type": "boolean"
|
|
},
|
|
"domain": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"name": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"powershell_version": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"optional_features": {
|
|
"type": "array",
|
|
"maxItems": 16,
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"state": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"state"
|
|
],
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"feature_inventory_complete": {
|
|
"type": "boolean"
|
|
},
|
|
"sshd_state": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"errors": {
|
|
"type": "array",
|
|
"maxItems": 100,
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
}
|
|
},
|
|
"synthetic": {
|
|
"const": false
|
|
}
|
|
},
|
|
"required": [
|
|
"schema_version",
|
|
"task",
|
|
"observed_at",
|
|
"os_edition",
|
|
"os_release",
|
|
"os_build",
|
|
"architecture",
|
|
"domain_role",
|
|
"part_of_domain",
|
|
"domain",
|
|
"name",
|
|
"powershell_version",
|
|
"optional_features",
|
|
"feature_inventory_complete",
|
|
"sshd_state",
|
|
"errors",
|
|
"synthetic"
|
|
],
|
|
"additionalProperties": false
|
|
}
|