Skip to content

A comprehensive Windows security auditing and threat detection toolkit. Features 58 production-ready PowerShell functions organized into 14 modules for enterprise-grade security assessment, compliance validation, and incident response.

PowerShell

publish.yml: staging folder must be named like the module (Publish-Module -Path requirement)

Okan YILDIZ8cdc5a84e3b3
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index e5d5ccb..9674e50 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -64,7 +64,7 @@ jobs:
# tests, helper scripts, CHANGELOG.md, etc.).
shell: pwsh
run: |
- $staging = Join-Path $env:RUNNER_TEMP 'module-staging'
+ $staging = Join-Path $env:RUNNER_TEMP 'module-staging\WindowsSecurityAudit'
New-Item -Path $staging -ItemType Directory -Force | Out-Null
$items = @(
'WindowsSecurityAudit.psd1',
@@ -94,6 +94,6 @@ jobs:
Write-Host "::notice::PSGALLERY_API_KEY secret is not configured - skipping gallery publish. Tests and manifest validation passed."
exit 0
}
- $staging = Join-Path $env:RUNNER_TEMP 'module-staging'
+ $staging = Join-Path $env:RUNNER_TEMP 'module-staging\WindowsSecurityAudit'
Publish-Module -Path $staging -NuGetApiKey $env:PSGALLERY_API_KEY -ErrorAction Stop
Write-Host "Published WindowsSecurityAudit to the PowerShell Gallery."