userid_lookup
Look up the user mapped to an IP address and the groups that user belongs to on a managed firewall, verifying that user/group-based rules can match that IP.
Instructions
[READ-ONLY] User-ID state on a managed firewall: which user is mapped to an IP (show user ip-user-mapping) and/or which groups a user belongs to (show user user-ids match-user). A missing mapping means user/group-based rules cannot match that IP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | IP address | |
| user | No | User name, with or without domain (e.g. 'jdoe' or 'corp\\jdoe') | |
| device | No | Specific firewall (hostname or serial). Usually omit it: the firewall is chosen from device_group, or from the user's/IP's recent traffic. | |
| firewall | No | Panorama entry from firewalls.json. Optional when a single Panorama is configured. | |
| device_group | No | Device group name (includes what it inherits from shared and parent groups), or 'shared'. When omitted, every location is searched. |