From 4114c3fa36f207f2e322679e90fb96c64912ec09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B4=AA=E6=B4=AA?= Date: Mon, 10 Jul 2023 17:47:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=AE=9E=E4=BD=93=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E4=B8=BAadvanced=E6=A8=A1=E5=BC=8F=E6=97=B6=EF=BC=8C=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=85=B3=E8=81=94=E4=B8=8B=E6=8B=89=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E7=9A=84=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/static-data.js | 199 +++++++++------------------------------ 1 file changed, 43 insertions(+), 156 deletions(-) diff --git a/src/utils/static-data.js b/src/utils/static-data.js index 5999d87c..4ae14987 100644 --- a/src/utils/static-data.js +++ b/src/utils/static-data.js @@ -272,179 +272,66 @@ export const dataForNpmNetworkQuantity = { } export const columnList = [ { - name: 'entity_type', + name: 'ip', type: 'string', - label: 'Entity type' + label: 'Ip', + doc: { + constraints: { + type: 'ip', + operator_functions: '=,in' + } + } }, { - name: 'ip_addr', + name: 'fqdn', type: 'string', - label: 'IP.Address' - }, - { - name: 'country', - type: 'string', - label: 'IP.Country' - }, - { - name: 'ip_location_province', - type: 'string', - label: 'IP.Province' - }, - { - name: 'region', - type: 'string', - label: 'IP.City' - }, - { - name: 'asn', - type: 'string', - label: 'IP.ASN' - }, - { - name: 'dns_server_role', - type: 'string', - label: 'IP.DNS server role' - }, - { - name: 'dns_server_org', - type: 'string', - label: 'IP.DNS server organization' - }, - { - name: 'dns_server_os', - type: 'string', - label: 'IP.Operating system' - }, - { - name: 'dns_server_software', - type: 'string', - label: 'IP.DNS server software' - }, - { - name: 'domain_name', - type: 'string', - label: 'Domain.Name' - }, - { - name: 'domain_category', - type: 'string', - label: 'Domain.Category' - }, - { - name: 'domain_category_group', - type: 'string', - label: 'Domain.Category group' - }, - { - name: 'domain_reputation_level', - type: 'string', - label: 'Domain.Reputation' - }, - { - name: 'domain_whois_email', - type: 'string', - label: 'Domain.Whois email' - }, - { - name: 'domain_whois_name_servers', - type: 'string', - label: 'Domain.Whois nameserver' - }, - { - name: 'domain_whois_registrar', - type: 'string', - label: 'Domain.Whois registrar' - }, - { - name: 'domain_whois_org', - type: 'string', - label: 'Domain.Whois organization' - }, - { - name: 'domain_whois_address', - type: 'string', - label: 'Domain.Whois address' - }, - { - name: 'region', - type: 'string', - label: 'Domain.Whois city' - }, - { - name: 'domain_whois_state', - type: 'string', - label: 'Domain.Whois state' - }, - { - name: 'country', - type: 'string', - label: 'Domain.Whois country' - }, - { - name: 'domain_icp_owner', - type: 'string', - label: 'Domain.ICP owner' - }, - { - name: 'domain_icp_company_name', - type: 'string', - label: 'Domain.ICP company' - }, - { - name: 'domain_icp_company_type', - type: 'string', - label: 'Domain.ICP company type' - }, - { - name: 'domain_icp_site_license', - type: 'string', - label: 'Domain.ICP site license' - }, - { - name: 'domain_icp_site_name', - type: 'string', - label: 'Domain.ICP site' + label: 'Domain', + doc: { + constraints: { + type: 'domain', + operator_functions: '=,in' + } + } }, { name: 'app_name', type: 'string', - label: 'APP.Name' + label: 'App', + doc: { + constraints: { + operator_functions: '=,in' + } + } }, { - name: 'app_id', + name: 'region', type: 'string', - label: 'APP.ID' + label: 'City', + doc: { + constraints: { + operator_functions: '=,in' + } + } }, { - name: 'app_category', + name: 'country', type: 'string', - label: 'APP.Category' + label: 'Country', + doc: { + constraints: { + operator_functions: '=,in' + } + } }, { - name: 'app_subcategory', + name: 'asn', type: 'string', - label: 'APP.Subcategory' - }, - { - name: 'app_risk', - type: 'string', - label: 'APP.Risk' - }, - { - name: 'app_description', - type: 'string', - label: 'APP.Description' - }, - { - name: 'app_longname', - type: 'string', - label: 'APP.Long name' - }, - { - name: 'app_technology', - type: 'string', - label: 'APP.Technology' + label: 'ASN', + doc: { + constraints: { + operator_functions: '=,in' + } + } } ] export const operatorList = ['=', '!=', /* '>', '<', '>=', '<=', */'IN', 'NOT IN', 'LIKE', 'NOT LIKE']