A simple python utility to help identify saas service ips
Project description
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file saas_ips-0.1.0.tar.gz.
File metadata
- Download URL: saas_ips-0.1.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fe182629170fcbddc95bfaf66cee2ad08cac089b3e5da44b30bd409498f203f
|
|
| MD5 |
34af421351b9d754dd3529d650b64b79
|
|
| BLAKE2b-256 |
d9987cf6fe0c1992621c196c4240c84340494fac9aff0a5ba34c87197c9f65a5
|
Provenance
The following attestation bundles were made for saas_ips-0.1.0.tar.gz:
Publisher:
distribute.yml on MSAdministrator/saas-ips
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saas_ips-0.1.0.tar.gz -
Subject digest:
6fe182629170fcbddc95bfaf66cee2ad08cac089b3e5da44b30bd409498f203f - Sigstore transparency entry: 204003581
- Sigstore integration time:
-
Permalink:
MSAdministrator/saas-ips@f9fcd36ce3ed68f34209a73aae232a34aa28dead -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/MSAdministrator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
distribute.yml@f9fcd36ce3ed68f34209a73aae232a34aa28dead -
Trigger Event:
push
-
Statement type:
File details
Details for the file saas_ips-0.1.0-py3-none-any.whl.
File metadata
- Download URL: saas_ips-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d154aaf0c317f3913680a40bc441611d3bb838b07890379302af1948dfccca0
|
|
| MD5 |
cca2bf232456648148275a7782499871
|
|
| BLAKE2b-256 |
f0fb5989695a8397ecc344da8b7c97da32ee4c87b7311ea5c00d6f4acdb22773
|
Provenance
The following attestation bundles were made for saas_ips-0.1.0-py3-none-any.whl:
Publisher:
distribute.yml on MSAdministrator/saas-ips
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
saas_ips-0.1.0-py3-none-any.whl -
Subject digest:
8d154aaf0c317f3913680a40bc441611d3bb838b07890379302af1948dfccca0 - Sigstore transparency entry: 204003584
- Sigstore integration time:
-
Permalink:
MSAdministrator/saas-ips@f9fcd36ce3ed68f34209a73aae232a34aa28dead -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/MSAdministrator
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
distribute.yml@f9fcd36ce3ed68f34209a73aae232a34aa28dead -
Trigger Event:
push
-
Statement type: