XYGATE Merged Audit Reference Manual

Table Of Contents
XYGATE Merged Audit
®
Reference Manual
Chapter 3. Configuring Filters and the FILTERS File
XYPRO Technology Corporation 74 Proprietary and Confidential
3.5.1 Node-Conditional Operators
A node-conditional operator defines how the specified node name will be evaluated.
= An exact match between the individual node specified and the name of the node
on which the xxACL file is being loaded. You can only specify an individual, non-
wildcarded node name. If the names match, the conditional text will be evaluated
for that product and node.
NODE = "\WIRE" would only match \WIRE.
<> An exact match between the individual node specified and the name of the node
on which the xxACL file is being loaded. You can only specify an individual, non-
wildcarded node name. If the names match, the conditional text will be ignored
for that product and node.
NODE <> "\DEV" would match any node except \DEV.
LIKE Use LIKE when you wish to wildcard the names of nodes to include. You must
use regular expression style wildcarding. Refer to the XYGATE Regular
Expressions manual. (To get this and other XYPRO documents, refer to the
section “Additional XYPRO Reference Manuals” in this manual.) If the current
node name matches the regular expression pattern, the conditional text will be
evaluated for that product and node.
NOTLIKE Use NOTLIKE when you wish to wildcard the names of nodes to exclude. You
must use regular expression style wildcarding. (Refer to the XYGATE Regular
Expressions manual.) If the current node name matches the regular expression
pattern, the conditional text will be ignored for that product and node.
In Example 1 below, if the node on which the MOVER using this Filter is running is
\DEV01, then send email alerts via TCP/IP process $ZTC0. If the MOVER is running
on \PROD1, then use TCP/IP process $ZTCP2.
Example 1: How to specify different TCP/IP processes on different nodes
ACTION_BEGIN
ACTIONTYPE MAIL
MAIL_SRV mail.xypro.com
MAIL_PORT 25
MAIL_FROM XMA@xypro.com
MAIL_TO security@xypro.com
#IF @NODE = "\DEV01"
MAIL_IPPROCESS $ZTC0
#ENDIF
#IF @NODE = "\PROD1"
MAIL_IPPROCESS $ZTCP2
#ENDIF
MAIL_SUBJECT XMA-|(AUDIT.SUBJECTLOGIN)| INVOKED |(AUDIT.RULENAME)|
! MAIL_BODY \N1.$VTLH.P28v160.MAILSAFE
! To prevent alerts on old events, enter MAXRECORDAGE value in SECONDS
! 1 hour = 3600 (60sec x 60min)
MAXRECORDAGE 3600 ! 1 hour
ACTION_END