From ed70cb5fe96290f49be0a3159ae1ba016715fb73 Mon Sep 17 00:00:00 2001 From: Kfir Peled Date: Mon, 27 Feb 2023 15:09:00 +0200 Subject: [PATCH] added vulnerability mgmt deployment --- .../public/components/fleet_extensions/utils.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts b/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts index 86e0a4ec1d054..2daa273185357 100644 --- a/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts +++ b/x-pack/plugins/cloud_security_posture/public/components/fleet_extensions/utils.ts @@ -16,6 +16,7 @@ import { CLOUDBEAT_VANILLA, CLOUDBEAT_GCP, CLOUDBEAT_AZURE, + CLOUDBEAT_VULN_MGMT_AWS, SUPPORTED_POLICY_TEMPLATES, SUPPORTED_CLOUDBEAT_INPUTS, } from '../../../common/constants'; @@ -52,6 +53,8 @@ const getPostureType = (policyTemplateInput: PostureInput) => { case CLOUDBEAT_VANILLA: case CLOUDBEAT_EKS: return 'kspm'; + case CLOUDBEAT_VULN_MGMT_AWS: + return 'vuln_mgmt'; default: return 'n/a'; } @@ -60,6 +63,7 @@ const getPostureType = (policyTemplateInput: PostureInput) => { const getDeploymentType = (policyTemplateInput: PostureInput) => { switch (policyTemplateInput) { case CLOUDBEAT_AWS: + case CLOUDBEAT_VULN_MGMT_AWS: return 'aws'; case CLOUDBEAT_AZURE: return 'azure';