{"id":24938528,"url":"https://github.com/checkpointsw-community/ipaddressfeed2checkpoint","last_synced_at":"2025-07-07T20:10:47.275Z","repository":{"id":240259783,"uuid":"265934592","full_name":"CheckPointSW-Community/IPaddressFeed2CheckPoint","owner":"CheckPointSW-Community","description":"Adds an IP Address feed (CIDR) into Check Point Objects via a URL","archived":false,"fork":false,"pushed_at":"2020-05-22T23:25:23.000Z","size":14,"stargazers_count":11,"open_issues_count":1,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T03:53:21.447Z","etag":null,"topics":["checkpoint-firewall","security-automation","threat-intelligence"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CheckPointSW-Community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-05-21T19:29:40.000Z","updated_at":"2024-06-13T16:43:01.000Z","dependencies_parsed_at":"2024-05-17T16:55:01.850Z","dependency_job_id":null,"html_url":"https://github.com/CheckPointSW-Community/IPaddressFeed2CheckPoint","commit_stats":null,"previous_names":["checkpointsw-community/ipaddressfeed2checkpoint"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW-Community%2FIPaddressFeed2CheckPoint","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW-Community%2FIPaddressFeed2CheckPoint/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW-Community%2FIPaddressFeed2CheckPoint/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CheckPointSW-Community%2FIPaddressFeed2CheckPoint/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CheckPointSW-Community","download_url":"https://codeload.github.com/CheckPointSW-Community/IPaddressFeed2CheckPoint/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248143800,"owners_count":21054833,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["checkpoint-firewall","security-automation","threat-intelligence"],"created_at":"2025-02-02T17:58:38.152Z","updated_at":"2025-04-10T02:27:05.315Z","avatar_url":"https://github.com/CheckPointSW-Community.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IPaddressFeed2CheckPointAPI\nAdding an IP Address feed (CIDR) into Checkpoint Objects (here Office 365)\n\nHow to use:\n\n1. Copy the o365-address_update.sh to Check Point Management Server\n\n    Example: \n    mkdir -p /var/scripts/o365\n\n    copy o365-address_update.sh to above directory\n\n\n2. Edit the o365-address_update.sh script to define variables for your enviroment\n\n    a. Directory under “v_spath”\n\n        Example: \n        v_spath=/var/scripts/o365\n\n\n    b. Edit the script by uncommenting your Check Point Management Server version\n\n\n        Example: \n        #If this machine version R80.40, uncomment the line below\n        source /opt/CPshrd-R80.40/tmp/.CPprofile.sh\n        #If this machine version R80.30, uncomment the line below\n        #source /opt/CPshrd-R80.30/tmp/.CPprofile.sh\n        #If this machine version R80.20, uncomment the next line\n        #source /opt/CPshrd-R80.20/tmp/.CPprofile.sh\n        #If this machine version R80.10, uncomment the line below\n        #source /opt/CPshrd-R80/tmp/.CPprofile.sh\n\n    c. Define variables for your enviroment\n\n        Example: \n        #Policy Name\n        v_polpack=Standard\n        #Policy Target Name\n        v_poltarget=ledinfrfw01\n        #Name of group object\n        v_grp=ge_o365-networks\n        #Naming prefix for elements\n        v_objprefix=net-o365-\n        #comment for objects\n        v_objcomment=\"Do NOT use this object. Automatically created and deleted!\"\n        #color of objects\n        v_objcolor=yellow\n        #Login User\n        v_cpuser=apiuser\n        #Login Password\n        v_cpuserpw=changeme\n\n3. Cron job to check updates to ip address list\n\n    In GAiA Web UI just add Job Schedule for this\n    \n    Example:\n    sh /var/scripts/o365/o365-address_update.sh | /usr/bin/tee -a /var/scripts/o365/o365_logging 2\u003e\u00261 | /usr/sbin/sendmail --domain=(mail domain) -f (sender address) -v (recipient address) --host= (mail relay) 2\u003e\u00261\n\n    Adds logging entries to a file \"o365_logging\" and sending a mail with the content\n\n\n4. Adapting to other feeds\n\n    The script can be used for any other feeds, where network addresses are in CIDR format. As the script already does a diff between existing objects and those downloaded, the full list should be used. Objects are automatically removed from the group and from Check Point Management Server when they are not part of the feed.\n\n5. Feeds\n\n    [Office 365 URLs and IP address range](https://endpoints.office.com/endpoints/worldwide?noipv6\u0026ClientRequestId=b10c5ed1-bad1-445f-b386-b919946339a7)\n\n6. Additional Information\n\n    [This script is referenced in Check Point SK167000](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=\u0026solutionid=sk167000)\n\n    [Originally cloned from the API project written by leinadred](https://github.com/leinadred/IPaddressFeed2CheckPointAPI)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw-community%2Fipaddressfeed2checkpoint","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheckpointsw-community%2Fipaddressfeed2checkpoint","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheckpointsw-community%2Fipaddressfeed2checkpoint/lists"}