Skip to content

Commit 7eeb036

Browse files
committed
fix docstring url for schema in vulnerability module
found few classes having incorrect url in vulnerability module while going through them Signed-off-by: Indivar Mishra <indimishra@gmail.com>
1 parent 2b38697 commit 7eeb036

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

cyclonedx/model/vulnerability.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class BomTargetVersionRange:
6262
`version` and `version_range` are mutually exclusive.
6363
6464
.. note::
65-
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/#type_vulnerabilityType
65+
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
6666
"""
6767

6868
def __init__(
@@ -219,7 +219,7 @@ class VulnerabilityAnalysis:
219219
Class that models the `analysis` sub-element of the `vulnerabilityType` complex type.
220220
221221
.. note::
222-
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/#type_vulnerabilityType
222+
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
223223
"""
224224

225225
def __init__(
@@ -403,7 +403,7 @@ class VulnerabilitySource:
403403
This type is used for multiple purposes in the CycloneDX schema.
404404
405405
.. note::
406-
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/#type_vulnerabilitySourceType
406+
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilitySourceType
407407
"""
408408

409409
def __init__(
@@ -471,7 +471,7 @@ class VulnerabilityReference:
471471
intelligence.
472472
473473
.. note::
474-
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/#type_vulnerabilityType
474+
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
475475
"""
476476

477477
def __init__(
@@ -714,7 +714,7 @@ class VulnerabilityRating:
714714
1.4 - see https://github.com/CycloneDX/specification/blob/master/schema/ext/vulnerability-1.0.xsd.
715715
716716
.. note::
717-
See `ratingType` in https://cyclonedx.org/docs/1.6/#ratingType
717+
See `ratingType` in https://cyclonedx.org/docs/1.6/xml/#ratingType
718718
719719
.. warning::
720720
As part of implementing support for CycloneDX schema version 1.4, the three score types defined in the schema
@@ -847,7 +847,7 @@ class VulnerabilityCredits:
847847
extension (in XML only).
848848
849849
.. note::
850-
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/#type_vulnerabilityType
850+
See the CycloneDX schema: https://cyclonedx.org/docs/1.6/xml/#type_vulnerabilityType
851851
"""
852852

853853
def __init__(

0 commit comments

Comments
 (0)