Skip to content

Commit 57f07a2

Browse files
author
imi
committed
drop nonsense yml tests
1 parent d509856 commit 57f07a2

8 files changed

+38
-66
lines changed

tests/CIS/cisco_ios/11_local_authentication_authorization_and_accounting_rules/rule_113_enable_aaa_authentication_enable_default.yml

+7-3
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ defaults:
44

55
tests:
66
rule_113_enable_aaa_authentication_enable_default:
7-
- devices:
7+
- outcome: OK
8+
devices:
89
- platform: cisco_ios
9-
- platform: cisco_xe
10-
outcome: OK
10+
configuration: |
11+
aaa authentication enable
1112
1213
- outcome: TESTS_FAILED
1314
configuration: |
@@ -20,6 +21,9 @@ tests:
2021
- outcome: NO_TESTS_COLLECTED
2122
devices:
2223
- platform: juniper_junos
24+
2325
- outcome: OK
2426
devices:
2527
- platform: cisco_ios
28+
configuration: |
29+
aaa authentication enable

tests/CIS/cisco_ios/11_local_authentication_authorization_and_accounting_rules/rule_114_set_login_authentication_for_line_vty.yml

-20
This file was deleted.

tests/CIS/cisco_ios/11_local_authentication_authorization_and_accounting_rules/rule_115_set_login_authentication_for_ip_http.yml

-21
This file was deleted.

tests/CIS/cisco_ios/11_local_authentication_authorization_and_accounting_rules/rule_116_set_aaa_accounting_to_log_all_privileged_use_commands.yml

-21
This file was deleted.

tests/CIS/cisco_ios/11_local_authentication_authorization_and_accounting_rules/rule_117_set_aaa_accounting_connection.yml

+2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ tests:
1111
- outcome: OK
1212
configuration: |
1313
aaa new-model
14+
aaa accounting connection
1415
- outcome: OK
1516
configuration: |
1617
no aab new-model
18+
aaa accounting connection
1719
1820
- outcome: NO_TESTS_COLLECTED
1921
devices:

tests/CIS/cisco_ios/11_local_authentication_authorization_and_accounting_rules/rule_118_set_aaa_accounting_exec.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ tests:
1010
no aaa new-model
1111
- outcome: OK
1212
configuration: |
13-
aaa new-model
13+
aaa accounting exec
1414
- outcome: OK
1515
configuration: |
1616
no aab new-model
17+
aaa accounting exec
1718
1819
- outcome: NO_TESTS_COLLECTED
1920
devices:

tests/CIS/cisco_ios/11_local_authentication_authorization_and_accounting_rules/rule_119_set_aaa_accounting_network.yml

+2
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ tests:
1111
- outcome: OK
1212
configuration: |
1313
aaa new-model
14+
aaa accounting network
1415
- outcome: OK
1516
configuration: |
1617
no aab new-model
18+
aaa accounting network
1719
1820
- outcome: NO_TESTS_COLLECTED
1921
devices:

tests/CVE/Cisco_XR/CVE-2023-44487.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
defaults:
2+
devices:
3+
- platform: cisco_xr
4+
5+
tests:
6+
rule_cve_2023_44487:
7+
- outcome: TESTS_FAILED
8+
commands:
9+
"show version | include Software": "Version 6.11.2"
10+
11+
- outcome: TESTS_FAILED
12+
commands:
13+
"show version | include Software": "version: Version 7.11.1"
14+
15+
- outcome: TESTS_FAILED
16+
commands:
17+
"show version | include Software": "version: Version 7.11.2"
18+
19+
- outcome: OK
20+
commands:
21+
"show version | include Software": "Version 7.11.3"
22+
23+
- outcome: NO_TESTS_COLLECTED
24+
devices:
25+
- platform: juniperOS

0 commit comments

Comments
 (0)