86 lines
1.5 KiB
JSON
86 lines
1.5 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"$id": "urn:ald-transition:host",
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"type": "string",
|
|
"maxLength": 36,
|
|
"format": "uuid"
|
|
},
|
|
"fqdn": {
|
|
"type": "string",
|
|
"maxLength": 253,
|
|
"format": "hostname"
|
|
},
|
|
"addresses": {
|
|
"type": "array",
|
|
"maxItems": 32,
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 45,
|
|
"format": "ip-address"
|
|
}
|
|
},
|
|
"os_family": {
|
|
"enum": [
|
|
"WINDOWS",
|
|
"ASTRA",
|
|
"LINUX",
|
|
"UNKNOWN"
|
|
]
|
|
},
|
|
"os_release": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"os_build": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"kernel": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"architecture": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
},
|
|
"detected_roles": {
|
|
"type": "array",
|
|
"maxItems": 10000,
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
}
|
|
},
|
|
"observed_at": {
|
|
"type": "string",
|
|
"maxLength": 40,
|
|
"format": "date-time"
|
|
},
|
|
"evidence_ids": {
|
|
"type": "array",
|
|
"maxItems": 10000,
|
|
"items": {
|
|
"type": "string",
|
|
"maxLength": 4096
|
|
}
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"fqdn",
|
|
"addresses",
|
|
"os_family",
|
|
"os_release",
|
|
"os_build",
|
|
"kernel",
|
|
"architecture",
|
|
"detected_roles",
|
|
"observed_at",
|
|
"evidence_ids"
|
|
],
|
|
"additionalProperties": false
|
|
}
|