TMAegisBeta
Thêm quy tắc cho cisco-nxos

Cisco NX-OS

TMA-CISCO-NXOS-NO-FEATURE-NXAPI

Ensure NX-API is disabled when not used

Trung bìnhCấp 2Tự độngcisco-nxos

Mô tả

NX-API exposes an HTTP/HTTPS programmable interface; disable it unless automation requires it and access is restricted. Audited against the output of 'show running-config' (run 'terminal length 0' first; do not use 'show running-config all', which adds default values).

Cách kiểm tra

Phương pháp kiểm tra: Mẫu cấu hình

Mẫu khớp
(?m)^feature nxapi\s*$

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

configure terminal no feature nxapi end

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
cisco-nxosnetworkmanagement-plane
Tham chiếu
CIS Cisco NX-OS Benchmark - Management Plane / Disable unneeded services (verify section number for your release)

Kiểm tra máy này

Chạy lệnh này trên máy bạn được phép kiểm tra. Lần quét chỉ ở chế độ đọc.

shell
tmaegis scan --target cisco-nxos --level 2