#ifndef AuditService_Idl #define AuditService_Idl //#include "CoreFrameworkTypes.idl" module cf { module audit { /** Maximum length of command details information */ const short MAX_COMMAND_DETAILED_INFO_SIZE = 1024; /// Carries information about a command submitted to an system component struct AuditInfo { /** Name of operator */ string user; /** Identifier of operator session */ string session_id; /** Identifier of the command */ string command_name; /** The command result */ long cmd_result; /** Did the command returned an exception ? */ boolean returned_exception; /** True if the command passed authorization */ boolean authorized; /** Name of component the command was submitted to */ string component_name; /** The CommandRequest arguments */ string cmd_args; }; /** Topic name for the audit info event */ const string AUDIT_INFO_TOPIC_NAME = "AuditInfo"; }; /* module audit */ }; /* module cf */ #endif /* AuditService_Idl */