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

Fix ESC8 False Negatives #155

Merged
merged 13 commits into from
Aug 22, 2024
Merged

Fix ESC8 False Negatives #155

merged 13 commits into from
Aug 22, 2024

Conversation

TrimarcJake
Copy link
Owner

This resolves #153 by replacing attribute-based ESC8 checks with web request-based checks to validate the endpoint is online.

Also improved the Fix attribute from [TODO] to something actually meaningful.

Tested in 5 labs and 2 production environments so far. All 7 environments return the same results except @techspence 's lab :suspect:

$SID = $Principal
} else {
$SID = ($Principal.Translate([System.Security.Principal.SecurityIdentifier])).Value
if ($_.Name -ne '' -and $null -ne $_.Name) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wonder if this would work?
if (-not [string]::IsNullOrEmpty($_.Name)) { }

@TrimarcJake TrimarcJake merged commit d0bf564 into testing Aug 22, 2024
2 of 3 checks passed
@TrimarcJake TrimarcJake deleted the fix-esc8-false-negatives branch August 22, 2024 12:21
@TrimarcJake TrimarcJake self-assigned this Aug 24, 2024
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