-
Notifications
You must be signed in to change notification settings - Fork 137
TPS Audit Events
TPS audit events can be configured in log.instance.SignedAudit.events
property.
Notes:
-
Each operation is preceded by a separate
AUTHZ_*
event -
Authentication event only happens once initially at login
-
Some operations with specific changes to fields within an object (e.g. profiles, authenticators) might produce larger quantity of data. Examples below are selected ones that produce less data.
-
Service
orOP
in general can be any of the services provided by the REST interface
Event properties:
-
SubjectID
: the subject user that triggers the audit event -
Outcome
: Success or Failure of the action that triggers the audit event -
Service
: in general, the name of the operation method where the audit event occurs -
ParamNameValPairs
: name/value pairs where-
<name>
and<value>
are separated by the delimiter;;
-
If more than one
<name>;;<value>
pair, separated by+
-
Secret component (password) MUST NOT be logged
-
-
Info
: in general is used for capturing error info for failed cases; In case of success, it is usually left as null.
[AuditEvent=TOKEN_OP_REQUEST][IP=a.b.c.d][CUID=A10192030405018001C0][MSN=01%02%0 3%04%][Outcome=success][OP=format][AppletVersion=0.0.6fbbc105] token op request made [AuditEvent=TOKEN_AUTH_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A101920304050 18001C0][MSN=01%02%03%04%][Outcome=success][OP=format][tokenType=tokenKey][Apple tVersion=0.0.6fbbc105][AuthMgr=ldap1] token authentication success [AuditEvent=TOKEN_APPLET_UPGRADE_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A10 192030405018001C0][MSN=01%02%03%04%][Outcome=success][KeyVersion=0101][oldApplet Version=0.0.6fbbc105][newAppletVersion=1.4.54de790f][Info=null] token applet upg rade success [AuditEvent=TOKEN_FORMAT_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A1019203040 5018001C0][MSN=01%02%03%04%][Outcome=success][tokenType=tokenKey][AppletVersion= 0.0.6fbbc105][KeyVersion=0101][Info=null] token op format success
[AuditEvent=TOKEN_OP_REQUEST][IP=a.b.c.d][CUID=A10192030405018001C0][MSN=01%02%0 3%04%][Outcome=success][OP=enroll][AppletVersion=0.0.6fbbc105] token op request made [AuditEvent=TOKEN_AUTH_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A101920304050 18001C0][MSN=01%02%03%04%][Outcome=success][OP=enroll][tokenType=userKey][Applet Version=0.0.6fbbc105][AuthMgr=ldap1] token authentication success [AuditEvent=TOKEN_APPLET_UPGRADE_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A10 192030405018001C0][MSN=01%02%03%04%][Outcome=success][KeyVersion=0101][oldApplet Version=0.0.6fbbc105][newAppletVersion=1.4.54de790f][Info=null] token applet upg rade success [AuditEvent=TOKEN_CERT_ENROLLMENT][IP=a.b.c.d][SubjectID=user1a][CUID=A101920304 05018001C0][Outcome=success][tokenType=userKey][KeyVersion=0101][Serial=131][CA_ ID=ca1][Info=null] token certificate enrollment request made
Execute the following command to search tokens:
$ pki -n caadmin tps-token-find
The command will generate the following logs:
[AuditEvent=AUTH_SUCCESS][SubjectID=tpsadmin][Outcome=Success][AuthMgr=certUserD BAuthMgr] authentication success [AuditEvent=AUTHZ_SUCCESS][SubjectID=tpsadmin][Outcome=Success][aclResource=cert Server.tps.account][Op=login][Info=AccountResource.login] authorization success [AuditEvent=AUTHZ_SUCCESS][SubjectID=tpsadmin][Outcome=Success][aclResource=cert Server.tps.tokens][Op=read][Info=TokenResource.findTokens] authorization success [AuditEvent=AUTHZ_SUCCESS][SubjectID=tpsadmin][Outcome=Success][aclResource=cert Server.tps.account][Op=logout][Info=AccountResource.logout] authorization succes s
[AuditEvent=AUTHZ_SUCCESS][SubjectID=tpsadmin][Outcome=Success][aclResource=cert Server.tps.profile-mappings][Op=modify][Info=ProfileMappingResource.updateProfil eMapping] authorization success
[AuditEvent=TOKEN_OP_REQUEST][IP=a.b.c.d][CUID=A10192030405018001C0][MSN=01%02%0 3%04%][Outcome=success][OP=pinReset][AppletVersion=0.0.6fbbc105] token op reques t made [AuditEvent=TOKEN_AUTH_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A101920304050 18001C0][MSN=01%02%03%04%][Outcome=success][OP=pinReset][tokenType=userKey][Appl etVersion=0.0.6fbbc105][AuthMgr=ldap1] token authentication success [AuditEvent=TOKEN_PIN_RESET_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A1019203 0405018001C0][Outcome=success][AppletVersion=userKey][KeyVersion=0101] token op pin reset success
Example audit messages for an externalReg enrollment request with user entries tokenType: delegateISEtoken certstoadd: 63,ca1,9,kra1 (That’s two cert enrollments and one "recovery"):
[AuditEvent=TOKEN_OP_REQUEST][IP=a.b.c.d][CUID=A10192030405028001C0][MSN=01%02%0 3%04%][Outcome=success][OP=enroll][AppletVersion=0.0.6fbbc105] token op request made [AuditEvent=TOKEN_AUTH_SUCCESS][IP=a.b.c.d][SubjectID=user2a][CUID=A101920304050 28001C0][MSN=01%02%03%04%][Outcome=success][OP=enroll][tokenType=null][AppletVer sion=0.0.6fbbc105][AuthMgr=ldap1] token authentication success [AuditEvent=TOKEN_APPLET_UPGRADE_SUCCESS][IP=a.b.c.d][SubjectID=user2a][CUID=A10 192030405028001C0][MSN=01%02%03%04%][Outcome=success][KeyVersion=0101][oldApplet Version=0.0.6fbbc105][newAppletVersion=1.4.54de790f][Info=null] token applet upg rade success [AuditEvent=TOKEN_CERT_ENROLLMENT][IP=a.b.c.d][SubjectID=user2a][CUID=A101920304 05028001C0][Outcome=success][tokenType=delegateISEtoken][KeyVersion=0101][Serial =128][CA_ID=ca1][Info=null] token certificate enrollment request made [AuditEvent=TOKEN_CERT_ENROLLMENT][IP=a.b.c.d][SubjectID=user2a][CUID=A101920304 05028001C0][Outcome=success][tokenType=delegateISEtoken][KeyVersion=0101][Serial =129][CA_ID=ca1][Info=null] token certificate enrollment request made [AuditEvent=TOKEN_KEY_RECOVERY][IP=a.b.c.d][SubjectID=user2a][CUID=A101920304050 28001C0][Outcome=success][tokenType=delegateISEtoken][KeyVersion=0101][Serial=63 ][CA_ID=ca1][KRA_ID=kra1][Info=null] token certificate/key recovery request made 0.http-bio-8080-exec-2 - [15/Feb/2016:16:03:39 PST] [14] [6] [AuditEvent=TOKEN_ CERT_RETRIEVAL][IP=a.b.c.d][SubjectID=user2a][CUID=A10192030405028001C0][Outcome =success][tokenType=delegateISEtoken][KeyVersion=0101][Serial=63][CA_ID=ca1][Inf o=null] token certificate retrieval request made
[AuditEvent=TOKEN_OP_REQUEST][IP=a.b.c.d][CUID=A10192030405018001C0][MSN=01%02%0 3%04%][Outcome=success][OP=format][AppletVersion=0.0.6fbbc105] token op request made [AuditEvent=TOKEN_AUTH_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A101920304050 18001C0][MSN=01%02%03%04%][Outcome=success][OP=format][tokenType=tokenKey][Apple tVersion=0.0.6fbbc105][AuthMgr=ldap1] token authentication success [AuditEvent=TOKEN_APPLET_UPGRADE_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A10 192030405018001C0][MSN=01%02%03%04%][Outcome=success][KeyVersion=0101][oldApplet Version=0.0.6fbbc105][newAppletVersion=1.4.54de790f][Info=null] token applet upg rade success [AuditEvent=TOKEN_FORMAT_SUCCESS][IP=a.b.c.d][SubjectID=user1a][CUID=A1019203040 5018001C0][MSN=01%02%03%04%][Outcome=success][tokenType=tokenKey][AppletVersion= 0.0.6fbbc105][KeyVersion=0101][Info=null] token op format success [AuditEvent=TOKEN_CERT_STATUS_CHANGE_REQUEST][IP=a.b.c.d][SubjectID=user1a][CUID =A10192030405018001C0][Outcome=0][tokenType=tokenKey][CertSerialNum=131][Request Type=revoke][RevokeReasonNum=0][CA_ID=ca1][Info=null] token certificate revocati on/unrevocation request made [AuditEvent=TOKEN_CERT_STATUS_CHANGE_REQUEST][IP=a.b.c.d][SubjectID=user1a][CUID =A10192030405018001C0][Outcome=0][tokenType=tokenKey][CertSerialNum=132][Request Type=revoke][RevokeReasonNum=0][CA_ID=ca1][Info=null] token certificate revocati on/unrevocation request made
For example, the following requiredVersion not exist in TKS:
op.format.tokenKey.update.symmetricKeys.requiredVersion=2
[AuditEvent=TOKEN_KEY_CHANGEOVER_REQUIRED][IP=a.b.c.d][SubjectID=user1a][CUID=A1 0192030405018001C0][MSN=01%02%03%04%][Outcome=na][tokenType=tokenKey][AppletVers ion=0.0.6fbbc105][oldKeyVersion=0101][newKeyVersion=02%01%][Info=null] token key changeover required [AuditEvent=TOKEN_KEY_CHANGEOVER_FAILURE][IP=a.b.c.d][SubjectID=user1a][CUID=A10 192030405018001C0][MSN=01%02%03%04%][Outcome=failure][tokenType=tokenKey][Applet Version=0.0.6fbbc105][oldKeyVersion=null][newKeyVersion=02%01%][Info=TPSEngine.c omputeSessionKey: invalid returned status: 1] token key changeover failure
Tip
|
To find a page in the Wiki, enter the keywords in search field, press Enter, then click Wikis. |