# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one # or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at # https://securityonion.net/license; you may not use this file except in compliance with the # Elastic License 2.0. # # Managed by Salt — do not edit by hand. # Client authentication config: only local (Unix socket) connections and TLS-wrapped TCP # connections are accepted. Plain-text `host ...` lines are intentionally omitted so a # misconfigured client with sslmode=disable cannot negotiate a cleartext session. # Local connections (Unix socket, container-internal) use peer/trust. local all all trust # TCP connections MUST use TLS (hostssl) and authenticate with SCRAM. hostssl all all 0.0.0.0/0 scram-sha-256 hostssl all all ::/0 scram-sha-256