TMAegisBeta
Thêm quy tắc cho fortiswitch

Fortinet FortiSwitch

TMA-FORTISWITCH-1.4.2.1

Disable unsecure management services on Management, SVI, or Loopback interfaces

Trung bìnhCấp 1Tự độngfortiswitch

Mô tả

Only secure management related services such as HTTPS, PING, SSH, SNMP, and RADIUS should be used on management interfaces. 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: On GUI: Go to "System" > "Network" > "Interface". Review the Physical, VLAN, or Loopback interface and disable HTTP and Telnet services. On CLI: config system interface edit "mgmt" set allowaccess https ping ssh snmp Note: 1. Interface name may differ based on deployment. For this example, mgmt is a switch with a dedicated management interface. Switches without a management interface this would be set to "internal".

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
fortiswitchmanagement
Tham chiếu
CIS FortiSwitch Benchmark v1.0.0 - 1.4.2.1 Disable unsecure management services on Management, SVI, or Loopback interfaces

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