[3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: The parameters that were received: domain:(-d)=10.185.65.55 userRequestPackage:(-k)=bbfire_20030807 folderPath:(-o)=/home/admin/ [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Limit number of object per page: 10 [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Local Ips: [10.185.65.77, 10.185.65.73, 10.185.65.78, 10.185.65.63, 10.185.65.58, 10.185.65.60, 10.185.65.85, 10.185.65.68, 10.185.65.66, 10.185.65.53, 10.185.65.59, 10.185.65.52, 10.185.65.61, 10.185.65.64, 10.185.65.69, 10.185.65.55, 10.185.65.65, 10.185.65.51, 10.185.65.54, 10.185.65.70, 10.185.65.84, 10.185.65.75, 10.185.65.76, 10.185.65.57, 10.185.65.82, 10.185.65.67, 10.185.65.74, 10.185.65.83, 10.185.65.50, 10.185.65.56, 10.185.65.71, 10.185.65.6, 169.254.0.2, 127.0.0.1] [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Login As root: true [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Login with 'read-only' flag. [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.writeTheVersionsToTheLogger()INFO]: Management API running version: 1.7.1 [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.writeTheVersionsToTheLogger()INFO]: show_package v2.0.6 [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.writeTheVersionsToTheLogger()INFO]: Chosen port: 443 [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Chosen server IP: 127.0.0.1 [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Login response: {"api-server-version":"1.7.1","last-login-was-at":{"iso-8601":"2022-03-09T08:49+0100","posix":1646812187},"standby":false,"read-only":true,"url":"https:\/\/127.0.0.1:443\/web_api","sid":"O_FPqSm6uaLQzXahf4rbMu1otfNXM9UCvpXpFQveEMw"} [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-gateways-and-servers' with details level 'full' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 10 gateways from 'show-gateways-and-servers' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.collectGatewaysInUseAndInstalledPolicies()INFO]: Found 2 gateways that have a policy installed on them [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-vpn-communities-star' with details level 'full' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-vpn-communities-meshed' with details level 'full' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 1 vpn communities [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.showPackages()INFO]: Show only a specific package (the one that was entered as an argument): 'bbfire_20030807' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Starting to process layers of package 'bbfire_20030807' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-package' bbfire_20030807' with details level 'full' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 2 access layer(s) in package: 'bbfire_20030807' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.buildLayers()INFO]: Access layer(s) that were found in package 'bbfire_20030807' are: FW_Communication_TPG Security, bbfire_20030807 Security, [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 2 threat layer(s) in package: 'bbfire_20030807' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.buildLayers()INFO]: Threat layer(s) that were found in package 'bbfire_20030807' are: IPS, bbfire_20030807 Threat Prevention, [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found nat layer in package: 'bbfire_20030807' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Handle access layers [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.showAccessRulebase()INFO]: Starting handling access layer: 'FW_Communication_TPG Security' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-access-rulebase' with payload: {"uid":"23b34ff4-5f75-49b6-817a-0547bc545175","use-object-dictionary":true,"details-level":"full"} [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid 23b34ff4-5f75-49b6-817a-0547bc545175 : Starting execution of 5 tasks (with 2 executor(s)) [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid 23b34ff4-5f75-49b6-817a-0547bc545175 limit 10 offset 0 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid 23b34ff4-5f75-49b6-817a-0547bc545175 limit 10 offset 10 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid 23b34ff4-5f75-49b6-817a-0547bc545175 limit 10 offset 20 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid 23b34ff4-5f75-49b6-817a-0547bc545175 limit 10 offset 30 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid 23b34ff4-5f75-49b6-817a-0547bc545175 limit 10 offset 40 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid 23b34ff4-5f75-49b6-817a-0547bc545175 : Finished execution of 5 tasks [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 47 rules in : 'FW_Communication_TPG Security' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 0 inline layer(s) [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Creating html file for layer: 'FW_Communication_TPG Security' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.showRulebase()INFO]: Done handling rulebase 'FW_Communication_TPG Security' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.showAccessRulebase()INFO]: Starting handling access layer: 'bbfire_20030807 Security' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-access-rulebase' with payload: {"uid":"c97361e9-1c1b-433d-bb81-ab64cc7cac7f","use-object-dictionary":true,"details-level":"full"} [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f : Starting execution of 23 tasks (with 2 executor(s)) [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 10 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 20 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 0 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 30 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 50 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 60 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 70 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 40 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 80 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 90 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 100 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 110 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 120 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 130 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 140 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 150 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 160 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 170 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 180 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 190 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 200 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 210 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f limit 10 offset 220 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-access-rulebase] uid c97361e9-1c1b-433d-bb81-ab64cc7cac7f : Finished execution of 23 tasks [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 228 rules in : 'bbfire_20030807 Security' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Found 0 inline layer(s) [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Creating html file for layer: 'bbfire_20030807 Security' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.showRulebase()INFO]: Done handling rulebase 'bbfire_20030807 Security' [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Handle nat layer [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.showNatRulebase()INFO]: Starting handling nat layer: [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Run command: 'show-nat-rulebase' with payload: {"package":"bbfire_20030807","use-object-dictionary":true,"details-level":"full"} [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null : Starting execution of 33 tasks (with 2 executor(s)) [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 0 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 10 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 20 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 30 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 40 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 50 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 60 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 70 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 80 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 90 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 100 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 110 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 120 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 130 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 140 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 150 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 160 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 170 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 180 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 190 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 200 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 210 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 220 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 230 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 240 FAILED [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 250 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 260 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 270 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 280 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 290 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 300 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 310 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null limit 10 offset 320 SUCCESSFUL [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.debug()DEBUG]: Command [show-nat-rulebase] uid null : Finished execution of 33 tasks [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.MyLogger.severe()SEVERE]: Error: failed while creating policy package: 'bbfire_20030807'. Exception: null. Error message: null [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: Script stopped running due to severe error! [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: dirPath: /home/admin/20872e5b-b468-4905-9f91-d97524617f76 [3/9/22 8:55 AM com.checkpoint.mgmt_api.examples.ShowPackageTool.logoutReportAndExit()INFO]: tarGzPath: /home/admin/show_package-2022-03-09_08-55-41.tar.gz