diff --git a/pkg/sbombastic-image-vulnerability-scanner/config/sbombastic-image-vulnerability-scanner.ts b/pkg/sbombastic-image-vulnerability-scanner/config/sbombastic-image-vulnerability-scanner.ts index 9487d60..be4567d 100644 --- a/pkg/sbombastic-image-vulnerability-scanner/config/sbombastic-image-vulnerability-scanner.ts +++ b/pkg/sbombastic-image-vulnerability-scanner/config/sbombastic-image-vulnerability-scanner.ts @@ -68,6 +68,19 @@ export function init($plugin: any, store: any) { }, }); + virtualType({ + labelKey: "imageScanner.vexManagement.title", + name: PAGE.VEX_MANAGEMENT, + namespaced: false, + route: { + name: `c-cluster-${PRODUCT_NAME}-${PAGE.VEX_MANAGEMENT}`, + params: { + product: PRODUCT_NAME, + }, + meta: { pkg: PRODUCT_NAME, product: PRODUCT_NAME }, + }, + }); + virtualType({ label: "Components Demo", name: "demo", @@ -84,6 +97,7 @@ export function init($plugin: any, store: any) { weightType(PAGE.DASHBOARD, 98, true); weightType(PAGE.IMAGE_OVERVIEW, 97, true); weightType(PAGE.VULNERABILITY_OVERVIEW, 96, true); + weightType(PAGE.VEX_MANAGEMENT, 95, true); basicType([ PAGE.DASHBOARD, @@ -91,6 +105,6 @@ export function init($plugin: any, store: any) { PAGE.VULNERABILITY_OVERVIEW, ]); // Prepend spaces on group name, as Rancher 2.12 render group name algin with sidemenu - basicType([PAGE.REGISTRIES, PAGE.VEX_MANAGEMENT, RESOURCE.VEX_HUB], '    Advanced'); + basicType([PAGE.REGISTRIES, PAGE.VEX_MANAGEMENT], '    Advanced'); } \ No newline at end of file diff --git a/pkg/sbombastic-image-vulnerability-scanner/l10n/en-us.yaml b/pkg/sbombastic-image-vulnerability-scanner/l10n/en-us.yaml index 47e1f82..e2ab236 100644 --- a/pkg/sbombastic-image-vulnerability-scanner/l10n/en-us.yaml +++ b/pkg/sbombastic-image-vulnerability-scanner/l10n/en-us.yaml @@ -205,6 +205,7 @@ imageScanner: enable: Enable disable: Disable delete: Delete + editConfiguration: Edit configuration actions: clone: Clone editConfig: Edit configuration diff --git a/pkg/sbombastic-image-vulnerability-scanner/list/sbombastic.rancher.io.vexhub.vue b/pkg/sbombastic-image-vulnerability-scanner/list/sbombastic.rancher.io.vexhub.vue index 2e9e6f2..2de32af 100644 --- a/pkg/sbombastic-image-vulnerability-scanner/list/sbombastic.rancher.io.vexhub.vue +++ b/pkg/sbombastic-image-vulnerability-scanner/list/sbombastic.rancher.io.vexhub.vue @@ -1,10 +1,5 @@