The earliest recollection of this bug is traced back to PAN-OS 8.1.12 - January 09, 2024.
This bug is fixed in PAN-OS versions 8.1.12.
Fixed an issue where an API call against a Panorama management server, which triggered the request analyze-shared-policy command caused Panorama to reboot after you executed the command.
For more information:
https://docs.paloaltonetworks.com/pan-os/8-1/pan-os-release-notes/pan-os-8-1-addressed-issues/pan-os-8-1-12-addressed-issues