saas-ips
saas-ips is a simple Python package and CLI tool to retrieve formatted lists of known SaaS based services IP ranges.
If you have ever been looking at logs and want to know if an IP belongs to X service? That's the why
What is saas-ips?
If you have ever been looking through logs, investigating, etc. and want to know if an IP belongs to SaaS service (Microsoft, Google, etc.)?
Well, saas-ips is a simeple little utility to collect these from different services and create a single model that can be consumed by another package or simple on the command line.
Features
- Collect a list of known IPs for some SaaS Services
- Output the list of IPs to a JSON file
- Profit?
Currently we support the following SaaS services:
- Atlassian
- Microsoft Azure
- Box
- Fastly
- Microsoft O365
You can find an example of the JSON output here
Installation
You can install blocker via [pip] from [PyPI]:
$ pip install saas-ips
If you are using poetry (recommended) you can add it to your package using
poetry add saas-ips
Usage
Below is the command line reference but you can also use the current version of saas-ips to retrieve the help by typing saas-ips --help.
NAME
saas-ips - Collector class.
SYNOPSIS
saas-ips COMMAND
DESCRIPTION
Collector class.
COMMANDS
COMMAND is one of the following:
run
Run the collector.
To collect a list of IPs from the supported SaaS services, you can run the following at the command line:
saas-ips run --output ./output.json
If you are using poetry, then use:
poetry run saas-ips run --output ./output.json
Developmemt
You can clone the repositry and begin development using
git clone https://github.com/MSAdministrator/saas-ips.git
cd saas-ips
poetry install
If you are using pyenv to manage your enviroments you can set a config option in poetry to use the set pyenv version of python by running this:
poetry config virtualenvs.create true
poetry install
Issues
If you encounter any problems, please file an issue along with a detailed description.
If you would like other services to be added, please also file an issue!
Metadata
Release files for saas-ips 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| saas_ips-0.1.0.tar.gz | 7.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| saas_ips-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.6 kB
Release files / saas_ips-0.1.0.tar.gz
| Download URL | saas_ips-0.1.0.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6fe182629170fcbddc95bfaf66cee2ad08cac089b3e5da44b30bd409498f203f
|
|
BLAKE2b-256 checksum How to use checksums |
d9987cf6fe0c1992621c196c4240c84340494fac9aff0a5ba34c87197c9f65a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 29, 2025.
Transparency logRelease files / saas_ips-0.1.0-py3-none-any.whl
| Download URL | saas_ips-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8d154aaf0c317f3913680a40bc441611d3bb838b07890379302af1948dfccca0
|
|
BLAKE2b-256 checksum How to use checksums |
f0fb5989695a8397ecc344da8b7c97da32ee4c87b7311ea5c00d6f4acdb22773
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 29, 2025.
Transparency logSecurity for saas-ips 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for saas_ips-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Apr 29, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.