DSC icon indicating copy to clipboard operation
DSC copied to clipboard

Known coming breaking changes

Open SteveL-MSFT opened this issue 3 months ago • 6 comments

Summary of the new feature / enhancement

  • WhatIf arg kind for Set and Delete
    • Remove WhatIf operation and only use arg kind
  • Authenticode opt-out
    • Initially unsigned config, resource manifest, and binaries emit warnings will eventually be errors
  • Adapters default to single resource inputKind
    • Currently adapters only expect getting a config doc which is getting more complex as the project evolves
  • Remove support for validate method for adapters, require adapters to return JSONSchema which is needed for intellisense experience

Proposed technical implementation details (optional)

No response

SteveL-MSFT avatar Sep 17 '25 19:09 SteveL-MSFT

  • https://github.com/PowerShell/DSC/issues/983

ThomasNieto avatar Sep 17 '25 19:09 ThomasNieto

And can you bypass the signing requirements with a flag once they turn into errors?

whindsaks avatar Sep 18 '25 14:09 whindsaks

And can you bypass the signing requirements with a flag once they turn into errors?

I would expect we would also have policy settings for enterprise scenarios to restrict turning it off, but it probably makes sense for dev scenarios to have a switch and/or setting to bypass.

SteveL-MSFT avatar Sep 18 '25 20:09 SteveL-MSFT

Can we get a dedicated issue for the Authenticode feature with proposed design? I'd like to know how it's going to work with import feature since those won't be signed.

ThomasNieto avatar Sep 19 '25 04:09 ThomasNieto

Can we get a dedicated issue for the Authenticode feature with proposed design? I'd like to know how it's going to work with import feature since those won't be signed.

For the import feature, the importer will be checked if signed, but the contents it imports is the responsibility of the importer to validate it's signed. This is similar problem to adapters. I think what we need is a new ArgKind to indicate to importers and adapters that it needs to validate their content is signed.

Created https://github.com/PowerShell/DSC/issues/1131 for this

SteveL-MSFT avatar Sep 24 '25 14:09 SteveL-MSFT