Prisma Cloud Compute: How to whitelist writing messages to /var/log/messages
905
Created On 04/17/25 18:05 PM - Last Modified 08/22/25 17:24 PM
Objective
This article explains how we can whitelist defender writing messages to syslog i.e /var/log/messages.
Environment
- Prisma Cloud Compute Edition
- Prisma Cloud Enterprise Edition
Procedure
-
Please try the following steps:
- Go to /etc/rsyslog.d
- Add a new conf file here let's say "Defender.conf" (vi Defender.conf)
- Add below line in the Defender.conf file: if $msg contains "<write-your-message-here>" then stop
- Save file.
- Restart syslog server: sudo systemctl restart rsyslog