microsoft / microsoft/PowerStig

After 4.26 release getting error: Could not find mandatory property Thumbprint. Add this property and try again.

Open
#1,472 15 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PowerShell
Stars
619
Forks
124
PR merge metrics
No merged PRs in 30d

Description

Good day!

Below was working but not after 4.26 release. Please help me understand why and how to fix. thanks!

Configuration STIG_Windows_MS_baseline {

Import-DscResource -ModuleName PowerSTIG
$TechnologyVersion
$StigVersion
Node 'localhost' {
    WindowsServer BaseLine {
        OsVersion   = $TechnologyVersion
        OsRole      = 'MS'
        StigVersion = $StigVersion
        ## Example 
        ## Exception   = @{'V-1075'= @{'ValueData'='1'} }
        Exception   = @{

            'V-254439' = @{Identity = 'Guests' }
            'V-254435' = @{Identity = 'Guests' }
            'V-254436' = @{Identity = 'Guests' }
            'V-254438' = @{Identity = 'Guests' }

        }
        #SkipRule    = @('V-254353', 'V-254354')
    }
   
}

}
Test-DscConfiguration D:\Support\STIG

STIG_Windows_MS_baseline -OutputPath:"D:\Support\STIG"
Could not find mandatory property Thumbprint. Add this property and try again.
CategoryInfo : ObjectNotFound: (root/Microsoft/...gurationManager:String) [], CimException
FullyQualifiedErrorId : MI RESULT 6
PSComputerName : localhost

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the STIG_Windows_MS_baseline configuration, the WindowsServer resource, and the shown Test-DscConfiguration and output commands. Compare behavior before and after the 4.26 release, then confirm that the configuration completes without the mandatory Thumbprint error.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.