8000 GitHub - PQCA/cbomkit-lib
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PQCA/cbomkit-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CBOMkit-lib

The CBOMkit library implements commonly used functions such as indexing and scanning source codei for cryptographic assets. Currently we support the programming languages java and python. Per supported language there is an indexer and a scanner. The indexer walks a given directory tree (e.g., a cloned github repo) and identifies the project modules to be scanned. A project module consists of a set of source files that provide some common functionality and that may be published as an individual software package. The scanner scans the idenified project modules and produces a scan result object that contains the resulting CBOM and some scanning statistics.

Considerations for Java Scanning

The accuracy of the java scanner depends on the availability of build artifacts such dependency jars and compiled class files. Scanning source code only (no classes, no jars) is disabled by default as it provides the least accurate results. Source-only scanning can be enabled via JavaScannerService.setBuildRequired(false). Class files can be provided via JavaScannerService.addJavaClassDir(String dir) which takes a comma-seperated list of directory glob patterns. Jars can be set via JavaScannerService.addJavaDependencyJar(String jar) which accepts a comma-separated list of glob patterns pointing to either directories or .jar/.zip files.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 2

  •  
  •  

Languages

0