nautobot-app-golden-config icon indicating copy to clipboard operation
nautobot-app-golden-config copied to clipboard

Provide API/GraphQL endpoint to return a boolean for status of overall diff (Compliance Details)

Open gneville-ot opened this issue 7 months ago • 2 comments

Environment

  • Nautobot version: 1.6.4
  • nautobot-golden-config version: 1.6.3

Proposed Functionality

Use Case

Within the UI if a device's backup config doesn't match the intended config then a notebook icon appears for the device within the "Config Overview" page. This is rather useful as it can pickup differences that you haven't defined as individual features within the plugin, so this is a way of picking up config lines that aren't being checked or should just not be present on the device. The challenge with using the features is you have to know everything you're looking for, including things that may not even be in the intended config before you know if the device is fully compliant, whereas this "Compliance Details" picks up those differences as it is just comparing two files.

It would be useful to have an API/GraphQL endpoint to return a boolean if a device has a diff between the backup and intended config (overall, not per feature).

gneville-ot avatar Nov 15 '23 13:11 gneville-ot