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 @@ -3361,13 +3361,13 @@ limitations under the License.
33613361 </xs : annotation >
33623362 <xs : complexType >
33633363 <xs : sequence minOccurs =" 1" maxOccurs =" 1" >
3364- <xs : element name =" id" type =" xs:normalizedString" minOccurs =" 0 " maxOccurs =" 1" >
3364+ <xs : element name =" id" type =" xs:normalizedString" minOccurs =" 1 " maxOccurs =" 1" >
33653365 <xs : annotation >
33663366 <xs : documentation >The identifier that uniquely identifies the vulnerability. For example:
33673367 CVE-2021-39182, GHSA-35m5-8cvj-8783, and SNYK-PYTHON-ENROCRYPT-1912876.</xs : documentation >
33683368 </xs : annotation >
33693369 </xs : element >
3370- <xs : element name =" source" type =" bom:vulnerabilitySourceType" minOccurs =" 0 " maxOccurs =" 1" >
3370+ <xs : element name =" source" type =" bom:vulnerabilitySourceType" minOccurs =" 1 " maxOccurs =" 1" >
33713371 <xs : annotation >
33723372 <xs : documentation >The source that published the vulnerability.</xs : documentation >
33733373 </xs : annotation >
You can’t perform that action at this time.
0 commit comments