Properties

constant static

Architecture  number

Instruction set architectures supported by various package managers.

Properties

Name Type Optional Description

ARCHITECTURE_UNSPECIFIED

 

 

Unknown architecture.

X86

 

 

X86 architecture.

X64

 

 

X64 architecture.

static

VersionKind  number

Whether this is an ordinary package version or a sentinel MIN/MAX version.

Properties

Name Type Optional Description

VERSION_KIND_UNSPECIFIED

 

 

Unknown.

NORMAL

 

 

A standard package version, defined by the other fields.

MINIMUM

 

 

A special version representing negative infinity, other fields are ignored.

MAXIMUM

 

 

A special version representing positive infinity, other fields are ignored.

Abstract types

static

Details

Details of a package occurrence.

Property

Name Type Optional Description

installation

Object

 

Where the package was installed.

This object should have the same structure as Installation

See also

grafeas.v1beta1.package.Details definition in proto format

static

Distribution

This represents a particular channel of distribution for a given package. E.g., Debian's jessie-backports dpkg mirror.

Properties

Name Type Optional Description

cpeUri

string

 

The cpe_uri in cpe format denoting the package manager version distributing a package.

architecture

number

 

The CPU architecture for which packages in this distribution channel were built.

The number should be among the values of Architecture

latestVersion

Object

 

The latest available version of this package in this distribution channel.

This object should have the same structure as Version

maintainer

string

 

A freeform string denoting the maintainer of this package.

url

string

 

The distribution channel-specific homepage for this package.

description

string

 

The distribution channel-specific description of this package.

See also

grafeas.v1beta1.package.Distribution definition in proto format

static

Installation

This represents how a particular software package may be installed on a system.

Properties

Name Type Optional Description

name

string

 

Output only. The name of the installed package.

location

Array of Object

 

All of the places within the filesystem versions of this package have been found.

This object should have the same structure as Location

See also

grafeas.v1beta1.package.Installation definition in proto format

static

Location

An occurrence of a particular package installation found within a system's filesystem. E.g., glibc was found in /var/lib/dpkg/status.

Properties

Name Type Optional Description

cpeUri

string

 

The cpe_uri in cpe format denoting the package manager version distributing a package.

version

Object

 

The version installed at this location.

This object should have the same structure as Version

path

string

 

The path from which we gathered that this package/version is installed.

See also

grafeas.v1beta1.package.Location definition in proto format

static

Package

This represents a particular package that is distributed over various channels. E.g., glibc (aka libc6) is distributed by many, at various versions.

Properties

Name Type Optional Description

name

string

 

The name of the package.

distribution

Array of Object

 

The various channels by which a package is distributed.

This object should have the same structure as Distribution

See also

grafeas.v1beta1.package.Package definition in proto format

static

Version

Version contains structured information about the version of a package.

Properties

Name Type Optional Description

epoch

number

 

Used to correct mistakes in the version numbering scheme.

name

string

 

The main part of the version name.

revision

string

 

The iteration of the package build from the above version.

kind

number

 

Distinguish between sentinel MIN/MAX versions and normal versions. If kind is not NORMAL, then the other fields are ignored.

The number should be among the values of VersionKind

See also

grafeas.v1beta1.package.Version definition in proto format