Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion schema/bom-1.4.proto
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ message VulnerabilityAffectedVersions {
oneof choice {
// A single version of a component or service.
string version = 1;
// A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst
// A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst
string range = 2;
}
// The vulnerability status for the version or range of versions.
Expand Down
4 changes: 2 additions & 2 deletions schema/bom-1.4.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -1640,7 +1640,7 @@
"$ref": "#/definitions/version"
},
"range": {
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst",
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst",
"$ref": "#/definitions/range"
},
"status": {
Expand Down Expand Up @@ -1683,7 +1683,7 @@
"maxLength": 1024
},
"range": {
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst",
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst",
"type": "string",
"minLength": 1,
"maxLength": 1024
Expand Down
2 changes: 1 addition & 1 deletion schema/bom-1.4.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -1993,7 +1993,7 @@ limitations under the License.
</xs:element>
<xs:element name="range" type="xs:normalizedString" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst</xs:documentation>
<xs:documentation>A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
Expand Down
2 changes: 1 addition & 1 deletion schema/bom-1.5.proto
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,7 @@ message VulnerabilityAffectedVersions {
oneof choice {
// A single version of a component or service.
string version = 1;
// A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst
// A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst
string range = 2;
}
// The vulnerability status for the version or range of versions. Defaults to VULNERABILITY_AFFECTED_STATUS_AFFECTED if not specified.
Expand Down
4 changes: 2 additions & 2 deletions schema/bom-1.5.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2284,7 +2284,7 @@
"$ref": "#/definitions/version"
},
"range": {
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst",
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst",
"$ref": "#/definitions/range"
},
"status": {
Expand Down Expand Up @@ -2326,7 +2326,7 @@
"maxLength": 1024
},
"range": {
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst",
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst",
"type": "string",
"minLength": 1,
"maxLength": 1024
Expand Down
2 changes: 1 addition & 1 deletion schema/bom-1.5.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -3644,7 +3644,7 @@ limitations under the License.
</xs:element>
<xs:element name="range" type="xs:normalizedString" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst</xs:documentation>
<xs:documentation>A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
Expand Down
2 changes: 1 addition & 1 deletion schema/bom-1.6.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1093,7 +1093,7 @@ message VulnerabilityAffectedVersions {
oneof choice {
// A single version of a component or service.
string version = 1;
// A version range specified in Package URL Version Range syntax (vers), which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst
// A version range specified in Package URL Version Range syntax (vers), which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst
string range = 2;
}
// The vulnerability status for the version or range of versions. Defaults to VULNERABILITY_AFFECTED_STATUS_AFFECTED if not specified.
Expand Down
4 changes: 2 additions & 2 deletions schema/bom-1.6.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2928,7 +2928,7 @@
},
"range": {
"title": "Version Range",
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst",
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst",
"$ref": "#/definitions/versionRange"
},
"status": {
Expand Down Expand Up @@ -2983,7 +2983,7 @@
]
},
"versionRange": {
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst",
"description": "A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst",
"type": "string",
"minLength": 1,
"maxLength": 4096,
Expand Down
4 changes: 2 additions & 2 deletions schema/bom-1.6.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ limitations under the License.
<xs:simpleType name="versionRangeType">
<xs:annotation>
<xs:documentation xml:lang="en"><![CDATA[
A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst
A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst

Example values:
- "vers:cargo/9.0.14"
Expand Down Expand Up @@ -4475,7 +4475,7 @@ limitations under the License.
</xs:element>
<xs:element name="range" type="bom:versionRangeType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/purl-spec/blob/master/VERSION-RANGE-SPEC.rst</xs:documentation>
<xs:documentation>A version range specified in Package URL Version Range syntax (vers) which is defined at https://github.com/package-url/vers-spec/blob/main/VERSION-RANGE-SPEC.rst</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
Expand Down