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/234: Added check to verify exchange operation enabled for audit. #241

Merged
merged 5 commits into from
Jan 17, 2025

Conversation

juliusperez1695
Copy link
Collaborator

Pull Request Template

Description

Created function Get-HawkUserExchangeSearchQuery to pull audit on operation 'SearchQueryInitiatedExchange'. Additionally, an internal function Test-OperationEnabled was implemented to verify an operation is enabled for audit before attempting pull the associated logs.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B
  • Unit test of Get-HawkUserExchangeSearchQuery and Get-HawkUserMailItemsAccessed to confirm expected output

Checklist:

  • My code follows the style guidelines of Hawk
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

@jonnybottles jonnybottles self-assigned this Jan 17, 2025
@jonnybottles jonnybottles merged commit 1c2e503 into Development Jan 17, 2025
3 checks passed
@jonnybottles jonnybottles deleted the feature/234-Expand-M365-Log-Collection branch January 17, 2025 20:27
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