docs(security): 공개 경로 스냅숏 검사의 설명을 넓어진 범위에 맞춘다
공개 경로 스냅숏은 이제 기본 공개 경로만이 아니라 profile 덮어쓰기와 운영 코드 filter chain의 `permitAll`·`securityMatcher` 문장까지 고정한다 (`docs/security/public-paths-snapshot.txt`). 그런데 그 검사를 설명하는 세 곳은 아직 「기본 공개 경로」만 본다고 적는다. - gates.md 2절 `verifyPublicPathSnapshot` 행 - 루트 build.gradle `verifyPublicPathSnapshot` 태스크 description - app-bootstrap build.gradle `publicPathSnapshotTest` 레인 description 세 곳 모두 지금 범위(기본값, profile 덮어쓰기, filter chain 문장)로 고친다. 동작 변경 없음. 검증: scripts/verify.sh docs(노트북) rc=0. 이 문구를 고정하는 시험은 없다 (git grep 'shipped public path default' -- '*.java': 0건). Refs: round9 확인 리뷰(r9-be가 넘긴 Low, 공개 경로 범위 확장 뒤)
This commit is contained in:
+1
-1
@@ -275,7 +275,7 @@ strictLaneStages {
|
||||
// `-PapprovePublicPathChange` rewrites the baseline after review.
|
||||
tasks.register('verifyPublicPathSnapshot') {
|
||||
group = 'verification'
|
||||
description = 'Fails when the shipped public path default drifts from docs/security/public-paths-snapshot.txt.'
|
||||
description = 'Fails when the public path surface (default, profile overrides, filter-chain permitAll and securityMatcher statements) drifts from docs/security/public-paths-snapshot.txt.'
|
||||
dependsOn ':app-bootstrap:publicPathSnapshotTest'
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ workflow에만 있는 job: `pr.yml` `done`의 마지막 step과 `main.yml`의 `v
|
||||
| `performanceCheck` | 선언된 performance lane 전체(부하·종료·풀·자원 한계, 실 서버와 컨테이너). 상한을 매번 단언한다. 손으로 돌리든 workflow든 같은 상한이다 | nightly(다른 무거운 job 뒤: 파일 맨 끝 job이고 runner 하나가 job을 만든 순서대로 돈다. `needs`는 쓰지 않는다 — Gitea 1.27이 `needs`와 `if`를 함께 가진 job을 Blocked에 둔다) | `main.yml` `performance`. 5절 |
|
||||
| `releaseCheck` | 릴리스 provenance + 공개 경로 스냅숏. 커밋을 `GITHUB_SHA`·`GIT_SHA`·`-PgitRevision=<sha>`로 받고, 없으면 설계대로 실패한다 | 태그 | `release.yml` `release` |
|
||||
| `:app-bootstrap:verifyEnvKeys` | env 키 레지스트리와 profile YAML·`.env.example` | `mainCheck` 안(`configContractCheck`) | build-logic `ca.config-contract` |
|
||||
| `verifyPublicPathSnapshot` | 기본 공개 경로가 `docs/security/public-paths-snapshot.txt`와 같은가 | `mainCheck`·`releaseCheck` 안 | `build.gradle` |
|
||||
| `verifyPublicPathSnapshot` | 공개 경로 표면(기본값, profile 덮어쓰기, 운영 코드 filter chain의 `permitAll`·`securityMatcher` 문장)이 `docs/security/public-paths-snapshot.txt`와 같은가 | `mainCheck`·`releaseCheck` 안 | `build.gradle` |
|
||||
| `verifyDependencyLocks` | lockfile | PR(`prCheck` 안) | `build.gradle` |
|
||||
| `:app-bootstrap:documentContractTest` | 문서와 코드를 대조하는 lane(태그 `document-contract`) | main(`mainCheck` 안) | `src/bootstrap/app/build.gradle` |
|
||||
| `:app-bootstrap:repositoryContractTest` | 빌드 스크립트·workflow·compose를 읽는 계약(태그 `repository-contract`) | PR | `src/bootstrap/app/build.gradle` |
|
||||
|
||||
@@ -452,7 +452,7 @@ springBoot {
|
||||
strictTestLanes {
|
||||
lane('publicPathSnapshotTest') {
|
||||
tag = 'public-path-snapshot'
|
||||
description = 'Compares the shipped public path default with the reviewed baseline.'
|
||||
description = 'Compares the public path surface (default, profile overrides, filter-chain permit statements) with the reviewed baseline.'
|
||||
rejectSkipped = true
|
||||
mainStage()
|
||||
systemProperty 'publicpath.snapshot.write', project.hasProperty('approvePublicPathChange') ? 'true' : 'false'
|
||||
|
||||
Reference in New Issue
Block a user