-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5_test_spec.yml
66 lines (66 loc) · 1.77 KB
/
5_test_spec.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
os_image: Windows10
os_image_version: 1809
ciscat_version: v4.0.20
testruns:
- name: 1809 L2 High Security (...)
- name: 1809_Level1_Corporate_General_use
testrun_ps_profile: L1_Corp_Env_genUse
testrun_ciscat_profile: cisbenchmarks_profile_L1_Corp_Env_genUse
testrun_benchmark_filename: CIS_Win_10_1809-xccdf.xml
activities:
- id: initial_powershell_check
type: ps_scripts
sub_type: check_all
validations:
- sub_type: count
expected:
blacklist_rules: 0
compliant_checks: 75
non_compliant_checks: 272
empty_checks: 2
unknown_checks: 2
(...)
- id: apply_all
type: ps_scripts
sub_type: apply_all
blacklist_rules: [R2_2_16, R2_3_1_1, ..., R18_9_97_2_4]
validations:
- sub_type: count
expected:
applied_automations: 336
not_applied_automations: 4
(...)
- id: check-after-apply-all-with-ps
type: ps_scripts
sub_type: check_all
validations:
- sub_type: by_id
result: non_compliant_checks
comment: Correspond to blacklisted rules
check_ids: [R2_2_16, R2_3_1_1, ..., R18_9_97_2_4]
(...)
- id: check_after_apply_all_ciscat ...
type: ciscat
validations:
- sub_type: compare
compare_with: check-after-apply-all-with-ps
expected:
comment: CISCAT error for 18.8.21.5
rules_failed_only_here: [R18_8_21_5, ...]
rules_unknown_only_here: [R1_1_5, R1_1_6, R2_3_10_1]
rules_unknown_only_there: [R18_2_1, ...]
rules_passed_only_here: []
(...)
static:
- id: validate_json_file
type: examine_sfera_automation_json
validations:
- sub_type: count
expected:
no_automation: 1
(...)
- sub_type: by_id
expected:
no_automation: [R18_2_1]
same_setting: []
(...)