cve-impact-check

command module
v0.0.0-...-a3436c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 30, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

README

cve-impact-check

About this plugin

This plugin allows checking via Xray if there are any impacted artifacts on a specific env/jfrog platform.
It requires the artifacts to be already indexed by Xray.

Installation with JFrog CLI

Installing the latest version:

$ jf plugin install cve-impact-check

Installing a specific version:

$ jf plugin install cve-impact-check@version

Uninstalling a plugin

$ jf plugin uninstall cve-impact-check

Usage

If this is your first use of JFrog CLI, you will need to set up the artifactory & xray connection via the following command:

$ jf c add

Commands
  • check

    • Arguments:
      • issue_id - The CVE or XRAY ID of the issue.
    • Flags:
      • export-impacted-artifacts: Generate a report of the impacted artifacts [Default: false]
      • repositories: Comma separated list of repositories to check in [Mandatory when exporting impacted artifacts]
      • output: The destination output file [Default: out.json]
      • server-id: The Server to connect to [Default: DEFAULT SERVER]
    • Example:
    $ jf cve-impact-check check CVE-2021-44228 --export-impacted-artifacts --repositories default-maven-local
    
    [Info] Checking connection to xray server...
    [Info] Checking impacted components...
    [Warn] *** Affected components in the system ***
    [Warn]          Maven://org.apache.logging.log4j:log4j-core:2.14.1
    [Warn] *****************************************
    [Info] Creating a vulnerability report...
    [Info] Report created. Name=CVE-2021-44228_3281ab81-effc-708b-7acb-1b8f96dc830c, ID=2
    [Info] Waiting for report to finish execution...
    
    [Info] Downloading report data...
    

Release Notes

The release notes are available here.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL