Skip to content

Commit

Permalink
[Cloud Security] Show coming soon deployments of vulnerability manage…
Browse files Browse the repository at this point in the history
…ment (#153249)
  • Loading branch information
kfirpeled authored Mar 20, 2023
1 parent 2b5c537 commit a39089f
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
4 changes: 4 additions & 0 deletions x-pack/plugins/cloud_security_posture/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ export const CLOUDBEAT_AWS = 'cloudbeat/cis_aws';
export const CLOUDBEAT_GCP = 'cloudbeat/cis_gcp';
export const CLOUDBEAT_AZURE = 'cloudbeat/cis_azure';
export const CLOUDBEAT_VULN_MGMT_AWS = 'cloudbeat/vuln_mgmt_aws';
export const CLOUDBEAT_VULN_MGMT_GCP = 'cloudbeat/vuln_mgmt_gcp';
export const CLOUDBEAT_VULN_MGMT_AZURE = 'cloudbeat/vuln_mgmt_azure';
export const KSPM_POLICY_TEMPLATE = 'kspm';
export const CSPM_POLICY_TEMPLATE = 'cspm';
export const VULN_MGMT_POLICY_TEMPLATE = 'vuln_mgmt';
Expand All @@ -64,4 +66,6 @@ export const SUPPORTED_CLOUDBEAT_INPUTS = [
CLOUDBEAT_GCP,
CLOUDBEAT_AZURE,
CLOUDBEAT_VULN_MGMT_AWS,
CLOUDBEAT_VULN_MGMT_GCP,
CLOUDBEAT_VULN_MGMT_AZURE,
] as const;
30 changes: 29 additions & 1 deletion x-pack/plugins/cloud_security_posture/public/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import {
KSPM_POLICY_TEMPLATE,
CSPM_POLICY_TEMPLATE,
VULN_MGMT_POLICY_TEMPLATE,
CLOUDBEAT_VULN_MGMT_GCP,
CLOUDBEAT_VULN_MGMT_AZURE,
} from '../../common/constants';

import eksLogo from '../assets/icons/cis_eks_logo.svg';
Expand Down Expand Up @@ -143,10 +145,36 @@ export const cloudPostureIntegrations: CloudPostureIntegrations = {
options: [
{
type: CLOUDBEAT_VULN_MGMT_AWS,
name: 'Amazon Web Services', // TODO: we should use i18n and fix this
name: i18n.translate('xpack.csp.vulnMgmtIntegration.awsOption.nameTitle', {
defaultMessage: 'Amazon Web Services',
}),
icon: 'logoAWS',
benchmark: 'N/A', // TODO: change benchmark to be optional
},
{
type: CLOUDBEAT_VULN_MGMT_GCP,
name: i18n.translate('xpack.csp.vulnMgmtIntegration.gcpOption.nameTitle', {
defaultMessage: 'GCP',
}),
disabled: true,
icon: 'logoGCP',
tooltip: i18n.translate('xpack.csp.vulnMgmtIntegration.gcpOption.tooltipContent', {
defaultMessage: 'Coming soon',
}),
benchmark: 'N/A', // TODO: change benchmark to be optional
},
{
type: CLOUDBEAT_VULN_MGMT_AZURE,
name: i18n.translate('xpack.csp.vulnMgmtIntegration.azureOption.nameTitle', {
defaultMessage: 'Azure',
}),
disabled: true,
icon: 'logoAzure',
tooltip: i18n.translate('xpack.csp.vulnMgmtIntegration.azureOption.tooltipContent', {
defaultMessage: 'Coming soon',
}),
benchmark: 'N/A', // TODO: change benchmark to be optional
},
],
},
};

0 comments on commit a39089f

Please sign in to comment.