artifact-scanner

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

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

Go to latest
Published: May 19, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

README

Artifact Scanner

This is a command-line tool for scanning and managing DevOps images, mainly used to scan images for vulnerabilities and synchronize results to Jira.

Features

  • Scan container images and image bundles for vulnerabilities
  • Automatically create and manage Jira tickets
  • Automatically associate vulnerabilities of related images

Usage

Basic Usage
artifact-scanner scan [options]
Command Line Parameters
Parameter Description Default Value
--values Path to values file values.yaml
--branch Branch name main
--config Path to configuration file config.yaml
--bundle Bundle to scan, empty string means all empty
Configuration File

Configuration file (config.yaml) example:

registry:
  address: registry.example.com # Registry address to pull image

jira:
  baseURL: https://your-jira-instance.atlassian.net # Jira access URL
  username: your-jira-username # Jira username
  password: your-jira-password # Jira password

ops:
  baseURL: https://ops-api-instance # API address of the scanning system provided by operations team

users: # Maps user emails to Jira usernames and team name
- email: user1@example.com
  jira:
    user: user1 # jira user name
    team: team1 # jira user team

Workflow

  1. Read configuration file to get Jira and OPS API access addresses
  2. Read values file to get information about images to be scanned
  3. Parse bundle images, scan each image for vulnerabilities
  4. Calculate priority of Jira issues based on scan results
  5. Create or update tickets in Jira:
    • Create parent ticket for the bundle
    • Create child tickets for each related image
    • Link parent tickets and child tickets

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
artifactsdir
Package artifactsdir provides a way to parse the alauda/artifacts like directory structure
Package artifactsdir provides a way to parse the alauda/artifacts like directory structure
cmd
ops

Jump to

Keyboard shortcuts

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