| CPC G06F 21/577 (2013.01) [G06F 2221/033 (2013.01)] | 20 Claims |

|
1. A method for facilitating edits to an SBOM (software bill of materials), the SBOM including file declarations for files that are incorporated into a corresponding program associated with the SBOM, and dependency declarations associated with one or more of the files, the method comprising:
identifying a program that includes a plurality of files;
identifying the SBOM, which corresponds to the program and which includes file declarations for at least some of the files that are incorporated into the program, as well as dependency declarations associated with one or more of the files;
parsing the program to identify a plurality of code segments contained in the plurality of files;
searching one or more repositories of open-source code that is not referenced in the file declarations of the SBOM for any undeclared code segments determined to be within a predetermined threshold of similarity to one or more of the identified plurality of code segments contained in the plurality of files;
for at least one undeclared code segment determined to be within the predetermined threshold of similarity to the one or more identified plurality of code segments, generating a new declaration associated with the at least one undeclared code segment to be added to the SBOM to indicate at least author or source information for the at least one undeclared code segment which is at least partially incorporated into the program; and
generating a modified SBOM by adding the new declaration to the SBOM.
|