From 6fbb00259458d1d4a6a6a82fd5a2837585114cde Mon Sep 17 00:00:00 2001 From: shifter Date: Mon, 18 Nov 2024 14:52:53 +0100 Subject: [PATCH] news: add entry for check-program Signed-off-by: shifter --- news/feature-380.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 news/feature-380.md diff --git a/news/feature-380.md b/news/feature-380.md new file mode 100644 index 000000000..86305cb58 --- /dev/null +++ b/news/feature-380.md @@ -0,0 +1,14 @@ +`check-program`: Introduced as a flag for global or source options. + +By default, this flag is set to false. Enabling the check-program flag triggers `program` name validation for `RFC3164` messages. Valid `program` names must adhere to the following criteria: + +Contain only these characters: `[a-zA-Z0-9-_/().]` +Include at least one alphabetical character. +If a `program` name fails validation, it will be considered part of the log message. + + +Example: + +``` +source { network(flags(check-hostname, check-program)); }; +```