TMAegis
Aturan lainnya untuk oracle-db

TMA-ORACLE-DB-2.2.5

Ensure 'SQLNET.ALLOWED_LOGON_VERSION_SERVER' Is Set To 12a

TinggiLevel 1Otomatisoracle-db

Deskripsi

This setting SQLNET.ALLOWED_LOGON_VERSION_SERVER configures the minimum authentication protocols clients can use to connect to database instances. Please note that the term VERSION in the parameter name refers to the version of the authentication protocol, not the version of the Oracle Database release. The last uncommented setting in sqlnet.ora must equal 12A (case-insensitive, spaces ignored). Default: 12 Reads the file from $TNS_ADMIN, or $ORACLE_HOME/network/admin when TNS_ADMIN is unset (Linux/UNIX hosts); fails when neither directory exists.

Cara pemeriksaan

Metode audit: Perintah shell

shell
d="${TNS_ADMIN:-${ORACLE_HOME:?ORACLE_HOME not set}/network/admin}"; [ -d "$d" ] || { echo "missing $d"; exit 1; }; f="$d/sqlnet.ora"; [ -f "$f" ] || { echo "noncompliant: $f not found"; exit 0; }; v=$(grep -Ei '^[[:space:]]*SQLNET\.ALLOWED_LOGON_VERSION_SERVER[[:space:]]*=' "$f" | tail -n 1 | sed 's/^[^=]*=//' | tr -d ' \t\r' | tr '[:lower:]' '[:upper:]'); [ "$v" = "12A" ] && echo compliant || echo "noncompliant: ${v:-not set}"
Output yang diharapkan
compliant

Cara perbaikan

Metode perbaikan: Panduan atau patch infrastruktur

To remediate this recommendation, set SQLNET.ALLOWED_LOGON_VERSION_SERVER to 12a.

Properti

Sistem operasi
Apa saja
Tag
oracle-dbdatabaseoraclenetworkencryption
Referensi
CIS Oracle Database 23ai Benchmark v1.1.0 - 2.2.5 Ensure 'SQLNET.ALLOWED_LOGON_VERSION_SERVER' Is Set To 12a

Periksa host ini

Jalankan ini pada mesin yang diizinkan untuk Anda audit. Pemindaian bersifat hanya baca.

shell
tmaegis scan --target oracle-db