Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cloud Security] Show coming soon deployments of vulnerability management #153249

Merged
merged 10 commits into from
Mar 20, 2023
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;
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
},
],
},
};