{# SPDX-License-Identifier: AGPL-3.0-only Copyright 2026 Mouad Lyaazale. Additional terms (author attribution, names): see NOTICE. -#} {% extends "base.html" %} {% block title %}Settings{% endblock %} {% block nav_settings %}active{% endblock %} {% block content %}

Settings

Stored in the project's private folder on this PC.

{% if errors %}
{% endif %} {% if saved %}
{{ saved }}
{% endif %}

Organization

Shown on the cover of exported reports.

Assessment

Levels 1 and 2 are always assessed. Level 3 (Advanced) adds access-layer protections: DHCP snooping, ARP inspection, 802.1X / MAC authentication, storm control and no CDP/LLDP towards users.

Health monitoring

After every scheduled scan, {{ project }} calls this URL (HTTP GET). Create a "dead man's switch" check in an external monitor (Healthchecks.io, Uptime Kuma push monitor...): it alerts you when the calls stop, even if this PC is off. Monitoring tools can also read /health (no login; HTTP 503 when scheduled scans have stopped).

{% if heartbeat_set %}{% endif %}

Data protection

Collected configurations contain password hashes, keys and the layout of your network; results list each switch's weaknesses. {{ project }} encrypts them at rest with {% if data_protection.backend == "dpapi" %}Windows DPAPI (readable only by this Windows user){% else %}AES-256-GCM (master key: LYSS_MASTER_KEY or master.key in the data directory: keep it elsewhere and back it up){% endif %}. Now: {{ data_protection.sealed }} encrypted file(s), {{ data_protection.plain }} plain. To restore a configuration on a switch, print a stored version with python -m lyss data config <switch>.

Scheduled scans

Collects and audits every switch automatically (read-only). Each run is an automatic configuration backup (LYSS-BKP-001). Runs while {{ project }} is open; otherwise schedule python -m lyss collect --scheduled with cron or the Windows Task Scheduler. {% if schedule.last_run %}Last scheduled run: {{ schedule.last_run.replace("T", " ") }}.{% endif %}

Days {% for name in weekdays %}{% endfor %}

Remediation

Lets {{ project }} apply low-risk fixes when you click "Apply" on the Remediation page (preview, backup, automatic rollback, verification, then save; every change logged). Off by default. Never automatic.

Sites

Head office, agencies, subsidiaries… A switch belongs to the site whose ranges contain its address (the most specific range wins), unless a site is chosen on the switch itself. {% if unsited %}{{ unsited }} switch{{ "es" if unsited != 1 }} outside every site.{% endif %}

{% if sites %} {% for s in sites %} {% endfor %}
SiteRangesSwitches
{{ s.name }} {{ s.ranges|join(", ") }} {{ s.used }}
{% endif %}
CIDR, single addresses or a-b on the last octet. Saving a site with an existing name replaces its ranges.

Credential profiles

A read-only account shared by several switches. Passwords are encrypted with Windows DPAPI and never shown again.

{% if profiles %} {% for p in profiles %} {% endfor %}
ProfileUsernameUsed by
{{ p.name }}{{ p.username }}{{ p.used }} switch{{ "es" if p.used != 1 }}
{% endif %}
Saving a profile with an existing name replaces its credentials (e.g. after a password rotation).

Jump host

SSH bastion used to reach switches that are not directly reachable (key authentication only). Leave the address empty to disable.

E-mail alerts

After each scan: new failures (regressions), collection errors and newly discovered switches.

SIEM events (syslog / Wazuh)

After each scan, one JSON event per switch (level, counts), per failed control, per regression or fix, and per collection error. Ready-made Wazuh rules: integrations/wazuh.

The events file is for a local agent (Wazuh <localfile> with <log_format>json</log_format>, Filebeat). Evidence lines are redacted: no password hashes, keys or communities.

Rescan on change (Wazuh)

When Wazuh reports that a switch configuration changed, or that an administrator session on it ended, LYSS rescans that switch at once. LYSS queries the Wazuh dashboard with a read-only account (integrations/wazuh/reader-account.sh); nothing connects to this machine. LYSS's own sessions are ignored.

CISO Assistant

Sends the fleet report as a new revision of an evidence in CISO Assistant (open-source GRC), for ISO 27001 audits.

Administrator password

{% endblock %}