Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Simple Java implementation of a scanner for the OSSKB (Open Source KB)

License

Notifications You must be signed in to change notification settings

FOSSAware/scanner.java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

scanner.java

Simple Java implementation of a scanner for the OSSKB (Open Source KB).

Usage

Standalone

A jar with dependencies is generated by Maven Assembly plugin using mvn package.

Usage:

usage: scanner
 -blacklist <arg>    Scan and blacklist components in SBOM file
 -f,--format <arg>   Optional format for the scan result. One of: plain,
                     spdx, cyclonedx
 -h                  Shows usage
 -identify <arg>     Scan and identify components in SBOM file
 -ignore <arg>       Scan and ignore components in SBOM file
 -o,--output <arg>   Save output to file

Maven library

How does it work

This reference code illustrates the usage of the SCANOSS API to obtain file identification against the OSSKB without sending the actual code, but instead the WFP hashes

The provided FILE is read into memory, WFP fingerprints are calculated and sent to the OSSKB API

Results are printed via STDOUT.

License

scanner.java is released under the Apache 2.0 license. Please check the LICENSE file for further details.

About

Simple Java implementation of a scanner for the OSSKB (Open Source KB)

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%