瀏覽代碼

修复国家信息安全漏洞共享平台披露的漏洞CNVD-2024-34975,避免/dataSetParam/verification;swagger-ui的RCE漏洞

Devli 11 月之前
父節點
當前提交
3e70a273f1
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      report-core/src/main/resources/bootstrap.yml

+ 3 - 0
report-core/src/main/resources/bootstrap.yml

@@ -72,6 +72,9 @@ spring:
         #  secret-key: secret-key
         #  bucket-name: AJ-Report
         #若minio和amazonS3都没有,使用服务器高可用的nfs共享盘
+    Security:
+      # jwt密钥,生产环境请自行修改,避免被远程伪造登录攻击
+      jwtSecret: TybmmfrgsIqpPsBOYxvygCMVJWKNfDJU
 
 mybatis-plus:
   configuration: