Deployment Task

This article outlines the API endpoint that can be leveraged to return a list of registered images that only include the registry and image name.


Note: This article assumes you have already setup authentication via JWT or basic authentication. Please see the Authentication API documentation.



Deployment Steps

Usage: /api/v2/images/names -L


curl -u administrator:**** https://demolab.aquasec.com/api/v2/images/names -L

{"count":358,"page":1,"pagesize":10,"result":[{"registry":"Aqua","name":"agent:3.5.2.3"},{"registry":"Aqua","name":"agent:4.0"},{"registry":"Aqua","name":"agent:4.0.19112"},{"registry":"Host Images","name":"alpine:2.6"},{"registry":"Host Images","name":"alpine:3.1"},{"registry":"Host Images","name":"alpine:3.3"},{"registry":"Docker Hub","name":"alpine:3.5"},{"registry":"Host Images","name":"alpine:3.5"},{"registry":"Host Images","name":"alpine:3.6"},{"registry":"Docker Hub","name":"alpine:3.7"}]}