Skip to content

Commit

Permalink
auth: add sessionDuration to aws_loginWithBrowser
Browse files Browse the repository at this point in the history
We want to know about the previous sessionDuration, if there is one, the next time we log
in to the same SSO session due to something like expiration.

We will use this in CloudWatch to alarm on if we are seeing a scenario like
BuilderID emitting another `aws_loginWithBrowser` less than 90 days after the previous
`aws_loginWithBrowser`.

Signed-off-by: nkomonen-amazon <[email protected]>
  • Loading branch information
nkomonen-amazon committed Nov 14, 2024
1 parent 39478af commit a5c435e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2894,6 +2894,10 @@
{
"type": "result"
},
{
"type": "sessionDuration",
"required": false
},
{
"type": "source"
},
Expand Down

0 comments on commit a5c435e

Please sign in to comment.