Skip to content

Commit bd2dd91

Browse files
authored
Add secret name / ID to table
adds the description (displayName) and secret ID to the table for easier identification / automation.
1 parent 470c024 commit bd2dd91

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Modules/CIPPCore/Public/Alerts/Get-CIPPAlertAppSecretExpiry.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ function Get-CIPPAlertAppSecretExpiry {
3131
AppName = $App.displayName
3232
AppId = $App.appId
3333
Expires = $Credential.endDateTime
34+
SecretName = $Credential.displayName
35+
SecretID = $Credential.keyId
3436
Tenant = $TenantFilter
3537
}
3638
$AlertData.Add($Message)

0 commit comments

Comments
 (0)