Giter Site home page Giter Site logo

ansible-lockdown / postgres-9-stig Goto Github PK

View Code? Open in Web Editor NEW
10.0 9.0 5.0 116 KB

Ansible Role for the Postgresql 9.x DISA STIG

Home Page: https://ansible-lockdown.readthedocs.io

License: BSD 3-Clause "New" or "Revised" License

compliance-as-code database-security postgresql security-automation security-tools stig stig-compliant ansible-role benchmark-framework compliance-automation

postgres-9-stig's People

Contributors

dfederlein avatar jamescassell avatar michael-angel-sec avatar unreliablecatnip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

postgres-9-stig's Issues

Improve README

A good place to start would be the template ansible role README.

non SCL paths for "protecting audit features"

MEDIUM | PGS9-00-011200 | AUDIT | PostgreSQL must protect its audit features from unauthorized removal.

The rule as implemented today only works for the SCLs and the pgdg repos, not the RHEL 8 repos.

RHEL 8: no yumdb equivalent

MEDIUM | PGS9-00-009200 | PATCH | Unused database components which are integrated in PostgreSQL and cannot be uninstalled must be disabled.

rule is broken without yumdb available

Disruptive Tasks

In the RHEL7-STIG role, we've marked certain tasks as potentially disruptive for role user convenience. Do we want to do something similar here, or only target fresh installations? (Or anything else in between?)

For starters:

detect PGDATA without starting postgres

This will detect PGDATA for the postgresql systemd unit.
(set -euo pipefail ; eval "$(systemctl show -p Environment postgresql | grep -oP '(?<=^Environment=).*' || echo false)" ; echo $PGDATA)

Inspired by how postgresql-setup script detects the correct location.

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.