nautobot / nautobot-app-golden-config

Golden Configuration App for Nautobot.
https://docs.nautobot.com/projects/golden-config/en/latest/
Other
98 stars 56 forks source link

Compliance checks without intended / backup configuration #729

Open viktorkertesz opened 6 months ago

viktorkertesz commented 6 months ago

Environment

We don't maintain backup nor full intended configuration for an isolated environment. Therefore running compliance checks are impossible without hacks.

Proposed Functionality

Can we set an option at compliance job not to check if a device have intended or backup configuration? In those cases, ignore git operation and also let the check run with custom compliance function.

Use Case

Our use case is that we don't rely on configuration directly but we use custom compliance function which works on device custom field data. Creating dummy data for intended and backup is ugly.

It may benefit others using similar compliance strategy.

itdependsnetworks commented 6 months ago

Perhaps a "faker" job, that generates the files for you that are all empty. This would still require you to have a git instance, but I think that is a reasonable in between as to handle this use case would likely result in a lot of extra conditional code.