-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
Description
Description
Window-011 check is failing due to an array ordering problem
It is looking for expected: ["S-1-5-9", "S-1-5-32-544"] but is finding got: ["S-1-5-32-544", "S-1-5-9"]
Reproduction steps
This is with a stock windows 2016 build, using the stock inspec defaults
https://github.com/dev-sec/windows-baseline/blob/master/inspec.yml#L34-L38
Current Behavior
expected: ["S-1-5-9", "S-1-5-32-544"]
got: ["S-1-5-32-544", "S-1-5-9"]
Expected Behavior
The array order should not change.
If the array order does change, it should not be considered a failure as long as the contents are equivalent.
OS / Environment
windows 2016
Inspec Version
5.18.14
Baseline Version
name: .
title: InSpec Profile
maintainer: The Authors
copyright: The Authors
copyright_email: you@example.com
license: Apache-2.0
summary: An InSpec Compliance Profile
version: 0.1.0
supports:
platform-family: windows
depends:
- name: windows-baseline
git: https://github.com/dev-sec/windows-baseline
tag: 2.1.9
Additional information
No response
