TMAegisBeta
Thêm quy tắc cho fortiswitch

Fortinet FortiSwitch

TMA-FORTISWITCH-1.4.2.2

Ensure only encrypted access channels are enabled

CaoCấp 1Tự độngfortiswitch

Mô tả

Allow only HTTPS access to the GUI and SSH access to the CLI. FAILs if any interface allowaccess list contains http or telnet. Audited against FortiSwitchOS 'show full-configuration' output (standalone FortiSwitch, saved in full); patterns are scoped to the named 'config ... end' block, whose member lines are indented.

Cách kiểm tra

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

Mẫu khớp
(?m)^config system interface\n(?:[ \t]+[^\n]*\n)*?[ \t]+set allowaccess [^\n]*\b(?:telnet|http)\b[^\n]*[ \t]*$

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

config system interface edit "mgmt" set allowaccess https ping ssh snmp next end # CIS guidance: If HTTP or Telnet is in the allowaccess list, you will have to set that list again with the same elements except for http or telnet. On CLI: config system interface edit port1 set allowaccess ssh https ping snmp end In the web GUI, click on: 1. Network > Interfaces, select the interface and click "Edit". 2. In the interface setting page, uncheck HTTP and Telnet in the section "Administrative Access".

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
fortiswitchcrypto
Tham chiếu
CIS FortiSwitch Benchmark v1.0.0 - 1.4.2.2 Ensure only encrypted access channels are enabled

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 fortiswitch