{"id":84545,"date":"2020-06-08T13:42:54","date_gmt":"2020-06-08T11:42:54","guid":{"rendered":"https:\/\/prohoster.info\/blog\/administrirovanie\/check-point-r80-10-api-upravlenie-cherez-cli-skripty-i-ne-tolko"},"modified":"2020-06-08T13:42:54","modified_gmt":"2020-06-08T11:42:54","slug":"check-point-r80-10-api-upravlenie-cherez-cli-skripty-i-ne-tolko","status":"publish","type":"post","link":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/check-point-r80-10-api-upravlenie-cherez-cli-skripty-i-ne-tolko","title":{"rendered":"Check Point R80.10 API. Halduse CLI kaudu, skriptid ja palju muud","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><img decoding=\"async\" alt=\"Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e\" src=\"\/wp-content\/uploads\/2020\/06\/a1a2acf98aed23312eb6ddf9fa909d21.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0423\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 <noindex><a rel=\"nofollow\" href=\"https:\/\/tssolution.ru\/checkpoint\/\">Check Point<\/a><\/noindex>, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430 \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u044f \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 <b>\u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438<\/b>. \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u0438\u043a\u043e \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Cisco ASA, \u0433\u0434\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432\u0441\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 CLI. \u0423 Check Point-\u0430 \u0432\u0441\u0435 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0438\u0441\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0432\u0435\u0449\u0438 \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u043d\u0435 \u0443\u0434\u043e\u0431\u043d\u043e \u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0435\u0440\u0435\u0437 GUI (\u0434\u0430\u0436\u0435 \u0442\u0430\u043a\u043e\u0439 \u0443\u0434\u043e\u0431\u043d\u044b\u0439 \u043a\u0430\u043a \u0443 Check Point). \u041a \u043f\u0440\u0438\u043c\u0435\u0440\u0443 \u0437\u0430\u0434\u0430\u0447\u0430 \u043f\u043e \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044e 100 \u043d\u043e\u0432\u044b\u0445 \u0445\u043e\u0441\u0442\u043e\u0432 \u0438\u043b\u0438 \u0441\u0435\u0442\u0435\u0439 \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0434\u043e\u043b\u0433\u0443\u044e \u0438 \u043d\u0443\u0434\u043d\u0443\u044e \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u0443. \u0414\u043b\u044f \u043a\u0430\u0436\u0434\u043e\u0433\u043e \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0437 \u043a\u043b\u0438\u043a\u0430\u0442\u044c \u043c\u044b\u0448\u043a\u043e\u0439 \u0438 \u0432\u0431\u0438\u0432\u0430\u0442\u044c ip-\u0430\u0434\u0440\u0435\u0441. \u0422\u043e \u0436\u0435 \u0441\u0430\u043c\u043e\u0435 \u043a\u0430\u0441\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u0433\u0440\u0443\u043f\u043f\u044b \u0441\u0430\u0439\u0442\u043e\u0432 \u0438\u043b\u0438 \u043c\u0430\u0441\u0441\u043e\u0432\u043e\u0433\u043e \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f\/\u043e\u0442\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f IPS \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440. \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u0432\u0435\u043b\u0438\u043a\u0430 \u0432\u0435\u0440\u043e\u044f\u0442\u043d\u043e\u0441\u0442\u044c \u0434\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043e\u0448\u0438\u0431\u043a\u0443.<\/p>\n<p>\u041e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u043d\u0435\u0434\u0430\u0432\u043d\u043e \u0441\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c \u201c\u0447\u0443\u0434\u043e\u201d. \u0421 \u0432\u044b\u0445\u043e\u0434\u043e\u043c \u043d\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0438\u0438 <b>Gaia R80<\/b> \u0431\u044b\u043b\u0430 \u0430\u043d\u043e\u043d\u0441\u0438\u0440\u043e\u0432\u0430\u043d\u0430 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c <b>\u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f API<\/b>, \u0447\u0442\u043e \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0448\u0438\u0440\u043e\u043a\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u043e \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a, \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044e, \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0443 \u0438 \u0442.\u0434. \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e:<\/p>\n<ul>\n<li>\u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043e\u0431\u044a\u0435\u043a\u0442\u044b; <\/li>\n<li>\u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0438\u043b\u0438 \u043f\u0440\u0430\u0432\u0438\u0442\u044c access-list-\u044b; <\/li>\n<li>\u0432\u043a\u043b\u044e\u0447\u0430\u0442\u044c\/\u043e\u0442\u043a\u043b\u044e\u0447\u0430\u0442\u044c \u0431\u043b\u0435\u0439\u0434\u044b; <\/li>\n<li>\u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u044b; <\/li>\n<li>\u0438\u043d\u0441\u0442\u0430\u043b\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438;<\/li>\n<li>\u0438 \u043c\u043d\u043e\u0433\u043e\u0435 \u0434\u0440\u0443\u0433\u043e\u0435. <\/li>\n<\/ul>\n<p>\n\u0415\u0441\u043b\u0438 \u0447\u0435\u0441\u0442\u043d\u043e, \u043d\u0435 \u043f\u043e\u043d\u0438\u043c\u0430\u044e \u043a\u0430\u043a \u044d\u0442\u0430 \u043d\u043e\u0432\u043e\u0441\u0442\u044c \u043f\u0440\u043e\u0448\u043b\u0430 \u043c\u0438\u043c\u043e \u0425\u0430\u0431\u0440\u0430. \u0412 \u0434\u0430\u043d\u043d\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u043c\u044b \u0432\u043a\u0440\u0430\u0442\u0446\u0435 \u043e\u043f\u0438\u0448\u0435\u043c \u043a\u0430\u043a \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f API \u0438 \u043f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u043f\u0440\u0438\u043c\u0435\u0440\u043e\u0432 <b>\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 CheckPoint \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432<\/b>.<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p>\u0421\u0440\u0430\u0437\u0443 \u0445\u043e\u0442\u0435\u043b \u0431\u044b \u043e\u0433\u043e\u0432\u043e\u0440\u0438\u0442\u044c\u0441\u044f, API \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u0442\u043e\u043b\u044c\u043a\u043e \u0434\u043b\u044f Management \u0441\u0435\u0440\u0432\u0435\u0440\u0430. \u0422.\u0435. \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u0448\u043b\u044e\u0437\u0430\u043c\u0438 \u0431\u0435\u0437 Management \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u043f\u043e \u043f\u0440\u0435\u0436\u043d\u0435\u043c\u0443 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e.<\/p>\n<h2>\u041a\u043e\u043c\u0443 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u044c\u0441\u044f \u0434\u0430\u043d\u043d\u044b\u0439 API?<\/h2>\n<p><\/p>\n<ol>\n<li>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 \u0443\u043f\u0440\u043e\u0441\u0442\u0438\u0442\u044c \u0438\u043b\u0438 \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0440\u0443\u0442\u0438\u043d\u043d\u044b\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043f\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0435 Check Point;<\/li>\n<li>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 \u0438\u043d\u0442\u0435\u0433\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c Check Point \u0441 \u0434\u0440\u0443\u0433\u0438\u043c\u0438 \u0440\u0435\u0448\u0435\u043d\u0438\u044f\u043c\u0438 (\u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0432\u0438\u0440\u0442\u0443\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438, \u0442\u0438\u043a\u0435\u0442-\u0441\u0438\u0441\u0442\u0435\u043c\u044b, \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u043c\u0438 \u0438 \u0442.\u0434.);<\/li>\n<li>\u0421\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0442\u043e\u0440\u044b, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0445\u043e\u0442\u044f\u0442 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0438\u043b\u0438 \u0441\u043e\u0437\u0434\u0430\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u044b \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 Check Point.<\/li>\n<\/ol>\n<p><\/p>\n<h2>\u0422\u0438\u043f\u043e\u0432\u0430\u044f \u0441\u0445\u0435\u043c\u0430<\/h2>\n<p>\n\u0418 \u0442\u0430\u043a, \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u043c \u0442\u0438\u043f\u043e\u0432\u0443\u044e \u0441\u0445\u0435\u043c\u0443 \u0441 Check Point:<\/p>\n<p><img decoding=\"async\" alt=\"Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e\" src=\"\/wp-content\/uploads\/2020\/06\/82e58491b233e842202c67e5ffb28ebb.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u041a\u0430\u043a \u043e\u0431\u044b\u0447\u043d\u043e \u0443 \u043d\u0430\u0441 \u0435\u0441\u0442\u044c \u0448\u043b\u044e\u0437 (<b>SG<\/b>), \u0441\u0435\u0440\u0432\u0435\u0440 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f (<b>SMS<\/b>) \u0438 \u043a\u043e\u043d\u0441\u043e\u043b\u044c \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 (<b>SmartConsole<\/b>). \u041f\u0440\u0438 \u044d\u0442\u043e\u043c \u043e\u0431\u044b\u0447\u043d\u044b\u0439 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0448\u043b\u044e\u0437\u0430 \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:<\/p>\n<p><img decoding=\"async\" alt=\"Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e\" src=\"\/wp-content\/uploads\/2020\/06\/719b6d4344671b4d03fd16525c1c2fe3.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0422.\u0435. \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430 \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c <b>SmartConsole<\/b>, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u043c\u044b \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043a Management-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 (<b>SMS<\/b>). \u041d\u0430 SMS \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u044e\u0442\u0441\u044f \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438, \u0430 \u0443\u0436\u0435 \u0437\u0430\u0442\u0435\u043c \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u044e\u0442\u0441\u044f (<b>install policy<\/b>) \u043d\u0430 \u0448\u043b\u044e\u0437 (<b>SG<\/b>).<\/p>\n<p>\u041f\u0440\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0438 <b>Management API<\/b>, \u043c\u044b \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u043c\u043e\u0436\u0435\u043c \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043f\u0435\u0440\u0432\u044b\u0439 \u043f\u0443\u043d\u043a\u0442 (\u0437\u0430\u043f\u0443\u0441\u043a SmartConsole) \u0438 \u043f\u0440\u0438\u043c\u0435\u043d\u044f\u0442\u044c <b>API-\u043a\u043e\u043c\u0430\u043d\u0434\u044b<\/b> \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043a Management-\u0441\u0435\u0440\u0432\u0435\u0440\u0443 (SMS).<\/p>\n<h2>\u0421\u043f\u043e\u0441\u043e\u0431\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f API<\/h2>\n<p>\n\u0414\u043b\u044f \u043f\u0440\u0430\u0432\u043a\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e API \u0435\u0441\u0442\u044c \u0447\u0435\u0442\u044b\u0440\u0435 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u0430:<\/p>\n<h4>1) \u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0443\u0442\u0438\u043b\u0438\u0442\u044b mgmt_cli <\/h4>\n<p>\n\u041f\u0440\u0438\u043c\u0435\u0440 \u2014 <b># mgmt_cli add host name host1 ip-address 192.168.2.100<\/b><br \/>\n\u0414\u0430\u043d\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u0442\u0441\u044f \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 Management-\u0441\u0435\u0440\u0432\u0435\u0440\u0430 (SMS). \u0414\u0443\u043c\u0430\u044e \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u043f\u043e\u043d\u044f\u0442\u0435\u043d \u2014 \u0441\u043e\u0437\u0434\u0430\u0435\u0442\u0441\u044f host1 \u0441 \u0430\u0434\u0440\u0435\u0441\u043e\u043c 192.168.2.100.<\/p>\n<h4>2) \u0412\u0432\u043e\u0434\u0438\u0442\u044c API \u043a\u043e\u043c\u0430\u043d\u0434\u044b \u0447\u0435\u0440\u0435\u0437 clish (\u0432 \u0440\u0435\u0436\u0438\u043c\u0435 expert)<\/h4>\n<p>\n\u041f\u043e \u0441\u0443\u0442\u0438, \u0432\u0441\u0435 \u0447\u0442\u043e \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e, \u044d\u0442\u043e \u0437\u0430\u043b\u043e\u0433\u0438\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 (<b>mgmt login<\/b>) \u043f\u043e\u0434 \u0443\u0447\u0435\u0442\u043d\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u044c\u044e, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0441\u044f \u043f\u0440\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0438 \u0447\u0435\u0440\u0435\u0437 SmartConsole (\u043b\u0438\u0431\u043e root-\u0443\u0447\u0435\u0442\u043a\u0430). \u0417\u0430\u0442\u0435\u043c \u0443\u0436\u0435 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u0432\u043e\u0434\u0438\u0442\u044c <b>API-\u043a\u043e\u043c\u0430\u043d\u0434\u044b<\/b> (\u0432 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u043d\u0435\u0442 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u0435\u0440\u0435\u0434 \u043a\u0430\u0436\u0434\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u0443 <b>mgmt_cli<\/b>). \u041c\u043e\u0436\u043d\u043e \u0441\u043e\u0437\u0434\u0430\u0432\u0430\u0442\u044c \u043f\u043e\u043b\u043d\u043e\u0446\u0435\u043d\u043d\u044b\u0435 <b>BASH-\u0441\u043a\u0440\u0438\u043f\u0442\u044b<\/b>. \u041f\u0440\u0438\u043c\u0435\u0440 \u0441\u043a\u0440\u0438\u043f\u0442\u0430, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043e\u0437\u0434\u0430\u0435\u0442 \u0445\u043e\u0441\u0442:<\/p>\n<p><b class=\"spoiler_title\">Bash-\u0441\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"bash\">#!\/bin\/bash\n\nmain() {\n    clear\n\n    #LOGIN (don't ask for username and password, user is already logged in to Management server as 'root' user)\n    mgmt_cli login --root true &gt; id_add_host.txt\n    on_error_print_and_exit \"Error: Failed to login, check that the server is up and running (run 'api status')\"\n\n    #READ HOST NAME\n    printf \"Enter host name:n\"\n    read -e host_name\n    on_empty_input_print_and_exit \"$host_name\" \"Error: The host's name cannot be empty.\"\n\n    #READ IP ADDRESS\n    printf \"nEnter host IP address:n\"\n    read -e ip\n    on_empty_input_print_and_exit \"$ip\" \"Error: The host's IP address cannot be empty.\"\n\n    #CREATE HOST\n    printf \"Creating new host: $host_name with IP address: $ipn\"\n    new_host_response=$(mgmt_cli add host name $host_name ip-address $ip -s id_add_host.txt 2&gt; \/dev\/null)\n    on_error_print_and_exit \"Error: Failed to create host object. n$new_host_response\"\n\n    #PUBLISH THE CHANGES\n    printf \"nPublishing the changesn\"\n    mgmt_cli publish --root true -s id_add_host.txt &amp;&gt; \/dev\/null\n    on_error_print_and_exit \"Error: Failed to publish the changes.\"\n\n    #LOGOUT\n    logout\n\t\n\tprintf \"Done.n\"\n}\n\nlogout(){\n\tmgmt_cli logout --root true -s id_add_host.txt &amp;&gt; \/dev\/null\n}\n\non_error_print_and_exit(){\n    if [ $? -ne 0 ]; then\n        handle_error \"$1\" \n\tfi\n}\n\nhandle_error(){\n    printf \"n$1n\" #print error message\n    mgmt_cli discard --root true -s id_add_host.txt &amp;&gt; \/dev\/null\n    logout\n    exit 1\n}\n\non_empty_input_print_and_exit(){\n\tif [ -z \"$1\" ]; then\n\t\tprintf \"$2n\" #print error message\n\t\tlogout\n\t\texit 0\n\tfi\n}\n\n# Script starts here. Call function \"main\".\nmain\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e, \u0442\u043e \u043c\u043e\u0436\u043d\u043e \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0435\u0435 \u0432\u0438\u0434\u0435\u043e:<\/p>\n<p><center><div class=\"youtube-placeholder\" data-id=\"JUU7_r15_pw\" onclick=\"loadVideo(this)\">\r\n        <img decoding=\"async\" src=\"https:\/\/img.youtube.com\/vi\/JUU7_r15_pw\/hqdefault.jpg\" alt=\"Play video\" loading=\"lazy\" width=\"480\" height=\"360\" style=\"width:100%;height:auto;\">\r\n        <div class=\"play-button\"><\/div>\r\n    <\/div><\/center><\/p>\n<h4>3) \u0427\u0435\u0440\u0435\u0437 SmartConsole, \u043e\u0442\u043a\u0440\u044b\u0432 \u043e\u043a\u043d\u043e CLI<\/h4>\n<p>\n\u0412\u0441\u0435 \u0447\u0442\u043e \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u044d\u0442\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043e\u043a\u043e\u0448\u043a\u043e <b>CLI <\/b>\u043f\u0440\u044f\u043c\u043e \u0438\u0437 <b>SmartConsole<\/b>, \u043a\u0430\u043a \u044d\u0442\u043e \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e \u043d\u0430 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0435 \u043d\u0438\u0436\u0435.<\/p>\n<p><img decoding=\"async\" alt=\"Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e\" src=\"\/wp-content\/uploads\/2020\/06\/c062fba2607a4124559f43bb94a894a7.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0412 \u044d\u0442\u043e\u043c \u043e\u043a\u043d\u0435 \u043c\u043e\u0436\u043d\u043e \u0441\u0440\u0430\u0437\u0443 \u043d\u0430\u0447\u0438\u043d\u0430\u0442\u044c \u0432\u0432\u043e\u0434\u0438\u0442\u044c API-\u043a\u043e\u043c\u0430\u043d\u0434\u044b.<\/p>\n<h4>4) Web Services. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c HTTPS Post request (REST API)<\/h4>\n<p>\n\u041d\u0430 \u043d\u0430\u0448 \u0432\u0437\u0433\u043b\u044f\u0434 \u044d\u0442\u043e \u043e\u0434\u0438\u043d \u0438\u0437 \u0441\u0430\u043c\u044b\u0445 \u043f\u0435\u0440\u0441\u043f\u0435\u043a\u0442\u0438\u0432\u043d\u044b\u0445 \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u0432, \u0442.\u043a. \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u201c\u0441\u0442\u0440\u043e\u0438\u0442\u044c\u201d \u0446\u0435\u043b\u044b\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f \u043f\u043e <b>\u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u043c \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f<\/b> (\u0438\u0437\u0432\u0438\u043d\u044f\u044e\u0441\u044c \u0437\u0430 \u0442\u0430\u0432\u0442\u043e\u043b\u043e\u0433\u0438\u044e). \u041d\u0438\u0436\u0435 \u043c\u044b \u0440\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0434\u0430\u043d\u043d\u044b\u0439 \u043c\u0435\u0442\u043e\u0434 \u0447\u0443\u0442\u044c \u043f\u043e\u0434\u0440\u043e\u0431\u043d\u0435\u0435.<\/p>\n<h4>\u0415\u0441\u043b\u0438 \u0440\u0435\u0437\u044e\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c:<\/h4>\n<p><\/p>\n<ol>\n<li><b>API + cli<\/b> \u0431\u043e\u043b\u044c\u0448\u0435 \u043f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043b\u044e\u0434\u0435\u0439, \u043a\u0442\u043e \u043f\u0440\u0438\u0432\u044b\u043a \u043a Cisco;<\/li>\n<li><b>API + shell<\/b> \u0434\u043b\u044f \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u0440\u0443\u0442\u0438\u043d\u043d\u044b\u0445 \u0437\u0430\u0434\u0430\u0447;<\/li>\n<li><b>REST API<\/b> \u0434\u043b\u044f \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u0438.<\/li>\n<\/ol>\n<p><\/p>\n<h2>\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 API<\/h2>\n<p>\n\u041f\u043e-\u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e, API \u0432\u043a\u043b\u044e\u0447\u0435\u043d \u043d\u0430 \u043c\u0435\u043d\u0435\u0434\u0436\u043c\u0435\u043d\u0442 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 \u0441 \u043e\u0431\u044a\u0435\u043c\u043e\u043c RAM \u0431\u043e\u043b\u0435\u0435 4\u0413\u0431 \u0438 standalone \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u0445 \u0441 RAM \u0431\u043e\u043b\u0435\u0435 8\u0413\u0431. \u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0442\u0430\u0442\u0443\u0441 \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b: <b>api status<\/b><\/p>\n<p>\u0415\u0441\u043b\u0438 \u043e\u043a\u0430\u0436\u0435\u0442\u0441\u044f, \u0447\u0442\u043e api \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d, \u0442\u043e \u0435\u0433\u043e \u0434\u043e\u0432\u043e\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u0447\u0435\u0440\u0435\u0437 SmartConsole: <b>Manage &amp; Settings &gt; Blades &gt; Management API &gt; Advanced Settings<\/b><\/p>\n<p><img decoding=\"async\" alt=\"Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e\" src=\"\/wp-content\/uploads\/2020\/06\/0fdb6e37ca828affdca931fe63c8044b.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0417\u0430\u0442\u0435\u043c \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u0442\u044c (<b>Publish<\/b>) \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <b>api restart<\/b>.<\/p>\n<h2>Web requests + Python<\/h2>\n<p>\n\u0414\u043b\u044f \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f API-\u043a\u043e\u043c\u0430\u043d\u0434 \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c Web-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u0441 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u0435\u043c <b>Python <\/b>\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a <b>requests<\/b>, <b>json<\/b>. \u0412 \u043e\u0431\u0449\u0435\u043c \u0432\u0438\u0434\u0435 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 web-\u0437\u0430\u043f\u0440\u043e\u0441\u0430 \u0441\u043e\u0441\u0442\u043e\u0438\u0442 \u0438\u0437 \u0442\u0440\u0435\u0445 \u0447\u0430\u0441\u0442\u0435\u0439:<\/p>\n<p><b>1)\u0410\u0434\u0440\u0435\u0441<\/b><\/p>\n<p><code><\/p>\n<pre><code class=\"python\">(https:\/\/&lt;managemenet server&gt;:&lt;port&gt;\/web_api\/&lt;command&gt;) <\/code><\/pre>\n<p><\/code><br \/>\n<b>2) HTTP Headers<\/b> <\/p>\n<p><code><\/p>\n<pre><code class=\"python\">content-Type: application\/json\nx-chkp-sid: &lt;session ID token as returned by the login command&gt;<\/code><\/pre>\n<p><\/code><br \/>\n<b>3) Request payload<\/b><\/p>\n<p>Text in JSON format containing the different parameters<\/p>\n<p>\u041f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f \u0432\u044b\u0437\u043e\u0432\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<pre><code class=\"python\">\ndef api_call(ip_addr, port, command, json_payload, sid):\n    url = 'https:\/\/' + ip_addr + ':' + str(port) + '\/web_api\/' + command\n    if sid == \u201c\u201d:\n        request_headers = {'Content-Type' : 'application\/json'}\n    else:\n        request_headers = {'Content-Type' : 'application\/json', 'X-chkp-sid' : sid}\n    r = requests.post(url,data=json.dumps(json_payload), headers=request_headers,verify=False)\n    return r.json()                                        \n'xxx.xxx.xxx.xxx' -&gt; Ip address GAIA\n<\/code><\/pre>\n<p>\n\u041f\u0440\u0438\u0432\u0435\u0434\u0435\u043c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0442\u0438\u043f\u043e\u0432\u044b\u0445 \u0437\u0430\u0434\u0430\u0447, \u0441 \u043a\u043e\u0442\u043e\u0440\u044b\u043c\u0438 \u0447\u0430\u0449\u0435 \u0432\u0441\u0435\u0433\u043e \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u0441\u0442\u0430\u043b\u043a\u0438\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u0440\u0438 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0438 Check Point.<\/p>\n<p>1) \u041f\u0440\u0438\u043c\u0435\u0440 \u0444\u0443\u043d\u043a\u0446\u0438\u0439 \u0430\u0432\u0442\u043e\u0440\u0438\u0437\u0430\u0446\u0438\u0438 \u0438 \u043b\u043e\u0433\u0430\u0443\u0442\u0430:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\n    payload = {\u2018user\u2019: \u2018your_user\u2019, \u2018password\u2019 : \u2018your_password\u2019}\n    response = api_call('xxx.xxx.xxx.xxx', 443, 'login',payload, '')\n    return response[\"sid\"]\n\n    response = api_call('xxx.xxx.xxx.xxx', 443,'logout', {} ,sid)\n    return response[\"message\"]\n<\/code><\/pre>\n<p>2) \u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u0431\u043b\u044d\u0439\u0434\u043e\u0432 \u0438 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u0441\u0435\u0442\u0438:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nnew_gateway_data = {'name':'CPGleb','anti-bot':True,'anti-virus' : True,'application-control':True,'ips':True,'url-filtering':True,'interfaces':\n                    [{'name':\"eth0\",'topology':'external','ipv4-address': 'xxx.xxx.xxx.xxx',\"ipv4-network-mask\": \"255.255.255.0\"},\n                     {'name':\"eth1\",'topology':'internal','ipv4-address': 'xxx.xxx.xxx.xxx',\"ipv4-network-mask\": \"255.255.255.0\"}]}\nnew_gateway_result = api_call('xxx.xxx.xxx.xxx', 443,'set-simple-gateway', new_gateway_data ,sid)\nprint(json.dumps(new_gateway_result))\n<\/code><\/pre>\n<p>3) \u0418\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0435 \u043f\u0440\u0430\u0432\u0438\u043b \u043c\u0435\u0436\u0441\u0435\u0442\u0435\u0432\u043e\u0433\u043e \u044d\u043a\u0440\u0430\u043d\u0430:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nnew_access_data={'name':'Cleanup rule','layer':'Network','action':'Accept'}\nnew_access_result = api_call('xxx.xxx.xxx.xxx', 443,'set-access-rule', new_access_data ,sid)\nprint(json.dumps(new_access_result))\n<\/code><\/pre>\n<p>4)\u0414\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u0435 Application layer:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nadd_access_layer_application={ 'name' : 'application123',\"applications-and-url-filtering\" : True,\"firewall\" : False}\nadd_access_layer_application_result = api_call('xxx.xxx.xxx.xxx', 443,'add-access-layer', add_access_layer_application ,sid)\nprint(json.dumps(add_access_layer_application_result))\n\nset_package_layer={\"name\" : \"Standard\",\"access\":True,\"access-layers\" : {\"add\" : [ { \"name\" : \"application123\",\"position\" :2}]} ,\"installation-targets\" : \"CPGleb\"}\nset_package_layer_result = api_call('xxx.xxx.xxx.xxx', 443,'set-package', set_package_layer ,sid)\nprint(json.dumps(set_package_layer_result))\n<\/code><\/pre>\n<p>5) Publish \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u044b (task-id):<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\npublish_result = api_call('xxx.xxx.xxx.xxx', 443,\"publish\", {},sid)\nprint(\"publish result: \" + json.dumps(publish_result))\nnew_policy = {'policy-package':'Standard','access':True,'targets':['CPGleb']}\nnew_policy_result = api_call('xxx.xxx.xxx.xxx', 443,'install-policy', new_policy ,sid)\nprint(json.dumps(new_policy_result)\n\ntask_id=(json.dumps(new_policy_result [\"task-id\"]))\nlen_str=len(task_id)\ntask_id=task_id[1:(len_str-1)]\nshow_task_id ={'task-id':(task_id)}\nshow_task=api_call('xxx.xxx.xxx.xxx',443,'show-task',show_task_id,sid)\nprint(json.dumps(show_task))\n<\/code><\/pre>\n<p>6) \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0445\u043e\u0441\u0442:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nnew_host_data = {'name':'JohnDoePc', 'ip-address': '192.168.0.10'}\nnew_host_result = api_call('xxx.xxx.xxx.xxx', 443,'add-host', new_host_data ,sid)\nprint(json.dumps(new_host_result))\n<\/code><\/pre>\n<p>7) \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043f\u043e\u043b\u0435 Threat Prevention:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nset_package_layer={'name':'Standard','threat-prevention' :True,'installation-targets':'CPGleb'}\nset_package_layer_result = api_call('xxx.xxx.xxx.xxx', 443,'set-package',set_package_layer,sid)\nprint(json.dumps(set_package_layer_result))\n<\/code><\/pre>\n<p>8) \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0441\u043f\u0438\u0441\u043e\u043a \u0441\u0435\u0441\u0441\u0438\u0439<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nnew_session_data = {'limit':'50', 'offset':'0','details-level' : 'standard'}\nnew_session_result = api_call('xxx.xxx.xxx.xxx', 443,'show-sessions', new_session_data ,sid)\nprint(json.dumps(new_session_result))\n<\/code><\/pre>\n<p>9) \u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u044b\u0439 \u043f\u0440\u043e\u0444\u0438\u043b\u044c: <\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nadd_threat_profile={'name':'Apeiron', \"active-protections-performance-impact\" : \"low\",\"active-protections-severity\" : \"low or above\",\"confidence-level-medium\" : \"prevent\",\n  \"confidence-level-high\" : \"prevent\", \"threat-emulation\" : True,\"anti-virus\" : True,\"anti-bot\" : True,\"ips\" : True,\n  \"ips-settings\" : { \"newly-updated-protections\" : \"staging\",\"exclude-protection-with-performance-impact\" : True,\"exclude-protection-with-performance-impact-mode\" : \"High or lower\"},\n  \"overrides\" : [ {\"protection\" : \"3Com Network Supervisor Directory Traversal\",\"capture-packets\" : True,\"action\" : \"Prevent\",\"track\" : \"Log\"},\n                  {\"protection\" : \"7-Zip ARJ Archive Handling Buffer Overflow\", \"capture-packets\" : True,\"action\" : \"Prevent\",\"track\" : \"Log\"} ]}\nadd_threat_profile_result=api_call('xxx.xxx.xxx.xxx',443,'add-threat-profile',add_threat_profile,sid)\nprint(json.dumps(add_threat_profile_result))  \n<\/code><\/pre>\n<p>10) \u041f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0434\u043b\u044f IPS \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u044b:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nset_threat_protection={\n  \"name\" : \"3Com Network Supervisor Directory Traversal\",\n  \"overrides\" : [{ \"profile\" : \"Apeiron\",\"action\" : \"Detect\",\"track\" : \"Log\",\"capture-packets\" : True},\n    { \"profile\" : \"Apeiron\", \"action\" : \"Detect\", \"track\" : \"Log\", \"capture-packets\" : False} ]}\nset_threat_protection_result=api_call('xxx.xxx.xxx.xxx',443,'set-threat-protection',set_threat_protection,sid)\nprint(json.dumps(set_threat_protection_result))\n<\/code><\/pre>\n<p>11) \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u0441\u0435\u0440\u0432\u0438\u0441:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nadd_service_udp={    \"name\" : \"Dota2_udp\", \"port\" : '27000-27030',\n\"keep-connections-open-after-policy-installation\" : False,\n\"session-timeout\" : 0, \"match-for-any\" : True,\n\"sync-connections-on-cluster\" : True,\n\"aggressive-aging\" : {\"enable\" : True, \"timeout\" : 360,\"use-default-timeout\" : False  },\n\"accept-replies\" : False}\nadd_service_udp_results=api_call('xxx.xxx.xxx.xxx',443,\"add-service-udp\",add_service_udp,sid)\nprint(json.dumps(add_service_udp_results))\n<\/code><\/pre>\n<p>12) \u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044e, \u0441\u0430\u0439\u0442 \u0438\u043b\u0438 \u0433\u0440\u0443\u043f\u043f\u0443:<\/p>\n<p><b class=\"spoiler_title\">\u0421\u043a\u0440\u0438\u043f\u0442<\/b><\/p>\n<pre><code class=\"python\">\nadd_application_site_category={  \"name\" : \"Valve\",\"description\" : \"Valve Games\"}\nadd_application_site_category_results=api_call('xxx.xxx.xxx.xxx',443,\"add-application-site-category\",add_application_site_category,sid)\nprint(json.dumps(add_application_site_category_results))\n\nadd_application_site={    \"name\" : \"Dota2\", \"primary-category\" : \"Valve\",  \"description\" : \"Dotka\",\n  \"url-list\" : [ \"www.dota2.ru\" ], \"urls-defined-as-regular-expression\" : False}\nadd_application_site_results=api_call('xxx.xxx.xxx.xxx',443,\"add-application-site \" , \nadd_application_site , sid)\nprint(json.dumps(add_application_site_results))\n\nadd_application_site_group={\"name\" : \"Games\",\"members\" : [ \"Dota2\"]}\nadd_application_site_group_results=api_call('xxx.xxx.xxx.xxx',443,\"add-application-site-group\",add_application_site_group,sid)\nprint(json.dumps(add_application_site_group_results))\n<\/code><\/pre>\n<p>\u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <b>Web API<\/b> \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0438 \u0443\u0434\u0430\u043b\u044f\u0442\u044c \u0441\u0435\u0442\u0438, \u0445\u043e\u0441\u0442\u044b, \u0440\u043e\u043b\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u0438 \u0442.\u0434. \u0415\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u043b\u0435\u0439\u0434\u043e\u0432 <b>Antivirus, Antibot, IPS, VPN<\/b>. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u0430 \u0434\u0430\u0436\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0439 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u044b <b>run-script<\/b>. \u0421\u043e \u0432\u0441\u0435\u043c\u0438 API-\u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043c\u0438 Check Point \u043c\u043e\u0436\u043d\u043e \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u0438\u0442\u044c\u0441\u044f <noindex><a rel=\"nofollow\" href=\"https:\/\/sc1.checkpoint.com\/documents\/latest\/APIs\/index.html#introduction~v1.1\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex>.<\/p>\n<h2>Check Point API + Postman<\/h2>\n<p>\n\u0422\u0430\u043a\u0436\u0435 \u0443\u0434\u043e\u0431\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c <b>Check Point Web API<\/b> \u0432 \u0441\u0432\u044f\u0437\u043a\u0435 \u0441 <noindex><a rel=\"nofollow\" href=\"https:\/\/www.getpostman.com\/\">Postman<\/a><\/noindex>. Postman \u0438\u043c\u0435\u0435\u0442 \u0434\u0435\u0441\u043a\u0442\u043e\u043f\u043d\u044b\u0435 \u0432\u0435\u0440\u0441\u0438\u0438 \u0434\u043b\u044f Windows, Linux \u0438 MacOS. \u041a\u0440\u043e\u043c\u0435 \u0442\u043e\u0433\u043e, \u0435\u0441\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d \u0434\u043b\u044f Google Chrome. \u0418\u043c \u043c\u044b \u0438 \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f. \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043d\u0430\u0439\u0442\u0438 Postman \u0432 Google Chrome Store \u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c: <\/p>\n<p><img decoding=\"async\" alt=\"Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e\" src=\"\/wp-content\/uploads\/2020\/06\/8f7dbef67484050f87c4e53e56cac725.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0421 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u044d\u0442\u043e\u0439 \u0443\u0442\u0438\u043b\u0438\u0442\u044b \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0444\u043e\u0440\u043c\u0438\u0440\u043e\u0432\u0430\u0442\u044c Web-\u0437\u0430\u043f\u0440\u043e\u0441\u044b \u043a API Check Point. \u0427\u0442\u043e\u0431\u044b \u043d\u0435 \u0437\u0430\u043f\u043e\u043c\u0438\u043d\u0430\u0442\u044c \u0432\u0441\u0435 API-\u043a\u043e\u043c\u0430\u043d\u0434\u044b, \u0435\u0441\u0442\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u0438\u043c\u043f\u043e\u0440\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u044b\u0435 collection-\u044b (\u0448\u0430\u0431\u043b\u043e\u043d\u044b), \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0443\u0436\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0442 \u0432\u0441\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u043a\u043e\u043c\u0430\u043d\u0434\u044b:<\/p>\n<p><img decoding=\"async\" alt=\"Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e\" src=\"\/wp-content\/uploads\/2020\/06\/e535c48cc1db240e0be0a70755d9736e.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n<noindex><a rel=\"nofollow\" href=\"https:\/\/drive.google.com\/file\/d\/0B-5kZl7ixcSKY0YzenVJUElsNzA\/view?usp=sharing\">\u0417\u0434\u0435\u0441\u044c <\/a><\/noindex>\u0432\u044b \u043d\u0430\u0439\u0434\u0435\u0442\u0435 <b>collection <\/b>\u0434\u043b\u044f <b>R80.10<\/b>. \u041f\u043e\u0441\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u0430 \u043d\u0430\u043c \u0441\u0442\u0430\u043d\u0443\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u044b \u0448\u0430\u0431\u043b\u043e\u043d\u044b API-\u043a\u043e\u043c\u0430\u043d\u0434:<\/p>\n<p><img decoding=\"async\" alt=\"Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e\" src=\"\/wp-content\/uploads\/2020\/06\/31f731617fb0f14ed03ad8341bc15f7c.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434, \u044d\u0442\u043e \u043e\u0447\u0435\u043d\u044c \u0443\u0434\u043e\u0431\u043d\u043e. \u041c\u043e\u0436\u043d\u043e \u0432\u0435\u0441\u044c\u043c\u0430 \u0431\u044b\u0441\u0442\u0440\u043e \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c \u043a \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0435 \u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u0439 \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c Check Point API.<\/p>\n<h2>Check Point + Ansible<\/h2>\n<p>\n\u0422\u0430\u043a\u0436\u0435 \u0445\u043e\u0442\u0435\u043b\u043e\u0441\u044c \u0431\u044b \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0443\u0449\u0435\u0441\u0442\u0432\u0443\u0435\u0442 <b>Ansible<\/b> <noindex><a rel=\"nofollow\" href=\"https:\/\/community.checkpoint.com\/docs\/DOC-1928\">\u043c\u043e\u0434\u0443\u043b\u044c<\/a><\/noindex> \u0434\u043b\u044f CheckPoint API. \u041c\u043e\u0434\u0443\u043b\u044c \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0435\u0442 \u0443\u043f\u0440\u0430\u0432\u043b\u044f\u0442\u044c \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044f\u043c\u0438, \u043d\u043e \u043e\u043d \u043d\u0435 \u0442\u0430\u043a \u0443\u0434\u043e\u0431\u0435\u043d \u0434\u043b\u044f \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u044d\u043a\u0437\u043e\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0437\u0430\u0434\u0430\u0447. \u041d\u0430\u043f\u0438\u0441\u0430\u043d\u0438\u0435 \u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432 \u043d\u0430 \u043b\u044e\u0431\u043e\u043c \u044f\u0437\u044b\u043a\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0434\u0430\u0435\u0442 \u0431\u043e\u043b\u0435\u0435 \u0433\u0438\u0431\u043a\u0438\u0435 \u0438 \u0443\u0434\u043e\u0431\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f.<\/p>\n<h2>\u0412\u044b\u0432\u043e\u0434<\/h2>\n<p>\n\u041d\u0430 \u044d\u0442\u043e\u043c \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u043c\u044b \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u043c \u043d\u0430\u0448 \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u043e\u0431\u0437\u043e\u0440 Check Point API. \u041d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u044d\u0442\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044f \u0431\u044b\u043b\u0430 \u043e\u0447\u0435\u043d\u044c \u0434\u043e\u043b\u0433\u043e\u0436\u0434\u0430\u043d\u043d\u043e\u0439 \u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0439. \u041f\u043e\u044f\u0432\u043b\u0435\u043d\u0438\u0435 API \u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u043e\u0447\u0435\u043d\u044c \u0448\u0438\u0440\u043e\u043a\u0438\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u0430\u043a \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u043e\u0432, \u0442\u0430\u043a \u0438 \u0434\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0445 \u0438\u043d\u0442\u0435\u0433\u0440\u0430\u0442\u043e\u0440\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u044e\u0442 \u0441 \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0430\u043c\u0438 Check Point. \u041e\u0440\u043a\u0435\u0441\u0442\u0440\u0430\u0446\u0438\u044f, \u0430\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0437\u0430\u0446\u0438\u044f, \u043e\u0431\u0440\u0430\u0442\u043d\u0430\u044f \u0441\u0432\u044f\u0437\u044c \u0441 SIEM\u2026 \u0432\u0441\u0435 \u044d\u0442\u043e \u0442\u0435\u043f\u0435\u0440\u044c \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e.<\/p>\n<p>P.S. \u0411\u043e\u043b\u044c\u0448\u0435 \u0441\u0442\u0430\u0442\u0435\u0439 \u043e <noindex><a rel=\"nofollow\" href=\"https:\/\/tssolution.ru\/checkpoint\/\">Check Point<\/a><\/noindex> \u0432\u044b \u043a\u0430\u043a \u0432\u0441\u0435\u0433\u0434\u0430 \u043c\u043e\u0436\u0435\u0442\u0435 \u043d\u0430\u0439\u0442\u0438 \u0432 \u043d\u0430\u0448\u0435\u043c \u0431\u043b\u043e\u0433\u0435 <noindex><a rel=\"nofollow\" href=\"https:\/\/habrahabr.ru\/company\/tssolution\/\">\u0425\u0430\u0431\u0440<\/a><\/noindex> \u0438\u043b\u0438 \u0432 \u0431\u043b\u043e\u0433\u0435 \u043d\u0430 <noindex><a rel=\"nofollow\" href=\"https:\/\/tssolution.ru\/blog\/\">\u0441\u0430\u0439\u0442\u0435<\/a><\/noindex>.<\/p>\n<p>P.S.S. \u0417\u0430\u0434\u0430\u0442\u044c \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0432\u043e\u043f\u0440\u043e\u0441\u044b, \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u043e\u0439 Check Point, \u043c\u043e\u0436\u043d\u043e <noindex><a rel=\"nofollow\" href=\"http:\/\/cpsupport.ru\/?utm_source=habr-CLI\">\u0437\u0434\u0435\u0441\u044c<\/a><\/noindex><\/p>\n<p class=\"for_users_only_msg\">\u0422\u043e\u043b\u044c\u043a\u043e \u0437\u0430\u0440\u0435\u0433\u0438\u0441\u0442\u0440\u0438\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0438 \u043c\u043e\u0433\u0443\u0442 \u0443\u0447\u0430\u0441\u0442\u0432\u043e\u0432\u0430\u0442\u044c \u0432 \u043e\u043f\u0440\u043e\u0441\u0435. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/auth\/login\/\">\u0412\u043e\u0439\u0434\u0438\u0442\u0435<\/a><\/noindex>, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430.<\/p>\n<h2 class=\"default-block__polling-title\">\u041f\u043b\u0430\u043d\u0438\u0440\u0443\u0435\u0442\u0435 \u043b\u0438 \u0432\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c API?<\/h2>\n<ul class=\"poll-result\">\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent  poll-result__data-percent_winner\">70,6%<\/strong>\u0414\u043012<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent \">23,5%<\/strong>\u041d\u0435\u04424<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent \">5,9%<\/strong>\u0423\u0436\u0435 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044e1<\/p>\n<\/li>\n<\/ul>\n<p>    \u041f\u0440\u043e\u0433\u043e\u043b\u043e\u0441\u043e\u0432\u0430\u043b\u0438 17 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u0435\u0439. \u0412\u043e\u0437\u0434\u0435\u0440\u0436\u0430\u043b\u0438\u0441\u044c 3 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f.<br \/>\n<br \/>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/tssolution\/blog\/339924\/\">habr.com<\/a> <\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0423\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Check Point, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430 \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u044f \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u0438\u043a\u043e \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Cisco ASA, \u0433\u0434\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432\u0441\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 CLI. \u0423 Check Point-\u0430 \u0432\u0441\u0435 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0438\u0441\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435 [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":84546,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-84545","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0423\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Check Point, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430 \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u044f \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u0438\u043a\u043e \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Cisco ASA, \u0433\u0434\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432\u0441\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 CLI. \u0423 Check Point-\u0430 \u0432\u0441\u0435 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0438\u0441\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/check-point-r80-10-api-upravlenie-cherez-cli-skripty-i-ne-tolko\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"et_EE\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0423\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Check Point, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430 \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u044f \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u0438\u043a\u043e \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Cisco ASA, \u0433\u0434\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432\u0441\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 CLI. \u0423 Check Point-\u0430 \u0432\u0441\u0435 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0438\u0441\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/check-point-r80-10-api-upravlenie-cherez-cli-skripty-i-ne-tolko\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-06-08T11:42:54+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-06-08T11:42:54+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Check Point R80.10 API. Halduse CLI, skriptide ja muude kaudu | ProHoster","description":"Olen kindel, et iga\u00fchel, kes on kunagi t\u00f6\u00f6tanud Check Pointiga, on olnud kaebusi k\u00e4surealt seadistamise v\u00f5imatuse \u00fcle. See on eriti jabur neile, kes on varasemalt t\u00f6\u00f6tanud Cisco ASA-ga, kus k\u00f5ik on v\u00f5imalik CLI-st seadistada. Check Pointis on k\u00f5ik vastupidine \u2014 k\u00f5ik turvaseaded viidi ellu eranditult graafilise liidese kaudu. Siiski, m\u00f5ned","canonical_url":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/check-point-r80-10-api-upravlenie-cherez-cli-skripty-i-ne-tolko","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"et_EE","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Check Point R80.10 API. \u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0447\u0435\u0440\u0435\u0437 CLI, \u0441\u043a\u0440\u0438\u043f\u0442\u044b \u0438 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e | ProHoster","og:description":"\u0423\u0432\u0435\u0440\u0435\u043d, \u0447\u0442\u043e \u0443 \u043a\u0430\u0436\u0434\u043e\u0433\u043e, \u043a\u0442\u043e \u043a\u043e\u0433\u0434\u0430-\u043b\u0438\u0431\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Check Point, \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u043b\u0430 \u043f\u0440\u0435\u0442\u0435\u043d\u0437\u0438\u044f \u043f\u043e \u043f\u043e\u0432\u043e\u0434\u0443 \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043f\u0440\u0430\u0432\u043a\u0438 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u0438 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438. \u042d\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e \u0434\u0438\u043a\u043e \u0434\u043b\u044f \u0442\u0435\u0445, \u043a\u0442\u043e \u0434\u043e \u044d\u0442\u043e\u0433\u043e \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u0441 Cisco ASA, \u0433\u0434\u0435 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432\u0441\u0435 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u0438\u0442\u044c \u0432 CLI. \u0423 Check Point-\u0430 \u0432\u0441\u0435 \u043d\u0430\u043e\u0431\u043e\u0440\u043e\u0442 \u2014 \u0432\u0441\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0431\u0435\u0437\u043e\u043f\u0430\u0441\u043d\u043e\u0441\u0442\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0438\u0441\u044c \u0438\u0441\u043a\u043b\u044e\u0447\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0438\u0437 \u0433\u0440\u0430\u0444\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430. \u041e\u0434\u043d\u0430\u043a\u043e, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0435","og:url":"https:\/\/prohoster.info\/et\/blog\/administrirovanie\/check-point-r80-10-api-upravlenie-cherez-cli-skripty-i-ne-tolko","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-06-08T11:42:54+00:00","article:modified_time":"2020-06-08T11:42:54+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"84545","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 14:55:41","updated":"2022-10-02 11:11:12"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/84545","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/comments?post=84545"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/posts\/84545\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media\/84546"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/media?parent=84545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/categories?post=84545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/et\/wp-json\/wp\/v2\/tags?post=84545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}