redhat-cop / infra.leapp

Collection of Ansible roles for automating RHEL in-place upgrades using Leapp.
MIT License
43 stars 33 forks source link

Allow considering all high risk findings as inhibitors #197

Closed myllynen closed 1 month ago

myllynen commented 1 month ago

Leapp reports findings rated as high risk factor as high (inhibitor) and high. The former will prevent Leapp running while the latter won't. However, some of the latter could potentially cause notable issues under certain circumstances, such as preventing root logins making some systems inaccessible.

Now that there's a mechanism in place to ignore known inhibitors it could be helpful to optionally allow treating all high risk factor findings the same by the analysis role. This would mean that any high risk finding, unless listed as known, could be used to fail a playbook and thus forcing further investigation.

If this sounds something that could be added, on code level this should be relatively straightforward, slightly tweak filtering when parsing findings. Thanks.

djdanielsson commented 1 month ago

PR's welcome