Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Container Registry
KZ
  • Начало работы
  • Yandex Container Solution
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Scan
        • Get
        • GetLast
        • List
        • ListVulnerabilities
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • Решение проблем
  • Вопросы и ответы
  • Обучающие курсы

В этой статье:

  • gRPC request
  • GetLastScanResultRequest
  • ScanResult
  • VulnerabilityStats
  1. Справочник API
  2. gRPC (англ.)
  3. Scanner
  4. GetLast

Container Registry API, gRPC: ScannerService.GetLast

Статья создана
Yandex Cloud
Обновлена 29 января 2026 г.
Открыть в Markdown
  • gRPC request
  • GetLastScanResultRequest
  • ScanResult
  • VulnerabilityStats

Returns the last finished ScanResult for the specified Image.

gRPC requestgRPC request

rpc GetLast (GetLastScanResultRequest) returns (ScanResult)

GetLastScanResultRequestGetLastScanResultRequest

{
  "image_id": "string"
}

Field

Description

image_id

string

ID of the Image to get last finished ScanResult.

The maximum string length in characters is 50.

ScanResultScanResult

{
  "id": "string",
  "image_id": "string",
  "scanned_at": "google.protobuf.Timestamp",
  "status": "Status",
  "vulnerabilities": {
    "critical": "int64",
    "high": "int64",
    "medium": "int64",
    "low": "int64",
    "negligible": "int64",
    "undefined": "int64"
  }
}

A ScanResult resource.

Field

Description

id

string

Output only. ID of the ScanResult.

image_id

string

Output only. ID of the Image that the ScanResult belongs to.

scanned_at

google.protobuf.Timestamp

Output only. The timestamp in RFC3339 text format when the scan been finished.

status

enum Status

Output only. The status of the ScanResult.

  • RUNNING: Image scan is in progress.
  • READY: Image has been scanned and result is ready.
  • ERROR: Image scan is failed.

vulnerabilities

VulnerabilityStats

Output only. Summary information about vulnerabilities found.

VulnerabilityStatsVulnerabilityStats

A VulnerabilityStats resource.

Field

Description

critical

int64

Count of CRITICAL vulnerabilities.

high

int64

Count of HIGH vulnerabilities.

medium

int64

Count of MEDIUM vulnerabilities.

low

int64

Count of LOW vulnerabilities.

negligible

int64

Count of NEGLIGIBLE vulnerabilities.

undefined

int64

Count of other vulnerabilities.

Была ли статья полезна?

Предыдущая
Get
Следующая
List
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»