Cannot add user to Security Rule by API

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Cannot add user to Security Rule by API

L2 Linker

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.
Cannot get username to the listCannot get username to the list


L3 Networker



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.

  • 1 replies
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 LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!