Skip to content

add pester test for event viewer scenarios #788

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

Open
wants to merge 5 commits into
base: latestw_all
Choose a base branch
from

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).

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.

1 participant