From d5e33d629242be1c3b651efd72ae45b2b1167990 Mon Sep 17 00:00:00 2001 From: mitchelbaker-cisa Date: Mon, 9 Dec 2024 20:48:22 +0000 Subject: [PATCH] cleanup --- .../ProviderHelpers/AADRiskyPermissionsHelper.psm1 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/PowerShell/ScubaGear/Modules/Providers/ProviderHelpers/AADRiskyPermissionsHelper.psm1 b/PowerShell/ScubaGear/Modules/Providers/ProviderHelpers/AADRiskyPermissionsHelper.psm1 index dac846c8d3..52e6b20fe2 100644 --- a/PowerShell/ScubaGear/Modules/Providers/ProviderHelpers/AADRiskyPermissionsHelper.psm1 +++ b/PowerShell/ScubaGear/Modules/Providers/ProviderHelpers/AADRiskyPermissionsHelper.psm1 @@ -162,14 +162,14 @@ function Get-ApplicationsWithRiskyPermissions { $FederatedCredentialsResults = @() if ($null -ne $FederatedCredentials) { - foreach ($federatedCredential in $FederatedCredentials) { + foreach ($FederatedCredential in $FederatedCredentials) { $FederatedCredentialsResults += [PSCustomObject]@{ - Id = $federatedCredential.Id - Name = $federatedCredential.Name - Description = $federatedCredential.Description - Issuer = $federatedCredential.Issuer - Subject = $federatedCredential.Subject - Audiences = $federatedCredential.Audiences | Out-String + Id = $FederatedCredential.Id + Name = $FederatedCredential.Name + Description = $FederatedCredential.Description + Issuer = $FederatedCredential.Issuer + Subject = $FederatedCredential.Subject + Audiences = $FederatedCredential.Audiences | Out-String } } }