60 lines
1.8 KiB
Properties
60 lines
1.8 KiB
Properties
# fqdn域名保留层级数
|
|
query.standard.fqdn.level = 3
|
|
|
|
# 离线导入指定目录
|
|
offline.import.path = /home/WebSKT/Data/request_file
|
|
# 离线指定查询结果保存目录
|
|
offline.output.path = /home/WebSKT/Data/output_file
|
|
|
|
# switch
|
|
offline.switch = true
|
|
update.switch = false
|
|
query.url_info.switch = true
|
|
query.url_rep.switch = false
|
|
query.url_whois.switch = false
|
|
|
|
# 离线导入文件后缀名
|
|
offline.import.filename.suffix = .compl
|
|
offline.import.filedone.suffix = .done
|
|
offline.output.filename.suffix = .result
|
|
|
|
# 离线导入定时任务时间间隔10s
|
|
offline.schedule.second = 5
|
|
# 数据库更新定时任务时间间隔1d 1000 * 3600 * 24 = 86400000
|
|
update.schedule.day = 7
|
|
|
|
# mariadb
|
|
database = web_sketch
|
|
category_info_table = fqdn_category_via_brightcloud
|
|
reputation_info_table = fqdn_reputation_via_brightcloud
|
|
whois_info_table = fqdn_whois_via_brightcloud
|
|
|
|
# offline读取批处理量
|
|
offline.readin.batch = 1000
|
|
|
|
# bc api单次查询url长度限制 API最高限制
|
|
maximum.url.once.bc.query = 100
|
|
|
|
# log
|
|
# 打印进度日志的查询条数
|
|
log.offline.number = 10000
|
|
log.bc.query.report.file = /home/WebSKT/Data/bright_cloud_query_count.csv
|
|
|
|
# resource
|
|
tld.filepath = /home/WebSKT/Data/public_suffix_list_only.dat
|
|
|
|
|
|
|
|
######################
|
|
# for test ###########
|
|
######################
|
|
# 离线导入指定目录
|
|
#offline.import.path = /Users/joy/work/iie/project/cyber_narrator/APP/WebSketch/QueryAgentV4/files/import_file
|
|
# 离线指定查询结果保存目录
|
|
#offline.output.path = /Users/joy/work/iie/project/cyber_narrator/APP/WebSketch/QueryAgentV4/files/output_file
|
|
# 服务调用统计结果
|
|
#log.bc.query.report.file = /Users/joy/work/iie/project/cyber_narrator/App/WebSketch/LOG_IMPORTANT/bright_cloud_query_count.csv
|
|
#tld.filepath = /Users/joy/work/iie/project/cyber_narrator/App/WebSketch/QueryAgentV4/src/main/resources/public_suffix_list_only.dat
|
|
|
|
|