mirror of
https://github.com/inspec/inspec
synced 2025-01-02 00:09:01 +00:00
35e36ad40a
Fixes #5037 The YAML parser may parse a waiver timestamp as a Time rather than a Date. Even when the user doesn't care about time, they may be using a tool that outputs YAML with trailing zeroes for hour, minutes, seconds etc. Signed-off-by: James Stocks <jstocks@chef.io>
56 lines
1.3 KiB
YAML
56 lines
1.3 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
|