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

Enable metadata in config to declare if admin is required or not #351

Merged
merged 5 commits into from
Mar 7, 2024

Conversation

SteveL-MSFT
Copy link
Member

PR Summary

Enable using metadata to declare if a config requires admin or non-admin. A helper function library added using different methods depending on Windows and non-Windows. This can be used later with RunAsGroup resource.

PR Context

Fix #258

dsc_lib/src/configure/mod.rs Outdated Show resolved Hide resolved
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Mar 7, 2024
Merged via the queue into PowerShell:main with commit 9068be8 Mar 7, 2024
4 checks passed
@SteveL-MSFT SteveL-MSFT deleted the metadata-runas branch March 7, 2024 18:26
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 15, 2024
This change updates the `metadata` property of the configuration
document schema to include the validated `Microsoft.DSC` property,
with the `requiredSecurityContext` child property, as implemented
in PowerShell#351.

This change updates both the source and composed schemas.
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 16, 2024
This change updates the `metadata` property of the configuration
document schema to include the validated `Microsoft.DSC` property,
with the `requiredSecurityContext` child property, as implemented
in PowerShell#351.

This change updates both the source and composed schemas.
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 18, 2024
This change updates the `metadata` property of the configuration
document schema to include the validated `Microsoft.DSC` property,
with the `requiredSecurityContext` child property, as implemented
in PowerShell#351.

This change updates both the source and composed schemas.
michaeltlombardi added a commit to michaeltlombardi/DSC that referenced this pull request Apr 18, 2024
This change updates the `metadata` property of the configuration
document schema to include the validated `Microsoft.DSC` property,
with the `requiredSecurityContext` child property, as implemented
in PowerShell#351.

This change updates both the source and composed schemas.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add metadata in config to indicate a config requires admin, non-admin, system
2 participants