软件物料清单必要字段、实例参考_第1页
软件物料清单必要字段、实例参考_第2页
软件物料清单必要字段、实例参考_第3页
软件物料清单必要字段、实例参考_第4页
软件物料清单必要字段、实例参考_第5页
已阅读5页,还剩6页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

附录A

(资料性)

软件物料清单必要字段软件物料清单必要字段如表A.1所示。表A.1软件物料清单必要字段元素名字段名字段描述字段类型软件信息softwaresoftwareName软件名称stringsoftwareVersion软件版本stringintegrityhashAlg杂凑算法stringmessageDigest消息摘要string清单信息documentformatName清单格式名称stringformatVersion格式版本stringserialNumber清单标识stringtimestamp时间戳stringauthors创建者string组件信息componentscomponentId组件标识stringcomponentName组件名称stringcomponentVersion组件版本stringselfDevelopedProportion自研比例enum(ofstring)licenseName许可证名称arrayofstringintegrityhashAlg杂凑算法stringmessageDigest消息摘要string内部依赖信息dependenciesidentityAId依赖标识引用stringrelationship关系arrayofstringidentityBId被依赖标识引用string生命周期维护中断风险disruptionsdisruptionId中断标识stringdisruptionType中断类型stringaffectedObject影响对象string表A.1(续)元素名字段名字段描述字段类型生命周期维护中断风险disruptionsdescription风险描述stringdisposal处置情况booleanestimatedTime预计中断时间string签名信息integritysignatureFile签名文件stringdigitalCertificateFile数字证书文件string

附录B

(资料性)

软件物料清单实例参考B.1软件信息JSON格式示例:定制化开发或商业采购软件:{"software":{"softwareName":"MyApp","softwareVersion":"1.2.0","integrity":{"hashAlg":"MD5","messageDigest":"fc3aa394c8787e019eda27be38d65cdf"},"supplier":{"supplierName":"supplierA","supplierType":"agent","area":"China","developer":"developerA",}"licenseName":"CommercialAgreementA""authorizationTerm":"2024-11-11"}}开源软件:{"software":{"softwareName":"MyApp","softwareVersion":"1.2.0","integrity":{"hashAlg":"MD5","messageDigest":"fc3aa394c8787e019eda27be38d65cdf"},"acquisitionChannel":"openSourceCommunity","licenseName":"Apache-2.0"}}B.2清单信息JSON格式示例:{"document":{"formatName":"SBOMDF","formatVersion":"1.0","serialNumber":"urn:uuid:f47ac10b-58cc-4372-a567-0e02b2c3d479","lifecycle":"commit","timestamp":"2024-01-1010:00:00","authors":"SBOMDFCreatorA","createTools":"AutomationToolv2.1","downloadUrl":"/download/sbom"}}B.3组件信息JSON格式示例:定制化开发或商业采购软件:{"components":[{"componentId":"lib-001","componentName":"LoggingLibrary","componentVersion":"v2.5","componentDescription":"Libraryforapplicationlogging.","selfDevelopedProportion":"none","regIdentifier":"cpe:/a:microsoft:sql_server:6.5","importance":"核心组件","security":"经过三方机构安全检测","supplier":{"supplierName":"supplierA","supplierType":"integrator","area":"China","developer":"developerA",}"language":"Java","licenseName":"CommercialAgreementB","downloadUrl":"/log-lib","homePgaeUrl":"","completeness":"known","integrity":{"hashAlg":"MD5","messageDigest":"d41d8cd98f00b204e9800998ecf8427e"}},]}开源软件:{"components":[{"componentId":"lib-001","componentName":"LoggingLibrary","componentVersion":"v2.5","componentDescription":"Libraryforapplicationlogging.","selfDevelopedProportion":"none","regIdentifier":"cpe:/a:microsoft:sql_server:6.5","importance":"核心组件","security":"经过开源社区安全审查","acquisitionChannel":"openSourceCommunity","language":"Java","licenseName":"ApacheLicense2.0","downloadUrl":"/log-lib","homePgae":"","completeness":"known","integrity":{"hashAlg":"MD5","messageDigest":"d41d8cd98f00b204e9800998ecf8427e"}},]}B.4文件信息JSON格式示例:{"files":[{"fileId":"file-001","fileName":"syslog.java","filePath":"/src/com/myapp/syslog.java","purpose":"实现软件日志信息生成的源代码文件","integrity":{"hashAlg":"MD5","messageDigest":"03ac674216f3e15c761ee1a5e255f067"}},]}B.5代码片段信息JSON格式示例:{"snippets":[{"snippetId":"snippet-001","snippetFile":"/src/com/myapp/Main.java","byteStartPointer":100,"byteEndPointer":200,"lineStartPointer":10,"lineEndPointer":20,"snippetSource":"OpensourceprojectA","snippetUrl":"http://www.OpenSourceC/projectA/homepage","licenseName":"ApacheLicense2.0","integrity":{"hashAlg":"MD5","messageDigest":"a8a06469b6d584543e5619746e3d62d4"}},]}B.6内部依赖信息JSON格式示例:{"dependencies":[{"identityAId":"lib-001","relationship":"dependsOn","identityBId":"lib-002"},{"identityAId":"file-001","relationship":"contains","identityBId":"snippet-001"},]}B.7外部网络服务信息JSON格式示例:{"services":[{"serviceId":"service-001","serviceName":"AuthenticationService","substitutability":false,"supplier":{"supplierName":"paymentserviceprovider","area":"China",},"serviceUrl":"/api","serviceArea":"国内计算环境","serviceProtocol":"http","dataDescription":"包含电话、身份证、银行卡号等个人隐私信息"},]}B.8基础环境信息JSON格式示例:{"platform":[{"assetId":"java-runtime","assetName":"JavaRuntimeEnvironment","assetVersion":"v8.0","substitutability":false,"source":"","supplier":{"supplierName":"Javaprovider","area":"China"},},]}B.9开发工具信息JSON格式示例:{"developmentTools":[{"toolId":"tool-001","toolName":"IDE","toolType":"代码编辑器","toolVersion":"v5.3","purpose":"编辑源代码",},]}B.10网络服务接口信息JSON格式示例:{"interfaces":[{"interfaceId":"INT-001","interfaceType":"Restful","description":"这是一个对外提供远程更新服务的外部接口","necessity":false,"requestMethod":"GET","interfaceAddress":"27/api/update","method":"update"},]}B.11补丁信息JSON格式示例:{"patches":[{"patchId":"patch-001","patchName":"SecurityUpdate","releaseDate":"2023-03-15","originalId":"software_patch_v1.0","patchAddress":"/patch/download","perpose":"修复软件登录模块安全漏洞","patchSbom":"patch.SBOMDF.json"},]}B.12许可证信息开源许可证:{"licenses":[{"licenseId":"License-001","licenseName":LGPL-3.0","downloadUrl":"/licenses/","content":"Thislicensetextincludesawarrantydisclaimer.","scope":"Global","patent":"有专利权","riskDescription":"该协议为强传染性协议"},]}商业许可证:{"licenses":[{"licenseId":"License-002","licenseName":"CommercialLicenseA","downloadUrl":"/licenses/","licensor":"CompanyA","licensee":"CompanyB","term":"2024-05-01","content":"Thislicensetextincludesawarrantydisclaimer."},]}B.13安全漏洞{"vulnerabilities":[{"vulnerabilityId":"vul-001","vulnerabilityName":"心脏滴血","affectedObject":"lib-001","number":[

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论