Skip to content

bomly-dev/bomly-plugin-clearlydefined-matcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ClearlyDefined License Matcher Plugin

External Bomly matcher plugin for ClearlyDefined license metadata. This plugin carries the matcher ID clearlydefined-license-matcher and the short selector alias clearlydefined.

Build and test

go test ./...
go build -o bin/bomly-plugin-clearlydefined-matcher .

Install for local development

bomly plugin install ./bin/bomly-plugin-clearlydefined-matcher --dev
bomly plugin enable clearlydefined-license-matcher
bomly scan --enrich --matchers +clearlydefined

Install from an archive

bomly plugin install ./dist/bomly-plugin-clearlydefined-matcher_linux_amd64.tar.gz
bomly plugin enable clearlydefined-license-matcher

Direct URL installs require a checksum unless you explicitly opt out:

bomly plugin install https://example.internal/bomly-plugin-clearlydefined-matcher_linux_amd64.tar.gz \
  --checksum sha256:<digest>

Install from a private GitHub Release

export BOMLY_GITHUB_TOKEN=<token-with-release-access>
bomly plugin install github:bomly-dev/bomly-plugin-clearlydefined-matcher@v0.1.0
bomly plugin enable clearlydefined-license-matcher

GITHUB_TOKEN, GH_TOKEN, and GITHUB_AUTH_TOKEN are also accepted by Bomly for private release metadata and asset downloads.

Configuration

Configure the plugin in Bomly's plugin config map:

plugins:
  clearlydefined-license-matcher:
    api_base: https://api.clearlydefined.io
    cache_dir: ~/.bomly/cache/licenses/clearlydefined
    cache_ttl: 24h
    disable_cache: false

The plugin honors Bomly's proxy environment passed to external plugins.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors