Skip to content

ImageScanStatus

Source code in docs_src/capo_ecr_public/types/image_scan_status.py
class ImageScanStatus(TypedDict, closed=True):
    status: NotRequired["capo_ecr_public.types.scan_status.ScanStatus"]
    """<p>The current state of the image scan. Valid values:</p> <ul> <li> <p> <code>ACTIVE</code>: The scan is complete and the findings are available. Amazon ECR keeps the findings up to date as new vulnerabilities are published.</p> </li> <li> <p> <code>PENDING</code>: The scan is in progress, and the findings aren't available yet.</p> </li> <li> <p> <code>COMPLETE</code>: The scan completed successfully.</p> </li> <li> <p> <code>FAILED</code>: The scan failed.</p> </li> <li> <p> <code>UNSUPPORTED_IMAGE</code>: The image can't be scanned because its media type, operating system, or package manager isn't supported.</p> </li> <li> <p> <code>FINDINGS_UNAVAILABLE</code>: The findings aren't available for the image.</p> </li> <li> <p> <code>SCAN_ELIGIBILITY_EXPIRED</code>: The image is no longer eligible for scanning, so its findings aren't updated.</p> </li> </ul>"""
    description: NotRequired[
        "capo_ecr_public.types.scan_status_description.ScanStatusDescription"
    ]
    """<p>The description of the image scan status.</p>"""

description instance-attribute

description: NotRequired[ScanStatusDescription]

The description of the image scan status.

status instance-attribute

status: NotRequired[ScanStatus]

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.