XYGATE Compliance PRO (XSW) Reference Manual

XYGATE
®
Compliance PRO
Reference Manual
Chapter 12. XSW Auditing and Audit Reporting
XYPRO Technology Corporation 220 Proprietary and Confidential
12.4.3 Designing Your Own Custom Audit Reports (REPMAC)
Below is a sample report macro. It can also be found in the install subvol and is called
REPMAC. It runs a complete audit report for the previous week. This file can be set up
in NetBatch to run every week.
Refer to the XSW_DATETIME_MAKE macro on page 247 and the
XSW_AUDIT_REPORT macro on page 244 for more information.
REPMAC
Sample Report:
?tacl macro
#frame
[#push
t_from_date
t_to_date
]
XSW_datetime_make 7
#set t_from_date [XSW_dt_year4]-[XSW_dt_month]-[XSW_dt_day]
XSW_datetime_make 1
#set t_to_date [XSW_dt_year4]-[XSW_dt_month]-[XSW_dt_day]
[XSW_audit_report
[t_from_date] == Start date
00:00 == Start time
[t_to_date] == End date
23:59 == End time
*,* == user format: #,#
* == login name format group.user
$SYSTEM.XYGATESW.audit == audit file
$s.#XSW.report == output file
* == platform
SUBJECT-LOGIN == sort order USER,SUBJECT-LOGIN,CLIENT-LOGIN,TIME,
0 == debug (0=off, 1=on)
* == user title
* == IP address
* == machine name
* == object type
* == object name
* == operation
* == outcome
* == result
* == client logon
* == custom columns
* == custom sort
* == custom width
* == custom lines
]
#unframe