Skip to content
/ opal Public
forked from EOP-OMB/opal

OSCAL Policy Administration Library (OPAL) provides a simple web application for managing System Security Plans. The data modle is based on the OSCAL standard.

License

Notifications You must be signed in to change notification settings

Noblis/opal

 
 

Repository files navigation

OSCAL Policy Administation Library (opal)

Provides a simple web application for managing System Security Plans. The data model is based on the OSCAL standard.

Deployment Instructions

Clone and configure the app

  1. Clone the repository to your local directory
    git clone https://gitlab.max.gov/max-security/opal.git
  2. Install some required packages
    sudo apt-get install python3-venv apache2-dev libxslt1-dev libxml2-dev python-libxml2 python3-dev python-setuptools unixodbc-dev python3-pip
  3. It is recomended to run the application from a virtual environment. To do so navigate to the application directory in a terminal and enter the following commands:
    python3 -m venv venv
    source venv/bin/activate
  4. Install the required python modules by running:
    pip install -r requirements.txt
  5. create a local settings file
    cp opal/local_settings.py.template opal/local_settings.py
  6. Create a sqlite db file (or update the local_settings.py file with your database connection information)
    touch db.sqlite3
  7. Run the initial migration to create the database objects:
    python manage.py makemigrations
    python manage.py migrate
  8. Create a superuser:
    python manage.py createsuperuser
  9. Start the Server
    python manage.py runserver

Start the app in a docker container

  1. Clone the repository to your local directory
  2. Build the image
    docker build -t opal:opal .
  3. Run the container
    docker run --rm -it --name opal -p 8000:8000 opal:opal

Note: A default superuser account is created in the docker container. You should immedietly change the password and create additional secure superuser accounts.

Username: admin
Password: admin

About

OSCAL Policy Administration Library (OPAL) provides a simple web application for managing System Security Plans. The data modle is based on the OSCAL standard.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 87.6%
  • HTML 11.0%
  • Other 1.4%