Skip to main content

Overview

Web application to allow SAML authenticated users to search multiple AWS accounts for instances by IP

Configuration

The ipquery configuration file is located at /etc/ipquery.yaml. To configure ipquery create this file and populate it with your configuration settings.

secret_key

A unique secret key to secure Flask sessions

metadata_url_for

A dictionary of all SAML identity providers with the name of the identity provider as the key and the identity providers SAML metadata URL as the value.

idp_name

The name of the preferred SAML identity provider.

acs_url_scheme

Set this to http or https depending on how you’re serving up the web UI.

PREFERRED_URL_SCHEME

Set this to http or https depending on how you’re serving up the web UI.

loglevel

The level to set for logging.

ip2instance_role_session_name

A session name to identify the IAM role assumption

ip2instance_roles

A list of all AWS IAM Role ARNs to assume and use to scan for instances.

ip2instance_policy

The IAM Policy to constrain the access that ipquery will use when assuming roles to scan for instances.

Example Configuration

Here is an example configuration for two foreign AWS accounts

---
  secret_key: "11111111-1111-1111-1111-111111111111"
  idp_name: oktadev
  metadata_url_for:
    oktadev: "http://idp.oktadev.com/metadata"
  PREFERRED_URL_SCHEME: https
  acs_url_scheme: https
  ip2instance_roles:
    - "arn:aws:iam::012345678901:role/MyIPQueryRole"
    - "arn:aws:iam::123456789012:role/MyIPQueryRole"

Usage

ipquery

Metadata

Release files for ipquery 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipquery 1.0.1
File Size Uploaded Provenance
ipquery-1.0.1.tar.gz 7.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for ipquery 1.0.1
File Interpreter ABI Platform
ipquery-1.0.1-py2-none-any.whl Python 2 none any Details

Total release size: 18.0 kB

Release files / ipquery-1.0.1.tar.gz

Download URL ipquery-1.0.1.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8f5e1867a398ca38091797617e5bbda8e7090a1a67fc1ebde1a5bd365c2309dd
BLAKE2b-256 checksum
How to use checksums
7ad50fcf50ab108b6e1fe1087fa0e68d10c81b180cebef371bf9a447de7ed7c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / ipquery-1.0.1-py2-none-any.whl

Download URL ipquery-1.0.1-py2-none-any.whl
Size 10.2 kB
Tags Python 2
SHA-256 checksum
How to use checksums
5790307d24f5193c554fe73734048ed4898543a6991bc7dc3ae6c572dacecfd6
BLAKE2b-256 checksum
How to use checksums
b25da9e6ab15705677b73c866cbd76837536e88f8034fa2420d9ea5d26b711d3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for ipquery 1.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page