#include <nwaudit.h> or #include <nwnet.h>NWCCODE N_API NWReadAuditingBitMap (NWCONN_HANDLE conn, nuint32 volumeNumber, nuint8 N_FAR auditKey, NWAuditBitMap N_FAR buffer, nuint16 bufferSize);
NWAuditBitMap may also be read by calling NWReadAuditConfigHeader.
When a bit in auditBitMapID is set to one, it generates an event and saves it in the audit file. The definition of the set bits follow:
Bit | Function | Description |
---|---|---|
A_BIT_GOPEN_FILE | Global Open | Specifies all file opens are audited. |
A_BIT_IOPEN_FILE | Intersection Open | Specifies the intersection of events by a user or a file open is audited. |
A_BIT_UOPEN_FILE | Union Open | Specifies the union of events by a user and a file open is audited. |
------------------------------------------------------------- | Bit | Function | Description | |-----------------|-------------------|----------------------| | A_BIT_GOPEN_FILE| Global Open | Specifies all file | | | | opens are audited. | |-----------------|-------------------|----------------------| | A_BIT_IOPEN_FILE| Intersection Open| Specifies the | | | | intersection of | | | | events by a user or | | | | a file open is | | | | audited. | |-----------------|-------------------|----------------------| | A_BIT_UOPEN_FILE| Union Open | Specifies the union | | | | of events by a user | | | | and a file open is | | | | audited. | |-----------------|-------------------|----------------------|auditBitMapID lists the bits defined by the event bit map in the audit file configuration header. The first 32 bits are reserved for Directory Services for container auditing.
0x2222 | 88 | 10 | Read Audit Bit Map |
----------------------------------------- | 0x2222| 88| 10| Read Audit Bit Map | |-------|----|----|----------------------|