TMA-DB2-DISCOVER
Ensure DISCOVER is set to DISABLE
낮음레벨 2자동db2
설명
DISCOVER=SEARCH lets the instance answer network discovery requests, advertising instances and databases to anyone on the network. Run as the instance owner (or with sqllib/db2profile sourced) so 'db2 get dbm cfg' reads the instance configuration.
점검 방법
감사 방식: 셸 명령
shell
out=$(db2 get dbm cfg 2>/dev/null) || exit 1; printf '%s\n' "$out" | awk -F= '/\(DISCOVER\)/ {v=$2; gsub(/[ \t]/, "", v); f=1} END {if (f && (v == "DISABLE")) print "compliant"; else print "noncompliant: " v}'- 예상 출력
compliant
조치 방법
조치 방식: 가이드 또는 인프라 패치
db2 update dbm cfg using DISCOVER DISABLE; then db2stop && db2start
속성
- 운영 체제
- 모두
- 태그
- db2databasenetwork
- 참고 자료
- CIS IBM Db2 Benchmark - Instance Configuration / Discovery (verify section number for your release)
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
shell
tmaegis scan --target db2 --level 2