TMAegisBêta
Plus de règles pour yugabytedb

YugabyteDB

TMA-YUGABYTEDB-3.1.1

Ensure the log destinations are set correctly

MoyenneNiveau 1Revue manuelleyugabytedb

Description

YugabyteDB by default supports logging server messages to stderr. Assessed manually here: the benchmark check is environment-specific and cannot be evaluated reliably by a single command.

Méthode de vérification

Méthode d'audit: Revue manuelle

Cette recommandation ne peut pas être vérifiée automatiquement. Une analyse la liste avec ces instructions lorsque vous passez --include-manual.

Run SHOW log_destination; in ysqlsh. The value (default stderr) must include every log destination your organisation logging policy requires (e.g. stderr, csvlog, syslog). Missing required destinations are a finding.

Méthode de correction

Méthode de correction: Recommandation ou correctif d'infrastructure

Use the yb-tserver binary and its flags to configure the YB-TServer server. Add the following GFLAG to YB-TServer: ./bin/yb-tserver --ysql_pg_conf_csv="log_destination='stderr'"

Propriétés

Systèmes d'exploitation
Tous
Étiquettes
yugabytedblogging
Référence
CIS YugabyteDB Benchmark v2.0.0 - 3.1.1 Ensure the log destinations are set correctly