troubadix 25.1.2__py3-none-any.whl → 25.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
troubadix/__version__.py CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  # THIS IS AN AUTOGENERATED FILE. DO NOT TOUCH!
4
4
 
5
- __version__ = "25.1.2"
5
+ __version__ = "25.1.4"
@@ -88,6 +88,7 @@ VALID_FAMILIES = [
88
88
  "Web application abuses",
89
89
  "Windows",
90
90
  "Windows : Microsoft Bulletins",
91
+ "Windows Local Security Checks",
91
92
  ]
92
93
 
93
94
 
@@ -58,7 +58,6 @@ class CheckValidOID(FileContentPlugin):
58
58
 
59
59
  security_template = "Security Advisory"
60
60
  family_template = "Local Security Checks"
61
- windows_family_template = "Windows : Microsoft Bulletins"
62
61
  is_using_reserved = "is using an OID that is reserved for"
63
62
  invalid_oid = "is using an invalid OID"
64
63
 
@@ -388,7 +387,7 @@ class CheckValidOID(FileContentPlugin):
388
387
 
389
388
  # Fixed OID-scheme for Windows OIDs
390
389
  if "1.3.6.1.4.1.25623.1.3." in oid:
391
- if family_match.group("value") != windows_family_template:
390
+ if family_match.group("value") != f"Windows {family_template}":
392
391
  yield LinterError(
393
392
  f"script_oid() {is_using_reserved} 'Windows' ("
394
393
  f"{str(oid)})",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: troubadix
3
- Version: 25.1.2
3
+ Version: 25.1.4
4
4
  Summary: A linting and QA check tool for NASL files
5
5
  License: GPL-3.0-or-later
6
6
  Author: Greenbone
@@ -19,7 +19,7 @@ Classifier: Programming Language :: Python :: 3.13
19
19
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
20
  Requires-Dist: chardet (>=4,<6)
21
21
  Requires-Dist: charset-normalizer (>=3.2.0,<4.0.0)
22
- Requires-Dist: codespell (>=2.0.0,<3.0.0)
22
+ Requires-Dist: codespell (==2.3.0)
23
23
  Requires-Dist: gitpython (>=3.1.31,<4.0.0)
24
24
  Requires-Dist: pontos (>=22.7,<26.0)
25
25
  Requires-Dist: python-magic (>=0.4.25,<0.5.0)
@@ -1,5 +1,5 @@
1
1
  troubadix/__init__.py,sha256=K7sIXXDrC7YRb7BvIpdQ6ZfG_QkT0qUH_wAlHROVRfM,716
2
- troubadix/__version__.py,sha256=b9icRZhD9n_klOTCA2Qs3aV1DBh96Z_ep6dI2tY8PBE,103
2
+ troubadix/__version__.py,sha256=ZIsk5y_7oFGfDObf2Nmnez4bPOX59Unm3KLSxRXLJIw,103
3
3
  troubadix/argparser.py,sha256=YAo8cGJt0k2GMICXrDj3Z124GrM8oRwgNm2Bn3J_gYI,7001
4
4
  troubadix/codespell/codespell.additions,sha256=NAYnQF79kdk4YhU_h8fpjAVVkqBm778aPHPPP7FEkZY,504
5
5
  troubadix/codespell/codespell.exclude,sha256=W38XK8hoWWgLDCCJ7USj0YPhqzW68UN7va7bGA2n5eg,145449
@@ -46,7 +46,7 @@ troubadix/plugins/script_calls_empty_values.py,sha256=XdtqTGWI3k_3eId-XAgxwXLxuc
46
46
  troubadix/plugins/script_calls_recommended.py,sha256=GHnfCKBlmutfCXrkvvujvDR7TJDxr2Dx2KZDMa1z_TU,3180
47
47
  troubadix/plugins/script_category.py,sha256=EsFoR6fKjnJNNJb2gLkftwXDhJ3RCfa5g8796N-jxX8,2184
48
48
  troubadix/plugins/script_copyright.py,sha256=z8TjoDDMonne1xEUjEmwOVKvuGJ0CkEk9rtrNBoiKCY,2310
49
- troubadix/plugins/script_family.py,sha256=MBeocKLStuRESAGyKA43g4htOgTJI8aUMWfiYuJJ7p0,4023
49
+ troubadix/plugins/script_family.py,sha256=vUA312g5P_rjeJ0SK0fdO8clJkJkkNrVG40kmckTi8E,4060
50
50
  troubadix/plugins/script_tag_form.py,sha256=J5vZcwgvvyeMa4sulfQinEQpU7braKhDWdZ9j3UfoM0,1773
51
51
  troubadix/plugins/script_tag_whitespaces.py,sha256=2ZqiNufPIyr5Wmcuap3Wy8RXO_CHGUepvYOL_2za59c,2319
52
52
  troubadix/plugins/script_tags_mandatory.py,sha256=t9GiueHwCjWq-2jQszYNufWpfIKTLdUbbvXPyiw3HeY,2630
@@ -64,7 +64,7 @@ troubadix/plugins/tabs.py,sha256=7zXaTZe4cZoZvrLyqntVfTeNN_W3D8dfQl67QevXxtc,131
64
64
  troubadix/plugins/todo_tbd.py,sha256=MN5fFwBhPmt3JDQ2Hx20B8yUy1vz7LIZC3rDIOzfW9M,1758
65
65
  troubadix/plugins/trailing_spaces_tabs.py,sha256=nMly8ZsmGprxHvwCDclKBDRB0eq6JEkjERYKvtStkY4,1873
66
66
  troubadix/plugins/using_display.py,sha256=Hd-eysbXlkQb4M-ywzSd784k3aBSiG_sO6Ou0JdbyJA,4046
67
- troubadix/plugins/valid_oid.py,sha256=uW7dmU2iEEh9_X_GzhalevrL1BK6bwZHn-MiiXLQWwA,17998
67
+ troubadix/plugins/valid_oid.py,sha256=2xL_i8YVF1k3FG7hOH9PVavAveZxu58ciLXHG6lq1pg,17937
68
68
  troubadix/plugins/valid_script_tag_names.py,sha256=6uMJsBdV-Zx-k1F2_MWmQPHXNo1u0ifuosbftbg-27E,3447
69
69
  troubadix/plugins/variable_assigned_in_if.py,sha256=NNz8iuzyQ4rSM6My4WYC1s5TABQqgs7us15PkDA-VV0,3285
70
70
  troubadix/plugins/variable_redefinition_in_foreach.py,sha256=SfaA70TkpD9dsvNbhwJEA3eLAHWvj4YwksN-qeBMowg,2470
@@ -93,8 +93,8 @@ troubadix/standalone_plugins/last_modification.py,sha256=oYzQq7xV3YzSvi6ZtuHuupX
93
93
  troubadix/standalone_plugins/no_solution.py,sha256=81r20kP8otRob2NTaCea-sgVRIM6ARvhddFdibsG6Ao,8877
94
94
  troubadix/standalone_plugins/version_updated.py,sha256=RlzVuXgFOvcjrRTOhiTYlmzV4vvcn7ntCz0lDTjePMU,4316
95
95
  troubadix/troubadix.py,sha256=foA7Loi67cCKieN3ea4s3QOfOWOkgwQVR1H-pNXtXn0,6041
96
- troubadix-25.1.2.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
97
- troubadix-25.1.2.dist-info/METADATA,sha256=Erh1zWb-N3T_kyJyytFxjtWVL5HYcr-R6t7854XByJk,4428
98
- troubadix-25.1.2.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
99
- troubadix-25.1.2.dist-info/entry_points.txt,sha256=LplOk4nzKrS4B8Jz0SPkQLPlIDesdraCO8Vp_eoycpc,737
100
- troubadix-25.1.2.dist-info/RECORD,,
96
+ troubadix-25.1.4.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
97
+ troubadix-25.1.4.dist-info/METADATA,sha256=MqSOqw1f93dlGskk510xRjhIxzmuaj9YvA6EpL0_evI,4421
98
+ troubadix-25.1.4.dist-info/WHEEL,sha256=IYZQI976HJqqOpQU6PHkJ8fb3tMNBFjg-Cn-pwAbaFM,88
99
+ troubadix-25.1.4.dist-info/entry_points.txt,sha256=LplOk4nzKrS4B8Jz0SPkQLPlIDesdraCO8Vp_eoycpc,737
100
+ troubadix-25.1.4.dist-info/RECORD,,