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

Rule UID conversion

does anyone know how to convert rule UID to rule number?  

firewall rule UID

c21925f0-9eee-4ab0-9777-56b3dfbaa206

what's the rule number?

1 Solution

Accepted Solutions
Wayne_Situ
Participant

Thanks guys.  

I found a workaround.  from R80.x dashboard, 'Actions\Go To Rule'.  enter the rule UID would take me to that rule.

View solution in original post

3 Replies
PhoneBoy
Admin
Admin

As far as I know, none of the API calls return the actual rule number.

The best you can get is the rule name using, say, show-object.

[Expert@MGMT:0]# mgmt_cli -r true show-object uid cdc6ad83-9b58-47f7-b4aa-39aaa059c662

object:

  uid: "cdc6ad83-9b58-47f7-b4aa-39aaa059c662"

  name: "Cleanup rule"

  type: "access-rule"

  domain:

    uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"

    name: "SMC User"

    domain-type: "domain"

Kaspars_Zibarts
MVP Gold CHKP MVP Gold CHKP
MVP Gold CHKP

It's a bit long-winded process as you need to dump the whole rulebase with "show access-rulebase" API command

There you can correlate UID vs rule #

0 Kudos
Wayne_Situ
Participant

Thanks guys.  

I found a workaround.  from R80.x dashboard, 'Actions\Go To Rule'.  enter the rule UID would take me to that rule.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    Thu 07 May 2026 @ 01:30 PM (AEST)

    CheckMates Live Sydney

    Tue 02 Jun 2026 @ 09:00 AM (CEST)

    CheckMates Live Denmark - Aarhus

    Wed 03 Jun 2026 @ 09:00 AM (CEST)

    CheckMates Live Denmark - Copenhagen
    CheckMates Events