diff --git a/inventory.schema.json b/inventory.schema.json index 222cb4d..566f1df 100644 --- a/inventory.schema.json +++ b/inventory.schema.json @@ -1635,6 +1635,44 @@ } } }, + "services": { + "type": "array", + "items": { + "type": "object", + "required": [ + "name" + ], + "properties": { + "name": { + "type": "string", + "examples": [ + "wuauserv" + ] + }, + "displayname": { + "type": "string", + "examples": [ + "Windows Update" + ] + }, + "description": { + "type": "string" + }, + "state": { + "type": "string", + "examples": [ + "Running" + ] + }, + "pathname": { + "type": "string", + "examples": [ + "C:\\WINDOWS\\system32\\svchost.exe -k netsvcs -p" + ] + } + } + } + }, "slots": { "type": "array", "items": { diff --git a/lib/php/Converter.php b/lib/php/Converter.php index 470b607..566760e 100644 --- a/lib/php/Converter.php +++ b/lib/php/Converter.php @@ -342,6 +342,7 @@ private function convertTo01(array $data): array 'volume_groups', 'memories', 'processes', + 'services', 'softwares', 'virtualmachines', 'firmwares',