@@ -63,7 +63,8 @@ class BomTargetVersionRange:
63
63
`version` and `version_range` are mutually exclusive.
64
64
65
65
.. note::
66
- See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
66
+ See the CycloneDX schema:
67
+ https://cyclonedx.org/docs/1.6/json/#tab-pane_vulnerabilities_items_affects_items_versions_items_oneOf_i0
67
68
"""
68
69
69
70
def __init__ (
@@ -159,7 +160,7 @@ class BomTarget:
159
160
from a `cyclonedx.parser.BaseParser` implementation.
160
161
161
162
.. note::
162
- See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
163
+ See the CycloneDX schema: https://cyclonedx.org/docs/1.6/json/#vulnerabilities_items_affects
163
164
"""
164
165
165
166
def __init__ (
@@ -227,7 +228,7 @@ class VulnerabilityAnalysis:
227
228
Class that models the `analysis` sub-element of the `vulnerabilityType` complex type.
228
229
229
230
.. note::
230
- See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
231
+ See the CycloneDX schema: https://cyclonedx.org/docs/1.6/json/#vulnerabilities_items_analysis
231
232
"""
232
233
233
234
def __init__ (
@@ -367,7 +368,7 @@ class VulnerabilityAdvisory:
367
368
Class that models the `advisoryType` complex type.
368
369
369
370
.. note::
370
- See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_advisoryType
371
+ See the CycloneDX schema: https://cyclonedx.org/docs/1.6/json/#vulnerabilities_items_advisories
371
372
"""
372
373
373
374
def __init__ (
@@ -433,7 +434,7 @@ class VulnerabilitySource:
433
434
This type is used for multiple purposes in the CycloneDX schema.
434
435
435
436
.. note::
436
- See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilitySourceType
437
+ See the CycloneDX schema: https://cyclonedx.org/docs/1.6/json/#vulnerabilities_items_source
437
438
"""
438
439
439
440
def __init__ (
@@ -502,7 +503,7 @@ class VulnerabilityReference:
502
503
intelligence.
503
504
504
505
.. note::
505
- See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
506
+ See the CycloneDX schema: https://cyclonedx.org/docs/1.6/json/#vulnerabilities_items_references
506
507
507
508
.. note::
508
509
Properties ``id`` and ``source`` are mandatory.
@@ -588,6 +589,7 @@ class VulnerabilityScoreSource(str, Enum):
588
589
No explicit carry-over from the former schema extension:
589
590
https://github.com/CycloneDX/specification/blob/master/schema/ext/vulnerability-1.0.xsd
590
591
"""
592
+
591
593
# see `_VulnerabilityScoreSourceSerializationHelper.__CASES` for view/case map
592
594
CVSS_V2 = 'CVSSv2'
593
595
CVSS_V3 = 'CVSSv3'
@@ -762,7 +764,7 @@ class VulnerabilityRating:
762
764
1.4 - see https://github.com/CycloneDX/specification/blob/master/schema/ext/vulnerability-1.0.xsd.
763
765
764
766
.. note::
765
- See `ratingType` in https://cyclonedx.org/docs/1.6/xml/#ratingType
767
+ See the CycloneDX Schema definition: https://cyclonedx.org/docs/1.6/xml/#type_ratingType
766
768
767
769
.. warning::
768
770
As part of implementing support for CycloneDX schema version 1.4, the three score types defined in the schema
@@ -900,7 +902,7 @@ class VulnerabilityCredits:
900
902
extension (in XML only).
901
903
902
904
.. note::
903
- See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
905
+ See the CycloneDX schema: https://cyclonedx.org/docs/1.6/json/#vulnerabilities_items_credits
904
906
"""
905
907
906
908
def __init__ (
0 commit comments