![]() ![]() |
![]() |
File: [Pegasus] / pegasus / src / Pegasus / Common / Audit_zOS_SMFStructures.h
(download)
Revision: 1.1, Thu Nov 8 09:04:30 2007 UTC (16 years, 7 months ago) by thilo.boehm Branch: MAIN CVS Tags: TASK_PEP328_SOLARIS_NEVADA_PORT, TASK-PEP328_SOLARIS_NEVADA_PORT_v2-root, TASK-PEP328_SOLARIS_NEVADA_PORT_v2-branch, TASK-PEP328_SOLARIS_NEVADA_PORT-root, TASK-PEP328_SOLARIS_NEVADA_PORT-branch, TASK-PEP328_SOLARIS_IX86_CC_PORT-root, TASK-PEP328_SOLARIS_IX86_CC_PORT-branch-v2, TASK-PEP328_SOLARIS_IX86_CC_PORT-branch, TASK-PEP311_WSMan-root, TASK-PEP311_WSMan-branch, TASK-BUG7146_SqlRepositoryPrototype-root, TASK-BUG7146_SqlRepositoryPrototype-merged_out_to_branch, TASK-BUG7146_SqlRepositoryPrototype-merged_out_from_trunk, TASK-BUG7146_SqlRepositoryPrototype-merged_in_to_trunk, TASK-BUG7146_SqlRepositoryPrototype-merged_in_from_branch, TASK-BUG7146_SqlRepositoryPrototype-branch, RELEASE_2_8_2-RC1, RELEASE_2_8_2, RELEASE_2_8_1-RC1, RELEASE_2_8_1, RELEASE_2_8_0_BETA, RELEASE_2_8_0-RC2, RELEASE_2_8_0-RC1, RELEASE_2_8_0-FC, RELEASE_2_8_0, RELEASE_2_8-root, RELEASE_2_8-branch, Makefile Branch point for: RELEASE_2_7-branch BUG#: 7069 TITLE: z/OS The auditlogging of CIM Server must be done to SMF DESCRIPTION: Add z/OS SMF auditlogging. |
//%2006//////////////////////////////////////////////////////////////////////// // // Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development // Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems. // Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.; // IBM Corp.; EMC Corporation, The Open Group. // Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.; // IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group. // Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.; // EMC Corporation; VERITAS Software Corporation; The Open Group. // Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.; // EMC Corporation; Symantec Corporation; The Open Group. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN // ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED // "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT // LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR // PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT // HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // //============================================================================== // //%///////////////////////////////////////////////////////////////////////////// #ifndef Audit_zOS_SMFStructures_h #define Audit_zOS_SMFStructures_h #pragma pack(packed) typedef struct { unsigned short SMF86LEN; // Record length unsigned short SMF86SEG; // Segmentation desc. unsigned char SMF86FLG; // System indicator unsigned char SMF86RTY; // Record type 86 (X'56') unsigned int SMF86TME; // ms Time record moved to SMF unsigned char SMF86DTE[4]; // Packed BCD date (0cyyddF) record // moved to SMF unsigned char SMF86SID[4]; // System ID in EBCDIC unsigned char SMF86SSI[4]; // SubsystemID 'CFZ' in EBCDIC unsigned short SMF86STY; // Record subtype: // Subtype Description // 1 Authentication // 2 Configuration // 3 Provider Status // 4 CIM Operations // 5 Indicaton Operations unsigned short SMF86TRN; // Number of tripltes unsigned short reserverd; // Reserved unsigned int SMF86PRO; // Offset to product section unsigned short SMF86PRL; // Length of product section unsigned short SMF86PRN; // Number of product sections (=1) unsigned int SMF86STO; // Offset to subtype section unsigned short SMF86STL; // Length of subtype section unsigned short SMF86STN; // Number of subtype sections (=1) } _smf86_header; typedef struct { unsigned int SMF86PRRVN; // SMF Record version unsigned char SMF86SSI[4]; // SubSytem ID 'CFZ' in EBCDIC unsigned char SMF86VRM[8]; // CIM software level 'VV.RR.MM' EBCDIC unsigned char SMF86OSL[8]; // MVS software level 'VV.RR.MM' EBCDIC unsigned char SMF86SYN[8]; // System name in EBCDIC unsigned char SMF86SYP[8]; // Sysplex name in EBCDIC unsigned int SMF86OPI; // USS process ID unsigned char SMF86THID[22]; // Thread Id in EBCDIC unsigned char reserved[2]; // reserved } _smf86_product; typedef struct { unsigned short AuthMode; // Authentication mode: // AuthMode Description // 0 Local // 1 Basic // 2 AT-TLS unsigned char UserID[8]; // User Id unsigned short AuthResult; // Authentication result: // AuthResult Description // 0 Successful // 1 Failed unsigned char ClientIP[42]; // Clinet IP adresse X'00' terminated unsigned char reserved[2]; // reserved } _smf86_authentication; typedef struct { unsigned char UserID[8]; // User Id unsigned short PropChange; // Mode of property change: // PropChange Comment // 0 List Conf. // 1 Current Conf. // 2 Planed Conf. unsigned char reserved[2]; // reserved unsigned int NameOf; // Offset to property name // from section start unsigned short NameLen; // Length of property name unsigned short NameNo; // Number of property names (=1) unsigned int ValueOf; // Offset to property value // from section start unsigned short ValueLen; // Length of property value unsigned short ValueNo; // Number of property values (=1) unsigned int NewValueOf; // Offset to property new value // from section start unsigned short NewValueLen; // Length of property new value unsigned short NewValueNo; // Number of property new values (=1) } _smf86_configuration; typedef struct { unsigned int CurrStatus; // The current status of prov. unsigned short IsChanging; // If set to 1, then the provider is // changing his state and NewStatus // value is valid. unsigned char reserved[2]; // reserved unsigned int NewStatus; // The new status of prov. unsigned int ProvNameOf; // Offset to provider name unsigned short ProvNameLen; // Length of provider name unsigned short ProvNameNo; // Number of provider name (=1) } _smf86_provider_status; typedef struct { unsigned short CIMOpType; // The CIM operation type: // CIMOpTyp Comment // 0 Class oper. // 1 Qualifyer oper. // 2 Instance oper. // 3 Invoke methode unsigned char UserID[8]; // User Id unsigned short CIMStatusCode; // The result status of the oper. unsigned char ClientIP[42]; // Clinet IP adresse X'00' terminated unsigned char reserved[2]; // reserved unsigned int OperNameOf; // Offset to oper. name unsigned short OperNameLen; // Length of oper. name unsigned short OperNameNo; // Number of oper. name unsigned int ObjPathOf; // Offset to object path unsigned short ObjPathLen; // Length of object path unsigned short ObjPathNo; // Number of object path unsigned int NameSpaceOf; // Offset to name space unsigned short NameSpaceLen; // Length of name space unsigned short NameSpaceNo; // Number of name space unsigned int ProvNameOf; // Offset to prov. name unsigned short ProvNameLen; // Length of prov. name unsigned short ProvNameNo; // Number of prov. name unsigned int ProvModNameOf; // Offset to prov. module name unsigned short ProvModNameLen;// Length of prov. module name unsigned short ProvModNameNo; // Number of prov. module name } _smf86_cim_operation; typedef struct { _smf86_header header; _smf86_product product; _smf86_authentication authentication; } _smf86_auththentication_record; typedef struct { _smf86_header header; _smf86_product product; _smf86_configuration configuration; } _smf86_configuration_record; typedef struct { _smf86_header header; _smf86_product product; _smf86_provider_status provider_status; } _smf86_provider_status_record; typedef struct { _smf86_header header; _smf86_product product; _smf86_cim_operation cim_operation; } _smf86_cim_operation_record; typedef struct { _smf86_header header; _smf86_product product; } _smf86_record_prolog; #pragma pack(reset) #endif // Audit_zOS_SMFStructures_h
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |