Skip to content

Security

Security

Soviez protects your server in layers, from the database to the network edge, and checks every update, restore and migration before it touches Production.

Security layers

LayerFocus
S1Least privilege in PostgreSQL, private ERP ports, Docker containment
S2Server edge: firewall, Nginx, SSH, Fail2Ban
S3Compromise detection (database, server, YARA, processes)
S4Quarantine for migrations and restores
S5Safety checks for updates, backups, network and PDF; APT waits instead of being forced
S6End-to-end validation of all the above

Statuses

StatusMeaning
PASSThe check passed on the running system
REVIEWNeeds your judgment
FAILFix it before going further

--security-status reports how the system is actually running, not just what's installed.

Commands

soviez.sh --security-status
soviez.sh --security-scan
soviez.sh --security-scan-db
soviez.sh --security-check
soviez.sh --security-harden
soviez.sh --security-report
soviez.sh --security-update-check
soviez.sh --security-backup-check

Malware protection

LayerRole
ClamAVThe baseline: service, signatures, scheduled scans and attachment protection where supported. Having the package installed is not enough on its own
YARAA second scanner for modules, Python code, web shells and known indicators; ClamAV doesn't replace it
Built-in checksDatabase, processes, network, known indicators and file integrity

When something is found: detect → keep the evidence → quarantine → classify. Suspicious business files or signing keys are never deleted automatically.

Don't let ClamAV scan PostgreSQL's data folder in real time.

AppArmor

Keep it on. Turning AppArmor off is not a supported troubleshooting step.

The database boundary

The ERP runs as the least-privileged soviez_app role. Taking over an ERP admin account must not give anyone PostgreSQL superuser, root on the server, or control of Docker.

Optional third-party tools

auditd, Lynis and AIDE can be used alongside the built-in controls; AIDE isn't needed when Soviez's file integrity monitoring is in place.

Not part of the default setup: Wazuh, Falco, osquery, CrowdSec.