Skip to content

Commit 168e4ac

Browse files
Merge pull request #180 from CycloneDX/v1.5-dev-security-contact
Adding support for security contact
2 parents df38bf5 + 8058b8c commit 168e4ac

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

schema/bom-1.5.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ enum ExternalReferenceType {
193193
EXTERNAL_REFERENCE_TYPE_BUILD_META = 13;
194194
// URL to an automated build system
195195
EXTERNAL_REFERENCE_TYPE_BUILD_SYSTEM = 14;
196+
// Specifies a way to contact the maintainer, supplier, or provider in the event of a security incident. Common URIs include links to a disclosure procedure, a mailto (RFC-2368) that specifies an email address, a tel (RFC-3966) that specifies a phone number, or dns (RFC-4501]) that specifies the records containing DNS Security TXT.
197+
EXTERNAL_REFERENCE_TYPE_SECURITY_CONTACT = 15;
196198
}
197199

198200
enum HashAlg {

schema/bom-1.5.schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@
10281028
"type": {
10291029
"type": "string",
10301030
"title": "Type",
1031-
"description": "Specifies the type of external reference.\n\n* __vcs__ = Version Control System\n* __issue-tracker__ = Issue or defect tracking system, or an Application Lifecycle Management (ALM) system\n* __website__ = Website\n* __advisories__ = Security advisories\n* __bom__ = Bill of Materials (SBOM, OBOM, HBOM, SaaSBOM, etc)\n* __mailing-list__ = Mailing list or discussion group\n* __social__ = Social media account\n* __chat__ = Real-time chat platform\n* __documentation__ = Documentation, guides, or how-to instructions\n* __support__ = Community or commercial support\n* __distribution__ = Direct or repository download location\n* __license__ = The URL to the license file. If a license URL has been defined in the license node, it should also be defined as an external reference for completeness\n* __build-meta__ = Build-system specific meta file (i.e. pom.xml, package.json, .nuspec, etc)\n* __build-system__ = URL to an automated build system\n* __release-notes__ = URL to release notes\n* __other__ = Use this if no other types accurately describe the purpose of the external reference",
1031+
"description": "Specifies the type of external reference.\n\n* __vcs__ = Version Control System\n* __issue-tracker__ = Issue or defect tracking system, or an Application Lifecycle Management (ALM) system\n* __website__ = Website\n* __advisories__ = Security advisories\n* __bom__ = Bill of Materials (SBOM, OBOM, HBOM, SaaSBOM, etc)\n* __mailing-list__ = Mailing list or discussion group\n* __social__ = Social media account\n* __chat__ = Real-time chat platform\n* __documentation__ = Documentation, guides, or how-to instructions\n* __support__ = Community or commercial support\n* __distribution__ = Direct or repository download location\n* __license__ = The URL to the license file. If a license URL has been defined in the license node, it should also be defined as an external reference for completeness\n* __build-meta__ = Build-system specific meta file (i.e. pom.xml, package.json, .nuspec, etc)\n* __build-system__ = URL to an automated build system\n* __release-notes__ = URL to release notes\n* __security-contact__ = Specifies a way to contact the maintainer, supplier, or provider in the event of a security incident. Common URIs include links to a disclosure procedure, a mailto (RFC-2368) that specifies an email address, a tel (RFC-3966) that specifies a phone number, or dns (RFC-4501]) that specifies the records containing DNS Security TXT\n* __other__ = Use this if no other types accurately describe the purpose of the external reference",
10321032
"enum": [
10331033
"vcs",
10341034
"issue-tracker",
@@ -1045,6 +1045,7 @@
10451045
"build-meta",
10461046
"build-system",
10471047
"release-notes",
1048+
"security-contact",
10481049
"other"
10491050
]
10501051
},

schema/bom-1.5.xsd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1023,6 +1023,11 @@ limitations under the License.
10231023
<xs:documentation>URL to release notes</xs:documentation>
10241024
</xs:annotation>
10251025
</xs:enumeration>
1026+
<xs:enumeration value="security-contact">
1027+
<xs:annotation>
1028+
<xs:documentation>Specifies a way to contact the maintainer, supplier, or provider in the event of a security incident. Common URIs include links to a disclosure procedure, a mailto (RFC-2368) that specifies an email address, a tel (RFC-3966) that specifies a phone number, or dns (RFC-4501]) that specifies the records containing DNS Security TXT.</xs:documentation>
1029+
</xs:annotation>
1030+
</xs:enumeration>
10261031
<xs:enumeration value="other">
10271032
<xs:annotation>
10281033
<xs:documentation>Use this if no other types accurately describe the purpose of the external reference</xs:documentation>

0 commit comments

Comments
 (0)