Skip to content

Use of script for user-id updates appears to cause errors in ms.log #23

Description

@benisek

Use of the panxapi.py script to update user-id ip-user mappings yields the following errors messages in the ms.log file of PAN-OS 7.1.12 and PAN-OS 8.0.5 firewalls

TIMESTAMP Getting authorization info for user USERNAME succeeded.
TIMESTAMP Error: _pan_schema_verify_node(pan_schema_obj.c:5515): unexpected here , node: value near line 1
TIMESTAMP Error: _pan_schema_verify_node(pan_schema_obj.c:5770): is unexpected , node: hide-ip near line 1
TIMESTAMP Error: _pan_schema_verify_node(pan_schema_obj.c:5770): is unexpected , node: cli near line 1
TIMESTAMP Error: _pan_schema_verify_node(pan_schema_obj.c:5770): is unexpected , node: set near line 1
TIMESTAMP client useridd reported op command was SUCCESSFUL

If the same example is submitted via https://firewall/api under API->user-id -> data, no error is observed in the ms.log and the firewall provides a response status of success.

Note - the error messages do not appear to impact implementation of ip-user-mappings.

To reproduce...
panxapi.py -h firewall --vsys $vsys -U path_of_xml.xml

Sample XML is:






update
1.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions