PD Guard: модуль безопасности персональных данных

This commit is contained in:
Onbehalfofme
2026-09-22 17:43:33 +03:00
commit 41052fac6a
80 changed files with 91230 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
server:
port: 8080
address: 0.0.0.0
max-http-request-header-size: 16KB
spring:
application:
name: pd-guard-spring
jackson:
default-property-inclusion: non_null
data:
redis:
host: localhost
port: 6379
timeout: 200ms
connect-timeout: 200ms
management:
endpoints:
web:
exposure:
include: health,metrics,prometheus
endpoint:
health:
probes:
enabled: true
prometheus:
metrics:
export:
enabled: true
# Список систем-потребителей. Файла нет — работают настройки по умолчанию.
pdguard:
systems-file: config/systems.json
store:
backend: memory
max-chars: 134217728
ttl-minutes: 30
min-concurrent: 8
max-concurrent: 2000
target-latency-ms: 200
warmup-iterations: 2000
ner:
engine: off
model: models/rubert-ner
max-candidates: 16
pool-size: 16
llm:
url:
api-key:
model: gpt-4o-mini
timeout-seconds: 20