I am using user account that is configured as Multi Domain Super User in CheckPoint SmartConsole.
$FWDIR/scripts/web_api_show_package.sh -o /var/log/ -u user -p password
To expert mode, I am logged as admin user.
I tried command above which should include all gateways, based on .elg file I logged in successfully, but I am getting this:
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-gateways-and-servers' with details level 'full'
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 29 gateways from 'show-gateways-and-servers'
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.ShowPackageTool.collectGatewaysInUseAndInstalledPolicies()INFO]: Found 24 gateways that have a policy installed on them
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-vpn-communities-star' with details level 'full'
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-vpn-communities-meshed' with details level 'full'
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 0 vpn communities
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-packages' with details level 'full'
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 0 packages
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.MyLogger.warning()WARNING]: No packages found on the server. Try to login to a user's domain
[6/8/26 8:36 PM com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: Script finished running with warnings!
Here: https://www.youtube.com/watch?v=dsmwZDXF7kM in 4:30 not even use admin, password and working smoothly. In my case through MDS no luck, when I switch to specific domain, login successfull, but no real output.