Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Satya2021
Contributor
Jump to solution

Filter disable rule at one time

can we Filter disable rule at one time in R80.40 I mean we have 5000 rule and 670 rule are disabled so can we filter at one time through cli or smart console

0 Kudos
1 Solution

Accepted Solutions
PhoneBoy
Admin
Admin

From the API itself? No.
Via piping multiple mgmt_cli calls through the right jq command? Probably.
It might be easier to export the rulebase via CSV in SmartConsole and do the filtering in Excel.

View solution in original post

3 Replies
PhoneBoy
Admin
Admin

From the API itself? No.
Via piping multiple mgmt_cli calls through the right jq command? Probably.
It might be easier to export the rulebase via CSV in SmartConsole and do the filtering in Excel.

Satya2021
Contributor

Thanks for this. Could you please share command to filter

0 Kudos
PhoneBoy
Admin
Admin

What is your precise goal here?
Are you trying to find all the disabled rules or show all the rules without the disabled ones?
And once you have these rules, what is it you plan to do with the information?

Some advice/scripts mentioned in this thread that might help: https://community.checkpoint.com/t5/Management/Deletion-of-disabled-rules-in-R80-10/m-p/75826/highli...

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events