From 63b06314f93193c4516f190668cee522ce5b7283 Mon Sep 17 00:00:00 2001 From: Simon Melotte Date: Tue, 13 Feb 2024 14:18:51 +0100 Subject: [PATCH] add registry scan select enpoint --- prismacloud/api/cwpp/_registry.py | 4 ++++ prismacloud/api/version.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/prismacloud/api/cwpp/_registry.py b/prismacloud/api/cwpp/_registry.py index 7fbe010..a9563aa 100644 --- a/prismacloud/api/cwpp/_registry.py +++ b/prismacloud/api/cwpp/_registry.py @@ -19,3 +19,7 @@ def registry_list_image_names(self, query_params=None): def registry_scan(self, body_params=None): result = self.execute_compute('POST', 'api/v1/registry/scan', body_params=body_params) return result + + def registry_scan_select(self, body_params=None): + result = self.execute_compute('POST', 'api/v1/registry/scan/select', body_params=body_params) + return result diff --git a/prismacloud/api/version.py b/prismacloud/api/version.py index a48799e..5dfe327 100644 --- a/prismacloud/api/version.py +++ b/prismacloud/api/version.py @@ -1 +1 @@ -version = "5.2.11" +version = "5.2.12"