Class PackageData
Implements
Inherited Members
Namespace: Google.Apis.OnDemandScanning .v1beta1.Data
Assembly: Google.Apis.OnDemandScanning.v1beta1.dll
Syntax
public class PackageData : IDirectResponseSchema
Properties
Architecture
The architecture of the package.
Declaration
[JsonProperty("architecture")]
public virtual string Architecture { get; set; }
Property Value
Type | Description |
---|---|
string |
BinarySourceInfo
A bundle containing the binary and source information.
Declaration
[JsonProperty("binarySourceInfo")]
public virtual IList<BinarySourceInfo> BinarySourceInfo { get; set; }
Property Value
Type | Description |
---|---|
IList<Binary |
BinaryVersion
DEPRECATED
Declaration
[JsonProperty("binaryVersion")]
public virtual PackageVersion BinaryVersion { get; set; }
Property Value
Type | Description |
---|---|
Package |
CpeUri
The cpe_uri in [cpe format] (https://cpe.mitre.org/specification/) in which the vulnerability may manifest. Examples include distro or storage location for vulnerable jar.
Declaration
[JsonProperty("cpeUri")]
public virtual string CpeUri { get; set; }
Property Value
Type | Description |
---|---|
string |
DependencyChain
The dependency chain between this package and the user's artifact. List in order from the customer's package under review first, to the current package last. Inclusive of the original package and the current package.
Declaration
[JsonProperty("dependencyChain")]
public virtual IList<LanguagePackageDependency> DependencyChain { get; set; }
Property Value
Type | Description |
---|---|
IList<Language |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FileLocation
The path to the jar file / go binary file.
Declaration
[JsonProperty("fileLocation")]
public virtual IList<FileLocation> FileLocation { get; set; }
Property Value
Type | Description |
---|---|
IList<File |
HashDigest
HashDigest stores the SHA512 hash digest of the jar file if the package is of type Maven. This field will be unset for non Maven packages.
Declaration
[JsonProperty("hashDigest")]
public virtual string HashDigest { get; set; }
Property Value
Type | Description |
---|---|
string |
LayerDetails
Declaration
[JsonProperty("layerDetails")]
public virtual LayerDetails LayerDetails { get; set; }
Property Value
Type | Description |
---|---|
Layer |
Licenses
The list of licenses found that are related to a given package. Note that licenses may also be stored on the BinarySourceInfo. If there is no BinarySourceInfo (because there's no concept of source vs binary), then it will be stored here, while if there are BinarySourceInfos, it will be stored there, as one source can have multiple binaries with different licenses.
Declaration
[JsonProperty("licenses")]
public virtual IList<string> Licenses { get; set; }
Property Value
Maintainer
The maintainer of the package.
Declaration
[JsonProperty("maintainer")]
public virtual Maintainer Maintainer { get; set; }
Property Value
Type | Description |
---|---|
Maintainer |
Os
The OS affected by a vulnerability Used to generate the cpe_uri for OS packages
Declaration
[JsonProperty("os")]
public virtual string Os { get; set; }
Property Value
Type | Description |
---|---|
string |
OsVersion
The version of the OS Used to generate the cpe_uri for OS packages
Declaration
[JsonProperty("osVersion")]
public virtual string OsVersion { get; set; }
Property Value
Type | Description |
---|---|
string |
Package
The package being analysed for vulnerabilities
Declaration
[JsonProperty("package")]
public virtual string Package { get; set; }
Property Value
Type | Description |
---|---|
string |
PackageType
The type of package: os, maven, go, etc.
Declaration
[JsonProperty("packageType")]
public virtual string PackageType { get; set; }
Property Value
Type | Description |
---|---|
string |
PatchedCve
CVEs that this package is no longer vulnerable to
Declaration
[JsonProperty("patchedCve")]
public virtual IList<string> PatchedCve { get; set; }
Property Value
SourceVersion
DEPRECATED
Declaration
[JsonProperty("sourceVersion")]
public virtual PackageVersion SourceVersion { get; set; }
Property Value
Type | Description |
---|---|
Package |
Unused
Declaration
[JsonProperty("unused")]
public virtual string Unused { get; set; }
Property Value
Type | Description |
---|---|
string |
Version
The version of the package being analysed
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Type | Description |
---|---|
string |