Events: Add outbound detail protobufs, request status code, and update event encrypt filter. (#1569)
* feat (events): Add status code to audit events * feat (events): Add the resp proto msg to every audit event * chore (events): Update eventlogger dep This latest version will redact any map and/or map field which isn't explicitly classified via a Taggable interface * feat (events): Begin to add tagging to response proto msgs
This commit is contained in:
23 files changed
+914
-129
No files matched your search
@@ -332,9 +332,9 @@ func Test_WrapWithEventsHandler(t *testing.T) {
|
||||
Id: got.Data.(map[string]interface{})["request_info"].(map[string]interface{})["id"].(string),
|
||||
}
|
||||
hdr := map[string]interface{}{
|
||||
"id": got.Data.(map[string]interface{})["id"].(string),
|
||||
"timestamp": got.Data.(map[string]interface{})["timestamp"].(string),
|
||||
"serialized_hmac": got.Data.(map[string]interface{})["serialized_hmac"].(string),
|
||||
"id": got.Data.(map[string]interface{})["id"].(string),
|
||||
"timestamp": got.Data.(map[string]interface{})["timestamp"].(string),
|
||||
"response": got.Data.(map[string]interface{})["response"].(map[string]interface{}),
|
||||
}
|
||||
wantJson := testJson(t, event.AuditType, &info, event.Op(tt.name), got, hdr, nil)
|
||||
assert.JSONEq(string(wantJson), string(actualJson))
|
||||
|
||||
Reference in new issue
Block a user