跳至內容

Client VPN Connection Logging Not Showing Federated Username

0

I have setup AWS Client VPN using AWS SSO as an IdP and in the connection logs I am not seeing the username. I see the following. How do we get the username to populate from a federated login?

{
"connection-log-type": "connection-attempt",
"connection-attempt-status": "successful",
"connection-attempt-failure-reason": "NA",
"connection-id": "cvpn-connection-xxxxxxxxxxxx",
"client-vpn-endpoint-id": "cvpn-endpoint-xxxxxxxxxxxx",
"transport-protocol": "udp",
"connection-start-time": "2021-03-29 15:27:31",
"connection-last-update-time": "2021-03-29 15:27:31",
"client-ip": "10.250.0.162",
"username": "user:subject",
"device-type": "win",
"device-ip": "xxx.xxx.xxx.xxx",
"port": "50560",
"ingress-bytes": "0",
"egress-bytes": "0",
"ingress-packets": "0",
"egress-packets": "0",
"connection-end-time": "NA",
"connection-duration-seconds": "0"
}

已提問 5 年前檢視次數 717 次
1 個回答
0

I found the issue. I did not put the correct mapping information in the SSO Attribute Mapping:

I had user:subject and it should have been ${user:subject}.

已回答 5 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。