Skip to content

Get Images

Request

Get the image of the project

Security
bearer-security
Path
orguuidstringrequired

organization UUID

projectuuidstringrequired

project UUID

Query
sortstring

sorted by, default is lastScanDate

Default:"lastScanDate"
orderstring

order sorting, possible values are asc/desc

Default:"desc"
pageinteger

page number

Default:1
sizeinteger

number of objects per page

Default:1000
registriesstring

one or more image registries names separated by commas

repositoriesstring

one or more image repositories names separated by commas

tagsstring

image tags

imageSourcestring

image source

maxRiskScorestring

image max risk score

lastScanDatestring

image last scan date

isViolatedboolean

is violated policies

curl -i -X GET \
  'https://baseUrl/cn/api/v2.0/orguuid/{orguuid}/projects/{projectuuid}/images?sort=lastScanDate&order=desc&page=1&size=1000&registries=string&repositories=string&tags=string&imageSource=string&maxRiskScore=string&lastScanDate=string&isViolated=true'

Responses

Data field refers to a list of objects

Bodyapplication/json
additionalInfoobject(common.Pagination)
dataany
Response
{ "additionalInfo": { "isLastPage": true, "page": 0, "pageCount": 0, "pageSize": 20, "size": 20, "totalCount": 0, "totalItems": 0 }, "data": null }