Defining object type load auditing

Build 1501 on 14/Nov/2017  This topic last edited on: 11/Mar/2015, at 18:22

Auditing of objects loading for the objects of a certain type is specified using the GN4-specific boolean extension attribute ‘auditLoad’; that applies to the ‘complexType’ elements in the schema defining the object types. For example:

 <xs:element name="test">

   <xs:complexType gs:auditLoad="true">

     <xs:complexContent>

       <xs:extension base="object">

         . . .

       </xs:extension>

     </xs:complexContent>

   </xs:complexType>

 </xs:element>

 

The above example defines an object type ‘test’ with load auditing enabled – i.e. the system will record when and by whom every object of type ‘test’ has been read.

NOTE: ‘auditLoad’ is optional, if omitted ‘false’ is assumed – i.e., by default load auditing is disabled.

See also

Auditing objects load operations