Security practices
The practices below are built into the platform and its delivery process.
Secrets and configuration
Passwords, API keys and other secrets are not kept in application configuration files. They are provided as Kubernetes secrets.
Authentication and authorization
- Authentication relies on OAuth 2.0 and OpenID Connect. See Identity provider.
- Modules built on Quarkus are stateless, which allows horizontal scaling.
Protection against common vulnerabilities
- Input validation. Member input is validated and sanitized to prevent SQL and NoSQL injection. See Data validation.
- CSRF and XSS. Protections against cross-site request forgery and cross-site scripting are in place, together with input checks.
- Security headers. HTTP security headers such as
Content-Security-PolicyandX-Frame-Optionsare set with the mechanisms Quarkus provides.
Communications
- All traffic between clients and services is encrypted with TLS.
- Certificates are validated and issued by a trusted certificate authority.
Dependencies and updates
- Dependencies are scanned for known vulnerabilities, with tools such as OWASP Dependency-Check or Dependabot, and kept up to date.
- Quarkus and its extensions are updated regularly to receive security fixes.
Audit and monitoring
- Logging and monitoring detect suspicious activity and anomalies. The platform integrates with common log and metrics systems, such as the ELK stack or Prometheus.
- Sensitive operations are audited, and audit logs are kept and protected against modification. See Audit.
Code
Security tests run in the build and delivery pipeline to detect potential flaws in the code.