feat: CN-1592 UI 新增Tag检索界面:列表部分
This commit is contained in:
@@ -60,6 +60,13 @@ export const api = {
|
||||
reportBatchDownloadPdf: '/report/job/batchDownloadPdf',
|
||||
reportDownloadPdf: '/report/job/downloadPdf',
|
||||
reportView: '/report/job/view',
|
||||
// tag 相关
|
||||
tagList: '/v1/tag/list',
|
||||
tagDelete: '/v1/tag/',
|
||||
tagIndicatorStatistics: '/v1/tag/{{name}}/indicator/statistics',
|
||||
tagIndicatorTrend: '/v1/tag/{{name}}/indicator/trend',
|
||||
tagTrafficEntityStatistics: '/v1/tag/{{name}}/trafficEntity/statistics',
|
||||
tagTrafficEntityTrend: '/v1/tag/{{name}}/trafficEntity/trend',
|
||||
// 业务
|
||||
panel: '/visual/panel',
|
||||
chart: '/visual/chart',
|
||||
|
||||
@@ -63,7 +63,8 @@ export const fromRoute = {
|
||||
galaxyProxy: 'galaxyProxy',
|
||||
chart: 'chart',
|
||||
cryptocurrency: 'cryptocurrency',
|
||||
builtinReport: 'builtinReport'
|
||||
builtinReport: 'builtinReport',
|
||||
tag: 'tag'
|
||||
}
|
||||
|
||||
/* panel类别和名称之间的映射 */
|
||||
@@ -463,6 +464,25 @@ export const knowledgeBaseCategory = [
|
||||
value: 'user_defined'
|
||||
}
|
||||
]
|
||||
|
||||
export const tagIntentColor = [
|
||||
{
|
||||
label: 'tag.intent.unknown',
|
||||
name: 'unknow',
|
||||
intent: 'Unknow'
|
||||
},
|
||||
{
|
||||
label: 'tag.intent.benign',
|
||||
name: 'benign',
|
||||
intent: 'Benign'
|
||||
},
|
||||
{
|
||||
label: 'tag.intent.malicious',
|
||||
name: 'malicious',
|
||||
intent: 'Malicious'
|
||||
}
|
||||
]
|
||||
|
||||
export const knowledgeBaseColor = [
|
||||
{
|
||||
label: 'knowledge.info',
|
||||
|
||||
Reference in New Issue
Block a user