ip-whitelister

command module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

README

IP Whitelister

Login with AzureAD account and whitelist your IP against Cloud resources for 24 hours

Flow

  1. User authenticates with AzureAD
  2. Public IP is checked to make sure it is not part of the static ipwhitelist
  3. Public IP is added to Redis database with ttl of 24 (configurable) hours
  4. Check if user is in required group (only if group specified for resource)
  5. Public IP is whitelisted against Cloud resources

Requirements

  • Service Principal account (authentication + updating resources)
  • Redis database (tracking user ip ttl)

Cloud/Resource Support

Azure:

  • Azure FrontDoor
  • Azure Storage Account
  • Azure Key Vault
  • Azure Postgres Server
  • Azure Redis Cache
  • Azure Cosmos DB

Group Support

It is now possible to specify a list of groups to each resource. This will mean in order to be whitelisted against the specific resource, the user will need to be part of one of the groups. If no groups are specified then all users are whitelisted against the resource.

Docker Image

https://hub.docker.com/r/alecpinson/ip-whitelister

Usage

Docker Compose
  1. Configure a config file see config/config.yaml
  2. Check/reconfigure docker-compose.yaml
  3. Run docker-compose up -d
Helm

See README

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL