mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[Cloud Security] Vuln Mgmt - Copy and UX changes (#155376)
## Summary Copy changes according to [this issue](https://github.com/elastic/security-team/issues/6410) Section 1: - empty state component text changes - new learn more button instead of text link Section 5: - scanning in progress prompt text changes --------- Co-authored-by: Paulo Henrique <paulo.scape@gmail.com>
This commit is contained in:
parent
afced9d47f
commit
48aa064268
2 changed files with 14 additions and 19 deletions
|
@ -182,7 +182,6 @@ export const CspPolicyTemplateForm = memo<PackagePolicyReplaceDefineStepExtensio
|
|||
return (
|
||||
<div>
|
||||
{isEditPage && <EditScreenStepTitle />}
|
||||
|
||||
{/* Defines the enabled policy template */}
|
||||
{!integration && (
|
||||
<>
|
||||
|
@ -195,11 +194,9 @@ export const CspPolicyTemplateForm = memo<PackagePolicyReplaceDefineStepExtensio
|
|||
<EuiSpacer size="l" />
|
||||
</>
|
||||
)}
|
||||
|
||||
{/* Shows info on the active policy template */}
|
||||
<PolicyTemplateInfo postureType={input.policy_template} />
|
||||
<EuiSpacer size="l" />
|
||||
|
||||
{/* Defines the single enabled input of the active policy template */}
|
||||
<PolicyTemplateInputSelector
|
||||
input={input}
|
||||
|
@ -207,7 +204,6 @@ export const CspPolicyTemplateForm = memo<PackagePolicyReplaceDefineStepExtensio
|
|||
disabled={isEditPage}
|
||||
/>
|
||||
<EuiSpacer size="l" />
|
||||
|
||||
{/* Defines the name/description */}
|
||||
<IntegrationSettings
|
||||
fields={integrationFields}
|
||||
|
|
|
@ -13,6 +13,7 @@ import {
|
|||
EuiMarkdownFormat,
|
||||
EuiLink,
|
||||
EuiButton,
|
||||
EuiButtonEmpty,
|
||||
EuiFlexGroup,
|
||||
EuiFlexItem,
|
||||
EuiImage,
|
||||
|
@ -43,7 +44,7 @@ const ScanningVulnerabilitiesEmptyPrompt = () => (
|
|||
<h2>
|
||||
<FormattedMessage
|
||||
id="xpack.csp.noVulnerabilitiesStates.scanningVulnerabilitiesEmptyPrompt.indexingButtonTitle"
|
||||
defaultMessage="Scanning your cloud environment for vulnerabilities"
|
||||
defaultMessage="Scanning your environment"
|
||||
/>
|
||||
</h2>
|
||||
}
|
||||
|
@ -51,7 +52,7 @@ const ScanningVulnerabilitiesEmptyPrompt = () => (
|
|||
<p>
|
||||
<FormattedMessage
|
||||
id="xpack.csp.noVulnerabilitiesStates.scanningVulnerabilitiesEmptyPrompt.indexingDescription"
|
||||
defaultMessage="Results should start to appear within a minute"
|
||||
defaultMessage="Results will appear here as soon as they are available."
|
||||
/>
|
||||
</p>
|
||||
}
|
||||
|
@ -72,7 +73,7 @@ const VulnerabilitiesFindingsInstalledEmptyPrompt = ({
|
|||
<FormattedHTMLMessage
|
||||
tagName="h2"
|
||||
id="xpack.csp.cloudPosturePage.vulnerabilitiesInstalledEmptyPrompt.promptTitle"
|
||||
defaultMessage="Detect vulnerabilities <br/> in your cloud assets!"
|
||||
defaultMessage="Detect vulnerabilities in your <br/> cloud assets"
|
||||
/>
|
||||
</h2>
|
||||
}
|
||||
|
@ -82,17 +83,7 @@ const VulnerabilitiesFindingsInstalledEmptyPrompt = ({
|
|||
<p>
|
||||
<FormattedMessage
|
||||
id="xpack.csp.cloudPosturePage.vulnerabilitiesInstalledEmptyPrompt.promptDescription"
|
||||
defaultMessage="Add the Elastic Vulnerability Management Integration to begin. {learnMore}."
|
||||
values={{
|
||||
learnMore: (
|
||||
<EuiLink href={''} target="_blank">
|
||||
<FormattedMessage
|
||||
id="xpack.csp.cloudPosturePage.vulnerabilitiesInstalledEmptyPrompt.learnMoreTitle"
|
||||
defaultMessage="Learn more about Elastic Vulnerability Management(VM) for Cloud"
|
||||
/>
|
||||
</EuiLink>
|
||||
),
|
||||
}}
|
||||
defaultMessage="Add the Cloud Native Vulnerability Management integration to begin"
|
||||
/>
|
||||
</p>
|
||||
}
|
||||
|
@ -102,10 +93,18 @@ const VulnerabilitiesFindingsInstalledEmptyPrompt = ({
|
|||
<EuiButton color="primary" fill href={vulnMgmtIntegrationLink}>
|
||||
<FormattedMessage
|
||||
id="xpack.csp.cloudPosturePage.vulnerabilitiesInstalledEmptyPrompt.addVulMngtIntegrationButtonTitle"
|
||||
defaultMessage="Install Elastic Vulnerability Management for Cloud"
|
||||
defaultMessage="Install Cloud Native Vulnerability Management"
|
||||
/>
|
||||
</EuiButton>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiButtonEmpty color="primary" href={'https://ela.st/cnvm'} target="_blank">
|
||||
<FormattedMessage
|
||||
id="xpack.csp.cloudPosturePage.vulnerabilitiesInstalledEmptyPrompt.learnMoreButtonTitle"
|
||||
defaultMessage="Learn more"
|
||||
/>
|
||||
</EuiButtonEmpty>
|
||||
</EuiFlexItem>
|
||||
</EuiFlexGroup>
|
||||
}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue