feat: CN-1592 UI 新增Tag检索界面(新增修改部分,导入数据部分未完成)

This commit is contained in:
hyx
2024-04-09 22:50:54 +08:00
parent 465203a1d1
commit 79fb9babff
9 changed files with 1669 additions and 14 deletions

View File

@@ -62,7 +62,7 @@ export const api = {
reportView: '/report/job/view',
// tag 相关
tagList: '/v1/tag/list',
tagDelete: '/v1/tag/',
tag: '/v1/tag',
tagIndicatorStatistics: '/v1/tag/{{name}}/indicator/statistics',
tagIndicatorTrend: '/v1/tag/{{name}}/indicator/trend',
tagTrafficEntityStatistics: '/v1/tag/{{name}}/trafficEntity/statistics',

View File

@@ -432,6 +432,19 @@ export const itemListHeight = {
noData: 250
}
export const tagType = [
{
label: 'IP',
value: 'IP',
name: 'ip'
},
{
label: 'Domain',
value: 'Domain',
name: 'domain'
}
]
export const knowledgeBaseType = [
{
label: 'IP',
@@ -483,6 +496,24 @@ export const tagIntentColor = [
}
]
export const tagIntent = [
{
label: 'tag.intent.unknown',
value: 'Unknow',
name: 'info'
},
{
label: 'tag.intent.benign',
value: 'Benign',
name: 'benign'
},
{
label: 'tag.intent.malicious',
value: 'Malicious',
name: 'malicious'
}
]
export const knowledgeBaseColor = [
{
label: 'knowledge.info',
@@ -505,6 +536,9 @@ export const knowledgeCategoryValue = {
aiTagging: 'ai_tagging',
userDefined: 'user_defined'
}
export const tagCategoryValue = {
userDefined: 'user_defined'
}
export const knowledgeSourceValue = {
fqdnCategory: 'cn_fqdn_category_built_in',
iocMalware: 'cn_ioc_malware',