Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
build:
image: maven:3.6-jdk-8-slim
stage: build
script:
- mvn package -Dmaven.repo.local=./.m2/repository
artifacts:
paths:
- .m2/
- target/

include:
- template: Auto-DevOps.gitlab-ci.yml

dependency_scanning:
variables:
DS_JAVA_VERSION: 8

spotbugs-sast:
dependencies:
- build
variables:
MAVEN_REPO_PATH: $CI_PROJECT_DIR/.m2/repository
COMPILE: "false"
artifacts:
reports:
sast: gl-sast-report.json
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,11 @@ joychou/joychou123

Tomcat's default JSESSION session is valid for 30 minutes, so a 30-minute non-operational session will expire. In order to solve this problem, the rememberMe function is introduced, and the default expiration time is 2 weeks.

## Vulnerability Scanning Tools

1. JiHu GitLab Ultimate: [SaaS Demo](https://jihulab.com/ultimate-plan/demo/java-sec-code/-/merge_requests/1)

![JiHu GitLab merge request security widget](https://user-images.githubusercontent.com/4971414/191453036-db0c8d29-1e8e-438a-8527-e70f259eb80d.png)

## Contributors

Expand Down
5 changes: 5 additions & 0 deletions README_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,11 @@ joychou/joychou123

Tomcat默认JSESSION会话有效时间为30分钟,所以30分钟不操作会话将过期。为了解决这一问题,引入rememberMe功能,默认过期时间为2周。

## 漏洞扫描工具

1. 极狐 GitLab 旗舰版:[SaaS Demo](https://jihulab.com/ultimate-plan/demo/java-sec-code/-/merge_requests/1)

![极狐 GitLab 合并请求显示漏洞结果](https://user-images.githubusercontent.com/4971414/191448861-e3263b67-dc46-443b-8be2-ede41f7d8a0a.png)

## 贡献者

Expand Down