Skip to content

Test: note when the AppLocker logs can't record anything (#74) - #81

Merged
spydisec merged 1 commit into
mainfrom
feat/applocker-note-74
Sep 24, 2026
Merged

spydisec merged 1 commit into
mainfrom
feat/applocker-note-74

Conversation

@spydisec

Copy link
Copy Markdown
Owner

Closes #74. From the review of Yamato WELA #381.

The four AppLocker channels pass Test as enabled, but record nothing unless an AppLocker policy is in effect (the settings table's own Purpose text says so). When they're selected, Test now ends with an AppLocker note:

  • Get-AppLockerPolicy not available: AppLocker isn't available on this edition, so the logs stay empty. (Exercised on this Windows 11 Home machine, where the cmdlet doesn't exist.)
  • No rules in the effective policy: no AppLocker policy is in effect, so the logs stay empty; deploy an audit-only policy to get these events (the kit doesn't create one).
  • Rules present: how many, so the logs will record decisions.
  • Unreadable policy: says so.

Informational only, never a FAIL. Read-only (Get-AppLockerPolicy -Effective); a self-check confirms Test never calls Set-AppLockerPolicy. Commands page updated.

Checks: Pester 65/65 on PowerShell 7 and 5.1; PSScriptAnalyzer clean for the kit; mkdocs build --strict passes. The "policy present / absent" branches need a Pro, Enterprise or Server host to see live.

🤖 Generated with Claude Code

When the AppLocker channels are selected, Test now adds an informational
note after the storage check: AppLocker not available on this edition,
no AppLocker policy in effect (the logs will stay empty), or the number
of rules in effect. Read-only (Get-AppLockerPolicy -Effective), never a
FAIL; the kit never creates an AppLocker policy.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 35 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: spydisec/WinLogKit/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 87bb70af-3f4f-4912-a038-26147cb2ae7a

📥 Commits

Reviewing files that changed from the base of the PR and between 4cbdcbe and e65ba84.

📒 Files selected for processing (4)
  • CHANGELOG.md
  • Test-LoggingBaseline.ps1
  • docs/commands.md
  • tests/Kit.Tests.ps1

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@spydisec
spydisec merged commit 9f1ae9c into main Sep 24, 2026
6 checks passed
@spydisec
spydisec deleted the feat/applocker-note-74 branch September 24, 2026 02:44
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.

Test: note when AppLocker logs are selected but no AppLocker policy is in effect

1 participant