Skip to content

Commit

Permalink
news: add entry for check-program
Browse files Browse the repository at this point in the history
Signed-off-by: shifter <shifter@axoflow.com>
  • Loading branch information
bshifter committed Nov 18, 2024
1 parent 8878419 commit 6fbb002
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions news/feature-380.md
Original file line number Diff line number Diff line change
@@ -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)); };
```

0 comments on commit 6fbb002

Please sign in to comment.