configuration-service
is a service responsible for storing and retrieving OSCAL (Open Security Controls Assessment Language) configurations.
- Store OSCAL configurations
- Retrieve OSCAL configurations
- Docker / Podman
- Docker Compose / Podman Compose
- Go (if running locally without Docker)
You can easily run configuration-service
using Docker Compose. This will also start the required MongoDB and NATS services.
-
Clone the repository:
git clone https://github.com/compliance-framework/configuration-service.git cd configuration-service
-
Start and stop the services:
make dev # starts service (does not build container) make dev_stop # stops the service
-
Build, start and stop the services:
make debug # builds container with local code and starts service make debug_stop # stops the service
Then see https://raw.githubusercontent.com/compliance-framework/infrastructure/main/hack/setup.sh for example setup code you can run.
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
You can configure configuration-service using environment variables. These are located in the .env
file.
We welcome contributions to configuration-service!
This project is licensed under the Apache-2.0 License - see the LICENSE file for details.