Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Naveen_
Explorer

Checkpoint Rule Count of each policy in CMA from MDS

We have 20 Domains in MDS and each CMA has 5-6 policies and Cluster Gateways.

How to get the rule count from each policies in CMA's from MDS using any Script or any command ?

API and CLI Discussion Ansible 

0 Kudos
1 Reply
PhoneBoy
Admin
Admin

This is not really a task you'd perform with Ansible, FYI, since Ansible playbooks describe the desired state, not the precise commands you'd execute.

If you're just looking for a count of rules on each policy layer (note more than one layer may be used by a security gateway depending on the configuration), at a high level, something like (for each CMA):

The above should be scriptable.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82

    Tue 23 Apr 2024 @ 11:00 AM (EDT)

    East US: What's New in R82

    Thu 25 Apr 2024 @ 11:00 AM (SGT)

    APAC: CPX 2024 Recap

    Tue 30 Apr 2024 @ 03:00 PM (CDT)

    EMEA: CPX 2024 Recap

    Thu 02 May 2024 @ 11:00 AM (SGT)

    APAC: What's new in R82
    CheckMates Events