Skip to content

CFE-159: Added the silence attribute to body changes - #6301

Open
nickanderson wants to merge 2 commits into
cfengine:masterfrom
nickanderson:CFE-159/master
Open

CFE-159: Added the silence attribute to body changes#6301
nickanderson wants to merge 2 commits into
cfengine:masterfrom
nickanderson:CFE-159/master

Conversation

@nickanderson

Copy link
Copy Markdown
Member

The silence attribute on body changes takes a list of change categories (content, add, remove, owner, group, perms, device, mtime, inode, stats or all) whose alert output is suppressed. The promise outcome classes, the checksum_alerts class and the file_changes.log audit record are all still written, so policy can react to a change without the operator being alerted about it.

Ticket: CFE-159

Comment thread cf-agent/files_changes.c Fixed
Comment thread cf-agent/files_changes.c Fixed
Comment thread cf-agent/files_changes.c Fixed
Comment thread cf-agent/files_changes.c Fixed
Comment thread cf-agent/files_changes.c Fixed
The 'silence' attribute takes a list of change categories (content, add,
remove, owner, group, perms, device, mtime, inode, stats or all) whose alert
output is suppressed. A silenced category no longer logs its alert, while the
promise outcome classes, the checksum_alerts class and the persistent audit
log in file_changes.log are all still recorded, so policy can keep reacting
to the change. Failures are never silenced.

Ticket: CFE-159
Changelog: Added the `silence` attribute to `body changes`, which suppresses the alert output of selected file-change categories while still setting the change classes and writing the audit log.
@nickanderson

Copy link
Copy Markdown
Member Author

@cf-bottom jenkins, please

@nickanderson
nickanderson requested a review from larsewi August 17, 2026 20:25
@cf-bottom

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants