Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Ankur_Datta
Collaborator

R80.10 smart dashboard has overview Tab as available in R77.30

Hi,

Does R80.10 dashboard has Overview tab that was available in R77.30?

 

The requirement is we need to check how many rules configured and out of which how many are disabled or expired.

 

Scrolling through rule base having rules more that 5000 takes much time.

Policy.PNG

Thanks

0 Kudos
3 Replies
PhoneBoy
Admin
Admin

That specific screen? No.
That said, you could potentially figure this out using the API and a bit of scripting.
What's the end game here?
In other words, what do you plan to do with the information?
0 Kudos
Ankur_Datta
Collaborator

Hi Phone Boy,

 

the customer needs report of complete rule base configured on Management server at multiple locations. Using the above screenshot its easy to pull out details.

 

Thanks

0 Kudos
PhoneBoy
Admin
Admin

That doesn't explain what they plan on doing with the information.

If you're going to delete rules with zero hit count, for instance, you can automate that.

If you just want to know how many rules are disabled on a given policy layer, something like the following would work, assuming a rulebase of less than 500 lines:

mgmt_cli -r true --format json show access-rulebase name "MyPolicy Network" | jq '.rulebase[].enabled' | grep false | wc -l

Variations of the above could be used to give you other information. See also the API docs.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events