From a3f8ddd0abe96decd7da66d746cbafa2fbad9c8b Mon Sep 17 00:00:00 2001 From: cfu Date: Thu, 19 Mar 2009 00:56:52 +0000 Subject: 485166 Bugzilla. Signed Audit Feature for TPS. git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@308 c9f7a03b-bd48-0410-a16d-cbbf54688b0b --- pki/base/tps/src/include/engine/audit.h | 36 +++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pki/base/tps/src/include/engine/audit.h diff --git a/pki/base/tps/src/include/engine/audit.h b/pki/base/tps/src/include/engine/audit.h new file mode 100644 index 000000000..9477ac03b --- /dev/null +++ b/pki/base/tps/src/include/engine/audit.h @@ -0,0 +1,36 @@ +/* --- BEGIN COPYRIGHT BLOCK --- + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; + * version 2.1 of the License. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA + * + * Copyright (C) 2009 Red Hat, Inc. + * All rights reserved. + * --- END COPYRIGHT BLOCK --- + */ + +#ifndef AUDIT_H +#define AUDIT_H + +#define AUDIT_SIG_MSG_FORMAT "[%s] %x [AuditEvent=%s][SubjectID=%s][Outcome=%s] signature of audit buffer just flushed: sig: %s" +#define AUDIT_MSG_FORMAT "[SubjectID=%s][Outcome=%s] %s" +/* + * Audit events definitions + */ +#define EV_AUDIT_LOG_STARTUP "AUDIT_LOG_STARTUP" +#define EV_AUDIT_LOG_SHUTDOWN "AUDIT_LOG_SHUTDOWN" +#define EV_ROLE_ASSUME "ROLE_ASSUME" + +// ... to be continued ... + +#endif //AUDIT_H -- cgit