We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 06f6dc3 commit c0edde7Copy full SHA for c0edde7
CVE/Cisco_XR/CVE-2023-44487.py
@@ -10,6 +10,6 @@ def rule_cve_2023_44487(configuration, commands, device):
10
import re
11
pattern = r"Version\s([0-9.]+)"
12
match = re.search(pattern, str(commands.version))
13
- s_version = match.group(1)
+ s_version = match.group(1) if match else '0.0.0'
14
version = tuple(map(int, s_version.split('.')))
15
assert version > (7, 11, 2)
0 commit comments