Giter Club home page Giter Club logo

dbaudit's Introduction

DbAudit

Tokern DbAudit provides secure and seamless access to production databases in AWS and GCP for operations and support teams.

DbAudit Query UI

Security teams get a single pane for privileged access management for all production databases.

CircleCI codecov

Features

  • User Experience tailor made for operations and support teams.
  • Single Sign On and MFA.
  • Implement an Approval Workflow for database access.
  • Log all human activity on production databases.
  • Designed for databases on AWS RDS and Aurora and GCP Cloud SQL
  • Open Source

Supported Databases

  • PostgreSQL
  • MySQL
  • MariaDb
  • AWS RDS
  • AWS Aurora
  • Google Cloud SQL

Installation

DbAudit has multiple installation options. For a quick start, follow the instructions below:

Docker Compose

docker-compose -f docker/docker-compose.yml -p dbaudit up

The command starts up a self contained service consisting of a PostgreSQL database and DbAudit app.

Docker (Bring Your Own Database)

DbAudit uses a PostgreSQL database to store metadata. If you want to use your own database, setup environment variables and use docker run.

docker run -d -p 3145:3145 \
    --env DBAUDIT_USER=<database user> \
    --env DBAUDIT_PWD=<password> \
    --env DBAUDIT_DB=<postgresql database> \
    --env DBAUDIT_SCHEMA=<database schema> \
    --env POSTGRESQL_HOSTNAME=<hostname of postgresql instance> \
    --env POSTGRESQL_PORT=<port of postgresql instance  \
    tokern/dbaudit:latest

Next Steps

Visit http://localhost:3145 to start using the application.

Documentation

Visit DbAudit documentation to deploy and use in production to protect databases in AWS, GCP or your data center.

Visit DbAudit - Database Auditor & Privilege Access Manager page for features and use cases.

dbaudit's People

Contributors

dependabot[bot] avatar vrajat avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dbaudit's Issues

encryptionSecret may not be null

docker-compose -f docker/docker-compose.yml -p dbaudit up
Recreating dbaudit_bastion_1 ... done
Starting dbaudit_postgres_1 ... done
Attaching to dbaudit_bastion_1, dbaudit_postgres_1
postgres_1 |
postgres_1 | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres_1 |
postgres_1 | 2021-02-03 06:24:26.819 UTC [1] LOG: starting PostgreSQL 12.1 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.2.0) 9.2.0, 64-bit
postgres_1 | 2021-02-03 06:24:26.819 UTC [1] LOG: listening on IPv4 address "0.0.0.0", port 5432
postgres_1 | 2021-02-03 06:24:26.819 UTC [1] LOG: listening on IPv6 address "::", port 5432
postgres_1 | 2021-02-03 06:24:26.821 UTC [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
postgres_1 | 2021-02-03 06:24:26.836 UTC [20] LOG: database system was shut down at 2021-02-03 06:22:22 UTC
postgres_1 | 2021-02-03 06:24:26.839 UTC [1] LOG: database system is ready to accept connections
bastion_1 | io.dropwizard.configuration.ConfigurationValidationException: /app/etc/config.yml has an error:
bastion_1 | * encryptionSecret may not be null
bastion_1 |
bastion_1 | at io.dropwizard.configuration.BaseConfigurationFactory.validate(BaseConfigurationFactory.java:238)
bastion_1 | at io.dropwizard.configuration.BaseConfigurationFactory.build(BaseConfigurationFactory.java:128)
bastion_1 | at io.dropwizard.configuration.BaseConfigurationFactory.build(BaseConfigurationFactory.java:89)
bastion_1 | at io.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:126)
bastion_1 | at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:74)
bastion_1 | at io.dropwizard.cli.Cli.run(Cli.java:78)
bastion_1 | at io.dropwizard.Application.run(Application.java:93)
bastion_1 | at io.tokern.bastion.BastionApplication.main(BastionApplication.java:47)
bastion_1 | io.dropwizard.configuration.ConfigurationValidationException: /app/etc/config.yml has an error:
bastion_1 | * encryptionSecret may not be null
bastion_1 |
bastion_1 | at io.dropwizard.configuration.BaseConfigurationFactory.validate(BaseConfigurationFactory.java:238)
bastion_1 | at io.dropwizard.configuration.BaseConfigurationFactory.build(BaseConfigurationFactory.java:128)
bastion_1 | at io.dropwizard.configuration.BaseConfigurationFactory.build(BaseConfigurationFactory.java:89)
bastion_1 | at io.dropwizard.cli.ConfiguredCommand.parseConfiguration(ConfiguredCommand.java:126)
bastion_1 | at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:74)
bastion_1 | at io.dropwizard.cli.Cli.run(Cli.java:78)
bastion_1 | at io.dropwizard.Application.run(Application.java:93)
bastion_1 | at io.tokern.bastion.BastionApplication.main(BastionApplication.java:47)
dbaudit_bastion_1 exited with code 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.