Microsoft Windows [Version 10.0.19044.2006] (c) Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>cd /d D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM\ D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli login user va password vava -m 54.95.126.254 First connection to the server 54.95.126.254 port 443 To verify server identity, compare the following fingerprint with the one displayed by the api management tool (api fingerprint). SHA256 Fingerprint=B6:44:9D:12:FA:C0:E0:32:24:73:BA:F7:D3:17:C3:AA:D3:A1:38:BE:98:B9:C4:22:83:A2:0B:F1:D3:B1:38:69 English Fingerprint=FACT JAKE OFT DANA DUNK GOAT JOHN WORD KURT BOLD RON LUKE Do you accept the fingerprint? (y/n) [y] ? y uid: "6a727e31-7266-43f6-b4fa-7e76e94557e9" sid: "uivt3LTNm4hgKh8lerC1kVmh1sHdnE8u2nBldNRDkgc" url: "https://54.95.126.254:443/web_api" session-timeout: 600 api-server-version: "1.8" user-name: "va" user-uid: "32f2e6b5-a36b-4c38-a551-b595677a69aa" D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli login user va password vava -m 54.95.126.254 > api-session.txt D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli add group name "AVA_G_MaliciousIP" color "red" -m 54.95.126.254 -s api-session.txt D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli publish -m 54.95.126.254 -s api-session.txt --------------------------------------------- Time: [16:12:40] 5/10/2022 --------------------------------------------- "Publish operation" succeeded (100%) tasks: - task-id: "01234567-89ab-cdef-90e7-0d4080ede143" task-name: "Publish operation" status: "succeeded" progress-percentage: 100 suppressed: false task-details: - publishResponse: numberOfPublishedChanges: 1 mode: "async" revision: "9b804a90-2b3d-4117-bb4d-36992ab98ac1" D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli show-api-versions -m 54.95.126.254 -s api-session.txt current-version: "1.8" supported-versions: - "1" - "1.1" - "1.2" - "1.3" - "1.4" - "1.5" - "1.6" - "1.6.1" - "1.7" - "1.7.1" - "1.8" D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli show group name "AVA_G_MaliciousIP" -m 54.95.126.254 -s api-session.txt uid: "4dd29615-e988-4310-9710-780b94134e35" name: "AVA_G_MaliciousIP" type: "group" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" members: [] groups: [] comments: "" color: "red" icon: "General/group" tags: [] meta-info: lock: "unlocked" validation-state: "ok" last-modify-time: posix: 1664953942363 iso-8601: "2022-10-05T07:12+0000" last-modifier: "va" creation-time: posix: 1664953942363 iso-8601: "2022-10-05T07:12+0000" creator: "va" read-only: false D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli add host -b modify-host -m 54.95.126.254 -s api-session.txt Failed to read parameters file [modify-host]: Failed to open file. D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli add host -b modify-host.csv -m 54.95.126.254 -s api-session.txt Line 8: code: "err_validation_failed" message: "Validation failed with 1 warning" warnings: - message: "Multiple objects have the same IP address 156.146.39.157" D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli publish -m 54.95.126.254 -s api-session.txt --------------------------------------------- Time: [16:21:55] 5/10/2022 --------------------------------------------- "Publish operation" succeeded (100%) tasks: - task-id: "01234567-89ab-cdef-9e58-bc06d5e71555" task-name: "Publish operation" status: "succeeded" progress-percentage: 100 suppressed: false task-details: - publishResponse: numberOfPublishedChanges: 14 mode: "async" revision: "49d6de0d-a607-441f-96fb-6988935f373b" D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>mgmt_cli show group name "AVA_G_MaliciousIP" -m 54.95.126.254 -s api-session.txt uid: "4dd29615-e988-4310-9710-780b94134e35" name: "AVA_G_MaliciousIP" type: "group" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" members: - uid: "56f302f3-5c85-4345-9816-2c6fbb180760" name: "ISF_MaliciousIP_390" type: "host" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" ipv4-address: "45.146.165.37" icon: "Objects/host" color: "red" - uid: "702879f6-9ba6-4688-b8d8-7415b689e0e0" name: "ISF_MaliciousIP_391" type: "host" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" ipv4-address: "156.146.39.157" icon: "Objects/host" color: "red" - uid: "065d0059-376e-4bdf-9270-dcc3e273adcd" name: "ISF_MaliciousIP_392" type: "host" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" ipv4-address: "193.31.98.142" icon: "Objects/host" color: "red" - uid: "cb845d3c-56a6-4352-8cda-dafaab2d0c3b" name: "ISF_MaliciousIP_394" type: "host" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" ipv4-address: "188.126.89.87" icon: "Objects/host" color: "red" - uid: "0d1c94f0-ea79-4ea0-8a35-491000680bc5" name: "ISF_MaliciousIP_395" type: "host" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" ipv4-address: "194.87.196.126" icon: "Objects/host" color: "red" - uid: "0a54ddc6-2a3b-48a8-b438-4b84a1ac2e8e" name: "ISF_MaliciousIP_397" type: "host" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" ipv4-address: "176.113.71.229" icon: "Objects/host" color: "red" - uid: "cee1e968-3a95-44fc-bdff-0d0a836194ff" name: "ISF_MaliciousIP_399" type: "host" domain: uid: "41e821a0-3720-11e3-aa6e-0800200c9fde" name: "SMC User" domain-type: "domain" ipv4-address: "172.96.189.23" icon: "Objects/host" color: "red" groups: [] comments: "" color: "red" icon: "General/group" tags: [] meta-info: lock: "unlocked" validation-state: "ok" last-modify-time: posix: 1664954489834 iso-8601: "2022-10-05T07:21+0000" last-modifier: "va" creation-time: posix: 1664953942363 iso-8601: "2022-10-05T07:12+0000" creator: "va" read-only: false D:\Program Files (x86)\CheckPoint\SmartConsole\R81.10\PROGRAM>