Skip to content

Commit 8e1a0ce

Browse files
auth: add sessionDuration to aws_loginWithBrowser (aws#914)
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`. <!--- REMINDER: - Read CONTRIBUTING.md first. - Add test coverage for your changes. - Link to related issues/commits. - Testing: how did you test your changes? - Screenshots if applicable --> ## License By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. Signed-off-by: nkomonen-amazon <[email protected]>
1 parent 79d85a8 commit 8e1a0ce

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2905,6 +2905,10 @@
29052905
{
29062906
"type": "result"
29072907
},
2908+
{
2909+
"type": "sessionDuration",
2910+
"required": false
2911+
},
29082912
{
29092913
"type": "source"
29102914
},

0 commit comments

Comments
 (0)