Class ContainerRegistryVulnerabilityProperties

java.lang.Object
com.azure.resourcemanager.security.models.AdditionalData
com.azure.resourcemanager.security.models.ContainerRegistryVulnerabilityProperties

public final class ContainerRegistryVulnerabilityProperties extends AdditionalData
Additional context fields for container registry Vulnerability assessment.
  • Constructor Details

    • ContainerRegistryVulnerabilityProperties

      public ContainerRegistryVulnerabilityProperties()
  • Method Details

    • type

      public String type()
      Get the type property: Vulnerability Type. e.g: Vulnerability, Potential Vulnerability, Information Gathered, Vulnerability.
      Returns:
      the type value.
    • cvss

      public Map<String,Cvss> cvss()
      Get the cvss property: Dictionary from cvss version to cvss details object.
      Returns:
      the cvss value.
    • patchable

      public Boolean patchable()
      Get the patchable property: Indicates whether a patch is available or not.
      Returns:
      the patchable value.
    • cve

      public List<Cve> cve()
      Get the cve property: List of CVEs.
      Returns:
      the cve value.
    • publishedTime

      public OffsetDateTime publishedTime()
      Get the publishedTime property: Published time.
      Returns:
      the publishedTime value.
    • vendorReferences

      public List<VendorReference> vendorReferences()
      Get the vendorReferences property: The vendorReferences property.
      Returns:
      the vendorReferences value.
    • repositoryName

      public String repositoryName()
      Get the repositoryName property: Name of the repository which the vulnerable image belongs to.
      Returns:
      the repositoryName value.
    • imageDigest

      public String imageDigest()
      Get the imageDigest property: Digest of the vulnerable image.
      Returns:
      the imageDigest value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class AdditionalData
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.