- CheckMates
- :
- Products
- :
- Developers
- :
- API / CLI Discussion
- :
- Create/Update a network group object with AWS publ...
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Are you a member of CheckMates?
×
Sign in with your Check Point UserCenter/PartnerMap account to access more great content and get a chance to win some Apple AirPods! If you don't have an account, create one now for free!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Create/Update a network group object with AWS public IP addresses
Overview
This script generate group objects with the IP addresses of AWS.
Description
Download AWS IP ranges from: https://ip-ranges.amazonaws.com/ip-ranges.json
Run the attached Python script (the script does not have to run on the management server).
Provide the script with: the management's server IP address, username, password, the path for the downloaded file from Microsoft.
The script will now generate:
- Over 500 networks (for example: aws_network_103.246.148.0/23 )
- about 20 Group objects, one for each Azure region (for example: aws_region_us-east-1)
- and a group object called aws_region_all - a group object that contain all the group region objects.
When you get an updated file from AWS, you can run the tool again. When running the tool with the updated file, only the changes will be processed so that it would work much faster.
Instructions
Download the attached zip and extract it on any machine with Python 2.7.x.
run:
python aws.py
Code Version
Code version 1.0.0
Tested on version
R80, API version 1.0
0 Replies
