Foundational Django microservice for Governance, Risk, and Compliance capabilities focusing on the Internal Audit module. This service follows the same patterns used across other FIMS backend services (IAM, Document Records, Work Orchestration) and exposes read-only endpoints for audit testers.
- Django 4.2 + DRF skeleton with health and audit list APIs
- Kafka-powered permission registration with IAM
- Dockerized runtime with PostgreSQL, Redis, Gunicorn, and Celery workers
- Sample audit data to unblock frontend integration until full persistence is available
cp env.example .env
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver 0.0.0.0:8006docker compose up --buildThis brings up:
postgres-grc-service(PostgreSQL 15)redis-grc-service(Redis 7)grc-service(Gunicorn + Django)grc-celery-worker&grc-celery-beat
After the service is up, publish IAM permissions over Kafka:
python manage.py register_permissions_kafkaGET /health/– health probeGET /api/v1/grc/audit/plans/– sample audit plansGET /api/v1/grc/audit/engagements/– sample audit engagementsGET /api/v1/grc/audit/monitoring/– sample recommendation monitoring entries
apps/
api/ # REST endpoints & routing
core/ # Permissions, Kafka clients, shared helpers
config/
settings.py # Django settings with env-driven config
urls.py # Routes /api/v1/grc/* to API module
scripts/init-db/ # Postgres initialization helpers
- Replace sample data with PostgreSQL models
- Extend API surface according to
implementation/GRC_AUDIT_SERVICE_DESIGN.md - Wire Celery pipelines for monitoring reminders
- Harden observability (metrics, tracing)