ContainerRegistryVulnerabilityProperties Class

public final class ContainerRegistryVulnerabilityProperties
extends AdditionalData

Additional context fields for container registry Vulnerability assessment.

Constructor Summary

Constructor Description
ContainerRegistryVulnerabilityProperties()

Creates an instance of ContainerRegistryVulnerabilityProperties class.

Method Summary

Modifier and Type Method and Description
List<Cve> cve()

Get the cve property: List of CVEs.

Map<String,Cvss> cvss()

Get the cvss property: Dictionary from cvss version to cvss details object.

String imageDigest()

Get the imageDigest property: Digest of the vulnerable image.

Boolean patchable()

Get the patchable property: Indicates whether a patch is available or not.

OffsetDateTime publishedTime()

Get the publishedTime property: Published time.

String repositoryName()

Get the repositoryName property: Name of the repository which the vulnerable image belongs to.

String type()

Get the type property: Vulnerability Type.

void validate()

Validates the instance.

List<VendorReference> vendorReferences()

Get the vendorReferences property: The vendorReferences property.

Methods inherited from AdditionalData

Methods inherited from java.lang.Object

Constructor Details

ContainerRegistryVulnerabilityProperties

public ContainerRegistryVulnerabilityProperties()

Creates an instance of ContainerRegistryVulnerabilityProperties class.

Method Details

cve

public List cve()

Get the cve property: List of CVEs.

Returns:

the cve value.

cvss

public Map cvss()

Get the cvss property: Dictionary from cvss version to cvss details object.

Returns:

the cvss value.

imageDigest

public String imageDigest()

Get the imageDigest property: Digest of the vulnerable image.

Returns:

the imageDigest value.

patchable

public Boolean patchable()

Get the patchable property: Indicates whether a patch is available or not.

Returns:

the patchable value.

publishedTime

public OffsetDateTime publishedTime()

Get the publishedTime property: Published time.

Returns:

the publishedTime value.

repositoryName

public String repositoryName()

Get the repositoryName property: Name of the repository which the vulnerable image belongs to.

Returns:

the repositoryName value.

type

public String type()

Get the type property: Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered, Vulnerability.

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

ContainerRegistryVulnerabilityProperties.validate()

vendorReferences

public List vendorReferences()

Get the vendorReferences property: The vendorReferences property.

Returns:

the vendorReferences value.

Applies to