Download OpenAPI specification:Download
Container Registry service enables IONOS clients to manage docker and OCI compliant registries for use by their managed Kubernetes clusters. Use a Container Registry to ensure you have a privately accessed registry to efficiently support image pulls.
apiSubnetAllowList
apiSubnetAllowList
RegexThe physical locations where new container registries can be provisioned
This tag groups all operations for locations.
Validate that the name is suitable to use for a new registry:
name required | string^[a-z][-a-z0-9]{1,61}[a-z0-9]$ The desired registry name |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "string"
}
]
}
Manage container registries for storage of docker images and OCI compliant artifacts. This operation is restricted to contract owner, admin, and users with 'accessAndManageRegistries' and Share/Edit access permissions for the data center hosting the registry.
This tag groups all operations for registries.
List all managed container registries for your account
filter.name | string Example: filter.name=my-registry The registry name to search for |
limit | string Default: "100" The maximum number of elements to return (used together with pagination.token for pagination) |
pagination.token | string Example: pagination.token=eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MTYzMjQ0OTk2ODAsInN0YXJ0IjoiM2RmYTc3YjctZGIwNS00MjMwLThmMjAtOGU3NjJlOTUxOTUzXHUwMDAwIn0 An opaque token used to iterate the set of results (used together with limit for pagination) |
{- "_links": {
- "next": "string",
- "previous": "string",
- "self": "string"
}, - "href": "string",
- "id": "string",
- "items": [
- {
- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "garbageCollectionSchedule": {
- "days": [
- "Monday"
], - "time": "01:23:00+00:00"
}, - "hostname": "my-registry.cr.ionos.com",
- "location": "de/txl",
- "name": "my-registry",
- "storageUsage": {
- "bytes": 0,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "features": {
- "vulnerabilityScanning": {
- "enabled": true,
- "properties": { }
}
}, - "apiSubnetAllowList": [
- "123.123.123.0/24"
]
}, - "type": "string"
}
], - "pagination": {
- "limit": 0,
- "token": "eyJ2IjoibWV0YS5rOHMuaW8vdjEiLCJydiI6MTYzMjQ0OTk2ODAsInN0YXJ0IjoiM2RmYTc3YjctZGIwNS00MjMwLThmMjAtOGU3NjJlOTUxOTUzXHUwMDAwIn0"
}, - "type": "string"
}
Create a registry to hold container images or OCI compliant artifacts
required | object (PostRegistryProperties) |
{- "properties": {
- "garbageCollectionSchedule": {
- "days": [
- "Monday"
], - "time": "01:23:00+00:00"
}, - "location": "de/txl",
- "name": "my-registry",
- "features": {
- "vulnerabilityScanning": {
- "enabled": true,
- "properties": { }
}
}, - "apiSubnetAllowList": [
- "123.123.123.0/24"
]
}
}
{- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "garbageCollectionSchedule": {
- "days": [
- "Monday"
], - "time": "01:23:00+00:00"
}, - "hostname": "my-registry.cr.ionos.com",
- "location": "de/txl",
- "name": "my-registry",
- "storageUsage": {
- "bytes": 0,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "features": {
- "vulnerabilityScanning": {
- "enabled": true,
- "properties": { }
}
}, - "apiSubnetAllowList": [
- "123.123.123.0/24"
]
}, - "type": "string"
}
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "string"
}
]
}
Get all information for a specific container registry
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
{- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "garbageCollectionSchedule": {
- "days": [
- "Monday"
], - "time": "01:23:00+00:00"
}, - "hostname": "my-registry.cr.ionos.com",
- "location": "de/txl",
- "name": "my-registry",
- "storageUsage": {
- "bytes": 0,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "features": {
- "vulnerabilityScanning": {
- "enabled": true,
- "properties": { }
}
}, - "apiSubnetAllowList": [
- "123.123.123.0/24"
]
}, - "type": "string"
}
Update the properties of a registry
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
object or null (WeeklySchedule) | |
object (RegistryFeatures) Optional registry features. Note: some may incur additional charges - see individual feature descriptions for details | |
apiSubnetAllowList | Array of strings or null (APISubnetAllowList) [ 0 .. 25 ] items Subnets and IPs that are allowed to access the registry API, supports IPv4 and IPv6. Maximum of 25 items may be specified. If no CIDR is given /32 and /128 are assumed for IPv4 and IPv6 respectively. 0.0.0.0/0 can be used to deny all traffic. Note: If this list is empty or not set, there are no restrictions. |
{- "garbageCollectionSchedule": {
- "days": [
- "Monday"
], - "time": "01:23:00+00:00"
}, - "features": {
- "vulnerabilityScanning": {
- "enabled": true,
- "properties": { }
}
}, - "apiSubnetAllowList": [
- "123.123.123.0/24"
]
}
{- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "garbageCollectionSchedule": {
- "days": [
- "Monday"
], - "time": "01:23:00+00:00"
}, - "hostname": "my-registry.cr.ionos.com",
- "location": "de/txl",
- "name": "my-registry",
- "storageUsage": {
- "bytes": 0,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "features": {
- "vulnerabilityScanning": {
- "enabled": true,
- "properties": { }
}
}, - "apiSubnetAllowList": [
- "123.123.123.0/24"
]
}, - "type": "string"
}
Create/replace a registry to hold container images or OCI compliant artifacts On create
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
required | object (PostRegistryProperties) |
{- "properties": {
- "garbageCollectionSchedule": {
- "days": [
- "Monday"
], - "time": "01:23:00+00:00"
}, - "location": "de/txl",
- "name": "my-registry",
- "features": {
- "vulnerabilityScanning": {
- "enabled": true,
- "properties": { }
}
}, - "apiSubnetAllowList": [
- "123.123.123.0/24"
]
}
}
{- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "garbageCollectionSchedule": {
- "days": [
- "Monday"
], - "time": "01:23:00+00:00"
}, - "hostname": "my-registry.cr.ionos.com",
- "location": "de/txl",
- "name": "my-registry",
- "storageUsage": {
- "bytes": 0,
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "features": {
- "vulnerabilityScanning": {
- "enabled": true,
- "properties": { }
}
}, - "apiSubnetAllowList": [
- "123.123.123.0/24"
]
}, - "type": "string"
}
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
offset | string Default: "0" The first element (from the complete list of the elements) to include in the response (used together with limit for pagination) |
limit | string Default: "100" The maximum number of elements to return (used together with offset for pagination) |
{- "_links": {
- "next": "string",
- "previous": "string",
- "self": "string"
}, - "count": 0,
- "href": "string",
- "id": "string",
- "items": [
- {
- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "credentials": {
- "password": "",
- "username": "push-token"
}, - "expiryDate": "2019-08-24T14:15:22Z",
- "name": "push-token",
- "scopes": [
- {
- "actions": [
- "pull",
- "push",
- "delete"
], - "name": "*",
- "type": "repository"
}
], - "status": "enabled"
}, - "type": "string"
}
], - "limit": 0,
- "offset": 0,
- "total": 0,
- "type": "string"
}
Create a token
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
required | object (PostTokenProperties) |
{- "properties": {
- "expiryDate": "2019-08-24T14:15:22Z",
- "name": "push-token",
- "scopes": [
- {
- "actions": [
- "pull",
- "push",
- "delete"
], - "name": "*",
- "type": "repository"
}
], - "status": "enabled"
}
}
{- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "credentials": {
- "password": "",
- "username": "push-token"
}, - "expiryDate": "2019-08-24T14:15:22Z",
- "name": "push-token",
- "scopes": [
- {
- "actions": [
- "pull",
- "push",
- "delete"
], - "name": "*",
- "type": "repository"
}
], - "status": "enabled"
}, - "type": "string"
}
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
tokenId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the token |
{- "httpStatus": 400,
- "messages": [
- {
- "errorCode": "123",
- "message": "string"
}
]
}
Gets all information for a specific token used to access a container registry
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
tokenId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the token |
{- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "credentials": {
- "password": "",
- "username": "push-token"
}, - "expiryDate": "2019-08-24T14:15:22Z",
- "name": "push-token",
- "scopes": [
- {
- "actions": [
- "pull",
- "push",
- "delete"
], - "name": "*",
- "type": "repository"
}
], - "status": "enabled"
}, - "type": "string"
}
Update token properties, for example:
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
tokenId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the token |
expiryDate | string or null <date-time> |
Array of objects or null (Scope) | |
status | string Enum: "enabled" "disabled" |
{- "expiryDate": "2019-08-24T14:15:22Z",
- "scopes": [
- {
- "actions": [
- "pull",
- "push",
- "delete"
], - "name": "*",
- "type": "repository"
}
], - "status": "enabled"
}
{- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "credentials": {
- "password": "",
- "username": "push-token"
}, - "expiryDate": "2019-08-24T14:15:22Z",
- "name": "push-token",
- "scopes": [
- {
- "actions": [
- "pull",
- "push",
- "delete"
], - "name": "*",
- "type": "repository"
}
], - "status": "enabled"
}, - "type": "string"
}
Create/replace a token
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
tokenId required | string^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the token |
required | object (PostTokenProperties) |
{- "properties": {
- "expiryDate": "2019-08-24T14:15:22Z",
- "name": "push-token",
- "scopes": [
- {
- "actions": [
- "pull",
- "push",
- "delete"
], - "name": "*",
- "type": "repository"
}
], - "status": "enabled"
}
}
{- "href": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "metadata": {
- "createdBy": "string",
- "createdByUserId": "string",
- "createdDate": "2019-08-24T14:15:22Z",
- "lastModifiedBy": "string",
- "lastModifiedByUserId": "string",
- "lastModifiedDate": "2019-08-24T14:15:22Z",
- "state": "string"
}, - "properties": {
- "credentials": {
- "password": "",
- "username": "push-token"
}, - "expiryDate": "2019-08-24T14:15:22Z",
- "name": "push-token",
- "scopes": [
- {
- "actions": [
- "pull",
- "push",
- "delete"
], - "name": "*",
- "type": "repository"
}
], - "status": "enabled"
}, - "type": "string"
}
Repositories contain container images and other artifacts
This tag groups all operations for repositories.
This endpoint enables retrieving all Repositories using pagination and optional filters.
registryId required | string <uuid> Example: 1e41a73c-59d0-5507-86dd-fa2fc2501cfd The ID (UUID) of the Registry. |
offset | integer <int32> >= 0 Default: 0 The first element (of the total list of elements) to include in the response. Use together with limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use together with offset for pagination. |
filter.name | string Filter resources by name. |
filter.vulnerabilitySeverity | string (VulnerabilitySeverity) Example: filter.vulnerabilitySeverity=high Filter resources by vulnerability severity. |
orderBy | string Default: "-lastPush" Enum: "-lastPush" "-lastPull" "-artifactCount" "-pullCount" "-pushCount" "name" "lastPush" "lastPull" "artifactCount" "pullCount" "pushCount" The field to order the results by. If not provided, the results will be ordered by the default field. |
{- "id": "repositories",
- "type": "collection",
- "items": [
- {
- "id": "my-service",
- "type": "repository",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "artifactCount": 125,
- "pullCount": 4200,
- "pushCount": 200,
- "lastPulledAt": "2019-08-24T14:15:22Z",
- "lastPushedAt": "2019-08-24T14:15:22Z",
- "lastSeverity": "high"
}, - "properties": {
- "name": "my-service"
}
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
Returns the Repository by Name.
registryId required | string <uuid> Example: 1e41a73c-59d0-5507-86dd-fa2fc2501cfd The ID (UUID) of the Registry. |
repositoryName required | string <= 256 characters Example: my-service The Name of the Repository. |
{- "id": "my-service",
- "type": "repository",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "artifactCount": 125,
- "pullCount": 4200,
- "pushCount": 200,
- "lastPulledAt": "2019-08-24T14:15:22Z",
- "lastPushedAt": "2019-08-24T14:15:22Z",
- "lastSeverity": "high"
}, - "properties": {
- "name": "my-service"
}
}
Delete all repository contents
The registry V2 API allows manifests and blobs to be deleted individually but it is not possible to remove an entire repository.
This operation is provided for convenience
registryId required | string <uuid> ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-... The unique ID of the registry |
repositoryName required | string^[a-z0-9]+(?:[._-][a-z0-9]+)*$ Example: my-service The name of the repository |
Artifacts are the individual files stored in a repository
This tag groups all operations for artifacts.
This endpoint enables retrieving all Artifacts using pagination and optional filters.
registryId required | string <uuid> Example: 1e41a73c-59d0-5507-86dd-fa2fc2501cfd The ID (UUID) of the Registry. |
offset | integer <int32> >= 0 Default: 0 The first element (of the total list of elements) to include in the response. Use together with limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use together with offset for pagination. |
filter.vulnerabilityId | string Filter resources by vulnerabilityId. |
orderBy | string Default: "-pullCount" Enum: "-pullCount" "-pushCount" "-lastPush" "-lastPull" "-lastScan" "-vulnTotalCount" "-vulnFixableCount" "pullCount" "pushCount" "lastPush" "lastPull" "lastScan" "vulnTotalCount" "vulnFixableCount" The field to order the results by. If not provided, the results will be ordered by the default field. |
{- "id": "artifacts",
- "type": "collection",
- "items": [
- {
- "id": "sha256:12345678901234567890123456789012",
- "type": "artifact",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "lastPushedAt": "2019-08-24T14:15:22Z",
- "lastPulledAt": "2019-08-24T14:15:22Z",
- "lastScannedAt": "2019-08-24T14:15:22Z",
- "pushCount": 1,
- "pullCount": 42,
- "vulnMaxSeverity": "high",
- "vulnTotalScore": 9.8,
- "vulnTotalCount": 20,
- "vulnFixableCount": 10
}, - "properties": {
- "repositoryName": "my-service",
- "digest": "sha256:12345678901234567890123456789012",
- "tags": [
- "latest",
- "1.0.0"
], - "mediaType": "application/vnd.oci.image.manifest.v1+json"
}
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
This endpoint enables retrieving all Artifacts using pagination and optional filters.
registryId required | string <uuid> Example: 1e41a73c-59d0-5507-86dd-fa2fc2501cfd The ID (UUID) of the Registry. |
repositoryName required | string <= 256 characters Example: my-service The Name of the Repository. |
offset | integer <int32> >= 0 Default: 0 The first element (of the total list of elements) to include in the response. Use together with limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use together with offset for pagination. |
orderBy | string Default: "-lastPush" Enum: "-lastPush" "-lastPull" "-lastScan" "-pullCount" "-pushCount" "-vulnMaxSeverity" "-vulnTotalScore" "-vulnTotalCount" "-vulnFixableCount" "lastPush" "lastPull" "lastScan" "pullCount" "pushCount" "vulnMaxSeverity" "vulnTotalScore" "vulnTotalCount" "vulnFixableCount" The field to order the results by. If not provided, the results will be ordered by the default field. |
{- "id": "artifacts",
- "type": "collection",
- "items": [
- {
- "id": "sha256:12345678901234567890123456789012",
- "type": "artifact",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "lastPushedAt": "2019-08-24T14:15:22Z",
- "lastPulledAt": "2019-08-24T14:15:22Z",
- "lastScannedAt": "2019-08-24T14:15:22Z",
- "pushCount": 1,
- "pullCount": 42,
- "vulnMaxSeverity": "high",
- "vulnTotalScore": 9.8,
- "vulnTotalCount": 20,
- "vulnFixableCount": 10
}, - "properties": {
- "repositoryName": "my-service",
- "digest": "sha256:12345678901234567890123456789012",
- "tags": [
- "latest",
- "1.0.0"
], - "mediaType": "application/vnd.oci.image.manifest.v1+json"
}
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
Returns the Artifact by Digest.
registryId required | string <uuid> Example: 1e41a73c-59d0-5507-86dd-fa2fc2501cfd The ID (UUID) of the Registry. |
repositoryName required | string <= 256 characters Example: my-service The Name of the Repository. |
digest required | string <= 128 characters Example: sha256:12345678901234567890123456789012 The Digest of the Artifact. |
{- "id": "sha256:12345678901234567890123456789012",
- "type": "artifact",
- "metadata": {
- "createdDate": "2020-12-10T13:37:50+01:00",
- "createdBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "createdByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedDate": "2020-12-11T13:37:50+01:00",
- "lastModifiedBy": "ionos:identity:::users/87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "lastModifiedByUserId": "87f9a82e-b28d-49ed-9d04-fba2c0459cd3",
- "resourceURN": "ionos:<product>:<location>:<contract>:<resource-path>",
- "lastPushedAt": "2019-08-24T14:15:22Z",
- "lastPulledAt": "2019-08-24T14:15:22Z",
- "lastScannedAt": "2019-08-24T14:15:22Z",
- "pushCount": 1,
- "pullCount": 42,
- "vulnMaxSeverity": "high",
- "vulnTotalScore": 9.8,
- "vulnTotalCount": 20,
- "vulnFixableCount": 10
}, - "properties": {
- "repositoryName": "my-service",
- "digest": "sha256:12345678901234567890123456789012",
- "tags": [
- "latest",
- "1.0.0"
], - "mediaType": "application/vnd.oci.image.manifest.v1+json"
}
}
This endpoint enables retrieving all Vulnerabilities using pagination and optional filters.
registryId required | string <uuid> Example: 1e41a73c-59d0-5507-86dd-fa2fc2501cfd The ID (UUID) of the Registry. |
repositoryName required | string <= 256 characters Example: my-service The Name of the Repository. |
digest required | string <= 128 characters Example: sha256:12345678901234567890123456789012 The Digest of the Artifact. |
offset | integer <int32> >= 0 Default: 0 The first element (of the total list of elements) to include in the response. Use together with limit for pagination. |
limit | integer <int32> [ 1 .. 1000 ] Default: 100 Example: limit=100 The maximum number of elements to return. Use together with offset for pagination. |
filter.severity | string (VulnerabilitySeverity) Example: filter.severity=high Filter resources by vulnerability severity. |
filter.fixable | boolean Filter resources by fixable (i.e. remediation action is available) |
orderBy | string Default: "-score" Enum: "-score" "-severity" "-publishedAt" "-updatedAt" "-fixable" "score" "severity" "publishedAt" "updatedAt" "fixable" The field to order the results by. If not provided, the results will be ordered by the default field. |
{- "id": "vulnerabilities",
- "type": "collection",
- "items": [
- {
- "id": "CVE-2019-1234",
- "type": "vulnerability",
- "metadata": {
- "publishedAt": "2019-01-01T00:00:00+00:00",
- "updatedAt": "2019-01-01T00:00:00+00:00"
}, - "properties": {
- "description": "A vulnerability in the web UI of Cisco IOS XE Software could allow an authenticated, remote attacker to execute commands on the underlying Linux shell of an affected device with root privileges.",
- "recommendations": "Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.",
- "fixable": true,
- "affects": [
- {
- "type": "maven",
- "name": "org.apache.commons:commons-lang3",
- "version": "3.8.1"
}
], - "severity": "high",
- "score": 9.8
}
}
], - "offset": 0,
- "limit": 42,
- "_links": {
}
}
Returns the Vulnerability by ID.
vulnerabilityId required | string <= 64 characters Example: CVE-2019-1234 The ID of the Vulnerability. |
{- "id": "CVE-2019-1234",
- "type": "vulnerability",
- "metadata": {
- "publishedAt": "2019-01-01T00:00:00+00:00",
- "updatedAt": "2019-01-01T00:00:00+00:00"
}, - "properties": {
- "description": "A vulnerability in the web UI of Cisco IOS XE Software could allow an authenticated, remote attacker to execute commands on the underlying Linux shell of an affected device with root privileges.",
- "recommendations": "Cisco has released software updates that address this vulnerability. There are no workarounds that address this vulnerability.",
- "fixable": true,
- "affects": [
- {
- "type": "maven",
- "name": "org.apache.commons:commons-lang3",
- "version": "3.8.1"
}
], - "severity": "high",
- "score": 9.8
}
}