That does appear to be the case:
[Expert@mgmt:0]# mgmt_cli -r true --format json show objects type "service-udp" filter "68"
{
"from" : 1,
"to" : 2,
"total" : 2,
"objects" : [ {
"uid" : "fca646b5-ef34-4df1-895d-7639e181501a",
"name" : "dhcp-rep-localmodule",
"type" : "service-udp",
"domain" : {
"uid" : "a0bbbc99-adef-4ef8-bb6d-defdefdefdef",
"name" : "Check Point Data",
"domain-type" : "data domain"
},
"port" : "68",
"icon" : "Services/UDPService",
"color" : "black"
}, {
"uid" : "22725520-8e10-4a91-98ac-dcd1f6c4a4dd",
"name" : "dhcp-req-localmodule",
"type" : "service-udp",
"domain" : {
"uid" : "a0bbbc99-adef-4ef8-bb6d-defdefdefdef",
"name" : "Check Point Data",
"domain-type" : "data domain"
},
"port" : "67",
"icon" : "Services/UDPService",
"color" : "black"
} ]
}
@Omer_Kleinstern is this expected behavior?
I did this in R81.10, but I assume this also happens in earlier versions.
Meanwhile, the result you're looking for is actually returned as part of the results, you just have to parse the output to find it.