amzn

package
v2.0.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2019 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package amzn implements a vulnerability source updater using ALAS (Amazon Linux Security Advisories).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ALAS

type ALAS struct {
	Id          string    `xml:"id"`
	Updated     Updated   `xml:"updated"`
	Severity    string    `xml:"severity"`
	Description string    `xml:"description"`
	Packages    []Package `xml:"pkglist>collection>package"`
}

type Location

type Location struct {
	Href string `xml:"href,attr"`
}

type Package

type Package struct {
	Name    string `xml:"name,attr"`
	Epoch   string `xml:"epoch,attr"`
	Version string `xml:"version,attr"`
	Release string `xml:"release,attr"`
}

type Repo

type Repo struct {
	Type     string   `xml:"type,attr"`
	Location Location `xml:"location"`
}

type RepoMd

type RepoMd struct {
	RepoList []Repo `xml:"data"`
}

type UpdateInfo

type UpdateInfo struct {
	ALASList []ALAS `xml:"update"`
}

type Updated

type Updated struct {
	Date string `xml:"date,attr"`
}

Jump to

Keyboard shortcuts

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