configuration-service

command module
v0.0.0-...-27d2001 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

Configuration Service

Overview

configuration-service is a service responsible for storing and retrieving OSCAL (Open Security Controls Assessment Language) configurations.

Features

  • Store OSCAL configurations
  • Retrieve OSCAL configurations

Prerequisites

  • Docker / Podman
  • Docker Compose / Podman Compose
  • Go (if running locally without Docker)

Getting Started

Using Docker Compose

You can easily run configuration-service using Docker Compose. This will also start the required MongoDB and NATS services.

  1. Clone the repository:

    git clone https://github.com/compliance-framework/configuration-service.git
    cd configuration-service
    
  2. Start and stop the services:

    
    make dev        # starts service
    make dev.stop   # stops the service
    

This command will build the container image for configuration-service and start the containers.

Accessing Swagger Documentation

Once the service is running, you can access the Swagger documentation to test and interact with the API at: http://localhost:8080/swagger/index.html

Configuration

You can configure configuration-service using environment variables. These are located in the .env file.

Contributing

We welcome contributions to configuration-service!

License

This project is licensed under the Apache-2.0 License - see the LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
bus

Jump to

Keyboard shortcuts

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