XYGATE Access Control Reference Manual
XYGATE
®
Access Control Reference Manual
Chapter 7. XAC Auditing and Audit Reports
XYPRO Technology Corporation 84 Proprietary and Confidential
7.7 Batch XAC_AUDIT_REPORTs
The XAC_AUDIT_REPORT macro is used to generate the same report in a batch
manner as XAC_REPORT does interactively. With the addition of the
XAC_DATETIME_MAKE macro, a batch report can be written to provide periodic
reports.
Sample Report:
?tacl macro
#frame
[#push
t_t1
t_t2
]
== t_t1 is empty
== compute date 7 days back
xac_datetime_make 7
== put date computed and time of 00:00 into t_t1
#set t_t1 [xac_dt_year4]-[xac_dt_month]-[xac_dt_day] 00:00
== t_t2 is empty
== compute date and time 1 day back
xac_datetime_make 1
== put computed end date into t_t2
#set t_t2 [xac_dt_year4]-[xac_dt_month]-[xac_dt_day] 23:59
== invoke xac_audit_report macro with computed date range for first four params.
[xac_audit_report
[t_t1] == beginning date
[t_t2] == end date
*,* == subject userid
* == subject login name
Y == display output
* == subject terminal
* == command
N == display violations
audit == audit filename
$s.#xygate.objsec == output location
session == sort order
]
#unframe
The report shown will run a complete audit dump for the previous week. This file can
be set up in NetBatch to run every week.