Hello,
As the Subject says, I would like to check if a specific rule is or is not part of the section.
Example:
My goal is to check if rule number 3 is part of "access-section" or not.
I can check all sections and check "from" and "to" and compare it with specific rule. But is there any other solution for that ?
The main purpose is that in case there is no rule included in section, I need to run API as follows:
.rulebase[].uid
but in case rule is part of a section, then the API call must be modified as:
.rulebase[].rulebase[].uid
@Tomer_Sole and @Nicolas_Boisse provided some inspiration within GitHub
Kind regards,
Jozko Mrkvicka