Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Registry
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Scan
        • Get
        • GetLast
        • List
        • ListVulnerabilities
  • Audit Trails events

In this article:

  • gRPC request
  • GetLastScanResultRequest
  • ScanResult
  • VulnerabilityStats
  1. API reference
  2. gRPC
  3. Scanner
  4. GetLast

Yandex Cloud Registry API, gRPC: ScannerService.GetLast

Written by
Yandex Cloud
Updated at June 3, 2026
  • gRPC request
  • GetLastScanResultRequest
  • ScanResult
  • VulnerabilityStats

Returns the last finished ScanResult for the specified artifact.

gRPC requestgRPC request

rpc GetLast (GetLastScanResultRequest) returns (ScanResult)

GetLastScanResultRequestGetLastScanResultRequest

{
  "artifact_id": "string"
}

Field

Description

artifact_id

string

ID of the artifact to get last finished ScanResult.

The maximum string length in characters is 50.

ScanResultScanResult

{
  "id": "string",
  "artifact_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.

artifact_id

string

Output only. ID of the artifact 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.
  • QUEUED: Image scan is waiting in queue to be processed.
  • CANCELLED: Image scan was cancelled by user.

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.

Was the article helpful?

Previous
Get
Next
List
© 2026 Direct Cursus Technology L.L.C.