Class PackageData
Assembly: Google.Apis.OnDemandScanning.v1.dll
Syntax
public class PackageData : IDirectResponseSchema
Properties
Architecture
The architecture of the package.
Declaration
[JsonProperty("architecture")]
public virtual string Architecture { get; set; }
Property Value
BinarySourceInfo
A bundle containing the binary and source information.
Declaration
[JsonProperty("binarySourceInfo")]
public virtual IList<BinarySourceInfo> BinarySourceInfo { get; set; }
Property Value
BinaryVersion
Declaration
[JsonProperty("binaryVersion")]
public virtual PackageVersion BinaryVersion { get; set; }
Property Value
CpeUri
Declaration
[JsonProperty("cpeUri")]
public virtual string CpeUri { get; set; }
Property Value
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
ETag
Declaration
public virtual string ETag { get; set; }
Property Value
FileLocation
The path to the jar file / go binary file.
Declaration
[JsonProperty("fileLocation")]
public virtual IList<FileLocation> FileLocation { get; set; }
Property Value
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
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
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
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
Package
The package being analysed for vulnerabilities
Declaration
[JsonProperty("package")]
public virtual string Package { get; set; }
Property Value
PackageType
The type of package: os, maven, go, etc.
Declaration
[JsonProperty("packageType")]
public virtual string PackageType { get; set; }
Property Value
PatchedCve
CVEs that this package is no longer vulnerable to go/drydock-dd-custom-binary-scanning
Declaration
[JsonProperty("patchedCve")]
public virtual IList<string> PatchedCve { get; set; }
Property Value
SourceVersion
Declaration
[JsonProperty("sourceVersion")]
public virtual PackageVersion SourceVersion { get; set; }
Property Value
Unused
Declaration
[JsonProperty("unused")]
public virtual string Unused { get; set; }
Property Value
Version
The version of the package being analysed
Declaration
[JsonProperty("version")]
public virtual string Version { get; set; }
Property Value
Implements