Skip to content

Latest commit

 

History

History
342 lines (206 loc) · 9.96 KB

CHANGELOG.md

File metadata and controls

342 lines (206 loc) · 9.96 KB

Changelog for ADAuditTasks

The format is based on and uses the types of changes according to Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Fixed

  • Fixed Get-ADHostAudit to properly create lastseen property.
  • Fixed Get-WebCertAudit comment based help examples.

[0.9.0] - 2024-01-18

Added

  • Added OperatingSystemVersion and OperatingSystemBuildName properties to ADAuditTasksComputer class.
  • Updated Build-ADAuditTasksComputer function to include logic for mapping OS versions to human-readable names using new hash tables $osVersionMapWorkstation and $osVersionMapServer.
  • Modified Get-ADHostAudit function to include OperatingSystemVersion in $propsArray, ensuring compatibility with changes in ADAuditTasksComputer class.

Changed

  • Refactored ADAuditTasksComputer class to improve clarity and maintainability, moving data transformation logic to Build-ADAuditTasksComputer function.
  • Adjusted Build-ADAuditTasksComputer function to align with the refactored ADAuditTasksComputer class, preserving original functionality and output format.
  • Refactored Initialize-ModuleEnv function to use force parameter and set to medium. Setting to high in future update.

[0.8.1] - 2023-11-16

Fixed

  • Fixed 'Get-ADHostAudit' to properly create filename for log when device type is missing.

[0.8.0] - 2023-11-02

Fixed

  • Grabbing FQDN using Get-CimInstance instead of environment variable
  • Logging functions.
  • Implemented previously missing logging technique to avoid log lumping.

[0.7.7] - 2023-10-04

Added

  • Get-FormattedDate function to format date for file names for later use.
  • Requires Desktop Edition for Get-ADUserPrivilegeAudit

Fixed

  • In the source/Public/Get-ADActiveUserAudit.ps1, source/Public/Get-ADHostAudit.ps1, source/Public/Get-ADUserWildCardAudit.ps1, source/Public/Get-QuickPing.ps1, source/Public/Join-CSVFile.ps1, and source/Public/Merge-NmapToADHostAudit.ps1 files.
  • The code was updated to ensure that the correct count of objects in the $Export variable is logged in the Write-AuditLog function

[0.7.6] - 2023-07-27

Fixed

  • GT instead of LT in Get-ADActiveUserAudit

[0.7.3] - 2023-07-15

Fixed

  • Downloadable help

[0.7.2] - 2023-07-15

Fixed

  • Logging and permissions audit.

[0.7.1] - 2023-07-15

Added

  • Unsigned code.

[0.6.1] - 2023-07-14

Fixed

  • Fixed catalog validation.

[0.6.0] - 2023-07-14

Added

  • Signing support for enhanced security and integrity checks.
  • Updated the initialize-module function for improved module loading and setup.

Removed

  • Several unneeded functions were removed to streamline the module and improve maintenance.

Fixed

  • Write-AuditLog function warning.
  • Directory path function.

[0.5.2] - 2023-04-11

Added

  • Custom URI for help using storage blob instead of SWA.

[0.5.1] - 2023-04-10

Added

  • Added custom help uri.

[0.5.0] - 2023-04-10

Fixed

  • Help info Uri.

[0.4.1] - 2023-04-08

Added

  • Added links to comment-based help.
  • Added -AttachmentFolderPath parameter to Build-ReportArchive
  • Added parameters and variables to functions that changed due to new parameter

[0.4.0] - 2023-04-07

Added

  • Added Help documentation xml and cab files.

[0.3.9] - 2023-04-07

Added

  • Public function Join-CSVFile to join csv files.
  • Public function Convert-NmapXMLToCSV to convert nmap xml data to csv.
  • Public function Merge-NmapToADHostAudit to merge nmap csv output to ADHostAudit data.
  • Added scan on ping fail to Get-NetworkAudit
  • Added local MAC OUI list in case of failed download in Build-MacIdOUIList

Fixed

  • Private function Initialize-DirectoryPath verbose output.

[0.3.8] - 2023-03-27

  • Added option for throttle limit to network audit.
  • Added powershellget installation to module installer.

[0.3.7] - 2023-03-23

Added

  • Throttle Limit to Get-NetworkAudit.

Fixed

  • Fix confirm preference IP output that was going off screen.
  • Fix Initialize-ModuleEnv so that it installs latest powershell get and adds TLS to the session.
  • Fix Initialize-ModuleEnv so that it only sets the $script:MaximumFunctionCount = 8192 at the script scope instead of globally.

[0.3.7] - 2023-03-23

Added

  • Added option to confirm scan if -NoHops selected in Get-NetworkAudit.
  • Added progress bar to Get-QuickPing.

[0.3.6] - 2023-03-22

Added

  • Added option to scan local subnets without a hop.
  • Added public function Get-QuickPing
  • Added additional logging to Merge-ADAuditZip function.

Fixed

  • Fixed subnet calculation in Get-NetworkAudit.
  • Fixed Build-NetScanObject so $NetworkAudit is replaced with $NetSCanObject in switch ($IncludeNoPing)
  • Fixed Build-NetScanObject so output columns are port numbers without the word "Port "

[0.3.5] - 2023-03-19

Added

  • Added public function Get-WebCert. #40
  • Added public function Register-GraphEmailApp. #38
  • Added public function Send-GraphAppEmail. #39
  • Added public function New-PatchTuesdayReport. #42
  • Added private function Group-UpdateByProduct. #42
  • Added private function Read-FileContent. #42
  • Added private function Show-OSUpdateSection. #42

[0.3.4] - 2023-03-15

Fixed

  • Fixed missing comment help block in Get-ADHostAudit

[0.3.3] - 2023-03-15

Added

  • Added private function Initialize-DirectoryPath.

[0.3.2] - 2023-03-15

Added

  • Added private builder function for ADAuditTasksComputer class #30.
  • Created tester function called New-RandomFiles to assist with testing the Merge-ADAudit function.#32
  • Added private builder function for NetScan, and MacID OUI List objects. #28

Fixed

  • Fixed Merge-ADAudit function's creation of file parts for files over default 25MB size. #32

[0.3.1] - 2023-03-13

Added

  • Added private function Build-ADAuditTasksUser for ADAuditTasksUser Class.
  • Integrated new private function into Get-ADActiveUserAudit and Get-ADUserWildCardAudit

[0.3.0] - 2023-03-12

Changed

  • Changed public functions Get-NetworkAudit and Send-AuditEmail to incorporate private function Initialize-ModuleEnv
  • Changed public functions Get-ADActiveUserAudit, Get-ADHostAudit,Get-ADUserLogonAudit,Get-ADUserPrivilegeAudit,Get-ADUserPrivilegeAudit, and Get-ADUserWildCardAudit to incorporate private function Install-ADModule
  • Changed Write-AUditLog variable to $LogString.

Fixed

  • Fixed error output in Get-NetworkAudit

[0.2.0] - 2023-02-21

Added

  • Successfully ran the following PowerShell script to collect and merge audit reports from an Active Directory domain:

    $workstations = Get-ADHostAudit -HostType WindowsWorkstations -Report -Verbose
    $servers = Get-ADHostAudit -HostType WindowsServers -Report -Verbose
    $nonWindows = Get-ADHostAudit -HostType "Non-Windows" -Report -Verbose
    $activeUsers = Get-ADActiveUserAudit -Report -Verbose
    $privilegedUsers = Get-ADUserPrivilegeAudit -Report -Verbose
    $wildcardUsers = Get-ADUserWildCardAudit -WildCardIdentifier "svc" -Report -Verbose
    Merge-ADAuditZip -FilePaths $workstations, $servers, $nonWindows, $activeUsers, $privilegedUsers, $wildcardUsers -OpenDirectory
  • Added support for splitting large ZIP files into multiple parts in Merge-ADAuditZip

  • Added new parameter -OpenDirectory to Merge-ADAuditZip for opening the output directory after merging files

  • Added comment blocks to Merge-ADAuditZip

Changed

  • Improved error handling and logging in Merge-ADAuditZip
  • Renamed output file for Merge-ADAuditZip to include timestamp and domain name
  • Updated examples and usage information in Merge-ADAuditZip documentation

Fixed

  • Fixed issue with Merge-ADAuditZip where blank output files would prevent zipping remaining files

[0.1.7] - 2023-02-21

Added

  • Added comments and help blocks to various functions
  • Added Submit-FTPUpload as public function
  • Modified Get-ADHostAudit to fix multiple string output

Changed

  • Updated documentation to include examples and usage information

Fixed

  • Fixed error handling in Get-ADHostAudit for blank output
  • Fixed several bugs related to incorrect variable naming and parameter types

[0.1.6] - 2023-02-20

Added

  • Added comment help block to Get-ADUserLogonAudit

[0.1.5] - 2023-02-20

Added

  • Added function Merge-ADAuditZip as a public function.

[0.1.4] - 2023-02-20

Fix

  • Fixed multiple string output in Get-ADHostAudit

[0.1.3] - 2023-02-13

Added

  • Added option to error handling for blank output for Get-ADHostAudit.
  • Added line comments to Get-ADHostAudit

Removed

  • Removed hash output file for Get-ADHostAudit,Get-ADUserPrivilegeAudit, and Get-ADUserWIldCardAudit

Removed

  • Removed hash output file for Get-ADHostAudit,Get-ADUserPrivilegeAudit, and Get-ADUserWIldCardAudit

[0.1.2] - 2023-01-06

Fix

  • Fixed documentation

[0.1.0] - 2023-01-06

Added

  • Added Classes 1.ADAuditTasksUser
  • Added Classes 2.ADAuditTasksComputer
  • Added Public Function Get-ADActiveUserAudit
  • Added Public Function Get-ADHostAudit
  • Added Public Function Get-ADUserLogonAudit
  • Added Public Function Get-ADUserPrivilegeAudit
  • Added Public Function Get-ADUserWildCardAudit
  • Added Public Function Get-HostTag
  • Added Public Function Get-NetworkAudit
  • Added Public Function Send-AuditEmail
  • Added Private Function Build-ReportArchive
  • Added Private Function Get-ADExtendedRight
  • Added Private Function Get-ADGroupMemberof
  • Added Private Function Submit-FTPUpload
  • Added Private Function Test-IsAdmin
  • Added Private Function Write-ADAuditLog