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

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

Parameterized values #82

Closed karikarshivani closed 1 year ago

karikarshivani commented 1 year ago

fixed #81

ejaronne commented 1 year ago

V-93461 inadvertently adds an additional skip message and also doesn't show the input value in the proper skip, having something to do with the way the input is used within the skip statement:

microsoft-windows-server-2019-stig-baseline> inspec exec . --controls V-93461
Profile: microsoft-windows-server-2019-stig-baseline (microsoft-windows-server-2019-stig-baseline) Version: 1.3.22 Target: local:// Target ID: 648fe408-2341-46c1-82a3-20730cdeee10

[SKIP] V-93461: Windows Server 2019 manually managed application account passwords must be at least 15 characters in length. (2 skipped) [SKIP] minimum_password_length_manual [SKIP] Determine if manually managed application/service accounts exist. If none exist, this is NA. Verify the organization has a policy to ensure passwords for manually managed application/service accounts are at least #<RSpec::Core::Example "minimum_password_length_manual"> characters in length.

Profile Summary: 0 successful controls, 0 control failures, 1 control skipped Test Summary: 0 successful, 0 failures, 2 skipped

I think I fixed it with this: https://github.com/mitre/microsoft-windows-server-2019-stig-baseline/pull/82/commits/287b1f4bbe4f0e6f125fa8e5ada45508a1646da3

Otherwise all looks okay.