Project

General

Profile

Actions

Feature #12118

closed

Create a log entry when a configuration change occurs

Added by Tyler Montney almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Logging
Target version:
Start date:
07/09/2021
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.01
Release Notes:
Default

Description

When rules are modified, the only thing syslog sends is filterdns96878: merge_config: configuration reload. Instead, syslog should...

  • At minimum, send config related to X has changed (e.g. system12345: fwrules: rule changed).
  • Ideally, give a brief description of what changed (e.g. system12345: fwrules: rule {ID} added/modified/deleted).
Actions #1

Updated by Jim Pingle almost 3 years ago

  • Assignee set to Jim Pingle
  • Plus Target Version set to 21.09
Actions #2

Updated by Jim Pingle almost 3 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Jim Pingle almost 3 years ago

As implemented it will log the same description which is added to the configuration already (which shows in the configuration history).

Any additional detail would have to come from separate feature requests to add more detail/specific information to the revision description when making other changes, and would not be related to this logging feature.

Actions #4

Updated by Max Leighton almost 3 years ago

  • Status changed from Feedback to Resolved

Tested in

21.09-DEVELOPMENT (arm64)
built on Sat Jul 24 01:10:30 EDT 2021
FreeBSD 12.2-STABLE

And

2.6.0-DEVELOPMENT (amd64)
built on Sat Jul 24 01:08:17 EDT 2021
FreeBSD 12.2-STABLE

I now see the following in the System Logs when making changes to firewall rules:
/firewall_rules_edit.php: Configuration Change: (Local Database): Firewall: Rules - saved/edited a firewall rule.

Marking the ticket resolved.

Actions #5

Updated by Jim Pingle over 2 years ago

  • Subject changed from Send syslog on rule modification to Create a log entry when a configuration change occurs

Updating subject for release notes.

Actions #6

Updated by Jim Pingle over 2 years ago

  • Plus Target Version changed from 21.09 to 22.01
Actions

Also available in: Atom PDF