TMAegisBeta
Thêm quy tắc cho arista-eos

Arista EOS

TMA-ARISTA-EOS-2.9

API access using https

CaoCấp 2Tự độngarista-eos

Mô tả

The Arista Command eAPI is a simple and complete API that allows you to configure and monitor your Arista switches. Once the API is enabled, the switch accepts HTTPS requests containing a list of industry standard CLI commands, and responds with machine-readable output and errors serialized in JSON (served over HTTP or HTTPS). HTTP can be enabled but should be left disabled. EOS API provides structured output more suitable for programmatic parsing than cli scraping. If the API is enabled, it should only use https, not http. Fails if eAPI has plain 'protocol http' enabled. Audited against the output of 'show running-config' (not 'show running-config all').

Cách kiểm tra

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

Mẫu khớp
(?m)^management api http-commands[^\n]*\n(?:[ \t][^\n]*\n)*?[ \t]+protocol http(?: |\r?$)

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

! management api http-commands no shutdown default protocol http vrf MGMT no shutdown

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
arista-eosnetworkmanagement-plane
Tham chiếu
CIS Arista EOS Benchmark v1.0.0 - 2.9 API access using https

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 arista-eos --level 2