CN-1080: 实体详情--域名解析和开放端口tab接口对接

This commit is contained in:
刘洪洪
2023-06-12 10:51:56 +08:00
parent 0cab29925f
commit 08437a81f2
6 changed files with 321 additions and 166 deletions

View File

@@ -7,6 +7,7 @@ import { get, post } from '@/utils/http'
import axios from 'axios'
import { sortByOrderNum } from '@/permission'
import { storageKey } from '@/utils/constants'
const apiVersion = BASE_CONFIG.apiVersion
export const api = {
// 系统相关
@@ -232,16 +233,26 @@ export const api = {
drilldownTrafficAnalysis: '/interface/dns/overview/drilldown/trafficAnalysis'
},
entity: {
throughput: BASE_CONFIG.apiVersion + '/entity/detail/traffic/throughput',
security: BASE_CONFIG.apiVersion + '/entity/detail/event/security',
performance: BASE_CONFIG.apiVersion + '/entity/detail/event/performance',
domainNameResolutionRelatedApp: 'interface/entity/detail/overview/ip/relatedApp',
domainNameResolutionRelatedIP: 'interface/entity/detail/overview/ip/relatedIp',
domainNameResolutionRelatedDomain: 'interface/entity/detail/overview/ip/relatedDomain',
openPort: '',
basicInfo: BASE_CONFIG.apiVersion + '/entity/detail/basic',
tags: BASE_CONFIG.apiVersion + '/entity/detail/kb/intelligence/tag',
informationAggregation: BASE_CONFIG.apiVersion + '/entity/detail/kb/intelligence/list'
throughput: apiVersion + '/entity/detail/traffic/throughput',
security: apiVersion + '/entity/detail/event/security',
performance: apiVersion + '/entity/detail/event/performance',
// 域名解析ip相关app、domain
domainNameResolutionAboutAppsOfIp: apiVersion + '/entity/detail/ip/relate/apps',
domainNameResolutionAboutDomainsOfIp: apiVersion + '/entity/detail/ip/relate/domains',
// 域名解析app相关ip、domain
domainNameResolutionAboutIpsOfApp: apiVersion + '/entity/detail/app/relate/ips',
domainNameResolutionAboutDomainsOfApp: apiVersion + '/entity/detail/app/relate/domains',
// 域名解析domain相关ip、app、fqdn
domainNameResolutionAboutAppsOfDomain: apiVersion + '/entity/detail/domain/relate/apps',
domainNameResolutionAboutIpsOfDomain: apiVersion + '/entity/detail/domain/relate/ips',
domainNameResolutionAboutFQDNsOfDomain: apiVersion + '/entity/detail/domain/relate/fqdns',
// 开放端口ip、domain、app相关
openPortOfIp: apiVersion + '/entity/detail/ip/relate/ports',
openPortOfDomain: apiVersion + '/entity/detail/domain/relate/ports',
openPortOfApp: apiVersion + '/entity/detail/app/relate/ports',
basicInfo: apiVersion + '/entity/detail/basic',
tags: apiVersion + '/entity/detail/kb/intelligence/tag',
informationAggregation: apiVersion + '/entity/detail/kb/intelligence/list'
}
}