Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-36398

Extend SBOM with 'license' and 'copyright'

Details

    • Task
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 11.8.2
    • OTHER
    • None

    Description

      A customer is asking to extend SBOMs beyond their original goal of NTIA and executive order compliance. Apparently, own product and dependencies need to be have license and copyright statement.

      copyright statement can be deduced automatically, so there must be some file that we can hardcode this information in.

      License (as SPDX-id) can in theory be deduced by github APIs

      Here is the rough plan -
      the "machine-readable" file will be yaml-formatted. It consists of a yaml-list. i.e items starting with <dash>-name, every items has a couple of keys, license and maybe "copyright" if known, but also information we hardcoded elsewhere, e.g CPE identifier, or publisher. a cmake parser function will convert the list and they keys into a set of cmake variables, e.g THIRD_PARTY_ZLIB_LICENSE will be taken from

       -zlib
          license:GPL2
      

      Attachments

        Issue Links

          Activity

            wlad Vladislav Vaintroub created issue -

            there were discussions about machine-parseable license file that distros at some point wanted.
            if we'll have that we can machine-parse it from cmake for SBOM

            serg Sergei Golubchik added a comment - there were discussions about machine-parseable license file that distros at some point wanted. if we'll have that we can machine-parse it from cmake for SBOM
            mariadb-AlexHanshaw Alex Hanshaw made changes -
            Field Original Value New Value
            serg Sergei Golubchik made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            wlad Vladislav Vaintroub made changes -
            Description A customer is asking to extend SBOMs beyond their original goal of NTIA and executive order compliance. Apparently, own product and dependencies need to be have license and copyright statement.

            copyright statement can be deduced automatically, so there must be some file that we can hardcode this information in.

            License (as SPDX-id) can in theory be deduced by github APIs
            A customer is asking to extend SBOMs beyond their original goal of NTIA and executive order compliance. Apparently, own product and dependencies need to be have license and copyright statement.

            copyright statement can be deduced automatically, so there must be some file that we can hardcode this information in.

            License (as SPDX-id) can in theory be deduced by github APIs

            Here is the rough plan -
            the "machine-readable" file will be yaml-formatted. It consists of a yaml-list. i.e items starting with <dash>-name, every items has a couple of keys, license and maybe "copyright" if known, but also information we hardcoded elsewhere, e.g CPE identifier, or publisher. a cmake parser function will convert the list and they keys into a set of cmake variables, e.g THIRD_PARTY_ZLIB_LICENSE will be taken from
            {noformat}
             -zlib
                license:GPL2
            {noformat}
            wlad Vladislav Vaintroub made changes -
            Status Open [ 1 ] In Progress [ 3 ]

            Please review the associated PR#3958

            wlad Vladislav Vaintroub added a comment - Please review the associated PR#3958
            wlad Vladislav Vaintroub made changes -
            Assignee Vladislav Vaintroub [ wlad ] Sergei Golubchik [ serg ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Vladislav Vaintroub [ wlad ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            wlad Vladislav Vaintroub made changes -
            Component/s OTHER [ 10125 ]
            Fix Version/s 11.8.2 [ 30001 ]
            Fix Version/s 11.8 [ 29921 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]

            People

              wlad Vladislav Vaintroub
              wlad Vladislav Vaintroub
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.