ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
12 stars 5 forks source link

Allow override for deploying rules with parse errors #855

Closed jw3 closed 1 year ago

jw3 commented 1 year ago

Allow an override option for deployment when the rule parser is saying the rules are invalid.

This would provide a workaround for bugs or missing parse capability that erroneously prevent deployment.

jw3 commented 1 year ago

Might want to add a configuration entry to disable this override by default, allowing it to be optionally enabled.

I am not a big fan of this extra dialog, but the point is to allow user to complete their workflow if the parser is incorrectly rejecting valid rules (which hasnt happened, but could). If user run into this they can change the config toml to allow the override to be displayed.

There will be a follow up issue to add that to the config.