gravitational / teleport

The easiest, and most secure way to access and protect all of your infrastructure.
https://goteleport.com
GNU Affero General Public License v3.0
17.69k stars 1.77k forks source link

[v15] fix: support set.add on nil sets in traits expression parser #49432

Closed nklaassen closed 3 days ago

nklaassen commented 4 days ago

Backport #49385 to branch/v15

This is a manual backport and a much smaller and more targeted change than the original PR, because in this branch lib/expression.Set has not been converted to use lib/utils.Set.

Changelog: Fixed a potential panic in login rule and SAML IdP expression parser

aws-amplify-us-west-2[bot] commented 4 days ago

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-49432.d1v2yqnl3ruxch.amplifyapp.com