Skip to content

Commit

Permalink
[Cloud Security] added vulnerability mgmt deployment (#152215)
Browse files Browse the repository at this point in the history
  • Loading branch information
kfirpeled authored Mar 6, 2023
1 parent 93fbaee commit 1c5cf65
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
CLOUDBEAT_VANILLA,
CLOUDBEAT_GCP,
CLOUDBEAT_AZURE,
CLOUDBEAT_VULN_MGMT_AWS,
SUPPORTED_POLICY_TEMPLATES,
SUPPORTED_CLOUDBEAT_INPUTS,
} from '../../../common/constants';
Expand Down Expand Up @@ -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';
}
Expand All @@ -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';
Expand Down

0 comments on commit 1c5cf65

Please sign in to comment.