Skip to content

LYSS 0.19.0: specification review before 1.0, stricter checks

Choose a tag to compare

@MouadLyaazale MouadLyaazale released this 11 Nov 22:23

Review of the specification before the 1.0 release candidate (specification 0.8.0-draft). No control was added or removed and no control ID changed. Several checks are stricter: a switch that passed with 0.18 can fail now. Rescan and read the list below.

Specification

  • Advisory controls: from 1.0, a control added to an existing level within a major version is advisory: assessed and reported, but it never decides a level or a CI gate until the next major version. A switch that conforms to 1.x Level N keeps conforming to later 1.y versions.
  • Terms defined: uplink, edge port, access port (an enabled edge port), user VLAN, management VLAN.
  • not_applicable means that what the control protects does not exist on the device. A missing security feature fails.
  • Parameters: assessed with the documented values; stricter values are allowed and stated in the claim.

Stricter checks

  • LYSS-MGMT-010 covers every remote management path, not only SSH: web interface, SNMP and API on Cisco IOS, Arista, Huawei and SONiC.
  • LYSS-ACC-011 on Cisco IOS also counts enabled ports left at the default mode.
  • LYSS-MGMT-011 also fails an access port in a VLAN that carries a switch address on Juniper EX and MikroTik.
  • Huawei: untagged hybrid ports are access ports. AOS-CX: switched ports without a vlan access line are access ports.

Fixes

  • A switch without access ports (core, aggregation) can now reach Level 3: a level whose controls are all not applicable is met.
  • Disabled ports are not access ports, on every platform.
  • Junos: a RADIUS / TACACS+ secret stored as $8$ (master password) is no longer taken for cleartext.
  • SONiC Level 3 is "not applicable" only without untagged VLAN member ports, otherwise "unknown".

Known limit, unchanged: on MikroTik and SONiC, LYSS-ACC-011 only sees the ports marked as edge ports.

pip install "lyss==0.19.0" · Full changelog: CHANGELOG.md