Skip to content

Conversation

tgauth
Copy link
Collaborator

@tgauth tgauth commented May 20, 2025

PR Summary

  • add Pester tests for non-admin and admin user connection logging events to Operational and Debug logs in Event Viewer

PR Context

  • expand automated test suite

@tgauth
Copy link
Collaborator Author

tgauth commented May 20, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tgauth
Copy link
Collaborator Author

tgauth commented May 20, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tgauth tgauth requested review from vthiebaut10 and Copilot June 4, 2025 20:10
Copilot

This comment was marked as outdated.

@tgauth tgauth requested a review from Copilot June 5, 2025 18:37
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Pester tests to validate event logging for both SSH and SFTP connections for non-admin and admin users, ensuring that operational and debug logs capture the appropriate connection events.

  • Introduces tests for SSH connection logging events.
  • Introduces tests for SFTP connection logging events with key-based authentication.
  • Implements setup and teardown steps for managing event logs and test environments.

@tgauth
Copy link
Collaborator Author

tgauth commented Jun 5, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tgauth
Copy link
Collaborator Author

tgauth commented Jul 21, 2025

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@tgauth tgauth merged commit 139a1b4 into PowerShell:latestw_all Jul 21, 2025
4 checks passed
@tgauth tgauth deleted the add-eventviewer-tests branch July 21, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants