TMAegisBeta
yugabytedb için daha fazla kural

YugabyteDB

TMA-YUGABYTEDB-3.1.7

Ensure the correct syslog facility is selected

DüşükDüzey 1Manuel incelemeyugabytedb

Açıklama

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.

Nasıl denetlenir

Denetim yöntemi: Manuel inceleme

Bu öneri otomatik olarak denetlenemez. --include-manual parametresini verdiğinizde tarama bunu bu talimatlarla birlikte listeler.

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.

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

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'"

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
yugabytedblogging
Referans
CIS YugabyteDB Benchmark v2.0.0 - 3.1.7 Ensure the correct syslog facility is selected