Wire postgres credentials into SOC module config

- Create vars/postgres.map.jinja for postgres auth globals
- Add POSTGRES_GLOBALS to all manager-type role vars
  (manager, eval, standalone, managersearch, import)
- Add postgres module config to soc/defaults.yaml
- Inject so_postgres credentials from auth pillar into
  soc/defaults.map.jinja (conditional on auth pillar existing)
This commit is contained in:
Mike Reeves
2026-04-09 14:09:32 -04:00
parent b87af8ea3d
commit 2dfa83dd7d
8 changed files with 40 additions and 2 deletions
+8
View File
@@ -1491,6 +1491,14 @@ soc:
org: Security Onion
bucket: telegraf/so_short_term
verifyCert: false
postgres:
hostUrl: so-postgres
port: 5432
username:
password:
dbname: securityonion
sslMode: require
assistantEnabled: true
playbook:
autoUpdateEnabled: true
playbookImportFrequencySeconds: 86400