Skip to content

Commit

Permalink
update server_test for expose principal ID in audit log
Browse files Browse the repository at this point in the history
  • Loading branch information
tingrui-AWS-EKS-auth authored and nnmin-aws committed Feb 20, 2023
1 parent bd4b684 commit dcd7e67
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/server/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -665,6 +665,7 @@ func TestAuthenticateVerifierAccountMappingForUserCRD(t *testing.T) {
"canonicalArn": authenticationv1beta1.ExtraValue{"arn:aws:iam::0123456789012:user/Test"},
"sessionName": authenticationv1beta1.ExtraValue{"TestSession"},
"accessKeyId": authenticationv1beta1.ExtraValue{""},
"principalId": authenticationv1beta1.ExtraValue{"Test"},
}))
validateMetrics(t, validateOpts{success: 1})
}
Expand Down

0 comments on commit dcd7e67

Please sign in to comment.