File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -818,9 +818,9 @@ message ProofOfConcept {
818818
819819message VulnerabilityReference {
820820 // An identifier that uniquely identifies the vulnerability.
821- optional string id = 1 ;
821+ string id = 1 ;
822822 // The source that published the vulnerability.
823- optional Source source = 2 ;
823+ Source source = 2 ;
824824}
825825
826826message VulnerabilityRating {
Original file line number Diff line number Diff line change @@ -3345,13 +3345,13 @@ limitations under the License.
33453345 </xs : annotation >
33463346 <xs : complexType >
33473347 <xs : sequence minOccurs =" 1" maxOccurs =" 1" >
3348- <xs : element name =" id" type =" xs:normalizedString" minOccurs =" 0 " maxOccurs =" 1" >
3348+ <xs : element name =" id" type =" xs:normalizedString" minOccurs =" 1 " maxOccurs =" 1" >
33493349 <xs : annotation >
33503350 <xs : documentation >The identifier that uniquely identifies the vulnerability. For example:
33513351 CVE-2021-39182, GHSA-35m5-8cvj-8783, and SNYK-PYTHON-ENROCRYPT-1912876.</xs : documentation >
33523352 </xs : annotation >
33533353 </xs : element >
3354- <xs : element name =" source" type =" bom:vulnerabilitySourceType" minOccurs =" 0 " maxOccurs =" 1" >
3354+ <xs : element name =" source" type =" bom:vulnerabilitySourceType" minOccurs =" 1 " maxOccurs =" 1" >
33553355 <xs : annotation >
33563356 <xs : documentation >The source that published the vulnerability.</xs : documentation >
33573357 </xs : annotation >
You can’t perform that action at this time.
0 commit comments