Figure SEC-7 · Hardening
Two layers of checks: web user and root
One server, two vantage points, one Security Center report
rConfig
rConfig server
rconfig.example.com · 192.0.2.10
Web user
apache / www-data
rConfig app and .env
storage/ and saved configs
PHP runtime settings
Database connection
Redis connection
HTTP responses: does /.env or /storage answer?
OS facts readable without root: firewall service state, updates, time sync
In-app checks · daily at 04:15 · about 100 checks
root
The service configuration
the app never reads these files
sshd_config
/etc/sudoers.d
Apache vhosts and ssl.conf
redis.conf
pg_hba.conf
PHP-FPM pools
World-writable files
rconfig-server-check.sh · run weekly and after changes · IDs server.*
as the web user
/var/lib/rconfig/server-check.json
Security Center
One report, posture tiles, alerts, export
Failed
Warning
Passed
Skipped
Accepted