-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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 Posture][CNVM] UI Fixes/Enhancements #155473
Conversation
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security) |
@@ -75,6 +75,7 @@ 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'; | |||
export const CNVM_POLICY_TEMPLATE = 'cnvm'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this constant name is missleading because there no CNVM policy template
if (policyTemplate === VULN_MGMT_POLICY_TEMPLATE) { | ||
return CNVM_POLICY_TEMPLATE.toUpperCase(); | ||
} | ||
return policyTemplate.toUpperCase(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should use localized strings whenever we display text to our users
Lets map these codes to their relevant text instead of using technical text to display to the user
title={ | ||
<FormattedMessage | ||
id="xpack.csp.fleetIntegration.cnvm.additionalChargesCalloutTitle" | ||
defaultMessage="Additional charges on cloud provider billing account." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
design suggests this without a period Additional charges on cloud provider billing account
<p> | ||
<FormattedMessage | ||
id="xpack.csp.fleetIntegration.cnvm.additionalChargesCalloutDescription" | ||
defaultMessage="Please note that using this service may result in additional charges on your next cloud provider billing statement due to increased usage." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
design suggests
- defaultMessage="Please note that using this service may result in additional charges on your next cloud provider billing statement due to increased usage."
+ defaultMessage="Please note that using this service may result in additional charges on your next cloud provider billing statement due to increased usage for scanning"
Summary
This PR addresses Fixes and Enhancements for Cloud Native Vulnerability Management, such as:
useLatestVulnerabilities
hookScreenshots
Billing usage Callout
Filters
Filter In
Filter Out
Flyout
Score always in decimals