mitre / microsoft-windows-server-2019-stig-baseline

Microsoft Windows Server 2019 STIG InSpec Profile
Other
14 stars 11 forks source link

Edge cases for V-92975 & V-92977 #30

Closed karikarshivani closed 1 year ago

karikarshivani commented 3 years ago

Cover the edge cases of missing dates the controls below:

Refer to corresponding controls in 2016:

karikarshivani commented 1 year ago

The controls listed above for Windows 2016 cover an edge case if the account creation or the account expiration dates are missing. Missing data (nil) will lead to profile errors because you need dates to use Date.parse. That edge case is currently not covered in Windows 2019. Here are the specific conditions that need to be inserted in the relevant Windows 2019 controls:

Temporary Accounts

Emergency Accounts