diff --git a/commands/weboftrust.py b/commands/weboftrust.py index d5391803f..a87c12ece 100644 --- a/commands/weboftrust.py +++ b/commands/weboftrust.py @@ -198,6 +198,7 @@ def get_iam_trusts(account, nodes, connections, connections_to_get): # Validate that the federated principal and the SAML provider is coming from known accounts. # WoT will show us the direction of that trust for further inspection. # this enables cross_account_admin_sts (STS between accounts) + saml_provider_arn = "" for saml in saml_providers: if saml["Arn"] == federated_principal: saml_provider_arn = saml["Arn"]