Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ipquery-1.0.1.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

ipquery-1.0.1-py2-none-any.whl (10.2 kB view details)

Uploaded Python 2

File details

Details for the file ipquery-1.0.1.tar.gz.

File metadata

  • Download URL: ipquery-1.0.1.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ipquery-1.0.1.tar.gz
Algorithm Hash digest
SHA256 8f5e1867a398ca38091797617e5bbda8e7090a1a67fc1ebde1a5bd365c2309dd
MD5 8e871d9d50916a5b0cf3598d19c7d518
BLAKE2b-256 7ad50fcf50ab108b6e1fe1087fa0e68d10c81b180cebef371bf9a447de7ed7c5

See more details on using hashes here.

File details

Details for the file ipquery-1.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for ipquery-1.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 5790307d24f5193c554fe73734048ed4898543a6991bc7dc3ae6c572dacecfd6
MD5 d52a0f4e71668ac643f47d78a879c77e
BLAKE2b-256 b25da9e6ab15705677b73c866cbd76837536e88f8034fa2420d9ea5d26b711d3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page