Skip to content

dsc does not validate resource output against it's schema #251

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

Closed
SteveL-MSFT opened this issue Nov 1, 2023 · 0 comments · Fixed by #362
Closed

dsc does not validate resource output against it's schema #251

SteveL-MSFT opened this issue Nov 1, 2023 · 0 comments · Fixed by #362
Labels
Issue-Enhancement The issue is a feature or idea Partner-WinGet

Comments

@SteveL-MSFT
Copy link
Member

Summary of the new feature / enhancement

Currently, there's an implicit trust with resources and as long as the output is valid JSON, it is passed through to the result output. dsc should validate that the result JSON matches the resource's JSONSchema and error if it doesn't match.

Proposed technical implementation details (optional)

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Enhancement The issue is a feature or idea Partner-WinGet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants