phylum analyze

Submit a request for analysis to the processing system

phylum analyze [options] <lockfile>

Options

-F, --force
Force re-processing of packages (even if they already exist in the system)

--filter <filter>
Provide a filter used to limit the issues displayed

-j, --json
Produce output in json format (default: false)

-l <label>
Specify a label for a given analysis submission

-v, --verbose
Increase verbosity of API response

Examples

# Analyze an npm lock file
$ phylum analyze package-lock.json

# Analyze a Maven lock file with a verbose json response
$ phylum analyze --json --verbose pom.xml

# Analyze a PyPI lock file and apply a label
$ phylum analyze -l test_branch requirements.txt

# Analyze a RubyGems lock file and return a verbose response with only critical malware
$ phylum analyze --verbose --filter=crit,mal Gemfile.lock

Did this page help you?