Locksmith icon indicating copy to clipboard operation
Locksmith copied to clipboard

Create Get-PublishedTemplates

Open SamErde opened this issue 1 year ago • 0 comments

Get-PublishedTemplates pulls a list of published templates with their name, OID, flags, enrollment flag, whenModified, revision, and minor revision. This should help us check if vulnerable templates are published and also ultimately check if the vulnerable version is in use by issued certificate requests.

Please review the bitwise checks for the template's flags and mspki-enrollment-flag properties to see if the logic is correct and returns all published templates in your test environments.

Contributes to #87.

SamErde avatar Aug 30 '24 18:08 SamErde