Hello,
I have a large policy with many access sections and my goal is to add/edit a rule in a certain section. Before adding a rule, I have to make sure if there is access section with a specific name or not. There is a problem when there are several sections with the same name in the policy. In this case, when searching for a access section, I get the error "Requested object name [name] is not unique." instead of finding out its uid.
For example, I have sections with rules:
AAAA
BBBB
CCCC
AAAA
DDDD
Request:
https://x.x.x.x/web_api/show-access-section
{
"name": "AAAA",
"layer": "Policy Network"
}
{
"code": "generic_err_object_field_not_unique",
"message": "Requested object name [AAAA] is not unique."
}
In this case, I cannot find out the uid of the access section and also cannot add a rule to the "AAAA" access section by its name since it is not unique. Is there a way to add a rule to the first access section named "AAAA"?