Skip to content

Commit 6da28e7

Browse files
committed
Fix OpenSnitch logger config field names
The LoggerConfig uses "Name" not "Type", and "Enabled" is not a valid field. Corrected to match the actual struct definition. Signed-off-by: Rafa Porres Molina <rporresm@redhat.com> Assisted-by: Claude Sonnet 4.5
1 parent b5a02c4 commit 6da28e7

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

scripts/egress/setup_opensnitch.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,8 @@ cat > /etc/opensnitchd/default-config.json <<'CONF'
5555
"LogFile": "/var/log/opensnitchd.log",
5656
"Loggers": [
5757
{
58-
"Enabled": true,
59-
"Format": "rfc5424",
60-
"Type": "syslog"
58+
"Name": "syslog",
59+
"Format": "rfc5424"
6160
}
6261
]
6362
},

0 commit comments

Comments
 (0)