YugabyteDB
TMA-YUGABYTEDB-3.1.7
Ensure the correct syslog facility is selected
Deskripsi
The syslog_facility setting specifies the syslog "facility" to be used when logging to syslog is enabled. You can choose from any of the 'local' facilities: - LOCAL0 - LOCAL1 - LOCAL2 - LOCAL3 - LOCAL4 - LOCAL5 - LOCAL6 - LOCAL7 Your organization's logging policy should dictate which facility to use based on the syslog daemon in use.
Cara pemeriksaan
Metode audit: Tinjauan manual
Run SHOW syslog_facility; in ysqlsh (default local0). Where syslog is a log destination, the facility must be the one your syslog configuration routes to the protected YugabyteDB log (for example local1); an unrouted or shared facility is a finding.
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
Use the yb-tserver binary and its flags to configure the YB-TServer server (in this example, setting it to the LOCAL1 facility). Add the following GFLAG to YB- TServer: ./bin/yb-tserver --ysql_pg_conf_csv="syslog_facility='local1'"
Properti
- Sistem operasi
- Apa saja
- Tag
- yugabytedblogging
- Referensi
- CIS YugabyteDB Benchmark v2.0.0 - 3.1.7 Ensure the correct syslog facility is selected