mirror of
https://github.com/vmware-tanzu/pinniped.git
synced 2026-01-03 11:45:45 +00:00
all callers of Audit() identify which keys may contain PII
This commit is contained in:
committed by
Joshua Casey
parent
a308f3f22a
commit
e126ee5495
@@ -2340,18 +2340,22 @@ func TestRefreshGrant(t *testing.T) {
|
||||
},
|
||||
}),
|
||||
testutil.WantAuditLog("Identity Refreshed From Upstream IDP", map[string]any{
|
||||
"sessionID": sessionID,
|
||||
"upstreamGroups": []any{},
|
||||
"upstreamUsername": "some-username",
|
||||
"sessionID": sessionID,
|
||||
"personalInfo": map[string]any{
|
||||
"upstreamGroups": []any{},
|
||||
"upstreamUsername": "some-username",
|
||||
},
|
||||
}),
|
||||
testutil.WantAuditLog("Session Refreshed", map[string]any{
|
||||
"sessionID": sessionID,
|
||||
"username": "some-username",
|
||||
"groups": []any{
|
||||
"group1",
|
||||
"groups2",
|
||||
"personalInfo": map[string]any{
|
||||
"username": "some-username",
|
||||
"groups": []any{
|
||||
"group1",
|
||||
"groups2",
|
||||
},
|
||||
"subject": "https://issuer?sub=some-subject",
|
||||
},
|
||||
"subject": "https://issuer?sub=some-subject",
|
||||
}),
|
||||
}
|
||||
},
|
||||
@@ -2533,9 +2537,11 @@ func TestRefreshGrant(t *testing.T) {
|
||||
},
|
||||
}),
|
||||
testutil.WantAuditLog("Identity Refreshed From Upstream IDP", map[string]any{
|
||||
"sessionID": sessionID,
|
||||
"upstreamGroups": []any{},
|
||||
"upstreamUsername": "some-username",
|
||||
"sessionID": sessionID,
|
||||
"personalInfo": map[string]any{
|
||||
"upstreamGroups": []any{},
|
||||
"upstreamUsername": "some-username",
|
||||
},
|
||||
}),
|
||||
testutil.WantAuditLog("Authentication Rejected By Transforms", map[string]any{
|
||||
"sessionID": sessionID,
|
||||
|
||||
Reference in New Issue
Block a user