预警详情修改
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="warning-detail-container">
|
||||
<div class="warning-title">
|
||||
<div>{{ warningData.title }}</div>
|
||||
<div>{{ warningData.subject }}</div>
|
||||
<div class="sub-title mt-3">
|
||||
<div>
|
||||
<span>重要性</span>
|
||||
@@ -15,7 +15,7 @@
|
||||
</div>
|
||||
<div class="warning-text">
|
||||
<d-editor-md
|
||||
v-model="warningData.text"
|
||||
v-model="warningData.overview"
|
||||
:mode="mode"
|
||||
:toolbar-config="toolbarConfig"
|
||||
></d-editor-md>
|
||||
@@ -33,25 +33,14 @@ import { ref } from 'vue';
|
||||
|
||||
const emit = defineEmits(['close']);
|
||||
const propsData = defineProps(['type', 'warningData']);
|
||||
const warningData = ref({
|
||||
title: '【漏洞排查预警】ApacheIgnite远程代码执行漏洞排查(CVE-2024-52577)',
|
||||
importance: '高',
|
||||
summary: '近日,安全中心发现Apache lgnite远程代码执行漏洞(CVE-2024-52577)。在 2.6.0<Apache Ignite< 2.17.0版本中,由于lgnite未能正确实施类序列化过滤器,攻击者能够利用恶意序列化对象绕过安全检查,从而在服务器端反序列化时触发任意代码的执行。经可信开源代码库运营团队评审漏洞技术定级2级/3级,若不满足利用条件可举证降为6级。请你按要求在XX时间内完成修复。',
|
||||
fixMethod: '升级Apache Ignite至安全版本:2.17.0',
|
||||
group: '可信开源代码库运营团队',
|
||||
pulishTime: '2025-2-20',
|
||||
text: `## 一、概要
|
||||
近日,安全中心发现Apache lgnite远程代码执行漏洞(CVE-2024-52577)。在 2.6.0<Apache Ignite< 2.17.0版本中,由于lgnite未能正确实施类序列化过滤器,攻击者能够利用恶意序列化对象绕过安全检查,从而在服务器端反序列化时触发任意代码的执行。经可信开源代码库运营团队评审漏洞技术定级2级/3级,若不满足利用条件可举证降为6级。请你按要求在XX时间内完成修复。
|
||||
## 二、修复方案
|
||||
升级Apache Ignite至安全版本:2.17.0`
|
||||
});
|
||||
const warningData = ref({});
|
||||
const toolbarConfig = [
|
||||
['undo', 'redo'],
|
||||
['h1', 'h2', 'bold', 'italic', 'strike', 'underline', 'color', 'font'],
|
||||
['ul', 'ol', 'checklist', 'code', 'link', 'image', 'table'],
|
||||
];
|
||||
const mode = ref('readonly');
|
||||
// warningData.value = propsData.warningData;
|
||||
warningData.value = JSON.parse(propsData.warningData.alertMsg ?? '{}');
|
||||
const confirm = () => {
|
||||
emit('close');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user