functionAdd-PASPendingAccount{<#
.SYNOPSIS
Adds discovered account or SSH key as a pending account in the accounts feed.

.DESCRIPTION
Enables an account or SSH key that is discovered by an external scanner to be added
as a pending account to the Accounts Feed.
Users can identify privileged accounts and determine which are on-boarded to the vault.

.PARAMETER UserName
The name of the account user

.PARAMETER Address
The name or address of the machine where the account is used.

.PARAMETER AccountDiscoveryDate
The date when the account was discovered.

.PARAMETER OSType
The OS where the password was discovered.
Windows or Unix

.PARAMETER AccountEnabled
The account status in the discovery source.

.PARAMETER AccountOSGroups
The name of the group that the account belongs to

.PARAMETER AccountType
Account Type

.PARAMETER DiscoveryPlatformType
Platform where discovered account is used

.PARAMETER Domain
The domain of the account.

.PARAMETER LastLogonDate
Date, according to discovery source, when the account was last used to logon.

.PARAMETER LastPasswordSet
Date, according to discovery source, when the password for the account was last set

.PARAMETER PasswordNeverExpires
If the password will ever expire in the discovery source

.PARAMETER OSVersion
OS Version where the account was discovered

.PARAMETER OU
OU of the account

.PARAMETER AccountCategory
Whether the discovered account is privileged or non-privileged.

.PARAMETER AccountCategoryCriteria
Criteria that determines whether or not the discovered account is privileged.
For example, the user or groupname, etc.
Separate multiple strings with ";".

.PARAMETER UserDisplayName
User's display name

.PARAMETER AccountDescription
A description of the user, as defined in the discovery source.
This will be saved as an account after it is added to the pending accounts.

.LINK
https://pspas.pspete.dev/commands/Add-PASPendingAccount
#>[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingUserNameAndPassWordParams','',Justification="Username not used for authentication")][System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSAvoidUsingPlainTextForPassword','LastPasswordSet',Justification="Parameter does not hold password")][CmdletBinding()]param([parameter(Mandatory=$true,ValueFromPipelinebyPropertyName=$true)][ValidateNotNullOrEmpty()][string]$UserName,