From 362896c52f661307bbe428ea70afff0333db935e Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Tue, 30 Jan 2024 07:12:56 -0500 Subject: [PATCH] feat(dashboard): add policy violations by state and classification cards Signed-off-by: Adam Setch --- src/views/dashboard/ChartPolicyViolationsClassification.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/dashboard/ChartPolicyViolationsClassification.vue b/src/views/dashboard/ChartPolicyViolationsClassification.vue index 340521287..3ccc0f4a2 100644 --- a/src/views/dashboard/ChartPolicyViolationsClassification.vue +++ b/src/views/dashboard/ChartPolicyViolationsClassification.vue @@ -19,9 +19,9 @@ export default { let licenseData = []; for (let i = 0; i < metrics.length; i++) { labels.push(common.formatTimestamp(metrics[i].firstOccurrence)); - securityData.push(metrics[i].policyViolationsFail); - operationalData.push(metrics[i].policyViolationsWarn); - licenseData.push(metrics[i].policyViolationsInfo); + securityData.push(metrics[i].policyViolationsSecurityTotal); + operationalData.push(metrics[i].policyViolationsOperationalTotal); + licenseData.push(metrics[i].policyViolationsLicenseTotal); if (i === metrics.length - 1) { labels.push(common.formatTimestamp(metrics[i].lastOccurrence)); securityData.push(metrics[i].policyViolationsSecurityTotal);