Cannot add user to Security Rule by API

L2 Linker

Cannot add user to Security Rule by API

There is a good example how to add user by API


If I put the XML from the example to

<entry name="domain\user1" ip="" />
<entry name="group1">
<entry name="user1" />
<entry name="domain\user2" />
<entry name="group2">
<entry name="user3" />


Then it works well:

<response status="success">
<payload> </payload>


admin@PA-220> show user ip-user-mapping all


IP                                            Vsys                From    User                             IdleTimeout(s) MaxTimeout(s)

--------------------------------------------- ------------------- ------- -------------------------------- -------------- -------------                                  vsys1               XMLAPI  domain\user1                     2696           2696         

Total: 1 users


But I cannot see this user "domain\user1" from security policy rule. Why? I see only group name.
Снимок экрана 2019-09-30 в 19.07.18.pngCannot get username to the list

L2 Linker

Re: Cannot add user to Security Rule by API



I noticed similar behavior in the past. Try to type the username manually in the rule base and commit it. See if you can see logs for that security rule.

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!