Preserve rule order for documentation
Would it be possible to add a variable to the config to preserve the interfaces' rule order? This is helpful for preserving the logic of the flow of rulesets that have block rules.
Example rule:
- block access to private networks
- allow access to any
This rule flow blocks access to internal networks on other interfaces but allows access to the internet.
@olivierb46 Yes we need something like that too. Export the graphs based on the rules on each interface as is, from the top - down order
Hi,
I’ve already thought about this, but I’m concerned it might reduce the readability of the diagrams. The goal here is not to perform a configuration check, but rather a compliance check.
I’m not closing this feature request, but I need some time to think it through and run a few tests. Thanks for your understanding 🙂
Hello,
Yea, it will definitely make the readability much much worse. I meant to add it as an on/off option (by default off), sorry if i wasnt clear enough! The purpose for the request was to be able to easily dump all rules in their order for compliance check requests. Thanks for your time!
Look to the PR of matiasAS and with a little Webserver, which can be exposed to 443 to authorized Nets, you can address it. I would love to see that, having both Options, Config Check and Compliance Check. Second, the Harding makes also sense, and I would add a feature request: adding more than just one Firefall to it, each gets its own file repo, and if you consider to attach a Webserver (Personally I prefer Traefik over NGINX, you can filter them there. I am willingly to add Dev Resources to it beginning of may 26, if you can need some help. BTW. I never heard of CISO - until now. Also nice. Gonna Review and probably use it.
Hi,
I've added the rule order numbers for the firewall. By default, the rules are retrieved in order from the CSV files, but I had to reorder them by interface in the global CSV file. I added the rule order numbers in the destination labels. I still need to work on the display order with Graphviz because the rules are listed in descending order. However, I won't be able to show the exact order, as otherwise, we would end up crossing the flows, making the diagrams unreadable.
Thank you for your patience.