Unsolved
1 Message
0
875
OME API Configuration Compliance
I've successfully created some reporting against the REST API for firmware compliance, however when I've come to do the same for configuration compliance, I'm having some difficulties.
There doesn't seem to be the same level of support for this in the API compared with firmware compliance (where we can use /api/UpdateService/Baselines(Id)/DeviceComplianceReports )
I have managed to get some information from /api/DeviceService/Devices(Id)/Baselines -> Content.BaselineDetail however this reports OK even if the configuration is not in compliance.
Has anyone managed to do this, or have any suggestions?
dowlingr
4 Posts
0
May 27th, 2020 08:00
I raised a call for this, and it turns out there are some undocumented API calls for this
https:// /api/TemplateService/Baselines
https:// /api/TemplateService/Baselines(id)//DeviceConfigComplianceReports
Using those I was able to retrieve the compliance status and produce the reports I needed.
dowlingr
4 Posts
0
May 27th, 2020 08:00
Lol, I obviously have 2 accounts