inspec/test/fixtures/profiles/waivers/basic/files/waivers.yaml
James Stocks 350c0bfe8f Handle waiver expiration dates being YAML strings
This is technically incorrect YAML, but if you transcode YAML between several tools you may end up with a date/time value being an explicit string.
It would be helpful if InSpec supported any string value that easily translates to a Time.

Signed-off-by: James Stocks <jstocks@chef.io>
2020-05-20 15:00:43 +01:00

71 lines
No EOL
1.6 KiB
YAML

03_waivered_no_expiry_ran_passes:
justification: Sound reasoning
run: true
04_waivered_no_expiry_ran_fails:
justification: Unassailable thinking
run: true
05_waivered_no_expiry_not_ran:
justification: Sheer cleverness
run: false
06_waivered_expiry_in_past_ran_passes:
expiration_date: 1977-06-01
justification: Necessity
run: true
07_waivered_expiry_in_past_ran_fails:
expiration_date: 1977-06-01
justification: Whimsy
run: true
08_waivered_expiry_in_past_not_ran:
expiration_date: 1977-06-01
justification: Contrariness
run: false
09_waivered_expiry_in_future_ran_passes:
expiration_date: 2077-06-01
justification: Handwaving
run: true
10_waivered_expiry_in_future_ran_fails:
expiration_date: 2077-06-01
justification: Didn't feel like it
run: true
11_waivered_expiry_in_future_not_ran:
expiration_date: 2077-06-01
justification: Lack of imagination
run: false
12_waivered_expiry_in_future_z_ran_passes:
expiration_date: 2077-11-10T00:00:00Z
justification: Handwaving
run: true
13_waivered_expiry_in_future_z_ran_fails:
expiration_date: 2077-11-10T00:00:00Z
justification: Didn't feel like it
run: true
14_waivered_expiry_in_future_z_not_ran:
expiration_date: 2077-11-10T00:00:00Z
justification: Lack of imagination
run: false
15_waivered_expiry_in_future_string_ran_passes:
expiration_date: "2077-06-01"
justification: Handwaving
run: true
16_waivered_expiry_in_future_string_ran_fails:
expiration_date: "2077-06-01"
justification: Didn't feel like it
run: true
17_waivered_expiry_in_future_string_not_ran:
expiration_date: "2077-06-01"
justification: Lack of imagination
run: false