Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Verbeteren NotFound information en auditLog. #28

Open
JeroenBL opened this issue Dec 30, 2024 · 0 comments
Open

Feature Request: Verbeteren NotFound information en auditLog. #28

JeroenBL opened this issue Dec 30, 2024 · 0 comments
Labels
enhancement New feature or request needs-triage The issue is new and needs to be triaged by development

Comments

@JeroenBL
Copy link
Collaborator

JeroenBL commented Dec 30, 2024

Summary of the new feature / enhancement

In de NotFound acties in alle lifecycle actions staat de regel: "{connectorName} account: [$($actionContext.References.Account)] could not be found, possibly indicating that it could be deleted" twee keer gedefinieerd. 1x als information message en 1x als auditLog. Dit kan worden verbeterd door de regel aan een variable toe te kennen en deze te gebruiken.

Proposed technical implementation details (optional)

'NotFound' {
    $notFoundLog  =  "{connectorName} account: [$($actionContext.References.Account)] could not be found, possibly indicating that it could be deleted"
    Write-Information $notFoundLog
    $outputContext.Success = $true
    $outputContext.AuditLogs.Add([PSCustomObject]@{
            Message = $notFoundLog
            IsError = $false
        })
    break
}
@JeroenBL JeroenBL added enhancement New feature or request needs-triage The issue is new and needs to be triaged by development labels Dec 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs-triage The issue is new and needs to be triaged by development
Projects
None yet
Development

No branches or pull requests

1 participant