Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@

--- develop ---

* docs: Add a NOTICE file and a SPDX `.license` file for every recommendation catalogue, and `copyright`, `license`, `license_url` and `source` fields in each catalogue's JSON. The vendor-derived catalogues are marked as separate works aggregated with the plugin and not licensed under the GPL; the NVIDIA catalogue's Cumulus Linux records are identified as CC BY-NC-SA 4.0
* change: The Cisco recommendation catalogue (docs/cisco.json.gz) is no longer loaded automatically on install or upgrade; every catalogue is now imported only on request. Records an earlier upgrade loaded are kept
* feature: Add collector scripts in contrib/recommendations/vendors/ that build Arista, Cisco, Dell, Fortinet, HPE, Huawei, Juniper, Nokia, NVIDIA and Palo Alto Networks recommendation catalogues from each vendor's published documentation, for import on a site's own Recommendations page. They obey robots.txt and use browser-saved documents where a vendor does not allow scripted downloads; the catalogues remain under the vendor's terms and are not redistributable. See docs/VENDOR_COLLECTORS.md
* security: Remove the recommendation catalogues derived from network vendors' documentation (Arista, Cisco, Dell, Fortinet, HPE, Huawei, Juniper, MikroTik, Nokia, NVIDIA and Palo Alto Networks) together with their build entries and documentation, because that documentation is not licensed for redistribution with the plugin. No catalogue is loaded automatically any more; earlier 5.0 builds loaded the Cisco catalogue once on install or upgrade. Records already imported into a database are not deleted: to remove them, filter the Recommendations page by vendor and use the Delete action
* docs: Add a NOTICE file and a SPDX `.license` file for every recommendation catalogue, and `copyright`, `license`, `license_url` and `source` fields in each catalogue's JSON
* feature: Add a manually importable, hand-written Linux recommendation catalogue in docs/linux-curated.json.gz: 70 pattern recommendations with recommended actions for kernel memory, lockup, crash, hardware, storage, filesystem, RAID, network, time, authentication, security-module, systemd and logging messages, built from contrib/recommendations/linux-curated.json, whose sample messages the unit tests replay
* feature: Among matching pattern recommendations, the details flyout now shows those with a recommended action first, so curated advice wins over description-only records whichever catalogue was imported first; patterns are now stored exactly as written instead of having surrounding spaces trimmed
* feature: Add a manually importable Linux pattern recommendation catalogue in docs/linux-wazuh.json.gz with 411 records converted from 315 rules of the Wazuh 4.14.11 ruleset (GPL-2.0), covering core Linux services, mail, network services and databases; contrib/recommendations/extract_wazuh_rules.py converts the rules and decoders, and build_catalogues.py now keeps the regex and program fields
Expand All @@ -20,7 +21,6 @@
* issue#480: Split the syslog upgrade notice in `includes/installer.php` into separate balanced `<p>` translation strings, regenerate `locales/po/cacti.pot`, and remove orphan `locales/LC_MESSAGES/ka.mo`
* issue#479: With more than one Syslog Processing Process, the master no longer waits out the full ten second registration window on each phase when its workers have already finished or exited
* issue#479: Replace the GET_LOCK()-based Syslog processing lock with Cacti's process registry so transfer workers no longer stop writing when their database connection is routed to a different cluster node; the master, partition rebuilds and on-demand table repair now coordinate through register_process_start('syslog','master',...) and workers verify the master by process id
* feature: Add manually importable recommendation catalogues for Arista, Dell, Fortinet, HPE, Huawei, MikroTik, Nokia, NVIDIA and Palo Alto Networks in docs/<vendor>.json.gz, built from each vendor's public message references
* feature: Recommendations are matched only against the sending device's vendor (and vendor-neutral records) when the syslog host is a Cacti device whose vendor is recognised from its SNMP sysDescr or device template and has records; other hosts match every vendor, except that all-digit identifiers then match only vendor-neutral records

* feature: Preserve legacy DATETIME logtime history (including TO_DAYS partitioned tables) in cli/upgrade_partitioning.php with --source-time-zone=<zone>. Before any change the zone must be known to PHP/Cacti and the Syslog database, both must agree on its offsets across the stored history, and every value must exist in it. Stored and removed messages are then renamed and copied in verified batches in that zone, and a retry must reuse the same zone
Expand Down Expand Up @@ -58,9 +58,9 @@
* feature: The Report Rules Message Match String is a resizable text area, taller for SQL Expressions


* feature#46: Add Recommendations. A vendor-neutral `syslog_recommendations` table maps a message identifier (a Cisco `%FACILITY-SEV-MNEMONIC`, a Juniper `RPD_OSPF_NBRDOWN`, and so on) to an explanation and a recommended action. Hovering over a row in the Syslog tab now asks the server for a matching recommendation and shows its explanation and recommended action in the tooltip. Console > Syslog Settings > Recommendations (Syslog Administration realm) adds, edits and deletes records and imports and exports them as JSON, using field names drawn from Sigma and the Elastic Common Schema so catalogues from other suppliers can be converted. docs/cisco.json.gz, converted from the Cisco Error Message Database (CEMDB) shipped with php-syslog-ng, is loaded once on install or upgrade without overwriting existing records
* feature#46: Add Recommendations. A vendor-neutral `syslog_recommendations` table maps a message identifier (a Cisco `%FACILITY-SEV-MNEMONIC`, a Juniper `RPD_OSPF_NBRDOWN`, and so on) to an explanation and a recommended action. Hovering over a row in the Syslog tab now asks the server for a matching recommendation and shows its explanation and recommended action in the tooltip. Console > Syslog Settings > Recommendations (Syslog Administration realm) adds, edits and deletes records and imports and exports them as JSON, using field names drawn from Sigma and the Elastic Common Schema so catalogues from other suppliers can be converted.

* feature: Add an optional Juniper EX Series recommendation catalogue in docs/juniper.json.gz, convert the Cisco seed to docs/cisco.json.gz, accept .json and .json.gz recommendation imports, and export gzip-compressed JSON by default while retaining one-time Cisco seeding
* feature: Accept .json and .json.gz recommendation imports, and export gzip-compressed JSON by default

* issue#458: Initialize and validate the active tab before saving view defaults, avoiding a TypeError that disables Syslog and stops processing
* issue#459: Explain that SQL Expression rule previews search only queued incoming messages, so an empty preview is not mistaken for an alert-processing failure
Expand Down
37 changes: 9 additions & 28 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ The recommendation catalogues are data files that the plugin can import on
request. None is loaded automatically. Each catalogue has a <file>.license
file next to it with its SPDX copyright and license tags, and the same
copyright, license, license_url and source fields at the top of its JSON
document.

Openly licensed catalogues, distributed under their own licenses:
document. All are openly licensed and distributed under their own licenses:

docs/linux.json.gz systemd journal message catalog.
Copyright systemd contributors.
Expand All @@ -28,32 +26,15 @@ Openly licensed catalogues, distributed under their own licenses:
contrib/recommendations/linux-curated.json).
Copyright The Cacti Group. GPL-2.0-or-later.

Vendor-derived catalogues:

docs/arista.json.gz, docs/cisco.json.gz, docs/dell.json.gz,
docs/fortinet.json.gz, docs/hpe.json.gz, docs/huawei.json.gz,
docs/juniper.json.gz, docs/mikrotik.json.gz, docs/nokia.json.gz,
docs/nvidia.json.gz, docs/paloalto.json.gz

These catalogues are separate works aggregated with the Syslog plugin. They are
not part of the plugin and are not licensed under the GNU General Public
License. Their content is condensed from the vendors' public documentation,
which remains Copyright its respective owners, all rights reserved, and is
subject to each owner's terms. Their .license files name those terms with
LicenseRef- identifiers (for example LicenseRef-Cisco-Terms-of-Use); these are
references to the vendor's terms of use, not open licenses. The terms are
linked from the "Recommendation sources and licensing" section of README.md
and in each file's license_url field. The catalogues are provided for
reference and interoperability with the vendors' products. Check the vendor's
terms before redistributing a catalogue outside your organisation.
Vendor catalogue collectors (contrib/recommendations/vendors/)
--------------------------------------------------------------

docs/nvidia.json.gz is partly openly licensed: its Cumulus Linux switchd and
FRRouting records come from NVIDIA networking documentation licensed under
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
(CC-BY-NC-SA-4.0, https://docs.nvidia.com/networking-ethernet-software/license/),
which permits non-commercial sharing with attribution under the same license.
That license is not compatible with the GPL. Its Xid and SXid records come from
documentation under the NVIDIA Terms of Service.
These scripts are part of the plugin (GPL-2.0-or-later). They download or
read a network vendor's published documentation and write a recommendation
catalogue for use within the organisation that runs them. They contain no
vendor documentation themselves. The catalogues they produce are copies of
the vendor's material, remain subject to that vendor's terms, are not part of
the plugin and must not be redistributed with it. See docs/VENDOR_COLLECTORS.md.

Trademarks are the property of their respective owners. This notice describes
where the data comes from and is not legal advice.
Loading
Loading