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

SCProtectionAlert enforces Threshold param #3347

Closed
martincaddick opened this issue May 29, 2023 · 4 comments
Closed

SCProtectionAlert enforces Threshold param #3347

martincaddick opened this issue May 29, 2023 · 4 comments

Comments

@martincaddick
Copy link
Contributor

DevBranch
SCProtectionAlert enforces a validation for a number between 3 and 2147483647.

image

Not all alerts have the threshold.
image

Job {6CE0040D-FE06-11ED-B9CE-6CA10054F074} :
This event indicates that failure happens when LCM is processing the configuration. Error Id is 0x1. Error Detail is The SendConfigurationApply function did not succeed.. Resource Id is [SCProtectionAlert]SCProtectionAlert-MIP AutoLabel simulation completed and Source Info is C:\Working\Target\MyComponent.ps1::17::9::SCProtectionAlert. Error Message is The PowerShell DSC resource '[SCProtectionAlert]SCProtectionAlert-MIP AutoLabel simulation completed' with SourceInfo 'C:\Working\Target\MyComponent.ps1::17::9::SCProtectionAlert' threw one or more non-terminating errors while running the Set-TargetResource functionality. These errors are logged to the ETW channel called Microsoft-Windows-DSC/Operational. Refer to this channel for more details..

@NikCharlebois
Copy link
Collaborator

Could you provide additional information about the encountered issue? The Threshold parameter is not mandatory and can be omitted for alerts that don't define them. Thanks

@martincaddick
Copy link
Contributor Author

related to #3224

@NikCharlebois
Copy link
Collaborator

Can this be closed then since we've had a fix pushed for 3224? Thanks

@martincaddick
Copy link
Contributor Author

Close please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants