Skip to content

Commit 17252cd

Browse files
committed
docs: Add OWASP ASVS badge to README
1 parent 8be7345 commit 17252cd

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
[![Code Smells](https://sonarcloud.io/api/project_badges/measure?project=extenda_openapi-httpserver-java&metric=code_smells&token=c87f52089c6158081787f26e272d0a0e412c205b)](https://sonarcloud.io/dashboard?id=extenda_openapi-httpserver-java)
66
[![Duplicated Lines (%)](https://sonarcloud.io/api/project_badges/measure?project=extenda_openapi-httpserver-java&metric=duplicated_lines_density&token=c87f52089c6158081787f26e272d0a0e412c205b)](https://sonarcloud.io/dashboard?id=extenda_openapi-httpserver-java)
77
[![WorkFlow](https://github.com/extenda/openapi-httpserver-java/actions/workflows/commit.yaml/badge.svg)](https://github.com/extenda/openapi-httpserver-java/actions)
8+
[![OWASP ASVS](https://img.shields.io/badge/OWASP_ASVS_5.0-Level_2_V12-blueviolet)](docs/security/owasp-asvs.md)
89

910
A lightweight Java library that wraps the JDK's `com.sun.net.httpserver.HttpServer` and serves
1011
endpoints declared in an OpenAPI 3.1.x specification. Handlers are pure functions registered by

docs/superpowers/plans/2026-05-21-owasp-asvs.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ SKIP=commitlint git commit -m "ci: Wire ASVS gate workflow on PRs targeting mast
438438

439439
- Modify: `README.md` (insert a badge in the existing badge block at lines 3–7)
440440

441-
- [ ] **Step 1: Insert the badge**
441+
- [x] **Step 1: Insert the badge**
442442

443443
Open `README.md`. Find the existing badge block:
444444

@@ -458,23 +458,23 @@ Immediately after the `WorkFlow` badge line (line 7), insert one new line:
458458

459459
The badge block becomes six badges total. The link uses a relative path so it works on GitHub web, raw clones, and IDE preview.
460460

461-
- [ ] **Step 2: Verify the badge renders**
461+
- [x] **Step 2: Verify the badge renders**
462462

463463
```bash
464464
grep -n "OWASP_ASVS_5.0-Level_2_V12" README.md
465465
```
466466

467467
Expected: one match at line 8.
468468

469-
- [ ] **Step 3: Run pre-commit on the modified README**
469+
- [x] **Step 3: Run pre-commit on the modified README**
470470

471471
```bash
472472
pre-commit run --files README.md
473473
```
474474

475475
Expected: all hooks pass (editorconfig, trailing whitespace, end-of-file).
476476

477-
- [ ] **Step 4: Commit**
477+
- [x] **Step 4: Commit**
478478

479479
```bash
480480
git add README.md

0 commit comments

Comments
 (0)