| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204 |
- server:
- port: 0 #端口
- spring:
- cloud:
- # nacos
- nacos:
- discovery:
- register-enabled: true
- server-addr: 127.0.0.1:8848
- username: nacos-dev
- password: nacos-dev
- namespace: 33360858-b0c2-4364-b8fb-d8879aa272a0
- circuitbreaker:
- sentinel:
- enabled: true
- sentinel:
- enabled: true
- transport:
- dashboard: 127.0.0.1:8858
- port: 0
- datasource:
- ds-flow-rules:
- nacos:
- server-addr: 127.0.0.1:8848
- username: nacos-dev
- password: nacos-dev
- namespace: 81037616-96ae-412c-a060-a633ba9731b9
- group-id: SENTINEL_GROUP
- data-id: ${spring.application.name}-flow-rules
- rule-type: flow
- data-type: json
- # 数据库配置
- datasource:
- url: jdbc:mysql://127.0.0.1:3306/central?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false&serverTimezone=Asia/Shanghai
- username: root
- password: 123456
- # rabbitmq配置
- rabbitmq:
- host: 127.0.0.1
- port: 5672
- # redis配置
- redis:
- host: 127.0.0.1
- port: 6379
- database: 0
- password: HorO9496sCopE
- clientName: ${spring.application.name}-redis
- # 日志配置
- logging:
- level:
- com:
- atmob:
- central: debug
- mybatis:
- configuration:
- logImpl: org.apache.ibatis.logging.stdout.StdOutImpl
- config:
- file-path:
- root: E:/workspace/central-platform/central-security/
- ip-location:
- mmdbPath: 'geoip2/GeoLite2-City.mmdb'
- locales:
- - 'zh-CN'
- - 'en'
- warn:
- enabled: true
- webhookUrl: 'https://open.feishu.cn/open-apis/bot/v2/hook/14da6f76-75fd-427d-a8c7-35d71c76d34c'
- v8:
- report:
- enabled: true
- v8Host: 'https://i90okxj.v8dashen.com:4695'
- device-feature:
- ip-abnormal:
- # 是否开启IP异常统计
- enabledIpAbnormal: true
- # 是否标记广告异常
- markIfAbnormal: true
- # 如果达到阈值,告警
- warnIfAbnormal: true
- # 规则
- rules:
- # 包含的项目编码
- - includedProjectCodes:
- - 'project_playlet'
- # 忽略应用编码
- excludedAppCodes:
- []
- # 子网(例如:192.168.1.0/24)
- subnetPatterns:
- - '113.13.32.0/20'
- - '116.1.128.0/20'
- - '116.1.80.0/20'
- - '171.104.240.0/20'
- - '171.108.48.0/20'
- - '171.109.32.0/20'
- - '171.110.224.0/20'
- - '182.91.32.0/20'
- - '182.91.112.0/20'
- - '182.91.192.0/20'
- - '27.151.208.0/20'
- - '27.152.208.0/20'
- ad-event:
- ecpm-abnormal:
- # 是否开启
- enabledAdAbnormal: true
- # 广告异常是否标记
- markIfAbnormal: true
- # 广告异常是否告警
- warnIfAbnormal: true
- # 包含的项目编码
- includedProjectCodes:
- - 'project_playlet'
- # 忽略应用编码
- excludedAppCodes:
- []
- # 忽略广告平台 5: 百度
- excludedAdPlatforms:
- - 5
- # 忽略真实广告平台 5: 百度
- excludedAdRealPlatforms:
- - 5
- # 忽略广告类型
- excludedAdTypes:
- []
- # 统计多少秒内的广告
- timeRangeInSeconds: 600
- # 广告ecpm阈值超过多少会被统计数量+1,单位分
- ecpmThreshold: 100000
- # 达到统计阈值的数量
- countThreshold: 5
- device-risk:
- enabled: true
- riskLevels:
- - 3
- netease:
- yidun:
- risk:
- enabled: true
- riskLevels:
- - 3
- yidunConfigMap:
- { }
- defaultYidunConfig:
- secretId: '39e944c60cbc79e5525d0346a30e98fb'
- secretKey: 'df56d74d2ae89a621b50bee6950f1132'
- businessId: ''
- yidunRiskCheckRulesMap:
- register:
- - checkCountMin: 0
- checkCountMax: 4
- intervalCount: 1
- cooldownMillis: 0
- - checkCountMin: 5
- checkCountMax: -1
- intervalCount: 10
- cooldownMillis: 0
- transfer:
- - checkCountMin: 0
- checkCountMax: -1
- intervalCount: 1
- cooldownMillis: 0
- testEnabled: true
- device-block-rule:
- titlesMap:
- packageName: '包名'
- appVersionName: '版本'
- channelName: '渠道'
- oaid: 'OAID'
- editOptions:
- - matchProperty: 'packageName,appVersionName'
- matchPropertyTitle: '包名版本'
- matchValueTitles:
- - '包名'
- - '版本'
- matchTypeOptions:
- - 'each_equals'
- defaultBlockLevel: 0
- defaultMaxAutoBlockLevel: 10
- - matchProperty: 'packageName,appVersionName,channelName'
- matchPropertyTitle: '包名版本渠道'
- matchValueTitles:
- - '包名'
- - '版本'
- - '渠道'
- matchTypeOptions:
- - 'each_equals'
- defaultBlockLevel: 0
- defaultMaxAutoBlockLevel: 10
- - matchProperty: 'oaid'
- matchPropertyTitle: 'OAID'
- matchValueTitles:
- - 'OAID'
- matchTypeOptions:
- - 'equals'
- defaultBlockLevel: 0
- defaultMaxAutoBlockLevel: 0
|