diff options
| author | cfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-03-19 00:56:52 +0000 |
|---|---|---|
| committer | cfu <cfu@c9f7a03b-bd48-0410-a16d-cbbf54688b0b> | 2009-03-19 00:56:52 +0000 |
| commit | a3f8ddd0abe96decd7da66d746cbafa2fbad9c8b (patch) | |
| tree | 6751c1aedd4668a67a8377d6af527ad853adaa17 | |
| parent | 8a82ee7ff91849489583a99ea4bc5f41dc839102 (diff) | |
485166 Bugzilla. Signed Audit Feature for TPS.
git-svn-id: svn+ssh://svn.fedorahosted.org/svn/pki/trunk@308 c9f7a03b-bd48-0410-a16d-cbbf54688b0b
| -rw-r--r-- | pki/base/tps/src/include/engine/audit.h | 36 |
1 files changed, 36 insertions, 0 deletions
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 |
