This documentation supports the 9.1 to 9.1 Service Pack 3 version and its patches of BMC Atrium Core. The documentation for version 9.1.04 and its patches is available here.

To view the latest version, select the version from the Product version menu.

CMDBAuditInfoStruct structure

The CMDBAuditInfoStruct data structure holds the audit information to set audit options for the class.


typedef struct CMDBAuditInfoStruct
{
   unsigned int type;
   CMDBQualifierStruct qual;
   union
   {
      ARNameType logForm;
   } u;
   CMDB_CLASS_AUDITCHANGE_MASK auditMask;
} CMDBAuditInfoStruct;



The CMDBAuditInfoStruct structure consists of the following elements:

type

The type of audit option to set.

  • 0 --No auditing option set (None).
  • 1 --Create a copy of an instance when an attribute is modified (Copy).
  • 2 --Store the information for the modified attributes in a log (Log).

qual

The qualification to retrieve the audit information for the class.

logForm

The name of the BMC Remedy AR System form for the Log audit option.

auditMask

The setting (Audit Only Changed Fields) for what type of activity triggers an audit. The options for auditMask are of the type CMDB_CLASS_AUDITCHANGE_MASK.

  • CMDB_CLASS_AUDITCHANGE_DEFAULT = 0 --Use the value of the Disable Audit Only Change Fields system setting on the BMC Remedy AR System server. The system setting default is that only changing the attribute to a different value triggers auditing.
  • CMDB_CLASS_AUDITCHANGE_YES = 1 --Audit when an updated field value is different than the existing value.
  • CMDB_CLASS_AUDITCHANGE_NO = 2 --Audit when a field value is modified, even if the updated value is the same as the existing value.

Was this page helpful? Yes No Submitting... Thank you

Comments