Interface ImageScanStatus.Builder

  • Method Details

    • status

      The current state of the image scan. Valid values:

      • ACTIVE: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published.

      • PENDING: The scan is in progress, and the findings aren't available yet.

      • COMPLETE: The scan completed successfully.

      • FAILED: The scan failed.

      • UNSUPPORTED_IMAGE: The image can't be scanned because its media type, operating system, or package manager isn't supported.

      • FINDINGS_UNAVAILABLE: The findings aren't available for the image.

      • SCAN_ELIGIBILITY_EXPIRED: The image is no longer eligible for scanning, so its findings aren't updated.

      Parameters:
      status - The current state of the image scan. Valid values:

      • ACTIVE: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published.

      • PENDING: The scan is in progress, and the findings aren't available yet.

      • COMPLETE: The scan completed successfully.

      • FAILED: The scan failed.

      • UNSUPPORTED_IMAGE: The image can't be scanned because its media type, operating system, or package manager isn't supported.

      • FINDINGS_UNAVAILABLE: The findings aren't available for the image.

      • SCAN_ELIGIBILITY_EXPIRED: The image is no longer eligible for scanning, so its findings aren't updated.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current state of the image scan. Valid values:

      • ACTIVE: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published.

      • PENDING: The scan is in progress, and the findings aren't available yet.

      • COMPLETE: The scan completed successfully.

      • FAILED: The scan failed.

      • UNSUPPORTED_IMAGE: The image can't be scanned because its media type, operating system, or package manager isn't supported.

      • FINDINGS_UNAVAILABLE: The findings aren't available for the image.

      • SCAN_ELIGIBILITY_EXPIRED: The image is no longer eligible for scanning, so its findings aren't updated.

      Parameters:
      status - The current state of the image scan. Valid values:

      • ACTIVE: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published.

      • PENDING: The scan is in progress, and the findings aren't available yet.

      • COMPLETE: The scan completed successfully.

      • FAILED: The scan failed.

      • UNSUPPORTED_IMAGE: The image can't be scanned because its media type, operating system, or package manager isn't supported.

      • FINDINGS_UNAVAILABLE: The findings aren't available for the image.

      • SCAN_ELIGIBILITY_EXPIRED: The image is no longer eligible for scanning, so its findings aren't updated.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • description

      ImageScanStatus.Builder description(String description)

      The description of the image scan status.

      Parameters:
      description - The description of the image scan status.
      Returns:
      Returns a reference to this object so that method calls can be chained together.