191 lines
4.1 KiB
JSON
191 lines
4.1 KiB
JSON
{
|
|
"control_center": {
|
|
"audit": {
|
|
"enabled": false,
|
|
"redact_sensitive": true,
|
|
"storage": {
|
|
"immutable": false,
|
|
"retention_days": 90
|
|
}
|
|
},
|
|
"build": {
|
|
"base_image": "rust:1.82-trixie",
|
|
"binary": "provisioning-control-center",
|
|
"buildkit": {
|
|
"cache_mode": "local",
|
|
"inline_cache": false,
|
|
"parallel_jobs": 2
|
|
},
|
|
"chef_enabled": true,
|
|
"config_file": "config.defaults.toml",
|
|
"extra_runtime_pkgs": [],
|
|
"features": [
|
|
"all"
|
|
],
|
|
"health_path": "/health",
|
|
"package": "control-center",
|
|
"port": 9091,
|
|
"runtime_image": "debian:trixie-slim",
|
|
"sccache": {
|
|
"bucket": "rust-cache",
|
|
"enabled": false,
|
|
"region": ""
|
|
},
|
|
"user_id": 1000
|
|
},
|
|
"compliance": {
|
|
"data_retention": {
|
|
"audit_log_days": 2555,
|
|
"policy_years": 7
|
|
},
|
|
"enabled": false,
|
|
"encryption_required": false,
|
|
"validation": {
|
|
"enabled": false,
|
|
"interval_hours": 24
|
|
}
|
|
},
|
|
"database": {
|
|
"backend": "rocksdb",
|
|
"connection_string": "127.0.0.1:8000",
|
|
"credentials": {
|
|
"password": "root",
|
|
"username": "root"
|
|
},
|
|
"max_retries": "3",
|
|
"mode": "embedded",
|
|
"path": "/var/lib/provisioning/control-center/data",
|
|
"pool_size": 10,
|
|
"retry": true,
|
|
"timeout": 30
|
|
},
|
|
"integrations": {
|
|
"ldap": {
|
|
"enabled": false
|
|
},
|
|
"oauth2": {
|
|
"enabled": false
|
|
},
|
|
"webhooks": {
|
|
"enabled": false
|
|
}
|
|
},
|
|
"logging": {
|
|
"format": "text",
|
|
"level": "info"
|
|
},
|
|
"monitoring": {
|
|
"enabled": false,
|
|
"health_check": {
|
|
"enabled": false,
|
|
"interval": 30
|
|
},
|
|
"metrics": {
|
|
"enabled": false,
|
|
"interval": 60
|
|
},
|
|
"resources": {
|
|
"alert_threshold": 80,
|
|
"cpu": false,
|
|
"disk": false,
|
|
"memory": false,
|
|
"network": false
|
|
}
|
|
},
|
|
"policy": {
|
|
"cache": {
|
|
"enabled": true,
|
|
"max_policies": 10000,
|
|
"ttl": 3600
|
|
},
|
|
"enabled": true,
|
|
"versioning": {
|
|
"enabled": true,
|
|
"max_versions": 20
|
|
}
|
|
},
|
|
"rbac": {
|
|
"attribute_based": false,
|
|
"default_role": "user",
|
|
"dynamic_roles": false,
|
|
"enabled": true,
|
|
"hierarchy": true,
|
|
"roles": {
|
|
"admin": true,
|
|
"operator": true,
|
|
"viewer": true
|
|
}
|
|
},
|
|
"security": {
|
|
"cors": {
|
|
"allow_credentials": false,
|
|
"enabled": false
|
|
},
|
|
"jwt": {
|
|
"algorithm": "HS256",
|
|
"audience": "provisioning",
|
|
"expiration": 3600,
|
|
"issuer": "control-center",
|
|
"refresh_expiration": 86400,
|
|
"secret": "solo-mode-secret-change-in-production"
|
|
},
|
|
"mfa": {
|
|
"lockout_duration": 15,
|
|
"max_attempts": "5",
|
|
"methods": [
|
|
"totp"
|
|
],
|
|
"required": false
|
|
},
|
|
"rate_limiting": {
|
|
"enabled": false,
|
|
"max_requests": "1000",
|
|
"window_seconds": 60
|
|
},
|
|
"rbac": {
|
|
"default_role": "user",
|
|
"enabled": true,
|
|
"inheritance": true
|
|
},
|
|
"session": {
|
|
"idle_timeout": 3600,
|
|
"max_duration": 86400,
|
|
"tracking": false
|
|
},
|
|
"tls": {
|
|
"client_auth": false,
|
|
"enabled": false
|
|
}
|
|
},
|
|
"server": {
|
|
"graceful_shutdown": true,
|
|
"host": "127.0.0.1",
|
|
"keep_alive": 75,
|
|
"max_connections": 100,
|
|
"port": 9012,
|
|
"request_timeout": 30000,
|
|
"shutdown_timeout": 30,
|
|
"workers": 2
|
|
},
|
|
"users": {
|
|
"audit_enabled": false,
|
|
"enabled": true,
|
|
"registration": {
|
|
"auto_assign_role": "user",
|
|
"enabled": true,
|
|
"requires_approval": false
|
|
},
|
|
"sessions": {
|
|
"absolute_timeout": 86400,
|
|
"idle_timeout": 3600,
|
|
"max_active": 5
|
|
}
|
|
},
|
|
"workspace": {
|
|
"enabled": true,
|
|
"multi_workspace": false,
|
|
"name": "default",
|
|
"path": "/var/lib/provisioning/control-center"
|
|
}
|
|
}
|
|
}
|