diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 5de1bea9a..40cdbb037 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,9 +1,17 @@ version: 2 updates: + # Cooldowns do not delay Dependabot security updates. - package-ecosystem: "uv" directory: "/" schedule: interval: "weekly" + groups: + uv-minor-and-patch: + update-types: + - "minor" + - "patch" + cooldown: + default-days: 3 commit-message: prefix: "chore(deps)" @@ -11,6 +19,8 @@ updates: directory: "/website" schedule: interval: "weekly" + cooldown: + default-days: 3 commit-message: prefix: "chore(deps)" @@ -18,14 +28,23 @@ updates: directory: "/" schedule: interval: "weekly" + groups: + github-actions-minor-and-patch: + update-types: + - "minor" + - "patch" + cooldown: + default-days: 3 commit-message: prefix: "chore(deps)" - # npm updates require running `npm --prefix ui run build` and committing built assets (checked by CI drift job) + # npm updates require rebuilding the committed UI with `npm --prefix ui run build` as described in docs/development/ci.md (Dependency updates); CI checks for drift - package-ecosystem: "npm" directory: "/ui" schedule: interval: "weekly" + cooldown: + default-days: 3 open-pull-requests-limit: 2 groups: ui-dependencies: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dc409bd5f..ff589f8a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -284,7 +284,7 @@ jobs: - run: uv run --no-sync ruff format --check - run: uv run --no-sync pyright - run: uvx --from actionlint-py==1.7.12.25 actionlint - - run: uvx zizmor@1.32.0 --offline --min-severity medium .github/workflows + - run: uvx zizmor@1.32.0 --offline --min-severity low .github/workflows # Dogfood: the example's fixed route must pass `pytest --sharpit`, its planted N+1 must fail it. - run: uv run --no-sync python -c "import os, sys; os.makedirs(sys.argv[1], exist_ok=True)" "${{ runner.temp }}/speed" # the speed plugins write here - run: uv run --no-sync python -m pytest examples/fastapi_sqla/tests_gate -k fixed --sharpit --sharpit-junit=sharpit-junit.xml -p scripts.pytest_speed.fixture_timer --fixture-times="${{ runner.temp }}/speed/ft-fixed.jsonl" -p scripts.pytest_speed.rebuild_log --rebuild-log="${{ runner.temp }}/speed/rb-fixed.json" --junitxml="${{ runner.temp }}/junit-fixed.xml" diff --git a/.github/workflows/security-audit.yml b/.github/workflows/security-audit.yml new file mode 100644 index 000000000..da623e251 --- /dev/null +++ b/.github/workflows/security-audit.yml @@ -0,0 +1,54 @@ +name: security-audit +on: + schedule: + - cron: "17 5 * * 2" + workflow_dispatch: + pull_request: + paths: + - uv.lock + - ui/package-lock.json + - website/requirements.txt + +permissions: {} + +jobs: + dependencies: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 + - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 + with: + node-version: 24 + - name: Export and audit locked Python dependencies + run: | + uv export --frozen --all-extras --all-groups --no-emit-project -o /tmp/sharpit-requirements.txt + uvx --from pip-audit==2.10.1 pip-audit -r /tmp/sharpit-requirements.txt --no-deps --disable-pip + uvx --from pip-audit==2.10.1 pip-audit -r website/requirements.txt --no-deps --disable-pip + - name: Audit locked npm dependencies + working-directory: ui + run: npm audit --audit-level=high + + zizmor: + runs-on: ubuntu-latest + if: github.event_name != 'pull_request' + permissions: + contents: read + security-events: write + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false + - uses: astral-sh/setup-uv@1db35dd8eee11c5894872e0b383ae6c406cf738d # v10.4.0 + - name: Audit workflows with zizmor + run: uvx zizmor@1.32.0 --format sarif .github/workflows > zizmor.sarif || true # Findings produce SARIF and a non-zero status. + env: + GH_TOKEN: ${{ github.token }} + - uses: github/codeql-action/upload-sarif@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 + with: + sarif_file: zizmor.sarif + category: zizmor diff --git a/AGENTS.md b/AGENTS.md index 1d85a4ca6..1c71803f0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -166,7 +166,7 @@ to loosen. Change a rule only in that test and here, in the same PR, with the re - **Port BootUI, do not reinvent** (owner, 2026-11-12: "whatever we can directly port from BootUI we should; we don't need to recreate anything, just rewrite and adapt"). Before writing any code for a feature, read BootUI's own source for it at the pinned tag, in a BootUI clone, not this repo (`git -C show v2.3.0:` for 0.6.0; - `v2.4.0` for 0.7.0; `v2.5.0` for 0.8.0), and translate it: same structure, order of checks, thresholds, user-facing texts (env names + `v2.4.0` for 0.7.0; `v2.5.0` for 0.8.0 to 0.10.0; `v2.6.0` for 0.11.0), and translate it: same structure, order of checks, thresholds, user-facing texts (env names adapted) and tests (`# ported:`). Adapt only where Python/FastAPI/SQLAlchemy forces it or an owner ruling differs; each adaptation is one deviation row, with its reason, in the lane's matrix fragment (`docs/reference/matrix-updates/.tsv`). Never design from a summary of BootUI: read the lines. The safety model diff --git a/SECURITY.md b/SECURITY.md index ba4bd6fb0..329ac78ab 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -15,8 +15,7 @@ Security updates are provided only for the latest release on PyPI: Please report suspected security vulnerabilities privately. **Do not post vulnerability details in public issues or discussions.** -- Once enabled on the repository, report privately via GitHub's "Report a vulnerability" button under the **Security** tab. -- Until private vulnerability reporting is enabled, please open a GitHub issue titled `"Security contact request"` containing **NO details**, and the maintainer will reply with a private channel to share details securely. +- Report privately using GitHub's "Report a vulnerability" button under the **Security** tab. The maintainer acknowledges reports within 7 days. ## Network Egress and Trust Boundaries @@ -34,6 +33,7 @@ sharpit enforces strict safety invariants: - Whole scans have a 60-second default deadline (`SHARPIT_VULNERABILITIES_SCAN_TIMEOUT`); each network request is capped by the remaining scan time. - **Fails closed**: If network requests to OSV or EPSS fail or time out, the scan reports the failure gracefully without compromising security or crashing the host application. - **Client address**: The trusted-source decision rests on the ASGI client address and the request's forwarding and client-address headers; the ASGI client address must be the real peer. +- **Cross-site requests**: An `Origin` header must be a serialized `http` or `https` origin (`scheme://host[:port]`, no path, trailing slash, query, fragment or userinfo, no surrounding whitespace, port at most 65535), and its host must be the request's `Host`; an unreadable, empty or `null` origin is refused on every method. On an API path the origin must equal the request's own scheme, host and port. A write that carries `Sec-Fetch-Site` must send `same-origin` or `none`; `same-site`, `cross-site`, an empty value and any unknown value are refused. Every refusal is a 403 with the cross-site message, and a request whose own origin cannot be formed never passes the API-path comparison. ### Request input reaching commands and file paths diff --git a/docs/decisions/004-dependency-audit-tooling.md b/docs/decisions/004-dependency-audit-tooling.md new file mode 100644 index 000000000..0877cf429 --- /dev/null +++ b/docs/decisions/004-dependency-audit-tooling.md @@ -0,0 +1,24 @@ +# Dependency audit tooling + +## Status + +Implemented in the weekly security audit workflow and on pull requests that change a dependency lock or the website requirements. + +## Decision + +OWASP Dependency-Check is not adopted for dependency auditing. Its [file type analyzer list](https://dependency-check.github.io/DependencyCheck/analyzers/index.html) does not include `uv.lock`. Its Python-related analyzers are “Pip”, which scans `requirements.txt` files, and “Python”, which scans Python source files and package metadata. Both appear under Experimental Analyzers; the documentation says these analyzers are experimental because of higher false positive and false negative rates. + +Python dependency coverage comes from `pip-audit` over a requirements file exported from `uv.lock`, plus `website/requirements.txt`. npm dependency coverage comes from `npm audit` on `ui/package-lock.json`. CodeQL uses the `extended` query suite for code analysis, and zizmor audits GitHub Actions workflows. + +## Rationale + +Dependency-Check cannot directly consume the project’s Python lock file, and its documented Python analyzer only recognizes requirements files and package metadata. Exporting the frozen uv lock gives `pip-audit` the resolved dependency set without asking it to resolve dependencies. npm’s own audit command consumes the committed lock file directly. CodeQL and zizmor cover source-code and workflow risks outside package advisory matching. + +## Consequences + +The Python audit workflow must keep its export flags aligned with the project’s locked extras and groups and must use `pip-audit` without dependency resolution. The website requirements file is audited separately. npm audit reports high and critical findings as failures. Dependency-Check remains unconfigured; its experimental Python analyzers are not treated as lock-file coverage. + +## Enforced by + +- `.github/workflows/security-audit.yml` audits the frozen Python export, the website requirements, the npm lock, and the workflow files. +- `tests/test_ci_layout.py` pins the dependency audit triggers and commands; `src/sharpit/cli/docs_catalog.py` includes this decision in the bundled documentation catalog. diff --git a/docs/decisions/README.md b/docs/decisions/README.md index 22123f4a1..1ddb24ada 100644 --- a/docs/decisions/README.md +++ b/docs/decisions/README.md @@ -6,3 +6,4 @@ Each record states the decision, its status, and the code or tests that enforce - [Baseline entry owner](baseline-owner.md) explains when a baselined test-runtime finding is reported fixed or inconclusive. - [WSGI request target validation](wsgi-request-target.md) describes how the WSGI adapter checks the original request target and Host header. - [Request values in memory](003-request-values-in-memory.md) records the bounded, request-lifetime matching used by the security-sinks sensor. +- [Dependency audit tooling](004-dependency-audit-tooling.md) records the decision not to adopt OWASP Dependency-Check and the package and workflow audit coverage. diff --git a/docs/development/ci.md b/docs/development/ci.md index 8554a274a..2f2375cb1 100644 --- a/docs/development/ci.md +++ b/docs/development/ci.md @@ -80,6 +80,23 @@ full matrix runs on every merge before anything ships. of that branch, which refreshes the base analysis the PR scans compare against (a stale one made each PR's Python sensor re-parse ~848 files). Every push is its own concurrency group (`run_id`), so none cancels another. +## Dependency updates + +At the start of each release wave, list open Dependabot pull requests with `gh pr list --author "app/dependabot"`. +Land them one at a time. Main protection requires an up-to-date branch and auto-merge is off: merge `origin/main` into +the Dependabot branch, push it, wait for CI, then merge the pull request. + +Complete per-bump fixes before merging: + +- A SonarSource scan-action bump also updates the scanner cache key + `sonar-${{ runner.os }}-vX.Y.Z` in `.github/workflows/ci.yml`. The key is pinned by + `test_the_sonar_scanner_cache_is_keyed_and_pinned`. +- An npm bump rebuilds `src/sharpit/ui/static` with `cd ui && npm ci --ignore-scripts && npm run build`, then commits the + built assets. + +A maintainer commit on a Dependabot branch is signed off. A failed DCO check is fixed with a signed remediation commit, +never a force-push. When every Dependabot pull request fails the same shards, check `main` first. + ## CodeQL on release pull requests The classic branch protection rule for `release/*` enables CodeQL default setup on pull requests into version diff --git a/docs/reference/BOOTUI-2.6.0-DELTA.md b/docs/reference/BOOTUI-2.6.0-DELTA.md new file mode 100644 index 000000000..440d5d536 --- /dev/null +++ b/docs/reference/BOOTUI-2.6.0-DELTA.md @@ -0,0 +1,38 @@ +# BootUI 2.6.0 static fixture delta + +The static capture uses BootUI tag `v2.6.0` at commit `6efc78d31c08baae0fca7d33b00d464e9970bed6`, released on 2026-11-27. The fixtures are generated with `scripts/capture_bootui.py --version 2.6.0` from the BootUI source tree. + +## Captured fixture changes + +| Fixture | BootUI 2.5.0 | BootUI 2.6.0 | Source or reason | +|---|---:|---:|---| +| Panels | 65 | 65 | `BootUiPanels.java`; the panel catalogue is unchanged. | +| Tools | 116 | 116 | `bootui-cli/src/main/resources/bootui-tools.json`; names, input schemas and action flags are unchanged. Several descriptions changed; the remaining sharpit gaps are recorded in `tests/parity/tools_status.json`. | +| Route contracts | 85 reads, 78 actions, 269 starter mappings | 85 reads, 78 actions, 269 starter mappings | `BootUiApiContractCatalog.java`; route counts are unchanged. The GitHub report contract adds `repositoryContext` as an object. This response-key addition is read from `BootUiApiContractCatalog.java` at v2.6.0 because the route capture does not record response keys; the gap is recorded in `tests/parity/routes_status.json`. | +| Properties | 212 | 219 | `BootUiProperties.java` and generated configuration metadata; adds seven activity persistence and memory scan properties listed below. Four existing descriptions also change: `bootui.activity.persistence.instance-id` is now described as a legacy Live Activity partition key, alongside changes to `bootui.activity.persistence.table-name`, `bootui.github.max-api-calls`, and `bootui.github.max-security-alerts`. | +| Rule identifiers | 688 | 692 | The captured union adds `HIB-FETCH-010`, `HIB-QUERY-010`, `SEC-AUTHZ-006`, and `SPRING-WIRING-012`; no identifiers are removed. `rule-ids-diff.json` records 0 documentation-only and 32 Java-only identifiers. | +| Test inventory | 1,144 classes, 11,204 methods | 1,206 classes, 12,210 methods | Captured from the tagged Java test sources. | + +The new properties are `bootui.activity.persistence.application-id`, `bootui.activity.persistence.hot-max-entries`, `bootui.activity.persistence.max-pending-bytes`, `bootui.activity.persistence.max-pending-entries`, `bootui.activity.persistence.namespace-id`, `bootui.activity.persistence.reader-archive-cross-namespace`, and `bootui.memory.include-histogram`. The persistence settings relate to durable activity history; the histogram setting controls JVM memory scanning. + +The `GET /github` report gains the `repositoryContext` object, which carries the selected remote and sanitized origin/upstream repository identities. This addition is read from `BootUiApiContractCatalog.java` at v2.6.0 because the route capture does not record response keys; the gap is recorded in `tests/parity/routes_status.json`. Sharpit adds it in Task 1.8 of the 0.11.0 plan (`docs/superpowers/plans/2026-12-05-sharpit-0.11.0/PLAN.md`). `POST /github/refresh` remains the action route. The captured route inventory and starter mapping count do not change. + +## JSON specifications + +| BootUI source file | v2.5.0 to v2.6.0 change | Sharpit disposition | +|---|---|---| +| `bootui-cli/src/main/resources/bootui-tools.json` | 116 tools; names, input schemas and action flags are unchanged. Descriptions change for `get_live_activity` (including `queryHelp`), `memory_scan`, and `get_spring_data_repositories`. The latter tool's summary changes as well. | `get_live_activity` retains sharpit's wording until Task 3.13 of the 0.11.0 plan (`docs/superpowers/plans/2026-12-05-sharpit-0.11.0/PLAN.md`) adds durable history. The `memory_scan` and `get_spring_data_repositories` rows have status `missing`; each reason classifies the tool as not applicable in `tests/parity/tools_status.json`. | +| `.github/actions/bootui/default-policy.json`; `examples/ci/bootui-policy.json` | Both retain `schemaVersion: 1`; no diff. | No change required. | +| `plugins/bootui/plugin.json` | The version changes from `2.5.0` to `2.6.0`; other fields are unchanged. | Version metadata only. | +| `plugins/bootui/mcp.json`; `plugins/bootui/.claude-plugin/plugin.json` | No diff. | No change required. | +| `bootui-conformance/src/main/resources/io/github/jdubois/bootui/conformance/expected-panels-*.json`; `bootui-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json` | No diff. | No change required. | +| `bootui-conformance/src/main/java/io/github/jdubois/bootui/conformance/BootUiApiContractCatalog.java` | The GitHub report response contract adds `repositoryContext: OBJECT`. | Read from `BootUiApiContractCatalog.java` at v2.6.0 because the route capture does not record response keys; the gap is recorded in `tests/parity/routes_status.json`. Sharpit adds the field in Task 1.8. | + +The JSON comparison confirms the planned changes with one additional detail: `get_spring_data_repositories` changes both its summary and description. No names, schemas, action flags, policy schemas, MCP configuration, plugin integration metadata, panel lists, or additional Spring configuration metadata change. + +## Status changes + +The tools, properties and routes parity tests now use the 2.6.0 fixtures. Seven new property rows are classified as missing in `tests/parity/properties_status.json`; their `reason` fields identify the task that will address or classify each gap. Six activity persistence rows are tracked by Task 3.13; the JVM-only memory histogram property is classified as n-a by Task 2.13 of the 0.11.0 plan (`docs/superpowers/plans/2026-12-05-sharpit-0.11.0/PLAN.md`). Three tool-description rows are recorded in `tests/parity/tools_status.json`: `get_live_activity` remains partial until Task 3.13, while `memory_scan` and `get_spring_data_repositories` have status `missing`; each reason classifies the tool as not applicable under Task 0.1 of the 0.11.0 plan (`docs/superpowers/plans/2026-12-05-sharpit-0.11.0/PLAN.md`). + +The existing fixture inventory test remains pinned to its explicit version set because its version-specific count assertions do not cover the 2.6.0 inventory. + diff --git a/docs/reference/BOOTUI-CONTRACT-MVP.md b/docs/reference/BOOTUI-CONTRACT-MVP.md index 775812deb..7427c7744 100644 --- a/docs/reference/BOOTUI-CONTRACT-MVP.md +++ b/docs/reference/BOOTUI-CONTRACT-MVP.md @@ -632,9 +632,11 @@ McpToolInfo { name: str, description: str, panel: str, action: bool, panelEnable - the auto-detected container gateway, when `trust-container-gateway` is `AUTO` and running in a container, or when it is `ON` - Otherwise: 403 `"BootUI is restricted to loopback requests. Set bootui.allow-non-localhost=true to override, add a trusted source range to bootui.trusted-proxies, or (when running in a container) set bootui.trust-container-gateway=AUTO to trust the auto-detected container gateway."` - **Host check** (always on, against DNS rebinding). If a `Host` header is present, its parsed host must be in {`localhost`, `127.0.0.1`, `::1`, `0:0:0:0:0:0:0:1`} or `bootui.allowed-hosts`. An unparseable Host is rejected. Message: `"BootUI rejected an unrecognized Host header. Add it to bootui.allowed-hosts to allow this hostname."` - - **Cross-site write check** (always on). For methods other than GET, HEAD and OPTIONS, either of these gives a 403 `"BootUI rejected a cross-site request to a state-changing endpoint."`: - - `Sec-Fetch-Site: cross-site` - - an `Origin` whose host differs from the `Host` header (`Origin: null` counts as a mismatch) + - **Cross-site write check** (always on). For methods other than GET, HEAD and OPTIONS, any of these gives a 403 `"BootUI rejected a cross-site request to a state-changing endpoint."` (BootUI 2.6.0, `LocalhostGuard.isCrossSiteWrite`): + - a `Sec-Fetch-Site` other than `same-origin` or `none`, compared case-insensitively (`same-site`, `cross-site`, an empty value and an unknown value are refused) + - a present `Origin` that is not a serialized `http` or `https` origin, or whose host differs from the `Host` header. A serialized origin is `scheme://host[:port]`: a path (a trailing slash included), query, fragment or userinfo, a trailing colon, a port above 65535 and the opaque `null` origin all make it unreadable. An empty `Origin` is present, not absent. + - with `Sec-Fetch-Site: same-origin` the check ends there, so a development proxy may change the upstream port; without it the origin's scheme and effective port (80 for `http`, 443 for `https` when omitted) must equal the request's own. + - sharpit applies the `Origin` and `Sec-Fetch-Site: cross-site` checks to every method, applies the `Sec-Fetch-Site` allow-list to writes only (a same-site navigation GET still loads the shell), and on an API path always requires the request's own scheme, host and port, whatever `Sec-Fetch-Site` says (`docs/reference/matrix-updates/0.11.0-guard.tsv`). - Reject body: `{"error":""}`. 3. `ApiAuthenticationFilter` (API paths only, always registered): - A trusted source (passed the loopback/proxy/gateway test) needs **no token**. diff --git a/docs/reference/matrix-updates/0.11.0-guard.tsv b/docs/reference/matrix-updates/0.11.0-guard.tsv new file mode 100644 index 000000000..969e7e220 --- /dev/null +++ b/docs/reference/matrix-updates/0.11.0-guard.tsv @@ -0,0 +1,5 @@ +guard.cross-site.sec-fetch-site adapted BootUI 2.6.0 checks the cross-site rules on unsafe methods only. sharpit keeps its every-method scope for Origin and Sec-Fetch-Site: cross-site, applies the allow-list (same-origin, none; case-insensitive, ASCII only) to unsafe methods only so a same-site navigation GET still loads the shell, and refuses a present but empty Origin as cross-site on every method +guard.cross-site.api-path-origin adapted On an API path a present Origin must equal the request's own scheme, host and effective port even when Sec-Fetch-Site is same-origin, where BootUI accepts the same-origin assertion across ports; the shell and assets keep BootUI's rule (spec section 14, row 35, unchanged). A request whose own origin cannot be formed (no usable Host) stays cross-site where that comparison applies +guard.raw-host n-a BootUI rawHostAvailable guards Spring forwarded-host metadata that the servlet container may hide; the ASGI adapters read only the Host header, so there is no second source to fail closed on +guard.origin.port-digits adapted A port of more than five digits or above 65535 makes an Origin, or the request's own Host used in the full-origin comparison, unreadable before int() is called (a long digit run raises ValueError in Python 3.12+); the request is cross-site. A value such as http://localhost:0000080, which java.net.URI reads as port 80, is therefore refused (stricter). The Host allow-list does not refuse an oversized port, as BootUI's isPortSuffix does not +guard.origin.host-charset adapted java.net.URI reads an Origin host containing an underscore or tilde (http://my_host:8080) as a registry-based authority with no host, so BootUI refuses it; sharpit reads the host with the same character set as the Host header, which accepts those characters, so such an origin is compared with the Host header instead. The host must still be localhost, a loopback address or an allowed host for the request to reach the comparison diff --git a/pyproject.toml b/pyproject.toml index 17a083e7f..eacbe1cc6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -140,7 +140,9 @@ src = ["src", "tests"] extend-exclude = ["scripts/pytest_speed"] # vendored verbatim; its VERSION hash catches local edits [tool.ruff.lint] -select = ["E", "F", "I", "UP", "B", "S", "SIM", "PERF", "C4", "FURB", "PT018"] # PERF/C4/FURB: performance; PT018: one condition per assert +select = ["E", "F", "I", "UP", "B", "S", "SIM", "PERF", "C4", "FURB", "PT018", "PGH", "RUF100"] # PERF/C4/FURB: performance; PT018: one condition per assert; PGH/RUF100: no blanket or stale suppressions + +external = ["BLE", "SLF", "PLC", "PLW", "PLR", "RUF012", "A002", "TRY", "PTH", "N8", "C901"] [tool.ruff.lint.per-file-ignores] # S (security) guards what ships. Tests assert and use fake secrets by design; scripts and examples are not shipped. diff --git a/scripts/capture_bootui.py b/scripts/capture_bootui.py index 76f057fbd..86a8f9371 100644 --- a/scripts/capture_bootui.py +++ b/scripts/capture_bootui.py @@ -1103,6 +1103,7 @@ def capture( "2.3.0": ("v2.3.0", "7c89042c6a0a47e1cb22d2df7412d2177d7416d1", "2026-11-10"), "2.4.0": ("v2.4.0", "0df7ed764688d04f83c246c9965e90158c1db488", "2026-11-18"), "2.5.0": ("v2.5.0", "c4458db8dd18c08074119f22a79dda3e714abbda", "2026-11-20"), + "2.6.0": ("v2.6.0", "6efc78d31c08baae0fca7d33b00d464e9970bed6", "2026-11-27"), } diff --git a/scripts/ci/check_live_tests.py b/scripts/ci/check_live_tests.py index 5cc303f8c..2928a1f5f 100644 --- a/scripts/ci/check_live_tests.py +++ b/scripts/ci/check_live_tests.py @@ -12,7 +12,7 @@ import argparse import re import sys -import xml.etree.ElementTree as ET # noqa: S405 - the report is pytest's own output, written in this job +import xml.etree.ElementTree as ET # the report is pytest's own output, written in this job from collections.abc import Sequence from pathlib import Path @@ -20,13 +20,8 @@ ORACLE_LEG = re.compile(r"test_oracle_row\[(\w+)-(\w+)-\d+\]$") -def check(report: Path, required: Sequence[str], legs: Sequence[str] = ()) -> list[str]: # noqa: C901 - one linear sequence of report checks - try: - root = ET.parse(report).getroot() # noqa: S314 - as above - except (ET.ParseError, OSError) as error: - return [f"Cannot read test report {report.name}: {type(error).__name__}"] +def _suite_failures(suites: Sequence[ET.Element]) -> list[str]: # one linear sequence of report checks failures: list[str] = [] - suites = [root] if root.tag == "testsuite" else list(root.iter("testsuite")) for suite in suites: try: counts = {key: int(suite.get(key, "0")) for key in ("tests", "failures", "errors", "skipped")} @@ -37,7 +32,11 @@ def check(report: Path, required: Sequence[str], legs: Sequence[str] = ()) -> li failures.append("inconsistent test counters") elif any(counts[key] for key in ("failures", "errors", "skipped")): failures.append("the suite counters report a failure, error or skip") - cases = [case for suite in suites for case in suite.iter("testcase")] + return failures + + +def _required_test_failures(cases: Sequence[ET.Element], required: Sequence[str]) -> list[str]: + failures: list[str] = [] for spec in required: name, _, wanted = spec.partition("=") mine = [case for case in cases if case.get("name", "").split("[", 1)[0] == name] @@ -47,7 +46,12 @@ def check(report: Path, required: Sequence[str], legs: Sequence[str] = ()) -> li failures.append(f"{name}: expected {wanted} cases, found {len(mine)}") elif any(case.find(state) is not None for case in mine for state in STATES): failures.append(f"{name}: every required live test must pass without skips") + return failures + + +def _oracle_leg_failures(cases: Sequence[ET.Element], legs: Sequence[str]) -> list[str]: rows = [case for case in cases if ORACLE_LEG.fullmatch(case.get("name", ""))] + failures: list[str] = [] for spec in legs: name, _, wanted = spec.partition("=") mine = [ @@ -66,6 +70,16 @@ def check(report: Path, required: Sequence[str], legs: Sequence[str] = ()) -> li return failures +def check(report: Path, required: Sequence[str], legs: Sequence[str] = ()) -> list[str]: + try: + root = ET.parse(report).getroot() # as above + except (ET.ParseError, OSError) as error: + return [f"Cannot read test report {report.name}: {type(error).__name__}"] + suites = [root] if root.tag == "testsuite" else list(root.iter("testsuite")) + cases = [case for suite in suites for case in suite.iter("testcase")] + return _suite_failures(suites) + _required_test_failures(cases, required) + _oracle_leg_failures(cases, legs) + + def main(argv: Sequence[str] | None = None) -> int: parser = argparse.ArgumentParser(description=__doc__) parser.add_argument("report", type=Path) diff --git a/scripts/ci/dco_check.py b/scripts/ci/dco_check.py index 7a2f12d27..0c93380b6 100644 --- a/scripts/ci/dco_check.py +++ b/scripts/ci/dco_check.py @@ -64,7 +64,7 @@ def _remediated(commits: list[dict[str, Any]]) -> list[tuple[str, str, str]]: for line in commit["commit"]["message"].splitlines(): m = REMEDIATION.fullmatch(line.rstrip()) if m and _same_person(commit, m["name"], m["email"]): - found.append((m["name"], m["email"], m["sha"])) # noqa: PERF401 + found.append((m["name"], m["email"], m["sha"])) return found diff --git a/scripts/ci/timing_files.py b/scripts/ci/timing_files.py index 13227555f..0b5857b47 100644 --- a/scripts/ci/timing_files.py +++ b/scripts/ci/timing_files.py @@ -10,7 +10,7 @@ from pathlib import Path sys.path.insert(0, str(Path(__file__).resolve().parents[2] / "tests")) -from _shard import timing_files # noqa: E402 - tests/ is no package; the planner is the single source +from _shard import timing_files # tests/ is no package; the planner is the single source def main(out: Path) -> None: diff --git a/scripts/dev/live_fuzz.py b/scripts/dev/live_fuzz.py index 25c258135..9c7a6f453 100644 --- a/scripts/dev/live_fuzz.py +++ b/scripts/dev/live_fuzz.py @@ -111,7 +111,7 @@ def run(text: str) -> str: try: if text.startswith((ROUTINE, "CREATE FUNCTION")): # a JavaScript body is a string: its definition where = "FROM information_schema.routines WHERE routine_schema = DATABASE() AND routine_name = %s" - cursor.execute(f"SELECT routine_definition {where}", (name,)) # noqa: S608 - a constant + cursor.execute(f"SELECT routine_definition {where}", (name,)) # a constant else: # a SQL body's definition is its source, names included: what it returns is the value cursor.execute(f"CALL {name}()") return repr(cursor.fetchall()) @@ -130,7 +130,7 @@ def server_runner(key: str, session: str) -> Iterator[tuple[str, Run]]: db.close() return import sqlalchemy as sa # noqa: PLC0415 - the live profile's stack, not needed for sqlite - from tests.live.conftest import _boot # noqa: PLC0415 # pyright: ignore[reportPrivateUsage] + from tests.live.conftest import _boot # pyright: ignore[reportPrivateUsage] with _boot(key) as server: engine = sa.create_engine(server.url) @@ -194,7 +194,7 @@ def _twin_holds( swapped = text[: found.start()] + twin + text[found.end() :] try: rows = run(swapped) - except Exception: # noqa: BLE001, S112 - a refused twin proves nothing either way + except Exception: # a refused twin proves nothing either way continue out = read(swapped) in_name = names_quoted and re.search(rf'"[^"]*{twin}[^"]*"', out) @@ -215,7 +215,7 @@ def fuzz(key: str, session: str, seed: int, count: int, out: Path) -> dict[str, for index, text in enumerate(strings(family, seed, count)): try: rows = run(text) - except Exception: # noqa: BLE001, S112 - the server refused it: no value came back + except Exception: # the server refused it: no value came back continue parsed += 1 for name, read in builds.items(): diff --git a/scripts/dev/masking_gate.py b/scripts/dev/masking_gate.py index 0700218ce..4a3f27f04 100644 --- a/scripts/dev/masking_gate.py +++ b/scripts/dev/masking_gate.py @@ -260,7 +260,7 @@ def start(label: str, src: Path, path: Path, out: Path, fields: tuple[str, ...]) str(out), ",".join(fields), ] - return subprocess.Popen(command, cwd=out.parent) # noqa: S603 # cwd: the temporary directory, never the repo + return subprocess.Popen(command, cwd=out.parent) # cwd: the temporary directory, never the repo def resolve(role: str, available: Iterable[str]) -> dict[str, str]: diff --git a/scripts/dev/profile_sql_listener.py b/scripts/dev/profile_sql_listener.py index 97e8d054f..63915b8e7 100644 --- a/scripts/dev/profile_sql_listener.py +++ b/scripts/dev/profile_sql_listener.py @@ -460,9 +460,7 @@ def run_component_timings(statements: int) -> list[tuple[str, float]]: " dispatch._journal_event(...)", _time_call( statements, - lambda: dispatch._journal_event( # noqa: SLF001 - ctx, recorder, sql_event, text, None, thread_name, site - ), + lambda: dispatch._journal_event(ctx, recorder, sql_event, text, None, thread_name, site), ), ), (" otel.current_trace_id()", _time_call(statements, otel.current_trace_id)), diff --git a/src/sharpit/__init__.py b/src/sharpit/__init__.py index 017ace7f2..a56da27d6 100644 --- a/src/sharpit/__init__.py +++ b/src/sharpit/__init__.py @@ -2,7 +2,7 @@ __version__ = "0.10.0" -from typing import TYPE_CHECKING # noqa: E402 # after __version__, the only version site +from typing import TYPE_CHECKING # after __version__, the only version site __all__ = ["__version__", "attach_sql_sources", "detach_sql_sources", "install", "record_security_event"] diff --git a/src/sharpit/cli/commands.py b/src/sharpit/cli/commands.py index 27363cd52..61223277a 100644 --- a/src/sharpit/cli/commands.py +++ b/src/sharpit/cli/commands.py @@ -720,7 +720,7 @@ def main(argv: Sequence[str] | None = None) -> int: os.dup2(devnull, sys.stdout.fileno()) finally: os.close(devnull) - except OSError: # noqa: SIM105 - preserve the non-success result if stdout cannot be redirected. + except OSError: # preserve the non-success result if stdout cannot be redirected. pass return ExitCodes.ERROR except KeyboardInterrupt: diff --git a/src/sharpit/cli/docs_catalog.py b/src/sharpit/cli/docs_catalog.py index 62c200e31..8d6f74538 100644 --- a/src/sharpit/cli/docs_catalog.py +++ b/src/sharpit/cli/docs_catalog.py @@ -42,6 +42,11 @@ "Request values in memory", "Bounded request-lifetime matching for command and file path sinks", ), + "decision-004-dependency-audit-tooling": ( + "docs/decisions/004-dependency-audit-tooling.md", + "Dependency audit tooling", + "Package and workflow audit coverage and the Dependency-Check decision", + ), } diff --git a/src/sharpit/engine/capture/journal.py b/src/sharpit/engine/capture/journal.py index d8253471e..4556a4e12 100644 --- a/src/sharpit/engine/capture/journal.py +++ b/src/sharpit/engine/capture/journal.py @@ -274,7 +274,7 @@ def __init__( self._accepting = True self._lock = threading.RLock() self._clearing = threading.Lock() # a clear walks what it dropped under this, never under the ring lock - self._owned = cast("Any", self._lock)._is_owned # noqa: SLF001 # whether THIS thread holds the lock + self._owned = cast("Any", self._lock)._is_owned # whether THIS thread holds the lock self._copying = _Copying() # set while this thread runs the host copy, which runs outside the lock def offer(self, event: Event) -> bool: diff --git a/src/sharpit/engine/capture/mail.py b/src/sharpit/engine/capture/mail.py index 4df24471a..62114b979 100644 --- a/src/sharpit/engine/capture/mail.py +++ b/src/sharpit/engine/capture/mail.py @@ -403,7 +403,7 @@ def _dispatch(sender: str, recipients: object, message: object, trapped: bool) - for recorder, parsed in captured: try: recorder.store(parsed, not held) - except Exception: # noqa: BLE001, S112 - storing never disturbs the application's mail + except Exception: # noqa: S112 - storing never disturbs the application's mail continue return held diff --git a/src/sharpit/engine/capture/sqltrace.py b/src/sharpit/engine/capture/sqltrace.py index f331710b5..9c55bfc71 100644 --- a/src/sharpit/engine/capture/sqltrace.py +++ b/src/sharpit/engine/capture/sqltrace.py @@ -97,10 +97,10 @@ def _starting_call_site_frame() -> FrameType | None: try: # The transaction path skips this helper, call_site, _begin, tx_begin/tx_savepoint, # SQLAlchemy's event dispatcher (__call__), and _begin_impl/_savepoint_impl. - return sys._getframe(6) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + return sys._getframe(6) # pyright: ignore[reportPrivateUsage] except ValueError: try: - return sys._getframe(2) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + return sys._getframe(2) # pyright: ignore[reportPrivateUsage] except ValueError: return None diff --git a/src/sharpit/engine/collectors/alembic.py b/src/sharpit/engine/collectors/alembic.py index 1814ad949..d518cd762 100644 --- a/src/sharpit/engine/collectors/alembic.py +++ b/src/sharpit/engine/collectors/alembic.py @@ -451,7 +451,7 @@ async def _read( return DatabaseRead(name, None, f"Reading the database version timed out after {timeout:g}s", checked) except sqla.ReadOnlyUnavailable as exc: return DatabaseRead(name, None, exc.reason, checked) - except Exception as exc: # noqa: BLE001 # a failed read is reported for that database, never raised + except Exception as exc: # a failed read is reported for that database, never raised dialect = dialect_of_name(getattr(getattr(engine, "dialect", None), "name", None)) or Dialect.UNSUPPORTED reason = error_text(ctx.masker, exc, dialect) or type(exc).__name__ return DatabaseRead(name, None, reason, checked) diff --git a/src/sharpit/engine/collectors/config/settings_source.py b/src/sharpit/engine/collectors/config/settings_source.py index 6347ab842..d64c7f8de 100644 --- a/src/sharpit/engine/collectors/config/settings_source.py +++ b/src/sharpit/engine/collectors/config/settings_source.py @@ -146,7 +146,7 @@ def emit(name: str, field: Any, value: object, found: list[Any]) -> None: ) for fname, field in cls.model_fields.items(): - key, env_name, _ = env_src._extract_field_info(field, fname)[0] # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + key, env_name, _ = env_src._extract_field_info(field, fname)[0] # pyright: ignore[reportPrivateUsage] found = [data.get(key, _MISSING) for _, data in sources] emit(env_name, field, getattr(instance, fname), found) return entries, [label for label, _ in sources] @@ -439,7 +439,7 @@ def _candidate_names(field: Any, fname: str, env_prefix: str, env_src: Any) -> s candidate_names.add(c) with contextlib.suppress(Exception): - for item in env_src._extract_field_info(field, fname): # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + for item in env_src._extract_field_info(field, fname): # pyright: ignore[reportPrivateUsage] if item[0]: candidate_names.add(item[0]) if item[1]: diff --git a/src/sharpit/engine/collectors/github/client.py b/src/sharpit/engine/collectors/github/client.py index ed05ddb58..40c7c48db 100644 --- a/src/sharpit/engine/collectors/github/client.py +++ b/src/sharpit/engine/collectors/github/client.py @@ -202,7 +202,7 @@ def refresh(self, repo: Repository) -> dict[str, Any]: return _Refresh(self, repo, token, deadline).run(refreshed_at) except _Failed: return self.error(repo, refreshed_at, token, NETWORK_FAILED) - except Exception: # noqa: BLE001 # safety net: never a 500, never the exception text (it may hold data) + except Exception: # safety net: never a 500, never the exception text (it may hold data) return self.error(repo, refreshed_at, token, UNEXPECTED_FAILURE) def error(self, repo: Repository, refreshed_at: int, token: Token | None, message: str) -> dict[str, Any]: diff --git a/src/sharpit/engine/collectors/health.py b/src/sharpit/engine/collectors/health.py index df26e35ee..31a033492 100644 --- a/src/sharpit/engine/collectors/health.py +++ b/src/sharpit/engine/collectors/health.py @@ -182,7 +182,7 @@ async def _ping(self, name: str, engine: Any, flight: Flight, executor: DaemonEx status, details["error"] = "DOWN", self._timed_out() except sqla.ReadOnlyUnavailable as exc: # skipped: nothing is known about the database, so never DOWN status, details["error"] = "UNKNOWN", exc.reason - except Exception as exc: # noqa: BLE001 # a failed ping is this engine's DOWN, never the request's 500 + except Exception as exc: # a failed ping is this engine's DOWN, never the request's 500 status, details["error"] = "DOWN", self._failure(exc) return node(name, status, {**details, "checkedAt": _now_ms()}) diff --git a/src/sharpit/engine/collectors/postgresql/service.py b/src/sharpit/engine/collectors/postgresql/service.py index d85cf9dfe..e81d75fb4 100644 --- a/src/sharpit/engine/collectors/postgresql/service.py +++ b/src/sharpit/engine/collectors/postgresql/service.py @@ -194,7 +194,7 @@ def read(conn: Any) -> tuple[DatabaseData, Any]: sections += [_skipped(c.id, c.title) for c in COLLECTORS if c.id not in done] data, version, timed_out = replace(partial, sections=sections), None, True diagnostics.append(_diagnostic(name, "WARNING", BUDGET_RAN_OUT)) - except Exception as exc: # noqa: BLE001 # a failed engine is reported for that engine, never raised + except Exception as exc: # a failed engine is reported for that engine, never raised return _error_database( name, error_text(ctx.masker, exc, Dialect.POSTGRESQL, known=True) or type(exc).__name__, diff --git a/src/sharpit/engine/collectors/threads.py b/src/sharpit/engine/collectors/threads.py index b0b696e0a..4b7a9602e 100644 --- a/src/sharpit/engine/collectors/threads.py +++ b/src/sharpit/engine/collectors/threads.py @@ -197,7 +197,7 @@ def _thread_rows( ) -> list[dict[str, Any]]: """One ``ThreadInfo`` per live thread, by id; CPU and user time are known only for the calling thread.""" # the state is metadata, so frames are read under METADATA_ONLY too; max_frames 0 hides only the stack text - current: dict[int, Any] = {} if names_only else sys._current_frames() # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + current: dict[int, Any] = {} if names_only else sys._current_frames() # pyright: ignore[reportPrivateUsage] current_thread_id = threading.get_ident() user_time_ms = _thread_user_time_ms() rows: list[dict[str, Any]] = [] diff --git a/src/sharpit/engine/guard.py b/src/sharpit/engine/guard.py index acbc88388..7831e3b0a 100644 --- a/src/sharpit/engine/guard.py +++ b/src/sharpit/engine/guard.py @@ -15,7 +15,6 @@ from dataclasses import dataclass from functools import lru_cache from pathlib import Path -from typing import cast from sharpit.engine.advisors.dismissals import owning_panel from sharpit.engine.panels import disabled_reason, panel_for_api_path, read_only_reason @@ -109,7 +108,7 @@ class Denial: headers: tuple[tuple[str, str], ...] = () -# --- Authority parsing (exact port of LocalhostGuard.extractRequestHost / extractOriginHost) ------------------------- +# --- Authority and origin parsing (port of LocalhostGuard.extractRequestHost / extractOriginHost) -------------------- def extract_request_host(value: str | None) -> str | None: @@ -121,19 +120,9 @@ def extract_request_host(value: str | None) -> str | None: def extract_origin_host(value: str | None) -> str | None: - """Lower-cased host of an ``Origin`` value; None for the opaque ``null`` origin or anything unparseable.""" - if value is None: - return None - candidate = value.strip(_JAVA_TRIM) - if candidate.lower() == "null": - return None - scheme = candidate.find("://") - if scheme >= 0: - candidate = candidate[scheme + 3 :] - slash = candidate.find("/") - if slash >= 0: - candidate = candidate[:slash] - return _parse_authority(candidate) if candidate else None + """Lower-cased host of a serialized http(s) origin; None for the opaque ``null`` origin or anything else.""" + origin = _parse_origin(value) + return None if origin is None else origin[1] def _parse_authority(candidate: str) -> str | None: @@ -161,16 +150,29 @@ def _split_authority(candidate: str) -> tuple[str, str] | None: _DEFAULT_PORTS = {"http": 80, "https": 443} +_MAX_PORT = 65535 +_MAX_PORT_DIGITS = len(str(_MAX_PORT)) +_ORIGIN_DELIMITERS = frozenset("/?#@") + + +def _parse_port(digits: str) -> int | None: + """The port of a non-empty run of ASCII digits; None above 65535. A run longer than five digits is refused before + ``int()`` sees it, which raises past 4300 digits.""" + if len(digits) > _MAX_PORT_DIGITS: + return None + port = int(digits) + return port if port <= _MAX_PORT else None def _origin_tuple(scheme: str, authority: str) -> tuple[str, str, int] | None: """``(scheme, host, port)`` with the scheme's default port filled in; None when anything is unparseable.""" parts = _split_authority(authority) if authority else None scheme = scheme.lower() - if parts is None or (not parts[1] and scheme not in _DEFAULT_PORTS): + if parts is None: return None - host, port = parts - return scheme, host, int(port) if port else _DEFAULT_PORTS[scheme] + host, digits = parts + port = _parse_port(digits) if digits else _DEFAULT_PORTS.get(scheme) + return None if port is None else (scheme, host, port) def _request_origin(facts: RequestFacts) -> tuple[str, str, int] | None: @@ -178,9 +180,22 @@ def _request_origin(facts: RequestFacts) -> tuple[str, str, int] | None: return None if host is None else _origin_tuple(facts.scheme, host.strip(_JAVA_TRIM)) -def _parse_origin(value: str) -> tuple[str, str, int] | None: - scheme, sep, rest = value.strip(_JAVA_TRIM).partition("://") - return _origin_tuple(scheme, rest.partition("/")[0]) if sep else None +def _parse_origin(value: str | None) -> tuple[str, str, int] | None: + """``(scheme, host, effective port)`` of a serialized http(s) origin, ``scheme://host[:port]``; else None. + + Strict as BootUI 2.6.0's ``extractOriginHost``: the value is not trimmed, and a path (a trailing slash included), a + query, a fragment, userinfo, a control character, a trailing colon, a port above 65535 or any other scheme than + ``http`` and ``https`` (case-insensitive) is refused, as is the opaque ``null`` origin. It does not use + ``urllib.parse.urlsplit``, which silently removes tab and newline characters. + """ + if value is None: + return None + scheme, sep, authority = value.partition("://") + if not sep or scheme.lower() not in _DEFAULT_PORTS or not authority or authority.endswith(":"): + return None + if any(c in _ORIGIN_DELIMITERS or c < " " or c == "\x7f" for c in authority): + return None + return _origin_tuple(scheme, authority) def _is_registered_name(host: str) -> bool: @@ -319,21 +334,36 @@ def _panel_denied(panel: str, reason: str) -> Denial: return Denial(403, {"error": PANEL_ACCESS_DENIED, "panel": panel, "reason": reason}) +_SAME_ORIGIN_SITES = frozenset({"same-origin", "none"}) + + def _is_cross_site(facts: RequestFacts, request_host: str | None) -> bool: - if facts.headers.get("sec-fetch-site", "").casefold() == "cross-site": + """Port of ``LocalhostGuard.isCrossSiteWrite`` (BootUI 2.6.0) with sharpit's scope: ``Origin`` and + ``Sec-Fetch-Site: cross-site`` are checked on every method, the ``Sec-Fetch-Site`` allow-list on writes only. + + sharpit deviations: the ``Sec-Fetch-Site`` allow-list is applied only to writes; on an API path a present ``Origin`` + must be the request's own origin, port included, whatever + ``Sec-Fetch-Site`` says, so a page served from another local port cannot drive sharpit with a no-preflight + "simple" request. A request whose own origin cannot be formed stays cross-site where that rule applies. + """ + unsafe = facts.method not in _SAFE_METHODS + fetch_site = facts.headers.get("sec-fetch-site") + # ASCII only, so a Unicode look-alike of "same-origin" never passes + asserted = fetch_site.lower() if fetch_site is not None and fetch_site.isascii() else None + if fetch_site is not None and ( + fetch_site.casefold() == "cross-site" or (unsafe and asserted not in _SAME_ORIGIN_SITES) + ): return True origin = facts.headers.get("origin") - if _is_blank(origin): - return False - origin_host = extract_origin_host(origin) - if origin_host is None or origin_host != request_host: + if origin is None: + return False # absent; a present but empty value is an origin that cannot be read, so it is cross-site + parsed = _parse_origin(origin) + if parsed is None or parsed[1] != request_host: return True - # sharpit deviation (stricter than BootUI): on API paths a present Origin must be the request's own origin, port - # included, so a page served from another local port cannot drive sharpit with a no-preflight "simple" request - if facts.api_sub_path is None: - return False + if facts.api_sub_path is None and (asserted == "same-origin" or not unsafe): + return False # the browser's same-origin assertion survives a development proxy changing the upstream port expected = _request_origin(facts) - return expected is None or _parse_origin(cast("str", origin)) != expected + return expected is None or parsed != expected def _panel_access(method: str, sub_path: str, settings: SharpitSettings) -> Denial | None: diff --git a/src/sharpit/engine/otel.py b/src/sharpit/engine/otel.py index b46c643b4..f08b0567f 100644 --- a/src/sharpit/engine/otel.py +++ b/src/sharpit/engine/otel.py @@ -87,7 +87,7 @@ def on_start(self, span: Any, parent_context: Any = None) -> None: # NOSONAR - on_start = getattr(sink, "on_start", None) if callable(on_start): on_start(span) - except Exception: # noqa: BLE001, S112 - never break the host's span pipeline + except Exception: # noqa: S112 - never break the host's span pipeline continue def _on_ending(self, span: Any) -> None: # newer SDKs call it on every processor @@ -98,7 +98,7 @@ def on_end(self, span: Any) -> None: for sink in self.sinks: try: sink.add(span) - except Exception: # noqa: BLE001, S112 - never break the host's span pipeline + except Exception: # noqa: S112 - never break the host's span pipeline continue def shutdown(self) -> None: diff --git a/src/sharpit/engine/sensors/audit.py b/src/sharpit/engine/sensors/audit.py index 2ed207eaa..c34aded35 100644 --- a/src/sharpit/engine/sensors/audit.py +++ b/src/sharpit/engine/sensors/audit.py @@ -144,7 +144,7 @@ def _dispatch(self, event: str, args: tuple[Any, ...]) -> None: self._deliver(sub, event, args) finally: busy.active = False - except Exception: # noqa: BLE001, S110 - an audit hook must never raise into the host's call + except Exception: # noqa: S110 - an audit hook must never raise into the host's call pass @staticmethod @@ -159,7 +159,7 @@ def _deliver(sub: _Subscription, event: str, args: tuple[Any, ...]) -> None: else: for row in sub.record(event, args): sink.offer(row) - except Exception: # noqa: BLE001, S110 - an audit hook must never raise into the host's call + except Exception: # noqa: S110 - an audit hook must never raise into the host's call pass diff --git a/src/sharpit/engine/sensors/rows.py b/src/sharpit/engine/sensors/rows.py index 3a8c461a9..d8479171d 100644 --- a/src/sharpit/engine/sensors/rows.py +++ b/src/sharpit/engine/sensors/rows.py @@ -68,7 +68,7 @@ def __init__(self, journal: JournalSink, rows: SensorRows) -> None: def offer(self, event: Event) -> bool: try: # noqa: SIM105 - publishing never raises into the host self._rows.append(dict(event)) - except Exception: # noqa: BLE001, S110 + except Exception: # noqa: S110 pass return self._journal.offer(event) @@ -78,7 +78,7 @@ def offer_flat(self, event: dict[str, str | int | bool | None], size: int | None if len(ring) == RING_CAPACITY: self._dropped[source] += 1 ring.append(event) # type: ignore[arg-type] - except Exception: # noqa: BLE001, S110 + except Exception: # noqa: S110 pass if self._flat: return self._journal.offer_flat(event, size, started) # type: ignore[attr-defined, no-any-return] diff --git a/src/sharpit/engine/sources/sqlite.py b/src/sharpit/engine/sources/sqlite.py index 10915a5fa..6f6c94d8e 100644 --- a/src/sharpit/engine/sources/sqlite.py +++ b/src/sharpit/engine/sources/sqlite.py @@ -208,7 +208,7 @@ class TracedConnection(_TracedConnectionMixin, sqlite3.Connection): def _caller_untraced(depth: int) -> bool: """Whether ``sqlite3.connect`` was called by one of ``UNTRACED_CALLERS``, or from inside SQLAlchemy's pool or engine (a ``creator`` callable): decided once per connection, over at most ``_CALLER_FRAMES`` frames.""" - frame = sys._getframe(depth) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + frame = sys._getframe(depth) # pyright: ignore[reportPrivateUsage] direct = True for _ in range(_CALLER_FRAMES): name = frame.f_globals.get("__name__", "") diff --git a/src/sharpit/engine/sqla/dialect_source.py b/src/sharpit/engine/sqla/dialect_source.py index 41089429f..cb08b8b11 100644 --- a/src/sharpit/engine/sqla/dialect_source.py +++ b/src/sharpit/engine/sqla/dialect_source.py @@ -19,7 +19,7 @@ def _attribute(value: object, name: str) -> object | None: return object.__getattribute__(value, name) except AttributeError: return None - except BaseException: # noqa: BLE001 # NOSONAR - a host object's property can raise anything: unreadable + except BaseException: # NOSONAR - a host object's property can raise anything: unreadable return _UNREADABLE diff --git a/src/sharpit/engine/sqla/inspect.py b/src/sharpit/engine/sqla/inspect.py index fedd8a822..66f3565b4 100644 --- a/src/sharpit/engine/sqla/inspect.py +++ b/src/sharpit/engine/sqla/inspect.py @@ -66,7 +66,7 @@ def _pkg_version(packages: list[str]) -> str | None: ver = importlib.metadata.version(pkg) if ver and str(ver).strip(): return str(ver).strip() - except Exception: # noqa: BLE001, S110 + except Exception: # noqa: S110 pass return None diff --git a/src/sharpit/engine/sqla/orm.py b/src/sharpit/engine/sqla/orm.py index 6a34e5141..3be214862 100644 --- a/src/sharpit/engine/sqla/orm.py +++ b/src/sharpit/engine/sqla/orm.py @@ -170,7 +170,7 @@ def _batched_query(context: Any) -> str: mapper = compiled.compile_state._primary_entity.mapper # noqa: SLF001 name = mapper.class_.__name__ return f"select({name}).where({name}.{mapper.get_property_by_column(where.left).key}.in_(ids))" - except Exception: # noqa: BLE001, S110 - introspection is defensive: a text or Core statement has no entity + except Exception: # noqa: S110 - introspection is defensive: a text or Core statement has no entity pass return GENERIC_BATCH diff --git a/src/sharpit/engine/sqltext/dialect.py b/src/sharpit/engine/sqltext/dialect.py index 81f1f435b..c10c795d9 100644 --- a/src/sharpit/engine/sqltext/dialect.py +++ b/src/sharpit/engine/sqltext/dialect.py @@ -150,7 +150,7 @@ def _queue_group_children(current: BaseException, pending: list[BaseException], "tuple[BaseException, ...]", BaseExceptionGroup.__dict__["exceptions"].__get__(group, type(group)), ) - except BaseException: # noqa: BLE001 # NOSONAR - a hostile group subclass can raise anything: stop, fail closed + except BaseException: # NOSONAR - a hostile group subclass can raise anything: stop, fail closed return ChainReading(frozenset(), stopped=True, visited=visited) available = _CHAIN_LIMIT - visited if len(children) > available: @@ -166,7 +166,7 @@ def _queue_exception_links(current: BaseException, pending: list[BaseException]) context = _CONTEXT.__get__(current) suppressed = _SUPPRESS_CONTEXT.__get__(current) fields = cast("dict[str, object]", _INSTANCE_DICT.__get__(current)) - except BaseException: # noqa: BLE001 # NOSONAR - a host exception's links can raise anything: stop, fail closed + except BaseException: # NOSONAR - a host exception's links can raise anything: stop, fail closed return False if type(fields) is not dict: return False # a dict subclass's methods could run, so its ``orig`` cannot be read @@ -191,7 +191,7 @@ def read_chain(exc: BaseException) -> ChainReading: """Never raises: a chain whose classes cannot be read stops, so every caller fails closed.""" try: return _walk_chain(exc) - except BaseException: # noqa: BLE001 # NOSONAR - never raises into the host: a stopped chain fails closed + except BaseException: # NOSONAR - never raises into the host: a stopped chain fails closed return ChainReading(frozenset(), stopped=True) @@ -238,5 +238,5 @@ def resolve(event: object, sources: Sequence[DialectSource], context: DialectCon family = next(iter(proof)) return family if application in (None, family) else Dialect.UNSUPPORTED return application if application is not None else Dialect.UNSUPPORTED - except BaseException: # noqa: BLE001 # NOSONAR - sources read host objects: UNSUPPORTED hides it all + except BaseException: # NOSONAR - sources read host objects: UNSUPPORTED hides it all return Dialect.UNSUPPORTED diff --git a/src/sharpit/engine/sqltext/errors.py b/src/sharpit/engine/sqltext/errors.py index afef1d4cf..9fee4d249 100644 --- a/src/sharpit/engine/sqltext/errors.py +++ b/src/sharpit/engine/sqltext/errors.py @@ -478,7 +478,7 @@ def error_text( if not args or sum(len(value) for value in args if type(value) is str) > 100_000: return None text = " ".join(value for value in args if type(value) is str) - except Exception: # noqa: BLE001 - unreadable exception objects fail closed + except Exception: # unreadable exception objects fail closed return None if not text: return None diff --git a/src/sharpit/engine/tool_dispatch.py b/src/sharpit/engine/tool_dispatch.py index 6b4fde034..aaa5af0e4 100644 --- a/src/sharpit/engine/tool_dispatch.py +++ b/src/sharpit/engine/tool_dispatch.py @@ -80,7 +80,7 @@ def run(self, name: str, fn: Callable[[], dict[str, Any]]) -> dict[str, Any]: def worker() -> None: try: outcome["value"] = fn() - except BaseException as exc: # noqa: BLE001 # NOSONAR - worker thread: re-raised or mapped by _raise_tool_error + except BaseException as exc: # NOSONAR - worker thread: re-raised or mapped by _raise_tool_error outcome["error"] = exc finally: with self._lock: diff --git a/src/sharpit/engine/tools.py b/src/sharpit/engine/tools.py index 3c61986e3..443b8a30d 100644 --- a/src/sharpit/engine/tools.py +++ b/src/sharpit/engine/tools.py @@ -707,7 +707,7 @@ def log_tail_lines(ctx: SharpitContext) -> list[dict[str, Any]]: "rest_api_scan": "rest-api scan", } -from sharpit.engine.panels04 import tool_definitions as _tool_definitions # noqa: E402, I001 +from sharpit.engine.panels04 import tool_definitions as _tool_definitions # noqa: E402 from sharpit.engine.tools_lowfootprint import COMMANDS as _LOW_FOOTPRINT_COMMANDS # noqa: E402 from sharpit.engine.tools_lowfootprint import tool_definitions as _low_footprint_definitions # noqa: E402 diff --git a/src/sharpit/fastapi/capture.py b/src/sharpit/fastapi/capture.py index 252a9144e..5d66a4e2d 100644 --- a/src/sharpit/fastapi/capture.py +++ b/src/sharpit/fastapi/capture.py @@ -552,7 +552,7 @@ async def __call__(self, scope: Scope, receive: Receive, send: Send) -> None: **scope, "headers": [h for h in headers if not _is_probe_header_entry(h)], } - except Exception: # noqa: BLE001, S110 - best-effort defensive probe strip + except Exception: # noqa: S110 - best-effort defensive probe strip pass strip_failed = True if strip_failed: diff --git a/src/sharpit/fastapi/install.py b/src/sharpit/fastapi/install.py index 48553821c..05b8bf1a9 100644 --- a/src/sharpit/fastapi/install.py +++ b/src/sharpit/fastapi/install.py @@ -292,7 +292,7 @@ def install( _bad_request = adapter._bad_request _json_http_error = adapter._json_http_error _not_found = adapter._not_found - caller_module: str | None = sys._getframe(1).f_globals.get("__name__") # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + caller_module: str | None = sys._getframe(1).f_globals.get("__name__") # pyright: ignore[reportPrivateUsage] router = app.router if (existing := _existing_handle(router, sharpit_mount_type)) is not None: return existing diff --git a/src/sharpit/fastapi/introspector.py b/src/sharpit/fastapi/introspector.py index 76a59d0ae..28bdff445 100644 --- a/src/sharpit/fastapi/introspector.py +++ b/src/sharpit/fastapi/introspector.py @@ -156,7 +156,7 @@ def _resource(obj: object) -> str | None: return None line = _first_line(target) return f"{source}:{line}" if line is not None else source - except Exception: # noqa: BLE001 # no source (built-in, C extension, exec'd): the bean stays, without a resource + except Exception: # no source (built-in, C extension, exec'd): the bean stays, without a resource return None @@ -815,7 +815,7 @@ def _collect_route_providers(self, graph: _ProviderGraph) -> None: key, new = graph.add(call, "request") if new: graph.visit(_dependant_of(call), key, 1) - except Exception: # noqa: BLE001,S112 - one odd route must not empty the panel + except Exception: # noqa: S112 - one odd route must not empty the panel continue def _collect_override_providers(self, graph: _ProviderGraph) -> dict[int, int]: @@ -828,7 +828,7 @@ def _collect_override_providers(self, graph: _ProviderGraph) -> dict[int, int]: overridden_by[id(original)] = key if new: graph.visit(_dependant_of(override), key, 1) - except Exception: # noqa: BLE001,S112 + except Exception: # noqa: S112 continue return overridden_by diff --git a/src/sharpit/fastapi/pentesting_exposure.py b/src/sharpit/fastapi/pentesting_exposure.py index 3ca7a16c4..4cec9e95b 100644 --- a/src/sharpit/fastapi/pentesting_exposure.py +++ b/src/sharpit/fastapi/pentesting_exposure.py @@ -86,5 +86,5 @@ def framework_evidence(introspector: object, facts: SecurityFacts | None) -> Fra declared and not documentation, config_incomplete, ) - except Exception: # noqa: BLE001 # NOSONAR - introspection degrades, never raises into the host + except Exception: # NOSONAR - introspection degrades, never raises into the host return _UNAVAILABLE diff --git a/src/sharpit/pytest_plugin/__init__.py b/src/sharpit/pytest_plugin/__init__.py index 4fa7d7e34..d71a23d28 100644 --- a/src/sharpit/pytest_plugin/__init__.py +++ b/src/sharpit/pytest_plugin/__init__.py @@ -46,7 +46,7 @@ from sharpit.pytest_plugin.options import PluginOptions from sharpit.pytest_plugin.options import pytest_addoption as pytest_addoption from sharpit.pytest_plugin.options import resolve as resolve -from sharpit.pytest_plugin.report_io import write_report as _write_report # noqa: F401 - compatibility re-export +from sharpit.pytest_plugin.report_io import write_report as _write_report # compatibility re-export from sharpit.pytest_plugin.report_io import write_report_files from sharpit.pytest_plugin.session import MARKER_USAGE_ERROR from sharpit.pytest_plugin.session import pytest_collection_finish as pytest_collection_finish diff --git a/tests/conftest.py b/tests/conftest.py index dc28d7988..44e1b1c3d 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -31,7 +31,7 @@ Path(tempfile.gettempdir()) / f"sharpit-claude-code-{os.getpid()}" ) -from hypothesis import settings # noqa: E402 +from hypothesis import settings import sharpit.settings as sharpit_settings from sharpit.engine import sqla diff --git a/tests/docs/test_parity_matrix.py b/tests/docs/test_parity_matrix.py index 285cfaecf..d5afad6c5 100644 --- a/tests/docs/test_parity_matrix.py +++ b/tests/docs/test_parity_matrix.py @@ -9,14 +9,14 @@ pytest.importorskip("fastapi") -from fastapi.testclient import TestClient # noqa: E402 - -from fastapi import FastAPI # noqa: E402 -from sharpit import install # noqa: E402 -from sharpit.engine.collectors.insights.registry import KINDS # noqa: E402 -from sharpit.engine.collectors.insights.snapshot import PRODUCED_SOURCES # noqa: E402 -from sharpit.engine.panels import PANELS # noqa: E402 -from sharpit.engine.tools import TOOLS # noqa: E402 +from fastapi.testclient import TestClient + +from fastapi import FastAPI +from sharpit import install +from sharpit.engine.collectors.insights.registry import KINDS +from sharpit.engine.collectors.insights.snapshot import PRODUCED_SOURCES +from sharpit.engine.panels import PANELS +from sharpit.engine.tools import TOOLS ROOT = Path(__file__).resolve().parents[2] BOOTUI = ROOT / "tests" / "fixtures" / "bootui" / "2.5.0" diff --git a/tests/docs/test_procurement_docs.py b/tests/docs/test_procurement_docs.py index 68570ba6a..493bd5859 100644 --- a/tests/docs/test_procurement_docs.py +++ b/tests/docs/test_procurement_docs.py @@ -127,15 +127,14 @@ def test_security_policy_has_private_reporting_route() -> None: assert end != -1, "SECURITY.md must contain '## Network Egress and Trust Boundaries' after reporting" reporting_section = security_text[start:end] - assert "Report a vulnerability" in reporting_section, ( - "SECURITY.md must mention GitHub's 'Report a vulnerability' feature on the Security tab once enabled" + assert '"Report a vulnerability" button' in reporting_section, ( + "SECURITY.md must direct private reports to GitHub's 'Report a vulnerability' button" ) - assert "Security contact request" in reporting_section, ( - "SECURITY.md must instruct opening an issue titled 'Security contact request' until private reporting is" - " enabled" - ) - assert "no details" in reporting_section.lower(), ( - "SECURITY.md must instruct that the contact request issue contain no vulnerability details" + assert "Security" in reporting_section, "SECURITY.md must identify the Security tab" + assert "7 days" in reporting_section, "SECURITY.md must state the 7-day acknowledgement window" + assert "once enabled" not in reporting_section.lower(), "SECURITY.md must not describe private reporting as pending" + assert "Security contact request" not in reporting_section, ( + "SECURITY.md must not direct reporters to a public issue" ) assert "48 hours" not in reporting_section, "SECURITY.md must remove unsupported 48-hour response promise" assert "48-hour" not in reporting_section, "SECURITY.md must remove unsupported 48-hour response promise" @@ -196,29 +195,40 @@ def _clean_val(val: str) -> object: def _parse_block(block: str) -> dict[str, object]: entry: dict[str, object] = {} - for line in block.splitlines(): + stack: list[tuple[int, dict[str, object] | list[object]]] = [(-1, entry)] + lines = block.splitlines() + for index, line in enumerate(lines): + if not line.strip() or line.lstrip().startswith("#"): + continue + indent = len(line) - len(line.lstrip()) stripped = line.strip() - if not stripped or stripped.startswith("#") or ":" not in stripped: + while stack[-1][0] >= indent: + stack.pop() + parent = stack[-1][1] + if stripped.startswith("- "): + assert isinstance(parent, list) + parent.append(_clean_val(stripped[2:])) + continue + if ":" not in stripped: continue k, v = stripped.split(":", 1) key, val = k.strip(), v.strip() if val: - entry[key] = _clean_val(val) + assert isinstance(parent, dict) + parent[key] = _clean_val(val) else: - entry[key] = {} + next_line = next( + (later for later in lines[index + 1 :] if later.strip() and not later.lstrip().startswith("#")), + "", + ) + child: dict[str, object] | list[object] = [] if next_line.strip().startswith("- ") else {} + assert isinstance(parent, dict) + parent[key] = child + stack.append((indent, child)) return entry def _parse_yaml(text: str) -> dict[str, object]: - try: - import yaml # type: ignore[import-not-found] - - loaded = yaml.safe_load(text) - if isinstance(loaded, dict): - return loaded - except ImportError: - pass - result: dict[str, object] = {"version": 2, "updates": []} updates_list: list[dict[str, object]] = [] result["updates"] = updates_list @@ -251,6 +261,28 @@ def test_dependabot_covers_uv_pip_actions_and_ui_npm() -> None: assert ("github-actions", "/") in entries, "Dependabot must cover github-actions at /" assert ("npm", "/ui") in entries, "Dependabot must cover npm at /ui" + for update in updates: + assert isinstance(update, dict) + schedule = update.get("schedule") + assert isinstance(schedule, dict) + assert schedule.get("interval") == "weekly" + + for ecosystem in ("uv", "github-actions"): + entry = next(u for u in updates if u.get("package-ecosystem") == ecosystem and u.get("directory") == "/") + groups = entry.get("groups") + assert isinstance(groups, dict) + group = next(iter(groups.values())) + assert isinstance(group, dict) + assert {"minor", "patch"}.issubset(set(group.get("update-types", []))) + + for update in updates: + assert isinstance(update, dict) + ecosystem = update.get("package-ecosystem") + cooldown = update.get("cooldown") + assert isinstance(cooldown, dict), f"{ecosystem} needs a cooldown block" + assert isinstance(cooldown.get("default-days"), int), f"{ecosystem} needs an integer cooldown.default-days" + assert cooldown["default-days"] >= 3, f"{ecosystem} needs cooldown.default-days >= 3" + npm_entry = next( ( u diff --git a/tests/docs/test_readme_claims.py b/tests/docs/test_readme_claims.py index 819cb5708..582d96d23 100644 --- a/tests/docs/test_readme_claims.py +++ b/tests/docs/test_readme_claims.py @@ -8,10 +8,10 @@ pytest.importorskip("fastapi") -from fastapi.testclient import TestClient # noqa: E402 +from fastapi.testclient import TestClient -from fastapi import FastAPI # noqa: E402 -from sharpit import install # noqa: E402 +from fastapi import FastAPI +from sharpit import install ROOT = Path(__file__).resolve().parents[2] README = ROOT / "README.md" diff --git a/tests/engine/advisors/test_registry.py b/tests/engine/advisors/test_registry.py index b0271c994..7d13907f7 100644 --- a/tests/engine/advisors/test_registry.py +++ b/tests/engine/advisors/test_registry.py @@ -90,9 +90,8 @@ def test_registry_is_static(): "from sharpit.engine.advisors.dismissals import owning_panel as o;" "print(o('RAPI-MAP-001'), o('V-1::pypi:w'), o('test-runtime:sharpit.x:0123456789abcdef'))" ) - out = subprocess.run( # noqa: S603 - fixed interpreter and code - [sys.executable, "-c", code], capture_output=True, text=True, check=True - ) + # fixed interpreter and code + out = subprocess.run([sys.executable, "-c", code], capture_output=True, text=True, check=True) assert out.stdout.split() == ["rest-api", "vulnerabilities", "None"] diff --git a/tests/engine/capture/test_exceptions.py b/tests/engine/capture/test_exceptions.py index d3b305a4e..36d4f5518 100644 --- a/tests/engine/capture/test_exceptions.py +++ b/tests/engine/capture/test_exceptions.py @@ -382,7 +382,7 @@ def test_no_locals_in_frames(): store = _store() def leaky() -> None: - password = "hunter2-local" # noqa: S105 + password = "hunter2-local" raise RuntimeError(len(password)) _record(store, _raised(lambda: leaky() or RuntimeError())) # type: ignore[func-returns-value] diff --git a/tests/engine/capture/test_log_handler_locking.py b/tests/engine/capture/test_log_handler_locking.py index bf7c3c636..f90514313 100644 --- a/tests/engine/capture/test_log_handler_locking.py +++ b/tests/engine/capture/test_log_handler_locking.py @@ -152,7 +152,7 @@ def _run_child(script: str, tmp_path: Path) -> str: never a ``TimeoutExpired`` crash.""" out, err = tmp_path / "child.out", tmp_path / "child.err" with out.open("w") as stdout, err.open("w") as stderr: - child = subprocess.Popen( # noqa: S603 - our own interpreter and a literal script + child = subprocess.Popen( # our own interpreter and a literal script [sys.executable, "-c", textwrap.dedent(script)], stdout=stdout, stderr=stderr, diff --git a/tests/engine/capture/test_logtail.py b/tests/engine/capture/test_logtail.py index b0c5b7899..6bf0253e7 100644 --- a/tests/engine/capture/test_logtail.py +++ b/tests/engine/capture/test_logtail.py @@ -323,7 +323,7 @@ def __iter__(self) -> Iterator[Any]: gc.collect() return super().__iter__() - buffer._lines = Collected(buffer._lines) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + buffer._lines = Collected(buffer._lines) # pyright: ignore[reportPrivateUsage] finished = threading.Event() def run() -> None: diff --git a/tests/engine/capture/test_mail.py b/tests/engine/capture/test_mail.py index b465fd368..55d6f2e7f 100644 --- a/tests/engine/capture/test_mail.py +++ b/tests/engine/capture/test_mail.py @@ -868,7 +868,7 @@ def create_module(self, _spec: Any) -> None: return None def exec_module(self, module: types.ModuleType) -> None: - exec(self.sources[module.__name__], module.__dict__) # noqa: S102 - a test stand-in's own source + exec(self.sources[module.__name__], module.__dict__) # a test stand-in's own source class _SharedLoaderFinder(importlib.abc.MetaPathFinder): @@ -1196,7 +1196,7 @@ def test_a_reload_that_replaces_the_smtp_class_is_wrapped_again( mail.ensure_wrapped() assert _wrapped_after_late_import(module) namespace: dict[str, Any] = {} - exec(_LATE_AIOSMTPLIB, namespace) # noqa: S102 - what importlib.reload does to the same module object + exec(_LATE_AIOSMTPLIB, namespace) # what importlib.reload does to the same module object module.SMTP = namespace["SMTP"] # type: ignore[attr-defined] assert not _wrapped_after_late_import(module) mail.ensure_wrapped() diff --git a/tests/engine/capture/test_sql_journal.py b/tests/engine/capture/test_sql_journal.py index e84138a9b..96738f44f 100644 --- a/tests/engine/capture/test_sql_journal.py +++ b/tests/engine/capture/test_sql_journal.py @@ -198,7 +198,7 @@ def test_sql_journal_event_size_is_what_the_flat_walk_charges( ): """The producer charges the event's size itself (no walk per statement): it must equal the journal's own walk.""" from sharpit.engine import otel # noqa: PLC0415 - from sharpit.engine.capture.journal import _flat # noqa: PLC0415 # pyright: ignore[reportPrivateUsage] + from sharpit.engine.capture.journal import _flat # pyright: ignore[reportPrivateUsage] from sharpit.engine.sources import dispatch # noqa: PLC0415 from sharpit.engine.sqltext import Dialect # noqa: PLC0415 @@ -315,7 +315,7 @@ def test_sql_journal_event_request_id_only_for_a_request_of_its_own_context(): @pytest.mark.parametrize("in_request", [True, False]) def test_the_loss_start_the_sql_producer_hands_the_ring_is_the_one_the_ring_would_read(in_request: bool): """``dispatch`` passes ``started`` so an eviction reads an int: it must equal what ``_started`` finds.""" - from sharpit.engine.capture.journal import _started # noqa: PLC0415 # pyright: ignore[reportPrivateUsage] + from sharpit.engine.capture.journal import _started # pyright: ignore[reportPrivateUsage] handle, engine = _install() journal = handle.context.capture.journal diff --git a/tests/engine/capture/test_sqlscan.py b/tests/engine/capture/test_sqlscan.py index 44d1e0950..bb424b5a3 100644 --- a/tests/engine/capture/test_sqlscan.py +++ b/tests/engine/capture/test_sqlscan.py @@ -130,7 +130,7 @@ def test_hidden_spans_may_overlap_and_run_off_the_text() -> None: def test_shown_scans_the_raw_text_once(monkeypatch: pytest.MonkeyPatch) -> None: - real, seen = sqlscan._scan, [] # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + real, seen = sqlscan._scan, [] # pyright: ignore[reportPrivateUsage] def spy(sql: str, dialect: Dialect) -> object: seen.append(sql) diff --git a/tests/engine/capture/test_sqltrace_reentry.py b/tests/engine/capture/test_sqltrace_reentry.py index aaf53b19b..22cd8c853 100644 --- a/tests/engine/capture/test_sqltrace_reentry.py +++ b/tests/engine/capture/test_sqltrace_reentry.py @@ -63,7 +63,7 @@ def append(self, item: Any) -> None: self.collecting = False _collect(lambda: _record(recorder, "select 2")) - recorder._entries = Collected(maxlen=recorder.max_entries) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + recorder._entries = Collected(maxlen=recorder.max_entries) # pyright: ignore[reportPrivateUsage] assert _finishes(lambda: _record(recorder)) @@ -80,7 +80,7 @@ def append(self, item: Any) -> None: self.collecting = False _collect(lambda: _record(recorder, "select 2")) - recorder._entries = Collected(maxlen=recorder.max_entries) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + recorder._entries = Collected(maxlen=recorder.max_entries) # pyright: ignore[reportPrivateUsage] assert _finishes(lambda: _record(recorder)) assert recorder.totals().statements == 2 @@ -101,7 +101,7 @@ def get(self, key: str, default: Any = None) -> Any: _collect(self.clear) return found - recorder._aggregates = Collected(recorder._aggregates) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + recorder._aggregates = Collected(recorder._aggregates) # pyright: ignore[reportPrivateUsage] assert _finishes(lambda: _record(recorder)) assert recorder.aggregate_count == 1 @@ -112,7 +112,7 @@ def test_a_read_waits_for_no_writer(read: Callable[[SqlTraceRecorder], object]): recorder = _recorder() _record(recorder) - with recorder._lock: # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + with recorder._lock: # pyright: ignore[reportPrivateUsage] assert _finishes(lambda: read(recorder)) @@ -132,7 +132,7 @@ def __getattr__(self, name: str) -> Any: _collect(lambda: _record(recorder, "select 1 from c")) return getattr(self.aggregate, name) - groups = recorder._aggregates # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + groups = recorder._aggregates # pyright: ignore[reportPrivateUsage] first = next(iter(groups)) groups[first] = Collecting(groups[first]) # pyright: ignore[reportArgumentType] errors: list[RuntimeError] = [] @@ -153,7 +153,7 @@ def test_a_report_waits_for_a_writer_so_it_reads_one_view(): _record(recorder) finished = threading.Event() - with recorder._lock: # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + with recorder._lock: # pyright: ignore[reportPrivateUsage] threading.Thread(target=lambda: (recorder.report([]), finished.set()), daemon=True).start() assert not finished.wait(0.5), "report read the recorder while a writer held it" diff --git a/tests/engine/collectors/fastapi_advisor/support.py b/tests/engine/collectors/fastapi_advisor/support.py index d09134bc3..7e94b76db 100644 --- a/tests/engine/collectors/fastapi_advisor/support.py +++ b/tests/engine/collectors/fastapi_advisor/support.py @@ -22,7 +22,7 @@ def load_app(tmp_path: Path, source: str, name: str = "main") -> tuple[dict[str, text = textwrap.dedent(source) path.write_text(text, encoding="utf-8") namespace: dict[str, Any] = {"__name__": f"app_pkg.{name}"} - exec(compile(text, os.path.realpath(path), "exec"), namespace) # noqa: S102 - the test's own fixture source + exec(compile(text, os.path.realpath(path), "exec"), namespace) # the test's own fixture source return namespace, root, build_index(root, thread=False) diff --git a/tests/engine/collectors/pentesting/test_cookie_checks.py b/tests/engine/collectors/pentesting/test_cookie_checks.py index 757c0833c..f19f19f6a 100644 --- a/tests/engine/collectors/pentesting/test_cookie_checks.py +++ b/tests/engine/collectors/pentesting/test_cookie_checks.py @@ -60,7 +60,7 @@ def test_missing_httponly_is_medium_for_session_names_and_info_for_csrf_and_othe "so browser code can copy the token into a request header; confirm it carries no session or authentication " "material." ) - # ported: PentestingScannerTests.deletionCookiesAreIgnoredWhilePrefixedAndAdditionalSessionCookieNamesAreRecognized # noqa: E501 + # ported: PentestingScannerTests.deletionCookiesAreIgnoredWhilePrefixedAndAdditionalSessionCookieNamesAreRecognized for name in ("__Host-SESSION", "__Secure-JSESSIONID", "q_session", "q_session_admin", "remember-me"): flagged = _one(_observe(f"{name}=token; Path=/; Secure; SameSite=Lax"), "PT-A02-001") assert flagged.severity == "MEDIUM", name @@ -138,7 +138,7 @@ def test_presence_flags_and_last_samesite_silence_every_flag_check() -> None: def test_deletion_cookies_feed_no_flag_check() -> None: - # ported: PentestingScannerTests.deletionCookiesAreIgnoredWhilePrefixedAndAdditionalSessionCookieNamesAreRecognized # noqa: E501 + # ported: PentestingScannerTests.deletionCookiesAreIgnoredWhilePrefixedAndAdditionalSessionCookieNamesAreRecognized deletions = ( "JSESSIONID=; Path=/; Max-Age=0", "SESSION=expired; Path=/; Max-Age=-1", diff --git a/tests/engine/collectors/pentesting/test_cookie_observation.py b/tests/engine/collectors/pentesting/test_cookie_observation.py index 2b182b367..2b0e70b61 100644 --- a/tests/engine/collectors/pentesting/test_cookie_observation.py +++ b/tests/engine/collectors/pentesting/test_cookie_observation.py @@ -136,7 +136,7 @@ def test_samesite_and_path_classification_follow_the_last_trimmed_value() -> Non def test_deletion_cookies_are_marked_and_non_deletions_are_not() -> None: - # ported: PentestingScannerTests.deletionCookiesAreIgnoredWhilePrefixedAndAdditionalSessionCookieNamesAreRecognized # noqa: E501 + # ported: PentestingScannerTests.deletionCookiesAreIgnoredWhilePrefixedAndAdditionalSessionCookieNamesAreRecognized # Support.java:162-184: Max-Age at or below zero, or a blank/""/deleted value with a 1970 Expires. for deleted in ( "JSESSIONID=; Path=/; Max-Age=0", diff --git a/tests/engine/collectors/sideeffects/test_service.py b/tests/engine/collectors/sideeffects/test_service.py index b1a872c10..49778af6e 100644 --- a/tests/engine/collectors/sideeffects/test_service.py +++ b/tests/engine/collectors/sideeffects/test_service.py @@ -265,7 +265,7 @@ def test_a_file_row_reads_file_path_and_its_sentence() -> None: def test_a_report_written_outside_the_temporary_directory_is_an_application_write_of_its_route_by_pattern_only() -> ( None -): # noqa: E501 +): # ported: SideEffectsServiceTests.aReportWrittenOutsideTheTemporaryDirectoryIsAnApplicationWriteOfItsRouteByPatternOnly # noqa: E501 service, rows = _service_with_rows() _append( diff --git a/tests/engine/insights/test_insights_loss.py b/tests/engine/insights/test_insights_loss.py index 5aa7b2e22..9e2837990 100644 --- a/tests/engine/insights/test_insights_loss.py +++ b/tests/engine/insights/test_insights_loss.py @@ -301,7 +301,7 @@ def test_a_view_during_a_clear_waits_for_the_loss_horizon_it_raises(monkeypatch: journal = RuntimeJournal() journal.offer({**sql("select 1", 1_005), "requestId": "r1"}) walking, release = threading.Event(), threading.Event() - real = journal_module._lost_start # noqa: SLF001 + real = journal_module._lost_start def slow(*args: Any) -> int | None: walking.set() # the clear is walking what it dropped, outside the ring lock @@ -340,7 +340,7 @@ class HostEvent(dict[str, object]): journal: RuntimeJournal def get(self, key: str, default: object = None) -> object: # type: ignore[override] - self.held.append(self.journal._owned()) # noqa: SLF001 + self.held.append(self.journal._owned()) return super().get(key, default) @@ -380,7 +380,7 @@ def test_an_eviction_is_accounted_before_the_horizon_moves() -> None: journal.offer({**sql("select 1", 1_005), "requestId": "r1"}) journal.offer({**sql("select 2", 2_005), "requestId": "r2"}) # the horizon raise fails: counted, never raised assert journal.status()["evictedEvents"] == 1 # r1 left the ring, so it is counted - assert journal._bytes == 0 # noqa: SLF001 # and its bytes are given back + assert journal._bytes == 0 # and its bytes are given back def test_clearing_walks_the_cleared_events_outside_the_ring_lock() -> None: diff --git a/tests/engine/insights/test_insights_sqlrecorded.py b/tests/engine/insights/test_insights_sqlrecorded.py index ceb9de277..9e4aff2a2 100644 --- a/tests/engine/insights/test_insights_sqlrecorded.py +++ b/tests/engine/insights/test_insights_sqlrecorded.py @@ -146,7 +146,7 @@ def _both_used(handles: list[Any]) -> Any: return ctx -# ported: RuntimeInsightsServiceTests.sqlCaptureNamesWhyStatementsAreNotRecorded # noqa: E501 +# ported: RuntimeInsightsServiceTests.sqlCaptureNamesWhyStatementsAreNotRecorded # (SqlCapture.of(wrapped, true, true): recordedExcept) # finding 3: one hook detached, the other still recording: recorded, naming what is missed def test_the_sqlalchemy_hook_suspended_is_recorded_except_sqlalchemy(handles: list[Any]) -> None: @@ -157,7 +157,7 @@ def test_the_sqlalchemy_hook_suspended_is_recorded_except_sqlalchemy(handles: li assert "SQLAlchemy" in str(capture.reason) -# ported: RuntimeInsightsServiceTests.sqlCaptureNamesWhyStatementsAreNotRecorded # noqa: E501 +# ported: RuntimeInsightsServiceTests.sqlCaptureNamesWhyStatementsAreNotRecorded # (SqlCapture.of(wrapped, true, true): recordedExcept) # finding 4: only the sqlite3 hook suspended def test_the_sqlite_hook_suspended_is_recorded_except_sqlite3(handles: list[Any]) -> None: @@ -185,7 +185,7 @@ def test_a_partly_suspended_capture_keeps_the_caveat_on_a_check_that_reads_sql(h assert SQLA_SUSPENDED in str(check["reason"]) -# ported: RuntimeInsightsServiceTests.sqlCaptureNamesWhyStatementsAreNotRecorded # noqa: E501 +# ported: RuntimeInsightsServiceTests.sqlCaptureNamesWhyStatementsAreNotRecorded # (SqlCapture.of(wrapped, true, true): recordedExcept R2DBC_NOT_RECORDED) # finding 9: SQLAlchemy older than 2.0 beside raw sqlite3: what is missed is said, and it is not "neither is in use" def test_an_unsupported_sqlalchemy_beside_sqlite3_names_the_version_it_cannot_record( @@ -199,7 +199,7 @@ def test_an_unsupported_sqlalchemy_beside_sqlite3_names_the_version_it_cannot_re assert UNSUPPORTED in str(capture.reason) -# ported: RuntimeInsightsServiceTests.sqlCaptureNamesWhyStatementsAreNotRecorded # noqa: E501 +# ported: RuntimeInsightsServiceTests.sqlCaptureNamesWhyStatementsAreNotRecorded # (SqlCapture.of(unwrapped, true, true): R2DBC_ONLY) def test_an_unsupported_sqlalchemy_and_no_sqlite3_is_not_recorded_and_names_the_version( handles: list[Any], monkeypatch: pytest.MonkeyPatch diff --git a/tests/engine/postgresql/test_sections.py b/tests/engine/postgresql/test_sections.py index 29ff54192..1699fa10e 100644 --- a/tests/engine/postgresql/test_sections.py +++ b/tests/engine/postgresql/test_sections.py @@ -456,11 +456,11 @@ def test_an_exhausted_budget_skips_the_remaining_sections() -> None: @NEEDS_PG def test_sections_on_real_server() -> None: - import asyncio # noqa: PLC0415 + import asyncio - import sqlalchemy as sa # noqa: PLC0415 + import sqlalchemy as sa - from sharpit.engine.sqla import run_db_read # noqa: PLC0415 + from sharpit.engine.sqla import run_db_read url = PG_URL.replace("postgresql://", "postgresql+psycopg://", 1) if "+" not in PG_URL.split("://")[0] else PG_URL engine = sa.create_engine(url) diff --git a/tests/engine/postgresql/test_service.py b/tests/engine/postgresql/test_service.py index ba682e87c..fe656e6e0 100644 --- a/tests/engine/postgresql/test_service.py +++ b/tests/engine/postgresql/test_service.py @@ -314,7 +314,7 @@ def test_a_connection_error_during_setup_reports_the_masked_driver_message() -> def test_a_wall_timeout_keeps_the_sections_already_read(monkeypatch: pytest.MonkeyPatch) -> None: # derived: review finding 3: the wall timeout leaves room past the read budget, and when it still fires the # sections read so far are reported (PARTIAL), not thrown away as an ERROR - import time # noqa: PLC0415 + import time monkeypatch.setattr(service, "_clock", lambda: 0.0) # the cooperative budget never runs out on its own monkeypatch.setattr(service, "READ_BUDGET", 0.2) diff --git a/tests/engine/sensors/test_sink_sensors.py b/tests/engine/sensors/test_sink_sensors.py index b4b72b005..0d2610eb3 100644 --- a/tests/engine/sensors/test_sink_sensors.py +++ b/tests/engine/sensors/test_sink_sensors.py @@ -71,7 +71,7 @@ def files( owns: bool = True, cwd: str = "/work/app", home: str = "/home/ann", - tmp: str = "/tmp", # noqa: S108 + tmp: str = "/tmp", ) -> FilesSensor: req = info(query, path) values = RequestValues() @@ -237,7 +237,7 @@ def test_without_a_matcher_every_row_is_unchanged() -> None: p_rows = p_sensor.record("subprocess.Popen", ("/usr/bin/convert", ["/usr/bin/convert", "file.pdf"], None, None)) assert [r["target"] for r in p_rows] == ["convert"] - f_sensor = FilesSensor(cwd="/work/app", home="/home/ann", tmp="/tmp") # noqa: S108 + f_sensor = FilesSensor(cwd="/work/app", home="/home/ann", tmp="/tmp") f_rows = f_sensor.record("open", ("/work/app/reports/report-42.csv", "w", 0)) assert [r["target"] for r in f_rows] == ["./reports/report-{n}.csv"] @@ -487,7 +487,7 @@ def test_a_row_of_another_install_has_no_request_id() -> None: def test_two_call_sites_of_one_pattern_share_the_first_ones() -> None: # adapted from: SideEffectsService.LIMITATION_FILES - sensor = FilesSensor(cwd="/work/app", home="/home/ann", tmp="/tmp") # noqa: S108 + sensor = FilesSensor(cwd="/work/app", home="/home/ann", tmp="/tmp") def first_helper() -> list[dict[str, Any]]: return [dict(r) for r in sensor.record("open", ("/work/app/reports/report-1.csv", "r", 0))] @@ -509,7 +509,7 @@ def second_helper() -> list[dict[str, Any]]: def test_a_file_rows_origin_follows_its_frames() -> None: # adapted from: SideEffectOrigins.origin - sensor = FilesSensor(cwd="/work/app", home="/home/ann", tmp="/tmp") # noqa: S108 + sensor = FilesSensor(cwd="/work/app", home="/home/ann", tmp="/tmp") app_rows = [dict(r) for r in sensor.record("open", ("/work/app/from_app.csv", "r", 0))] assert len(app_rows) == 1 assert app_rows[0].get("origin") == "unknown" @@ -518,7 +518,7 @@ def test_a_file_rows_origin_follows_its_frames() -> None: lib_rows: list[dict[str, Any]] = [] lib_file = os.path.join(sys.prefix, "Lib", "site-packages", "_sharpit_test_lib_origin.py") lib_ns: dict[str, Any] = {"__name__": "_sharpit_test_lib_origin", "sensor": sensor, "lib_rows": lib_rows} - exec( # noqa: S102 + exec( compile( "def lib_open():\n" " lib_rows.extend(dict(r) for r in sensor.record('open', ('/work/app/from_lib.csv', 'r', 0)))\n", @@ -537,7 +537,7 @@ def test_a_file_rows_origin_follows_its_frames() -> None: stdlib_rows: list[dict[str, Any]] = [] # Compile the target with a stdlib filename so no application or library frame is on the thread's stack stdlib_ns: dict[str, Any] = {"__name__": "os", "sensor": sensor, "stdlib_rows": stdlib_rows} - exec( # noqa: S102 + exec( compile( "def stdlib_open():\n" " stdlib_rows.extend(dict(r) for r in sensor.record('open', ('/work/app/from_stdlib.csv', 'r', 0)))\n", diff --git a/tests/engine/sensors/test_sink_values.py b/tests/engine/sensors/test_sink_values.py index 2780dc880..2011640a7 100644 --- a/tests/engine/sensors/test_sink_values.py +++ b/tests/engine/sensors/test_sink_values.py @@ -595,7 +595,7 @@ def worker(tid: int) -> None: try: held.match(info("name=alice", request_id=rid), "x/alice", "file") held.end(rid) - except Exception as exc: # noqa: BLE001 + except Exception as exc: errors.append(exc) old_interval = sys.getswitchinterval() diff --git a/tests/engine/sqltext/test_dialect_truth.py b/tests/engine/sqltext/test_dialect_truth.py index 116c9478c..0880c9b99 100644 --- a/tests/engine/sqltext/test_dialect_truth.py +++ b/tests/engine/sqltext/test_dialect_truth.py @@ -39,7 +39,7 @@ def test_a_named_driver_reads_its_block_whatever_the_dialect_is() -> None: @pytest.mark.usefixtures("falsy") def test_an_orm_owner_names_its_dialect() -> None: owner = types.SimpleNamespace(dialect=types.SimpleNamespace(name="sqlite")) - assert orm._dialect_of(owner) is Dialect.SQLITE # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + assert orm._dialect_of(owner) is Dialect.SQLITE # pyright: ignore[reportPrivateUsage] @pytest.mark.usefixtures("falsy") diff --git a/tests/engine/sqltext/test_lexer.py b/tests/engine/sqltext/test_lexer.py index cd04f6444..2b9c8d045 100644 --- a/tests/engine/sqltext/test_lexer.py +++ b/tests/engine/sqltext/test_lexer.py @@ -126,7 +126,7 @@ def test_the_scan_is_frozen() -> None: def test_the_facade_reads_the_lexer_the_package_names(monkeypatch: pytest.MonkeyPatch) -> None: - from sharpit.engine.capture import sqlscan # noqa: PLC0415 + from sharpit.engine.capture import sqlscan real, seen = sqltext.LEXER, [] diff --git a/tests/engine/sqltext/test_no_mysql_flag.py b/tests/engine/sqltext/test_no_mysql_flag.py index bf29a65c2..5f91b92c1 100644 --- a/tests/engine/sqltext/test_no_mysql_flag.py +++ b/tests/engine/sqltext/test_no_mysql_flag.py @@ -296,7 +296,7 @@ def _profile(ctx: SharpitContext) -> list[dict[str, Any]]: def _mcp(ctx: SharpitContext) -> list[dict[str, Any]]: - return tools._sql_traces_view(ctx, None, 10)["entries"] # noqa: SLF001 + return tools._sql_traces_view(ctx, None, 10)["entries"] SURFACES: dict[str, Callable[[SharpitContext], list[dict[str, Any]]]] = { diff --git a/tests/engine/sqltext/test_resolver.py b/tests/engine/sqltext/test_resolver.py index fabae0a86..d0ecf8270 100644 --- a/tests/engine/sqltext/test_resolver.py +++ b/tests/engine/sqltext/test_resolver.py @@ -269,7 +269,7 @@ class Unreadable: def _moduleless_error() -> type[Exception]: """A class whose dictionary has no ``__module__``: ``type`` raises when asked for it.""" namespace: dict[str, object] = {} - exec("E = type('Error', (Exception,), {})", namespace) # noqa: S102 - globals without __name__ + exec("E = type('Error', (Exception,), {})", namespace) # globals without __name__ return namespace["E"] # pyright: ignore[reportReturnType] @@ -357,7 +357,7 @@ def read(_cls: type) -> object: def test_a_class_with_no_module_hides_the_application_family() -> None: # a class built where globals have no ``__name__`` gets no ``__module__``; ``del`` refuses, this does not builtins = {"type": type, "Exception": Exception} - no_module = eval('type("NoModule", (Exception,), {})', {"__builtins__": builtins}) # noqa: S307 + no_module = eval('type("NoModule", (Exception,), {})', {"__builtins__": builtins}) assert resolve(no_module("failed"), [ExceptionDialectSource()], context(Dialect.POSTGRESQL)) is Dialect.UNSUPPORTED @@ -570,7 +570,7 @@ def __hash__(self) -> int: def test_the_name_table_cannot_be_changed() -> None: with pytest.raises(TypeError): - dialect_module._NAMES["oracle"] = Dialect.POSTGRESQL # noqa: SLF001 # pyright: ignore[reportIndexIssue] + dialect_module._NAMES["oracle"] = Dialect.POSTGRESQL # pyright: ignore[reportIndexIssue] def test_exception_leaves_are_bounded() -> None: diff --git a/tests/engine/test_application_family.py b/tests/engine/test_application_family.py index 5d47af3f5..8f07b9765 100644 --- a/tests/engine/test_application_family.py +++ b/tests/engine/test_application_family.py @@ -354,7 +354,7 @@ def test_a_statement_reads_its_own_connection_over_the_application(monkeypatch: _engine("mysql+pymysql://db/app"), Dialect.MYSQL_FAMILY, ) - dispatch._record(event, [handle.context]) # noqa: SLF001 + dispatch._record(event, [handle.context]) assert seen == [Dialect.MYSQL_FAMILY] @@ -441,7 +441,7 @@ def test_install_wires_the_application_family_to_capture_stores() -> None: assert wiring.log_handler.application() is Dialect.POSTGRESQL transactions = handle.context.capture.transactions assert transactions is not None - assert transactions._application() is Dialect.POSTGRESQL # noqa: SLF001 + assert transactions._application() is Dialect.POSTGRESQL def test_span_buffer_requires_an_application_family() -> None: diff --git a/tests/engine/test_console_contract.py b/tests/engine/test_console_contract.py index 6e01b61a8..f9d4eabb5 100644 --- a/tests/engine/test_console_contract.py +++ b/tests/engine/test_console_contract.py @@ -81,6 +81,16 @@ def test_unknown_path_under_disabled_panel_is_forbidden(no_side_effects) -> None assert _json(response)["error"] == "sharpit panel access denied" +def test_empty_origin_header_is_refused_by_the_console(no_side_effects) -> None: + no_side_effects.unblock_network() + ctx = _context(no_side_effects) + + response = asyncio.run(Console(ctx).handle(_request(headers=((b"host", b"localhost"), (b"origin", b""))))) + + assert response.status == 403 + assert _json(response) == {"error": MESSAGE_CROSS_SITE} + + @pytest.mark.parametrize( ("headers", "error"), [ diff --git a/tests/engine/test_data.py b/tests/engine/test_data.py index fb799549a..5844e6cc7 100644 --- a/tests/engine/test_data.py +++ b/tests/engine/test_data.py @@ -9,19 +9,19 @@ import pytest pytest.importorskip("sqlalchemy") -import sqlalchemy as sa # noqa: E402 -from sqlalchemy import exc, orm # noqa: E402 -from sqlalchemy.orm import DeclarativeBase, mapped_column, relationship # noqa: E402 - -from data_support import spy_on_configure # noqa: E402 -from fastapi import FastAPI # noqa: E402 -from sharpit import install # noqa: E402 -from sharpit.engine import sqla # noqa: E402 -from sharpit.engine.activation import ActivationStatus # noqa: E402 -from sharpit.engine.collectors import data # noqa: E402 -from sharpit.engine.context import SharpitContext # noqa: E402 -from sharpit.engine.sqltext import Dialect # noqa: E402 -from sharpit.settings import SharpitSettings # noqa: E402 +import sqlalchemy as sa +from sqlalchemy import exc, orm +from sqlalchemy.orm import DeclarativeBase, mapped_column, relationship + +from data_support import spy_on_configure +from fastapi import FastAPI +from sharpit import install +from sharpit.engine import sqla +from sharpit.engine.activation import ActivationStatus +from sharpit.engine.collectors import data +from sharpit.engine.context import SharpitContext +from sharpit.engine.sqltext import Dialect +from sharpit.settings import SharpitSettings pytestmark = pytest.mark.needs_sqlalchemy @@ -61,7 +61,7 @@ def observe(_error: BaseException, application: Any) -> Dialect: error = RuntimeError("failed") text = f"Could not read owner (RuntimeError: {error})" try: - data._masked(ctx, text, error) # noqa: SLF001 + data._masked(ctx, text, error) assert families == [Dialect.POSTGRESQL] finally: handle.uninstall_capture() @@ -78,7 +78,7 @@ def spy(_masker: object, text: str, dialect: Dialect) -> str: monkeypatch.setattr(data, "error_text", spy) handle = install(FastAPI(), enabled="ON", show_banner=False, engines=[sa.create_engine("sqlite://")]) try: - data._masked(handle.context, "Could not read owner") # noqa: SLF001 + data._masked(handle.context, "Could not read owner") assert seen == [Dialect.SQLITE] finally: handle.uninstall_capture() diff --git a/tests/engine/test_guard.py b/tests/engine/test_guard.py index 7a9b5bce9..2e174b34b 100644 --- a/tests/engine/test_guard.py +++ b/tests/engine/test_guard.py @@ -87,6 +87,7 @@ import re import time +from dataclasses import replace from pathlib import Path import pytest @@ -405,7 +406,7 @@ def test_odd_blank_host_is_present_and_rejected(host: str): def test_odd_blank_origin_is_cross_site(): assert decide(facts("GET", "127.0.0.1", "localhost:8000", " ")) == CROSS - assert decide(facts("GET", "127.0.0.1", "localhost:8000", " \t ")) is None + # the ASCII blank spellings are covered by test_a_blank_origin_is_present_and_cross_site # ported: LocalhostGuardTests.rejectsMalformedHostHeaderEvenWhenAllowListIsConfigured @@ -506,9 +507,10 @@ def test_reports_malformed_host_headers_as_unusable(value: str | None): ("value", "expected"), [ ("http://localhost:8080", "localhost"), - ("https://localhost:8080/", "localhost"), - ("http://[::1]:8080/api", "::1"), ("http://localhost:5173", "localhost"), + ("http://localhost:65535", "localhost"), + ("HTTPS://LocalHost", "localhost"), + ("http://[::1]:80", "::1"), (None, None), (" ", None), ("null", None), @@ -519,10 +521,48 @@ def test_reports_malformed_host_headers_as_unusable(value: str | None): ], ) def test_parses_origin_headers(value: str | None, expected: str | None): + # a pin: every row passed before the strict serialized-origin parser and must keep passing assert extract_origin_host(value) == expected -# --- Cross-site (every method in sharpit) --------------------------------------------------------------------------- +# ported: LocalhostGuardTests.parsesOriginHeadersThroughTheSameAuthorityParser (the rows 2.6.0 changed to null) +@pytest.mark.parametrize( + "value", + [ + pytest.param("https://localhost:8080/", id="trailing-slash"), + pytest.param("http://[::1]:8080/api", id="ipv6-with-path"), + pytest.param("localhost:8080", id="no-scheme"), + pytest.param("ftp://localhost:8080", id="scheme-ftp"), + pytest.param("http://localhost:999999", id="port-six-digits"), + pytest.param("http://localhost:65536", id="port-above-65535"), + pytest.param("http://localhost:" + "9" * 5000, id="port-5000-digits"), + pytest.param("http://localhost:", id="trailing-colon"), + pytest.param("http://[::1]:", id="ipv6-trailing-colon"), + pytest.param(" http://localhost:8080", id="leading-space"), + pytest.param("http://localhost:8080 ", id="trailing-space"), + ], +) +def test_serialized_origin_rejects_what_2_6_0_rejects(value: str): + assert extract_origin_host(value) is None + + +# ported: LocalhostGuardTests.parsesOriginHeadersThroughTheSameAuthorityParser +@pytest.mark.parametrize( + "value", + [ + pytest.param("", id="empty"), + pytest.param(" ", id="blank"), + pytest.param("null", id="opaque"), + pytest.param("http://localhost:8080#f", id="fragment"), + pytest.param("http://local\thost:8080", id="tab"), + ], +) +def test_serialized_origin_rejection_pins(value: str): + # a pin: these rows returned None before the strict parser and must keep doing so + assert extract_origin_host(value) is None + + +# --- Cross-site (every method in sharpit; the origin must be a serialized http(s) origin) --------------------------- # ported: LocalhostGuardTests.rejectsCrossSiteOriginOnStateChangingRequest @@ -535,9 +575,9 @@ def test_allows_same_origin_state_changing_request(): assert decide(post("127.0.0.1", "localhost:8080", "http://localhost:8080", None)) is None -# ported: LocalhostGuardTests.allowsSameOriginStateChangingRequestWithTrailingSlashOrigin -def test_allows_same_origin_with_trailing_slash_origin(): - assert decide(post("127.0.0.1", "localhost:8080", "http://localhost:8080/", None)) is None +# ported: LocalhostGuardTests.rejectsNonSerializedOriginWithTrailingSlash +def test_rejects_non_serialized_origin_with_trailing_slash(): + assert decide(post("127.0.0.1", "localhost:8080", "http://localhost:8080/", None)) == CROSS # ported: LocalhostGuardTests.allowsStateChangingRequestWithoutOrigin @@ -578,7 +618,102 @@ def test_same_origin_vite_port_allowed(): # ported: LocalhostGuardTests.allowsViteProxyStateChangingRequestAcrossPorts def test_allows_vite_proxy_state_changing_request_across_ports(): - assert decide(post("127.0.0.1", "localhost:8080", "http://localhost:5173", None)) is None + # BootUI 2.6.0 sends the browser's same-origin assertion; without it the origin must match port for port + assert decide(post("127.0.0.1", "localhost:8080", "http://localhost:5173", "same-origin")) is None + + +# ported: LocalhostGuardTests.browserMetadataNeverMakesMalformedOrForeignOriginsAcceptable +@pytest.mark.parametrize("api", [None, "/loggers/x"]) +@pytest.mark.parametrize("origin", ["", " ", " \t "]) +def test_a_blank_origin_is_present_and_cross_site(api: str | None, origin: str): + assert decide(facts("GET", "127.0.0.1", "localhost:8000", origin, api=api)) == CROSS + + +# ported: LocalhostGuardTests.rejectsSameSiteWritesAndUnknownFetchMetadataWithoutAnOrigin +@pytest.mark.parametrize("site", ["same-site", "cross-site", "", "unexpected", "Same-Site"]) +def test_same_site_and_unknown_fetch_metadata_refuse_a_write(site: str): + assert decide(post("127.0.0.1", "localhost:8080", None, site)) == CROSS + + +@pytest.mark.parametrize("site", ["none", "same-origin", "NONE", "Same-Origin"]) +def test_allowed_fetch_metadata_allows_a_write(site: str): + assert decide(post("127.0.0.1", "localhost:8080", None, site)) is None + + +# derived: sharpit accepts only ASCII spellings of the fetch-metadata allow-list. +@pytest.mark.parametrize("site", ["\u017fame-origin", "same-origin ", " none", "n\u00f6ne"]) +def test_fetch_metadata_allow_list_is_ascii_only(site: str): + assert decide(post("127.0.0.1", "localhost:8080", None, site)) == CROSS + + +# ported: LocalhostGuardTests.originOnlyWritesMustMatchSchemeAndEffectivePort +def test_origin_only_write_must_match_scheme_and_effective_port(): + assert decide(post("127.0.0.1", "localhost:8080", "http://localhost:5173", None)) == CROSS + assert decide(post("127.0.0.1", "localhost:8080", "https://localhost:8080", None)) == CROSS + assert decide(post("127.0.0.1", "localhost:80", "http://localhost", None)) is None + secure = replace(post("127.0.0.1", "localhost", "https://localhost:443", None), scheme="https") + assert decide(secure) is None + + +# ported: LocalhostGuardTests.browserMetadataNeverMakesMalformedOrForeignOriginsAcceptable +@pytest.mark.parametrize("api", [None, "/loggers/x"]) +def test_browser_metadata_never_makes_malformed_or_foreign_origins_acceptable(api: str | None): + origins = ( + "", + "localhost:8080", + "null", + "http://localhost:8080/", + "http://localhost:8080?x", + "http://user@localhost:8080", + "ftp://localhost:8080", + "http://localhost:999999", + "http://foreign.invalid:8080", + ) + for origin in origins: + assert decide(facts("POST", "127.0.0.1", "localhost:8080", origin, "same-origin", api=api)) == CROSS + + +# derived: sharpit keeps the full-origin match on an API path (spec section 14, row 35; no BootUI counterpart) +def test_an_api_path_still_requires_the_full_origin_when_same_origin_is_asserted(): + f = facts("POST", "127.0.0.1", "localhost:8080", "http://localhost:5173", "same-origin", api="/loggers/x") + assert decide(f) == CROSS + + +# derived: safe reads ignore fetch-site values other than the explicit cross-site rejection. +@pytest.mark.parametrize( + ("site", "api"), + [ + pytest.param("same-site", None, id="same-site-navigation"), + pytest.param("same-site", "/overview", id="same-site-api-read"), + pytest.param("", "/overview", id="blank-api-metadata"), + pytest.param("unexpected", "/overview", id="unknown-api-metadata"), + ], +) +def test_unknown_fetch_metadata_on_a_safe_read_is_served(site: str, api: str | None): + assert decide(facts("GET", "127.0.0.1", "localhost:8080", None, site, api=api)) is None + + +# derived: serialized IPv6 origins preserve the bracketed authority host. +def test_ipv6_origin_with_port_matches_bracketed_host(): + f = facts("POST", "127.0.0.1", "[::1]:8080", "http://[::1]:8080", api="/loggers/x") + assert decide(f) is None + + +# derived: a serialized IPv6 origin without a port uses the scheme's default port. +def test_ipv6_origin_without_port_uses_default_port(): + assert decide(facts("POST", "127.0.0.1", "[::1]", "http://[::1]", api="/loggers/x")) is None + + +# derived: API requests compare the parsed IPv6 origin's effective port. +def test_ipv6_origin_other_port_is_cross_site_on_api(): + f = facts("POST", "127.0.0.1", "[::1]:8080", "http://[::1]:5173", api="/loggers/x") + assert decide(f) == CROSS + + +# derived: schemes and registered-name hosts in origins are case-insensitive. +def test_mixed_case_scheme_and_host_match_on_write(): + f = facts("POST", "127.0.0.1", "LOCALHOST:8080", "HTTP://LocalHost:8080", api="/loggers/x") + assert decide(f) is None # ported: LocalhostGuardTests.rejectsOriginWriteWhenHostHeaderIsBlank diff --git a/tests/engine/test_health.py b/tests/engine/test_health.py index 006973fca..6fbd1fb86 100644 --- a/tests/engine/test_health.py +++ b/tests/engine/test_health.py @@ -343,7 +343,7 @@ def observe(_error: BaseException, application: Callable[[], Dialect | None]) -> return Dialect.POSTGRESQL monkeypatch.setattr(health_module, "exception_dialect", observe) - service._failure(RuntimeError("failed")) # noqa: SLF001 + service._failure(RuntimeError("failed")) assert families == [Dialect.POSTGRESQL] @@ -387,7 +387,7 @@ def test_engines_only_guidance(tmp_path: Any): # derived: Task 27 Opus review r2 #1: a check raising a class with no __module__ is DOWN; the check never raises def test_a_check_raising_a_class_with_no_module_is_down() -> None: namespace: dict[str, Any] = {} - exec("E = type('Error', (Exception,), {})", namespace) # noqa: S102 - globals without __name__ + exec("E = type('Error', (Exception,), {})", namespace) # globals without __name__ def broken() -> bool: raise namespace["E"]("failed") diff --git a/tests/engine/test_models.py b/tests/engine/test_models.py index e6cbcf5d5..e38e19bb4 100644 --- a/tests/engine/test_models.py +++ b/tests/engine/test_models.py @@ -5,12 +5,12 @@ import pytest pytest.importorskip("sqlalchemy") -import sqlalchemy as sa # noqa: E402 -from sqlalchemy.orm import DeclarativeBase, mapped_column, relationship # noqa: E402 +import sqlalchemy as sa +from sqlalchemy.orm import DeclarativeBase, mapped_column, relationship -from data_support import spy_on_configure # noqa: E402 -from sharpit.engine import models # noqa: E402 -from sharpit.engine.collectors import data # noqa: E402 +from data_support import spy_on_configure +from sharpit.engine import models +from sharpit.engine.collectors import data pytestmark = pytest.mark.needs_sqlalchemy diff --git a/tests/engine/test_pools.py b/tests/engine/test_pools.py index ac6ca2f74..1b3c9a2ec 100644 --- a/tests/engine/test_pools.py +++ b/tests/engine/test_pools.py @@ -70,7 +70,7 @@ def test_unlimited_overflow_and_no_recycle_null(tmp_path: Path): def test_async_adapted_queue_pool(tmp_path: Path): - from sqlalchemy.ext.asyncio import create_async_engine # noqa: PLC0415 + from sqlalchemy.ext.asyncio import create_async_engine engine = create_async_engine(f"sqlite+aiosqlite:///{tmp_path / 'a.db'}") (pool,) = pools_report(_ctx(engine))["pools"] diff --git a/tests/engine/test_sensors_audit.py b/tests/engine/test_sensors_audit.py index 31f98dd3d..439fb8373 100644 --- a/tests/engine/test_sensors_audit.py +++ b/tests/engine/test_sensors_audit.py @@ -378,7 +378,7 @@ def test_the_processes_sensor_survives_odd_arguments() -> None: def _files(**options: Any) -> FilesSensor: - base = {"cwd": "/work/app", "home": "/home/ann", "tmp": "/tmp"} # noqa: S108 - a pattern under test, never opened + base = {"cwd": "/work/app", "home": "/home/ann", "tmp": "/tmp"} # a pattern under test, never opened return FilesSensor(**{**base, **options}) @@ -705,7 +705,7 @@ def test_no_argument_or_value_fragment_reaches_the_journal( ) def test_another_users_home_never_keeps_their_name(path: str, pattern: str) -> None: # ported: SideEffectPathsTests.anotherUsersHomeNeverKeepsTheirName - rows = _files(cwd="/srv/app", home="/home/ann", tmp="/tmp").record("open", (path, "r", 0)) # noqa: S108 + rows = _files(cwd="/srv/app", home="/home/ann", tmp="/tmp").record("open", (path, "r", 0)) assert [row["target"] for row in rows] == [pattern] diff --git a/tests/engine/test_sqla_read_only.py b/tests/engine/test_sqla_read_only.py index dc746ed8e..9f40c1b52 100644 --- a/tests/engine/test_sqla_read_only.py +++ b/tests/engine/test_sqla_read_only.py @@ -206,7 +206,7 @@ def test_read_only_wrapper_rejects_write() -> None: read_only=True, ) ) - except Exception as exc: # noqa: BLE001 + except Exception as exc: failed = "read-only" in str(exc).lower() or "readonly" in str(exc).lower() assert failed is True diff --git a/tests/engine/test_sqlite_source.py b/tests/engine/test_sqlite_source.py index c8b1338aa..3f6f6e55a 100644 --- a/tests/engine/test_sqlite_source.py +++ b/tests/engine/test_sqlite_source.py @@ -289,7 +289,7 @@ async def run() -> None: def _module_named(name: str) -> Callable[[], sqlite3.Connection]: namespace: dict[str, Any] = {"__name__": name} - exec("import sqlite3\ndef open_():\n return sqlite3.connect(':memory:')\n", namespace) # noqa: S102 + exec("import sqlite3\ndef open_():\n return sqlite3.connect(':memory:')\n", namespace) return namespace["open_"] @@ -335,7 +335,7 @@ def _owner_in(module: str, *, slots: bool = False) -> Any: body = " __slots__ = ('con',)\n" if slots else "" init = " def __init__(self):\n self.con = sqlite3.connect(':memory:')\n" source = f"import sqlite3\nclass Owner:\n{body}{init}" - exec(source, namespace) # noqa: S102 + exec(source, namespace) return namespace["Owner"]() @@ -493,7 +493,7 @@ def test_sharpit_imports_without_sqlite3(): "assert sqlite.is_attached() is False\n" "assert sqlite.limitations() == ['sqlite3 is not available in this Python build']\n" ) - done = subprocess.run([sys.executable, "-c", code], capture_output=True, text=True, timeout=60, check=False) # noqa: S603 + done = subprocess.run([sys.executable, "-c", code], capture_output=True, text=True, timeout=60, check=False) assert done.stderr.strip().splitlines()[-1:] == [] assert done.returncode == 0 diff --git a/tests/engine/test_swallowed_overhead.py b/tests/engine/test_swallowed_overhead.py index 8190081f7..8d44f87c9 100644 --- a/tests/engine/test_swallowed_overhead.py +++ b/tests/engine/test_swallowed_overhead.py @@ -45,7 +45,7 @@ def _library(tmp_path: Path) -> Callable[[], int]: path.parent.mkdir() path.write_text(LIBRARY, "utf-8") namespace: dict[str, Callable[[], int]] = {} - exec(compile(LIBRARY, str(path), "exec"), namespace) # noqa: S102 - a planted library module + exec(compile(LIBRARY, str(path), "exec"), namespace) # a planted library module return namespace["library_handles"] diff --git a/tests/engine/test_threads.py b/tests/engine/test_threads.py index 6f36be373..ad15a031a 100644 --- a/tests/engine/test_threads.py +++ b/tests/engine/test_threads.py @@ -125,8 +125,8 @@ def test_infer_state_runnable_cases(): @pytest.mark.parametrize("wait", ["event", "queue", "executor"]) def test_real_blocked_threads_waiting(wait: str): - import queue # noqa: PLC0415 - from concurrent.futures import ThreadPoolExecutor # noqa: PLC0415 + import queue + from concurrent.futures import ThreadPoolExecutor event, q = threading.Event(), queue.Queue[int]() executor = ThreadPoolExecutor(1, thread_name_prefix="t8-idle") diff --git a/tests/engine/testsession/test_doubles.py b/tests/engine/testsession/test_doubles.py index 4f0db8980..abde0fc35 100644 --- a/tests/engine/testsession/test_doubles.py +++ b/tests/engine/testsession/test_doubles.py @@ -14,7 +14,7 @@ def _caught(call: Callable[[], object]) -> BaseException: try: call() - except Exception as exc: # noqa: BLE001 + except Exception as exc: return exc raise AssertionError("nothing was raised") diff --git a/tests/engine/testsession/test_sink.py b/tests/engine/testsession/test_sink.py index 0fe052e70..4c6eb0aca 100644 --- a/tests/engine/testsession/test_sink.py +++ b/tests/engine/testsession/test_sink.py @@ -372,7 +372,7 @@ def _raised_here(error: BaseException) -> BaseException: """``error`` with the traceback a C driver leaves: one frame, the caller's, and nothing below it.""" try: raise error - except BaseException as exc: # noqa: BLE001 + except BaseException as exc: return exc @@ -384,7 +384,7 @@ def _raised_below(error: BaseException) -> BaseException: """``error`` raised by Python code below the catching frame (a host cursor class, a driver written in Python).""" try: _raise(error) - except BaseException as exc: # noqa: BLE001 + except BaseException as exc: return exc raise AssertionError("unreachable") diff --git a/tests/fastapi/test_architecture_api.py b/tests/fastapi/test_architecture_api.py index 4610c6bad..ad76fa2c6 100644 --- a/tests/fastapi/test_architecture_api.py +++ b/tests/fastapi/test_architecture_api.py @@ -91,7 +91,7 @@ def test_bounded_files_and_symlinks(tmp_path: Path) -> None: _write(outside / "secret.py", "SECRET = 42\n") if sys.platform == "win32": - import _winapi # noqa: PLC0415 + import _winapi _winapi.CreateJunction(str(outside), str(pkg / "jlink")) else: diff --git a/tests/fastapi/test_architecture_source_reads.py b/tests/fastapi/test_architecture_source_reads.py index e67cfd180..87934d916 100644 --- a/tests/fastapi/test_architecture_source_reads.py +++ b/tests/fastapi/test_architecture_source_reads.py @@ -70,7 +70,7 @@ def _link_dir(target: Path, link: Path) -> bool: """A directory link (a junction on Windows, a symlink elsewhere); False when the platform refuses it.""" try: if sys.platform == "win32": - import _winapi # noqa: PLC0415 + import _winapi _winapi.CreateJunction(str(target), str(link)) else: diff --git a/tests/fastapi/test_capture_wiring.py b/tests/fastapi/test_capture_wiring.py index 0a2bcae51..0b3c56008 100644 --- a/tests/fastapi/test_capture_wiring.py +++ b/tests/fastapi/test_capture_wiring.py @@ -813,7 +813,7 @@ def test_streams_the_full_pdf_despite_malformed_metadata_and_repository_failures monkeypatch: pytest.MonkeyPatch, caplog: pytest.LogCaptureFixture ): # ported: SpringHttpExchangeStreamingTest.streamsTheFullPdfDespiteMalformedMetadataAndRepositoryFailures - # ported: WebFluxHttpExchangeStreamingTest.streamsTheFullPdfDespiteARepositoryFailureDuringCommit # noqa: E501 + # ported: WebFluxHttpExchangeStreamingTest.streamsTheFullPdfDespiteARepositoryFailureDuringCommit app = FastAPI() body = b"%PDF-1.4\n" + b"x" * 200_000 diff --git a/tests/fastapi/test_cross_site_origin.py b/tests/fastapi/test_cross_site_origin.py new file mode 100644 index 000000000..a0ae62b76 --- /dev/null +++ b/tests/fastapi/test_cross_site_origin.py @@ -0,0 +1,62 @@ +"""The cross-site decision through the FastAPI adapter: header values that cannot be read as an origin are refused. + +BootUI's ``java.net.URI`` rejects a port that does not fit an int, so an oversized port is an unreadable origin there. +The Python guard refuses it by its digit count before ``int()``, which raises on a long digit string. +""" + +from __future__ import annotations + +from typing import Any + +from fastapi.testclient import TestClient + +from fastapi import FastAPI +from sharpit import install +from sharpit.engine.guard import MESSAGE_CROSS_SITE + +LOOPBACK = ("127.0.0.1", 5) +API_ACTION = "/sharpit/api/mcp-server/toggle" +OVERSIZED_PORT = "9" * 5000 # more digits than int() converts: 4300 on Python 3.12+ + + +def _client() -> TestClient: + app = FastAPI() + install(app, enabled="ON", show_banner=False, config_scan=False) + return TestClient(app, base_url="http://localhost", client=LOOPBACK, raise_server_exceptions=False) + + +def _outcome(response: Any) -> tuple[int, Any]: + """Status and body; a body that is not JSON (an unhandled error page) is returned as text, so a failure is an + assertion on the outcome, not an exception inside the test.""" + is_json = response.headers.get("content-type", "").startswith("application/json") + return response.status_code, response.json() if is_json else response.text + + +def test_oversized_origin_port_is_cross_site_without_error() -> None: + with _client() as client: + response = client.post(API_ACTION, headers={"Origin": f"http://localhost:{OVERSIZED_PORT}"}) + + assert response.status_code == 403 + assert response.json() == {"error": MESSAGE_CROSS_SITE} + + +def test_oversized_host_port_is_cross_site_without_error() -> None: + with _client() as client: + response = client.post( + API_ACTION, headers={"Host": f"localhost:{OVERSIZED_PORT}", "Origin": "http://localhost"} + ) + + assert response.status_code == 403 + assert response.json() == {"error": MESSAGE_CROSS_SITE} + + +def test_empty_origin_header_is_refused_by_the_fastapi_adapter() -> None: + # a present but empty Origin is not an absent one: it names no origin, so it is cross-site on every method + with _client() as client: + write = client.post(API_ACTION, headers={"Origin": ""}) + read = client.get("/sharpit/api/overview", headers={"Origin": ""}) + + assert write.status_code == 403 + assert write.json() == {"error": MESSAGE_CROSS_SITE} + assert read.status_code == 403 + assert read.json() == {"error": MESSAGE_CROSS_SITE} diff --git a/tests/fastapi/test_data_api.py b/tests/fastapi/test_data_api.py index b3e189dfa..3a151c02b 100644 --- a/tests/fastapi/test_data_api.py +++ b/tests/fastapi/test_data_api.py @@ -10,16 +10,16 @@ import pytest pytest.importorskip("sqlalchemy") -import sqlalchemy as sa # noqa: E402 -from fastapi.testclient import TestClient # noqa: E402 -from sqlalchemy.orm import DeclarativeBase, mapped_column, relationship # noqa: E402 - -from conftest import SideEffectGuard # noqa: E402 -from data_support import spy_on_configure # noqa: E402 -from fastapi import FastAPI # noqa: E402 -from golden import ROOT, assert_parity # noqa: E402 -from sharpit import install # noqa: E402 -from sharpit.engine.panels import PANELS, disabled_reason # noqa: E402 +import sqlalchemy as sa +from fastapi.testclient import TestClient +from sqlalchemy.orm import DeclarativeBase, mapped_column, relationship + +from conftest import SideEffectGuard +from data_support import spy_on_configure +from fastapi import FastAPI +from golden import ROOT, assert_parity +from sharpit import install +from sharpit.engine.panels import PANELS, disabled_reason pytestmark = pytest.mark.needs_sqlalchemy diff --git a/tests/fastapi/test_database_advisor_leased.py b/tests/fastapi/test_database_advisor_leased.py index 53a0ef609..7635cc84e 100644 --- a/tests/fastapi/test_database_advisor_leased.py +++ b/tests/fastapi/test_database_advisor_leased.py @@ -118,7 +118,7 @@ def _vendor_scan(url: str, dialect: str) -> tuple[list[str], dict[str, str], int found = asyncio.run( sqla.run_db_read( engine, - lambda c: catalog._catalog_and_vendor(c, sqla_inspect.CatalogBounds(), Masker("MASKED", True, None)), # noqa: SLF001 + lambda c: catalog._catalog_and_vendor(c, sqla_inspect.CatalogBounds(), Masker("MASKED", True, None)), 5.0, read_only=True, ) diff --git a/tests/fastapi/test_exceptions_api.py b/tests/fastapi/test_exceptions_api.py index b29ce872b..6b783a2eb 100644 --- a/tests/fastapi/test_exceptions_api.py +++ b/tests/fastapi/test_exceptions_api.py @@ -589,7 +589,7 @@ def test_logged_classified_exception_ignores_message_override(case: str) -> None def logs() -> dict[str, bool]: # pyright: ignore[reportUnusedFunction] try: raise driver('invalid input syntax for type integer: "hunter2secret"') - except Exception as exc: # noqa: BLE001 + except Exception as exc: log.exception("failed: %s", exc) try: raise MyError diff --git a/tests/fastapi/test_introspector_providers.py b/tests/fastapi/test_introspector_providers.py index cdc6f5ea7..8e0e0cafc 100644 --- a/tests/fastapi/test_introspector_providers.py +++ b/tests/fastapi/test_introspector_providers.py @@ -28,7 +28,7 @@ def get_db() -> Iterator[str]: _other = types.ModuleType("beans_other_mod") -exec("def get_db():\n yield 'b'\n", _other.__dict__) # noqa: S102 - a second module defining the same name +exec("def get_db():\n yield 'b'\n", _other.__dict__) # a second module defining the same name other_get_db: Any = _other.__dict__["get_db"] @@ -215,7 +215,7 @@ def a(db: str = Depends(get_db), t: str = Depends(OAuth2PasswordBearer(tokenUrl= def test_real_session_middleware_never_leaks_secret(): pytest.importorskip("itsdangerous") - from starlette.middleware.sessions import SessionMiddleware as RealSession # noqa: PLC0415 + from starlette.middleware.sessions import SessionMiddleware as RealSession app = FastAPI() app.add_middleware(RealSession, secret_key="s3cr3t") diff --git a/tests/fastapi/test_introspector_security.py b/tests/fastapi/test_introspector_security.py index f92b5e350..d562deb9d 100644 --- a/tests/fastapi/test_introspector_security.py +++ b/tests/fastapi/test_introspector_security.py @@ -392,7 +392,7 @@ def test_route_two_mounts_deep_is_explained(): def test_mount_without_middleware_keeps_its_parent_chain(): # council round 2 (Claude #7): a mount adding no middleware took the chain appended last (a sibling's) - from starlette.staticfiles import StaticFiles # noqa: PLC0415 + from starlette.staticfiles import StaticFiles api = FastAPI() api.get("/ping")(lambda: "p") diff --git a/tests/fastapi/test_mysql_leased.py b/tests/fastapi/test_mysql_leased.py index 9c23fa695..1fae2e62b 100644 --- a/tests/fastapi/test_mysql_leased.py +++ b/tests/fastapi/test_mysql_leased.py @@ -31,7 +31,7 @@ def _engine(**kwargs: Any) -> Any: def _read(engine: Any, fn: Any) -> Any: try: return asyncio.run(sqla.run_db_read(engine, fn, 5.0, read_only=True)) - except Exception as exc: # noqa: BLE001 + except Exception as exc: return exc diff --git a/tests/fastapi/test_transactions_listener_cost.py b/tests/fastapi/test_transactions_listener_cost.py index 3c9dd98c8..bf49aa4f3 100644 --- a/tests/fastapi/test_transactions_listener_cost.py +++ b/tests/fastapi/test_transactions_listener_cost.py @@ -103,7 +103,7 @@ class Gone: gone = Gone() dead = weakref.ref(gone) del gone - table: dict[str, Any] = getattr(transactions._contexts, "data") # noqa: B009, SLF001 # pyright: ignore[reportPrivateUsage] + table: dict[str, Any] = getattr(transactions._contexts, "data") # noqa: B009 # pyright: ignore[reportPrivateUsage] table["gone"] = dead try: _pairs(engine) diff --git a/tests/fastapi/test_w6_audit_sensors.py b/tests/fastapi/test_w6_audit_sensors.py index 4bbe37b2f..720bf4247 100644 --- a/tests/fastapi/test_w6_audit_sensors.py +++ b/tests/fastapi/test_w6_audit_sensors.py @@ -199,7 +199,7 @@ def test_a_copy_records_one_row_per_side_not_the_files_copyfile_opens( def opener(file: Any, mode: str = "r", *args: Any, **kwargs: Any) -> Any: hook.fire("open", file, mode, 0) # the event the real hook delivers from inside shutil's own open - return open(file, mode, *args, **kwargs) # noqa: SIM115 - shutil closes what it opened + return open(file, mode, *args, **kwargs) # shutil closes what it opened with _client(app), monkeypatch.context() as patched: patched.setattr(sys, "audit", hook.fire) diff --git a/tests/fixtures/apps/swallow_twins/twinlib.py b/tests/fixtures/apps/swallow_twins/twinlib.py index 2681bc815..d382bd793 100644 --- a/tests/fixtures/apps/swallow_twins/twinlib.py +++ b/tests/fixtures/apps/swallow_twins/twinlib.py @@ -11,7 +11,7 @@ def count_rows(table: str) -> int: connection = sqlite3.connect(":memory:") try: - return connection.execute(f"SELECT COUNT(*) FROM {table}").fetchone()[0] # noqa: S608 - a fixed fixture name + return connection.execute(f"SELECT COUNT(*) FROM {table}").fetchone()[0] # a fixed fixture name except sqlite3.OperationalError: log.warning("no such table: %s", table) raise diff --git a/tests/fixtures/bootui/2.6.0/meta.json b/tests/fixtures/bootui/2.6.0/meta.json new file mode 100644 index 000000000..9c2cdb1c9 --- /dev/null +++ b/tests/fixtures/bootui/2.6.0/meta.json @@ -0,0 +1,35 @@ +{ + "bootuiVersion": "2.6.0", + "app": "tiny-ledger", + "profile": "full", + "commit": "6efc78d31c08baae0fca7d33b00d464e9970bed6", + "tag": "v2.6.0", + "command": "python scripts/capture_bootui.py --version 2.6.0", + "tagObject": "395706e4ae65c60fcbfb32338a53d346a4a50ed3", + "mavenCommand": "mvn -pl bootui-spring-boot-starter -am -DskipTests -U -Dmaven.compiler.release=17 -Dmaven.compiler.proc=full compile -s ", + "javaVersionOutput": "openjdk version \"25.0.5.1\" 2026-11-17 LTS\nOpenJDK Runtime Environment Corretto-25.0.5.1.2 (build 25.0.5.1+2-LTS)\nOpenJDK 64-Bit Server VM Corretto-25.0.5.1.2 (build 25.0.5.1+2-LTS, mixed mode, sharing)", + "mavenVersionOutput": "Apache Maven 3.9.9 (8e8579a9e76f7d015ee5ec7bfcdc97d260186937)\nMaven home: \nJava version: 25.0.5.1, vendor: Amazon.com Inc., runtime: \nDefault locale: en_GB, platform encoding: UTF-8\nOS name: \"windows 11\", version: \"10.0\", arch: \"amd64\", family: \"windows\"\nWARNING: A restricted method in java.lang.System has been called\nWARNING: java.lang.System::load has been called by org.fusesource.jansi.internal.JansiLoader in an unnamed module (file:/)\nWARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for callers in this module\nWARNING: Restricted methods will be blocked in a future release unless native access is enabled", + "settingsOverride": "temporary settings.xml mirrors all repositories to Maven Central", + "jdk": "openjdk version \"25.0.5.1\" 2026-11-17 LTS\nOpenJDK Runtime Environment Corretto-25.0.5.1.2 (build 25.0.5.1+2-LTS)\nOpenJDK 64-Bit Server VM Corretto-25.0.5.1.2 (build 25.0.5.1+2-LTS, mixed mode, sharing)", + "captured": "2026-11-27", + "fixtures": [ + "meta.json", + "panels.json", + "routes.json", + "tools.json", + "rule-ids.json", + "rule-ids-diff.json", + "properties.json", + "bootui-tests.json" + ], + "counts": { + "reads": 85, + "actions": 78, + "starterMappings": 269, + "gaps": 76, + "unpanelledRoutes": 73, + "routeCountMethod": "catalog read/action helper calls and all starter src/main/java @*Mapping declarations", + "testClasses": 1206, + "testMethods": 12210 + } +} \ No newline at end of file diff --git a/tests/fixtures/bootui/2.6.0/panels.json b/tests/fixtures/bootui/2.6.0/panels.json new file mode 100644 index 000000000..4192ac07e --- /dev/null +++ b/tests/fixtures/bootui/2.6.0/panels.json @@ -0,0 +1,520 @@ +{ + "panels": [ + { + "id": "overview", + "title": "Scorecard", + "actionCapable": false, + "apiPrefixes": [] + }, + { + "id": "health", + "title": "Health", + "actionCapable": false, + "apiPrefixes": [ + "/health" + ] + }, + { + "id": "http-sessions", + "title": "HTTP Sessions", + "actionCapable": true, + "apiPrefixes": [ + "/http-sessions" + ] + }, + { + "id": "metrics", + "title": "Metrics", + "actionCapable": false, + "apiPrefixes": [ + "/metrics" + ] + }, + { + "id": "live-memory", + "title": "Live Memory", + "actionCapable": true, + "apiPrefixes": [ + "/live-memory" + ] + }, + { + "id": "jvm-tuning", + "title": "JVM Tuning", + "actionCapable": false, + "apiPrefixes": [ + "/jvm-tuning" + ] + }, + { + "id": "heap-dump", + "title": "Heap Dump", + "actionCapable": true, + "apiPrefixes": [ + "/heap-dump" + ] + }, + { + "id": "threads", + "title": "Threads", + "actionCapable": true, + "apiPrefixes": [ + "/threads" + ] + }, + { + "id": "memory", + "title": "Memory", + "actionCapable": true, + "apiPrefixes": [ + "/memory" + ] + }, + { + "id": "startup", + "title": "Startup Timeline", + "actionCapable": false, + "apiPrefixes": [ + "/startup" + ] + }, + { + "id": "graalvm", + "title": "GraalVM", + "actionCapable": true, + "apiPrefixes": [ + "/graalvm" + ] + }, + { + "id": "config", + "title": "Configuration", + "actionCapable": true, + "apiPrefixes": [ + "/config" + ] + }, + { + "id": "profile-diff", + "title": "Profile Diff", + "actionCapable": false, + "apiPrefixes": [ + "/profile-diff" + ] + }, + { + "id": "loggers", + "title": "Loggers", + "actionCapable": true, + "apiPrefixes": [ + "/loggers" + ] + }, + { + "id": "beans", + "title": "Beans", + "actionCapable": false, + "apiPrefixes": [ + "/beans" + ] + }, + { + "id": "conditions", + "title": "Conditions", + "actionCapable": false, + "apiPrefixes": [ + "/conditions" + ] + }, + { + "id": "mappings", + "title": "Mappings", + "actionCapable": false, + "apiPrefixes": [ + "/mappings" + ] + }, + { + "id": "spring-security", + "title": "Spring Security", + "actionCapable": false, + "apiPrefixes": [ + "/spring-security" + ] + }, + { + "id": "security", + "title": "Security", + "actionCapable": true, + "apiPrefixes": [ + "/security" + ] + }, + { + "id": "security-logs", + "title": "Security Logs", + "actionCapable": false, + "apiPrefixes": [ + "/security-logs" + ] + }, + { + "id": "pentesting", + "title": "Pentesting", + "actionCapable": true, + "apiPrefixes": [ + "/pentesting" + ] + }, + { + "id": "scheduled", + "title": "Scheduled Tasks", + "actionCapable": false, + "apiPrefixes": [ + "/scheduled" + ] + }, + { + "id": "database-connection-pools", + "title": "Database Connection Pools", + "actionCapable": false, + "apiPrefixes": [ + "/database-connection-pools" + ] + }, + { + "id": "postgresql", + "title": "PostgreSQL", + "actionCapable": true, + "apiPrefixes": [ + "/postgresql" + ] + }, + { + "id": "mysql", + "title": "MySQL", + "actionCapable": true, + "apiPrefixes": [ + "/mysql" + ] + }, + { + "id": "transactions", + "title": "Transactions", + "actionCapable": true, + "apiPrefixes": [ + "/transactions" + ] + }, + { + "id": "data", + "title": "Spring Data", + "actionCapable": false, + "apiPrefixes": [ + "/data" + ] + }, + { + "id": "hibernate", + "title": "Hibernate", + "actionCapable": true, + "apiPrefixes": [ + "/hibernate" + ] + }, + { + "id": "hibernate-statistics", + "title": "Hibernate Statistics", + "actionCapable": true, + "apiPrefixes": [ + "/hibernate-statistics" + ] + }, + { + "id": "database-advisor", + "title": "Database", + "actionCapable": true, + "apiPrefixes": [ + "/database-advisor" + ] + }, + { + "id": "cache", + "title": "Cache", + "actionCapable": true, + "apiPrefixes": [ + "/cache" + ] + }, + { + "id": "traces", + "title": "Traces", + "actionCapable": true, + "apiPrefixes": [ + "/traces" + ] + }, + { + "id": "log-tail", + "title": "Log Tail", + "actionCapable": false, + "apiPrefixes": [ + "/log-tail" + ] + }, + { + "id": "exceptions", + "title": "Exceptions", + "actionCapable": true, + "apiPrefixes": [ + "/exceptions" + ] + }, + { + "id": "http-exchanges", + "title": "HTTP Exchanges", + "actionCapable": false, + "apiPrefixes": [ + "/http-exchanges" + ] + }, + { + "id": "http-probe", + "title": "HTTP Probe", + "actionCapable": true, + "apiPrefixes": [ + "/http-probe" + ] + }, + { + "id": "architecture", + "title": "Architecture", + "actionCapable": true, + "apiPrefixes": [ + "/architecture" + ] + }, + { + "id": "vulnerabilities", + "title": "Vulnerabilities", + "actionCapable": true, + "apiPrefixes": [ + "/vulnerabilities" + ] + }, + { + "id": "devtools", + "title": "Spring DevTools", + "actionCapable": true, + "apiPrefixes": [ + "/devtools" + ] + }, + { + "id": "dev-services", + "title": "Dev Services", + "actionCapable": true, + "apiPrefixes": [ + "/dev-services" + ] + }, + { + "id": "copilot", + "title": "Copilot", + "actionCapable": false, + "apiPrefixes": [ + "/copilot" + ] + }, + { + "id": "claude-code", + "title": "Claude Code", + "actionCapable": false, + "apiPrefixes": [ + "/claude-code" + ] + }, + { + "id": "flyway", + "title": "Flyway", + "actionCapable": true, + "apiPrefixes": [ + "/flyway" + ] + }, + { + "id": "liquibase", + "title": "Liquibase", + "actionCapable": true, + "apiPrefixes": [ + "/liquibase" + ] + }, + { + "id": "github", + "title": "GitHub", + "actionCapable": true, + "apiPrefixes": [ + "/github" + ] + }, + { + "id": "rest-api", + "title": "REST API", + "actionCapable": true, + "apiPrefixes": [ + "/rest-api" + ] + }, + { + "id": "spring", + "title": "Spring", + "actionCapable": true, + "apiPrefixes": [ + "/spring" + ] + }, + { + "id": "crac", + "title": "CRaC", + "actionCapable": true, + "apiPrefixes": [ + "/crac" + ] + }, + { + "id": "sql-trace", + "title": "SQL Trace", + "actionCapable": true, + "apiPrefixes": [ + "/sql-trace" + ] + }, + { + "id": "rest-client-trace", + "title": "REST Client", + "actionCapable": true, + "apiPrefixes": [ + "/rest-client-trace" + ] + }, + { + "id": "ai", + "title": "AI Framework", + "actionCapable": false, + "apiPrefixes": [ + "/ai" + ] + }, + { + "id": "mcp-server", + "title": "MCP Server", + "actionCapable": true, + "apiPrefixes": [ + "/mcp-server" + ] + }, + { + "id": "cli", + "title": "Command Line", + "actionCapable": false, + "apiPrefixes": [] + }, + { + "id": "java-agent", + "title": "Java Agent", + "actionCapable": true, + "apiPrefixes": [ + "/java-agent" + ] + }, + { + "id": "activity", + "title": "Live Activity", + "actionCapable": true, + "apiPrefixes": [ + "/activity" + ] + }, + { + "id": "runtime-insights", + "title": "Runtime Insights", + "actionCapable": true, + "apiPrefixes": [ + "/runtime-insights" + ] + }, + { + "id": "code-inventory", + "title": "Code Inventory", + "actionCapable": false, + "apiPrefixes": [ + "/code-inventory" + ] + }, + { + "id": "code-paths", + "title": "Code Paths", + "actionCapable": true, + "apiPrefixes": [ + "/code-paths" + ] + }, + { + "id": "side-effects", + "title": "Side Effects", + "actionCapable": false, + "apiPrefixes": [ + "/side-effects" + ] + }, + { + "id": "email", + "title": "Email", + "actionCapable": true, + "apiPrefixes": [ + "/email" + ] + }, + { + "id": "kafka", + "title": "Kafka", + "actionCapable": true, + "apiPrefixes": [ + "/kafka" + ] + }, + { + "id": "rabbitmq", + "title": "RabbitMQ", + "actionCapable": true, + "apiPrefixes": [ + "/rabbitmq" + ] + }, + { + "id": "jms", + "title": "JMS", + "actionCapable": true, + "apiPrefixes": [ + "/jms" + ] + }, + { + "id": "fault-tolerance", + "title": "Fault Tolerance", + "actionCapable": false, + "apiPrefixes": [ + "/fault-tolerance" + ] + }, + { + "id": "websockets", + "title": "WebSockets", + "actionCapable": true, + "apiPrefixes": [ + "/websockets" + ] + } + ] +} \ No newline at end of file diff --git a/tests/fixtures/bootui/2.6.0/properties.json b/tests/fixtures/bootui/2.6.0/properties.json new file mode 100644 index 000000000..1419bb92b --- /dev/null +++ b/tests/fixtures/bootui/2.6.0/properties.json @@ -0,0 +1,1766 @@ +{ + "properties": [ + { + "name": "bootui.activity.feed-source", + "type": "java.lang.String", + "description": "Where the activity stream comes from: {@code journal}, rendering the runtime journal's retained events with every child nested by request or execution id. {@code buffers}, 1.x's feed, was removed in 2.0.0 and fails the start; with the journal disabled, the panel buffers serve the feed on their own. A request may override it with {@code ?source=}.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Activity", + "defaultValue": "journal", + "defaultValueSource": "BootUiProperties.java:3299" + }, + { + "name": "bootui.activity.max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of normalized entries returned in a single activity-stream page after merging and sorting all sources.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Activity", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:3265" + }, + { + "name": "bootui.activity.max-scheduled-task-runs", + "type": "java.lang.Integer", + "description": "Maximum number of recent {@code @Scheduled} task executions retained for the {@code SCHEDULED} entries in the activity stream.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Activity", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:3291" + }, + { + "name": "bootui.activity.n-plus-one-threshold", + "type": "java.lang.Integer", + "description": "Number of identical normalized SELECT statements correlated to a single request above which an N+1 hint is surfaced in the per-request profile.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Activity", + "defaultValue": 5, + "defaultValueSource": "BootUiProperties.java:3279" + }, + { + "name": "bootui.activity.persistence.application-id", + "type": "java.lang.String", + "description": "Application key within the durable namespace. When blank, the adapter uses Spring's existing run application key.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:3444" + }, + { + "name": "bootui.activity.persistence.buffer-max-entries", + "type": "java.lang.Integer", + "description": "Capacity of both the in-memory hot read cache (entries visible immediately, even before their scheduled flush) and the pending-flush queue (entries awaiting their first durable write).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:3491" + }, + { + "name": "bootui.activity.persistence.data-source-mode", + "type": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence$DataSourceMode", + "description": "Where the durable store gets its JDBC connections from: {@code SHARED} reuses the host application's own {@code DataSource} bean (the same one BootUI's SQL Trace panel may already be tracing), {@code DEDICATED} opens a small, non-pooled connection of BootUI's own using the {@code dedicated-*} properties below.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": "shared", + "defaultValueSource": "BootUiProperties.java:3459 (DataSourceMode.SHARED)" + }, + { + "name": "bootui.activity.persistence.dedicated-driver-class-name", + "type": "java.lang.String", + "description": "Optional explicit JDBC driver class to load for {@code data-source-mode=DEDICATED}; blank lets the driver auto-register itself from the classpath (the usual case for a modern JDBC 4+ driver).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:3475" + }, + { + "name": "bootui.activity.persistence.dedicated-jdbc-url", + "type": "java.lang.String", + "description": "JDBC URL for {@code data-source-mode=DEDICATED}, otherwise ignored.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:3462" + }, + { + "name": "bootui.activity.persistence.dedicated-password", + "type": "java.lang.String", + "description": "Password for {@code data-source-mode=DEDICATED}, otherwise ignored.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:3468" + }, + { + "name": "bootui.activity.persistence.dedicated-username", + "type": "java.lang.String", + "description": "Username for {@code data-source-mode=DEDICATED}, otherwise ignored.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:3465" + }, + { + "name": "bootui.activity.persistence.enabled", + "type": "java.lang.Boolean", + "description": "Whether captured Live Activity entries are also durably persisted, in addition to today's in-memory-only default. Disabled by default: no background thread, connection or bean beyond what already exists is created while this is {@code false}.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:3451" + }, + { + "name": "bootui.activity.persistence.flush-interval", + "type": "java.time.Duration", + "description": "How often buffered entries are flushed to durable storage.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": "5s", + "defaultValueSource": "BootUiProperties.java:3484" + }, + { + "name": "bootui.activity.persistence.hot-max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of recent durable journal entries retained in the hot read cache.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:3500" + }, + { + "name": "bootui.activity.persistence.instance-id", + "type": "java.lang.String", + "description": "Legacy Live Activity partition key. For migration, a configured value supplies the durable {@link #namespaceId} when {@code namespace-id} is blank.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:3516" + }, + { + "name": "bootui.activity.persistence.max-pending-bytes", + "type": "org.springframework.util.unit.DataSize", + "description": "Maximum byte size of durable journal entries waiting to be flushed.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": "32MB", + "defaultValueSource": "BootUiProperties.java:3497" + }, + { + "name": "bootui.activity.persistence.max-pending-entries", + "type": "java.lang.Integer", + "description": "Maximum number of durable journal entries waiting to be flushed.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:3494" + }, + { + "name": "bootui.activity.persistence.namespace-id", + "type": "java.lang.String", + "description": "Opaque namespace that isolates durable journal rows. When blank, {@code instance-id} is used as a migration input and otherwise a stable SHA-256-derived {@code local-} value is derived from the sanitized local user and host names.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:3438" + }, + { + "name": "bootui.activity.persistence.reader-archive-cross-namespace", + "type": "java.lang.Boolean", + "description": "Whether archive readers may explicitly opt in to querying other namespaces.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:3510" + }, + { + "name": "bootui.activity.persistence.retention", + "type": "java.time.Duration", + "description": "How long persisted rows are kept before being pruned; entries older than this are eligible for deletion on this instance's own next prune pass. Only this instance's own rows are ever pruned.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": "7d", + "defaultValueSource": "BootUiProperties.java:3507" + }, + { + "name": "bootui.activity.persistence.table-name", + "type": "java.lang.String", + "description": "Legacy Live Activity table name and durable journal table prefix. Must be a plain SQL identifier.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ActivityPersistence", + "defaultValue": "bootui_activity", + "defaultValueSource": "BootUiProperties.java:3481" + }, + { + "name": "bootui.activity.request-slow-threshold-ms", + "type": "java.lang.Long", + "description": "Duration in milliseconds at or above which a request is slow, on every stack: it sets the {@code SLOW} severity of Live Activity request and scheduled-task entries, and classifies HTTP exchanges for the reserved share of the HTTP Exchanges buffer. Set to {@code 0} to disable slow classification.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Activity", + "defaultValue": 1000, + "defaultValueSource": "BootUiProperties.java:3273" + }, + { + "name": "bootui.advisors.max-retained-violations", + "type": "java.lang.Integer", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Advisors", + "defaultValue": 10000, + "defaultValueSource": "BootUiProperties.java:2314" + }, + { + "name": "bootui.agent.allow-in-disabled-profiles", + "type": "java.lang.Boolean", + "description": "Whether this application claims the BootUI agent when {@code bootui.enabled=ON} forces BootUI on despite an active {@code bootui.disabled-profiles} entry, such as {@code prod}. Off by default: the agent must never be attached to a production JVM.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:3021" + }, + { + "name": "bootui.agent.enabled", + "type": "java.lang.Boolean", + "description": "Whether this application claims the BootUI agent when the JVM runs with it attached.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:3014" + }, + { + "name": "bootui.agent.executors.max-handoff", + "type": "java.time.Duration", + "description": "How long a task's work is attributed to the request that handed it over; work recorded later, and tasks ending later, are not.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent$Executors", + "defaultValue": "5m", + "defaultValueSource": "BootUiProperties.java:3166 (AgentHandoffs.DEFAULT_MAX_HANDOFF)" + }, + { + "name": "bootui.agent.executors.skip-tasks", + "type": "java.util.List", + "description": "Task class-name prefixes the sensor never propagates, because they already carry their context, such as Micrometer's and Spring's context-propagating wrappers.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent$Executors", + "defaultValue": [ + "io.github.jdubois.bootui.engine.correlation.ManagedTasks", + "io.micrometer.context.", + "org.springframework.core.task.support.ContextPropagatingTaskDecorator", + "jdk.internal.", + "sun.", + "java.lang.ProcessHandleImpl", + "com.zaxxer.hikari.", + "com.github.benmanes.caffeine." + ], + "defaultValueSource": "BootUiProperties.java:3154 (AgentSensorSettings.DEFAULT_SKIP_TASKS)" + }, + { + "name": "bootui.agent.executors.skip-threads", + "type": "java.util.List", + "description": "Worker thread-name prefixes the sensor never propagates to, because their executor carries the context itself. With Reactor's automatic context propagation on, Reactor's scheduler threads are added.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent$Executors", + "defaultValue": [ + "vert.x-", + "bootui-" + ], + "defaultValueSource": "BootUiProperties.java:3160 (AgentSensorSettings.DEFAULT_SKIP_THREADS)" + }, + { + "name": "bootui.agent.mode", + "type": "java.lang.String", + "description": "The claim's mode: {@code dev}, {@code test}, or {@code auto}, which is {@code test} when the application starts under JUnit, TestNG, Cucumber, or Spring Boot's test support. A development application takes the agent over from a test one.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent", + "defaultValue": "auto", + "defaultValueSource": "BootUiProperties.java:3034" + }, + { + "name": "bootui.agent.packages", + "type": "java.util.List", + "description": "Application package prefixes the agent may instrument, in addition to the main application class's package and the auto-configuration packages.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent", + "defaultValue": [], + "defaultValueSource": "BootUiProperties.java:3027" + }, + { + "name": "bootui.agent.ring-capacity", + "type": "java.lang.Integer", + "description": "The records the agent's transport ring holds before it drops new ones, clamped to 1,024 to 4,194,304 and rounded up to a power of two. Each record takes 64 bytes; the first claim of the JVM sizes the ring.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent", + "defaultValue": 65536, + "defaultValueSource": "BootUiProperties.java:3061 (AgentSensorSettings.DEFAULT_RING_CAPACITY)" + }, + { + "name": "bootui.agent.security-sinks.request-values", + "type": "java.lang.Boolean", + "description": "Whether the current request's query and path parameter values of at least 4 characters are held while the request runs, so a sink it reaches (SQL text, a command, a file path, an outbound URL) can be checked for one appearing verbatim. Opt-in. The values are compared, never stored, logged, or displayed, and are forgotten when the response completes. Needs the {@code security-sinks} sensor.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent$SecuritySinks", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:3136" + }, + { + "name": "bootui.agent.sensors", + "type": "java.util.List", + "description": "The agent sensors this application asks for. {@code executors} propagates a request's context through the JDK's executors, so work handed to a raw thread pool or {@code CompletableFuture} is owned by its request. {@code inventory} records which application methods ran in this run and which jars loaded classes. {@code code-paths} times the application's bean methods per request, as call trees. {@code processes} records the processes the application starts, for Side Effects: the command's file name, never its arguments or environment. {@code network} records the hosts the application connects to, the datagrams it sends, and the names the JVM resolves, for Side Effects: a host and port, never a byte sent or received. {@code files} records the files the application opens, deletes, moves, and copies, as path patterns, never contents. {@code blocking} records {@code Thread.sleep}, {@code Object.wait}, {@code LockSupport.park}, and the network and files sensors' blocking operations started on an event loop, for Side Effects. {@code resources} reports the sockets, file streams, and channels a request or a job left open past the request or never closed before the collector reclaimed them, never contents. An unknown sensor id fails the application's start. {@code threads}, opt-in, also propagates a request's context into threads started from application code and into virtual threads. {@code environment}, opt-in, records the names of the environment variables and system properties the application reads, never their values. {@code caught-exceptions}, opt-in, reports the exceptions application code catches and which of them are thrown again, never their message, to the runtime journal.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Agent", + "defaultValue": [ + "executors", + "inventory", + "code-paths", + "processes", + "network", + "files", + "blocking", + "resources" + ], + "defaultValueSource": "BootUiProperties.java:3055 (AgentSensorSettings.DEFAULT_SENSORS)" + }, + { + "name": "bootui.ai.max-recent-chats", + "type": "java.lang.Integer", + "description": "Maximum number of recent chat completions surfaced by the AI panel.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Ai", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:2452" + }, + { + "name": "bootui.ai.show-content-capture-banner", + "type": "java.lang.Boolean", + "description": "When true, BootUI surfaces a banner explaining that prompt/completion content is not captured by default.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Ai", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2457" + }, + { + "name": "bootui.ai.token-series-minutes", + "type": "java.lang.Integer", + "description": "Number of minutes retained in the per-minute token-usage series.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Ai", + "defaultValue": 60, + "defaultValueSource": "BootUiProperties.java:2447" + }, + { + "name": "bootui.allow-non-localhost", + "type": "java.lang.Boolean", + "description": "Allow non-loopback requests (explicit opt-out of safety).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:53" + }, + { + "name": "bootui.allowed-hosts", + "type": "java.lang.String[]", + "description": "Additional Host header values accepted by the loopback safety filter, beyond the built-in loopback names (localhost, 127.0.0.1, ::1). Used to defend against DNS-rebinding attacks while still allowing custom local hostnames.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": [], + "defaultValueSource": "BootUiProperties.java:59" + }, + { + "name": "bootui.api-path", + "type": "java.lang.String", + "description": "Internal API base path. Defaults to {@code bootui.path + \"/api\"}. Override only when the API must be served at a different sub-path from the UI (rare).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": "/bootui/api", + "defaultValueSource": "BootUiProperties.java:49,275" + }, + { + "name": "bootui.authentication.token", + "type": "java.lang.String", + "description": "Optional bearer token for non-loopback API access. When blank, BootUI generates one at startup.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Authentication", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:3667" + }, + { + "name": "bootui.cache.activity-capture-enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI wraps {@code CacheManager} beans to capture hit/miss/put/evict/clear accesses into the Live Activity panel's {@code CACHE} event type. Cache keys are always hashed, never recorded raw, regardless of value exposure. When {@code false}, no {@code CacheManager} is wrapped and cache accesses never appear in Live Activity.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Cache", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:803" + }, + { + "name": "bootui.cache.activity-max-events", + "type": "java.lang.Integer", + "description": "Maximum number of recent cache accesses retained in the in-memory ring buffer feeding Live Activity.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Cache", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:809" + }, + { + "name": "bootui.cache.clear-enabled", + "type": "java.lang.Boolean", + "description": "Allow BootUI to clear application caches from the Cache panel.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Cache", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:795" + }, + { + "name": "bootui.claude-code.allow-raw-reveal", + "type": "java.lang.Boolean", + "description": "Allow the opt-in raw-event reveal endpoint. When {@code false}, the endpoint returns HTTP 404 even on the loopback interface.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ClaudeCode", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2540" + }, + { + "name": "bootui.claude-code.enabled", + "type": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mode", + "description": "Enable the Copilot panel. AUTO activates only when the session-state directory exists.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ClaudeCode", + "defaultValue": "auto", + "defaultValueSource": "BootUiProperties.java:2497 (Mode.AUTO)" + }, + { + "name": "bootui.claude-code.max-events-per-session", + "type": "java.lang.Integer", + "description": "Maximum number of activity events retained per session in memory.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ClaudeCode", + "defaultValue": 2000, + "defaultValueSource": "BootUiProperties.java:2518" + }, + { + "name": "bootui.claude-code.max-parsed-sessions", + "type": "java.lang.Integer", + "description": "Maximum number of recent session files parsed and retained in memory.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ClaudeCode", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:2528" + }, + { + "name": "bootui.claude-code.max-sessions", + "type": "java.lang.Integer", + "description": "Maximum number of recent sessions returned to the session explorer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ClaudeCode", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:2523" + }, + { + "name": "bootui.claude-code.session-state-dir", + "type": "java.lang.String", + "description": "Override the directory scanned for Copilot CLI session-state directories. When {@code null}, defaults to {@code ${user.home}/.copilot/session-state}.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ClaudeCode", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:2513" + }, + { + "name": "bootui.claude-code.stream-debounce", + "type": "java.time.Duration", + "description": "Debounce window applied to file-system events before refreshing parsed sessions and notifying SSE subscribers.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$ClaudeCode", + "defaultValue": "400ms", + "defaultValueSource": "BootUiProperties.java:2534" + }, + { + "name": "bootui.cli.enabled", + "type": "java.lang.Boolean", + "description": "Whether {@code /bootui/api/cli} answers. {@code true} by default; {@code false} returns 503.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Cli", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2773" + }, + { + "name": "bootui.cli.execution-timeout", + "type": "java.time.Duration", + "description": "Maximum wall-clock duration of one command-line tool invocation; default 30 seconds (504 on expiry).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Cli", + "defaultValue": "30s", + "defaultValueSource": "BootUiProperties.java:2786 (McpProtocol.DEFAULT_EXECUTION_TIMEOUT_MILLIS)" + }, + { + "name": "bootui.cli.instances-dir", + "type": "java.lang.String", + "description": "Directory where local instance discovery lease files ({@code .json}) are written. Defaults to {@code ~/.bootui/instances} (or {@code $BOOTUI_HOME/instances}).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Cli", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:2792" + }, + { + "name": "bootui.cli.max-concurrent-calls", + "type": "java.lang.Integer", + "description": "Maximum number of concurrent command-line tool invocations; default 20. Excess calls get a 429.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Cli", + "defaultValue": 20, + "defaultValueSource": "BootUiProperties.java:2783 (McpProtocol.DEFAULT_MAX_CONCURRENT_CALLS)" + }, + { + "name": "bootui.cli.max-results", + "type": "java.lang.Integer", + "description": "Maximum number of items returned by paginated read tools in a single call. Mirrors {@code bootui.mcp.max-results} but is tracked separately so command-line traffic can be tuned without changing what agents see.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Cli", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:2780" + }, + { + "name": "bootui.code-inventory.max-classes", + "type": "java.lang.Integer", + "description": "Most application classes the scan of the application's class files hashes; past it the scan is partial.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$CodeInventory", + "defaultValue": 20000, + "defaultValueSource": "BootUiProperties.java:2863 (CodeInventorySettings.DEFAULT_MAX_CLASSES)" + }, + { + "name": "bootui.code-inventory.scan-timeout", + "type": "java.time.Duration", + "description": "Deadline of that scan, which runs off the request path once per run; past it the scan is partial.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$CodeInventory", + "defaultValue": "30s", + "defaultValueSource": "BootUiProperties.java:2866 (CodeInventorySettings.DEFAULT_SCAN_TIMEOUT)" + }, + { + "name": "bootui.copilot.allow-raw-reveal", + "type": "java.lang.Boolean", + "description": "Allow the opt-in raw-event reveal endpoint. When {@code false}, the endpoint returns HTTP 404 even on the loopback interface.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Copilot", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2540" + }, + { + "name": "bootui.copilot.enabled", + "type": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mode", + "description": "Enable the Copilot panel. AUTO activates only when the session-state directory exists.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Copilot", + "defaultValue": "auto", + "defaultValueSource": "BootUiProperties.java:2497 (Mode.AUTO)" + }, + { + "name": "bootui.copilot.max-events-per-session", + "type": "java.lang.Integer", + "description": "Maximum number of activity events retained per session in memory.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Copilot", + "defaultValue": 2000, + "defaultValueSource": "BootUiProperties.java:2518" + }, + { + "name": "bootui.copilot.max-parsed-sessions", + "type": "java.lang.Integer", + "description": "Maximum number of recent session files parsed and retained in memory.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Copilot", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:2528" + }, + { + "name": "bootui.copilot.max-sessions", + "type": "java.lang.Integer", + "description": "Maximum number of recent sessions returned to the session explorer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Copilot", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:2523" + }, + { + "name": "bootui.copilot.session-state-dir", + "type": "java.lang.String", + "description": "Override the directory scanned for Copilot CLI session-state directories. When {@code null}, defaults to {@code ${user.home}/.copilot/session-state}.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Copilot", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:2513" + }, + { + "name": "bootui.copilot.stream-debounce", + "type": "java.time.Duration", + "description": "Debounce window applied to file-system events before refreshing parsed sessions and notifying SSE subscribers.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Copilot", + "defaultValue": "400ms", + "defaultValueSource": "BootUiProperties.java:2534" + }, + { + "name": "bootui.dev-services.log-tail-bytes", + "type": "java.lang.Integer", + "description": "Maximum bytes returned by a single Dev Services log request.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$DevServices", + "defaultValue": 65536, + "defaultValueSource": "BootUiProperties.java:771 (64 * 1024)" + }, + { + "name": "bootui.dev-services.restart-enabled", + "type": "java.lang.Boolean", + "description": "Allow BootUI to restart Testcontainers-backed services.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$DevServices", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:766" + }, + { + "name": "bootui.disabled-profiles", + "type": "java.lang.String[]", + "description": "Profiles that force BootUI off, even when enabled by other rules.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": [ + "prod", + "production" + ], + "defaultValueSource": "BootUiProperties.java:107 (BootUiDefaults.DISABLED_PROFILES)" + }, + { + "name": "bootui.email.dev-trap", + "type": "java.lang.Boolean", + "description": "When {@code true}, captured messages are recorded but never actually handed to the real mail transport (like MailDev/GreenMail's dev-trap behavior). Off by default, so BootUI never silently swallows application mail.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Email", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:3371" + }, + { + "name": "bootui.email.mask-content", + "type": "java.lang.Boolean", + "description": "When {@code true}, captured recipients/subject/body are masked unless {@code bootui.expose- values=FULL}, matching BootUI's config/secret masking. Off by default: email content is ordinary application data (not credentials), so it is revealed by default \u2014 like Laravel Telescope's Mail watcher and like BootUI's own HTTP Exchanges/SQL Trace panels \u2014 decoupled from the global secret-exposure flag so reading a test email never requires exposing unrelated production secrets (or vice versa).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Email", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:3381" + }, + { + "name": "bootui.email.max-body-length", + "type": "java.lang.Integer", + "description": "Maximum number of characters retained per captured text/HTML body; a longer body is truncated at capture time. Bounds memory for a single oversized message the same way {@link #maxEntries} bounds the number of retained messages (attachment content is never captured in the first place, so only bodies need this cap).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Email", + "defaultValue": 200000, + "defaultValueSource": "BootUiProperties.java:3389" + }, + { + "name": "bootui.email.max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of captured messages retained; the oldest is evicted once full.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Email", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:3364" + }, + { + "name": "bootui.enabled", + "type": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mode", + "description": "Enable BootUI. AUTO activates only in dev/local contexts.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": "auto", + "defaultValueSource": "BootUiProperties.java:38 (Mode.AUTO)" + }, + { + "name": "bootui.enabled-profiles", + "type": "java.lang.String[]", + "description": "Profiles that trigger auto-activation.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": [ + "dev", + "local" + ], + "defaultValueSource": "BootUiProperties.java:103 (BootUiDefaults.ENABLED_PROFILES)" + }, + { + "name": "bootui.exceptions.max-groups", + "type": "java.lang.Integer", + "description": "Maximum number of distinct exception groups retained by the Exceptions panel. When the limit is reached the group with the oldest most-recent occurrence is evicted.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Exceptions", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:858" + }, + { + "name": "bootui.exceptions.max-occurrences-per-group", + "type": "java.lang.Integer", + "description": "Maximum number of recent occurrences retained per exception group.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Exceptions", + "defaultValue": 25, + "defaultValueSource": "BootUiProperties.java:863" + }, + { + "name": "bootui.exceptions.max-stack-frames", + "type": "java.lang.Integer", + "description": "Maximum number of stack-trace frames retained per exception (and per cause).", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Exceptions", + "defaultValue": 50, + "defaultValueSource": "BootUiProperties.java:868" + }, + { + "name": "bootui.expose-values", + "type": "io.github.jdubois.bootui.core.ValueExposure", + "description": "How configuration values are exposed in the Config panel.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": "masked", + "defaultValueSource": "BootUiProperties.java:91 (ValueExposure.MASKED)" + }, + { + "name": "bootui.fault-tolerance.enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI subscribes to the fault tolerance libraries' own event publishers and listeners. When {@code false}, declared policies are still listed but no outcome is captured and no {@code FAULT_TOLERANCE} entry reaches Live Activity.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$FaultTolerance", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1996" + }, + { + "name": "bootui.fault-tolerance.max-events", + "type": "java.lang.Integer", + "description": "Maximum number of captured fault tolerance outcomes retained in the in-memory ring buffer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$FaultTolerance", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1999" + }, + { + "name": "bootui.force-web", + "type": "java.lang.Boolean", + "description": "While BootUI is active, force a non-web (command-line) application into a servlet web application so the BootUI console can be served. Has no effect on applications that are already servlet web applications or that are explicitly configured as reactive. Set to false to leave the host application's web-application type untouched.", + "defaultValue": true + }, + { + "name": "bootui.free-on-idle.enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI releases its live in-memory diagnostic buffers (captured SQL, ingested traces, and the request/security correlation windows) after the console has been idle for {@code timeout}, and stops recording into them until the console is used again. The Exceptions and Log Tail buffers are kept so a recent error is still visible when you open the console. Has no effect in production, where BootUI is inactive.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$FreeOnIdle", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:3687" + }, + { + "name": "bootui.free-on-idle.timeout", + "type": "java.time.Duration", + "description": "How long the console may go without any request before its live buffers are released. The timer resets on every BootUI request (loading the UI, API polling, or opening a stream), so an open console never reclaims; only a genuinely unused one does. Clamped to a minimum of one second.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$FreeOnIdle", + "defaultValue": "5m", + "defaultValueSource": "BootUiProperties.java:3695" + }, + { + "name": "bootui.github.allowed-api-hosts", + "type": "java.lang.String[]", + "description": "Additional allowed GitHub API hosts. GitHub.com is allowed by default.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": [ + "api.github.com" + ], + "defaultValueSource": "BootUiProperties.java:1107" + }, + { + "name": "bootui.github.api-enabled", + "type": "java.lang.Boolean", + "description": "Allow the GitHub panel refresh action to call GitHub APIs.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1064" + }, + { + "name": "bootui.github.max-api-calls", + "type": "java.lang.Integer", + "description": "Hard maximum GitHub API calls per refresh. Extra alert pages preserve capacity for pending baseline sections; an incomplete traversal keeps its total unavailable.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": 17, + "defaultValueSource": "BootUiProperties.java:1102" + }, + { + "name": "bootui.github.max-issues", + "type": "java.lang.Integer", + "description": "Maximum issues returned in one dashboard refresh.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": 25, + "defaultValueSource": "BootUiProperties.java:1079" + }, + { + "name": "bootui.github.max-pull-requests", + "type": "java.lang.Integer", + "description": "Maximum pull requests returned in one dashboard refresh.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": 10, + "defaultValueSource": "BootUiProperties.java:1074" + }, + { + "name": "bootui.github.max-security-alerts", + "type": "java.lang.Integer", + "description": "Maximum Dependabot alert details retained in one dashboard refresh. Totals require complete bounded pagination and are non-atomic observations. Code scanning and secret scanning remain count-only and never inline alert details.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": 50, + "defaultValueSource": "BootUiProperties.java:1086" + }, + { + "name": "bootui.github.max-workflow-runs", + "type": "java.lang.Integer", + "description": "Maximum workflow runs returned in one dashboard refresh.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": 20, + "defaultValueSource": "BootUiProperties.java:1091" + }, + { + "name": "bootui.github.quota-safety-threshold", + "type": "java.lang.Integer", + "description": "Safety threshold below which optional GitHub calls are skipped.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": 10, + "defaultValueSource": "BootUiProperties.java:1096" + }, + { + "name": "bootui.github.request-timeout", + "type": "java.time.Duration", + "description": "Timeout applied to each GitHub API request and local credential lookup.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$GitHub", + "defaultValue": "5s", + "defaultValueSource": "BootUiProperties.java:1069" + }, + { + "name": "bootui.graalvm.max-repository-lookups", + "type": "java.lang.Integer", + "description": "Maximum number of distinct dependency coordinates looked up against the reachability metadata repository in a single scan.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Graalvm", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:1032" + }, + { + "name": "bootui.graalvm.repository-lookup-enabled", + "type": "java.lang.Boolean", + "description": "Allow the GraalVM dependency survey to look up Oracle's GraalVM reachability metadata repository for per-version coverage of classpath dependencies. The lookup is the panel's only outbound network call and is performed only during a user-initiated dependency scan.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Graalvm", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1021" + }, + { + "name": "bootui.graalvm.repository-lookup-timeout", + "type": "java.time.Duration", + "description": "Timeout applied to each reachability metadata repository request.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Graalvm", + "defaultValue": "2s", + "defaultValueSource": "BootUiProperties.java:1026" + }, + { + "name": "bootui.heap-dump.allow-raw-download", + "type": "java.lang.Boolean", + "description": "Allow downloading the raw {@code .hprof} file over HTTP. Disabled by default because the raw dump contains unmasked secrets.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HeapDump", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:2240" + }, + { + "name": "bootui.heap-dump.capture-enabled", + "type": "java.lang.Boolean", + "description": "Allow on-demand heap dump capture. When {@code false}, the panel still exposes the live class histogram analysis but the capture endpoint is rejected.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HeapDump", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2234" + }, + { + "name": "bootui.heap-dump.max-classes", + "type": "java.lang.Integer", + "description": "Maximum number of classes retained in memory after a histogram analysis, ordered by retained bytes. Capping this value prevents very large heaps from exhausting memory. Must be ≥ {@code top-classes}.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HeapDump", + "defaultValue": 1000, + "defaultValueSource": "BootUiProperties.java:2257" + }, + { + "name": "bootui.heap-dump.max-dumps", + "type": "java.lang.Integer", + "description": "Maximum number of heap dump files retained on disk. Oldest dumps are deleted first.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HeapDump", + "defaultValue": 5, + "defaultValueSource": "BootUiProperties.java:2250" + }, + { + "name": "bootui.heap-dump.output-dir", + "type": "java.lang.String", + "description": "Directory where captured heap dumps are written.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HeapDump", + "defaultValue": ".bootui/heap-dumps", + "defaultValueSource": "BootUiProperties.java:2245" + }, + { + "name": "bootui.heap-dump.top-classes", + "type": "java.lang.Integer", + "description": "Maximum number of classes returned in the class histogram, ordered by retained bytes.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HeapDump", + "defaultValue": 25, + "defaultValueSource": "BootUiProperties.java:2262" + }, + { + "name": "bootui.http-exchanges.expose-request-id-header", + "type": "java.lang.Boolean", + "description": "Emit the {@code X-BootUI-Request-Id} response header on loopback and trusted-peer application responses while the HTTP Exchanges panel is enabled, so browser DevTools and automated browser agents can open the request's profile directly by id.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HttpExchanges", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1202" + }, + { + "name": "bootui.http-exchanges.max-exchanges", + "type": "java.lang.Integer", + "description": "Maximum number of HTTP exchanges retained in the in-memory repository.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HttpExchanges", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1187" + }, + { + "name": "bootui.http-exchanges.reserved-share-percent", + "type": "java.lang.Integer", + "description": "Percentage of the retained exchanges reserved for the most recent 5xx and slow exchanges (at or above {@code bootui.activity.request-slow-threshold-ms}), so routine traffic is evicted first. Taken out of {@code max-exchanges}, never added to it. Set to {@code 0} to evict strictly oldest first. Applies only when BootUI owns the repository.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HttpExchanges", + "defaultValue": 25, + "defaultValueSource": "BootUiProperties.java:1195" + }, + { + "name": "bootui.http-sessions.max-sessions", + "type": "java.lang.Integer", + "description": "Maximum number of active HTTP sessions returned by the HTTP Sessions panel.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$HttpSessions", + "defaultValue": 50, + "defaultValueSource": "BootUiProperties.java:2090" + }, + { + "name": "bootui.jms.capture-message-id", + "type": "java.lang.Boolean", + "description": "Whether a provider-assigned JMS message ID is retained as a truncated SHA-256 hash. The raw message ID is never stored.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Jms", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1850" + }, + { + "name": "bootui.jms.enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI captures {@link org.springframework.jms.core.JmsTemplate} sends and {@code @JmsListener} deliveries into the Live Activity stream as {@code MESSAGING} entries. When {@code false}, no JMS bean is post-processed. Only takes effect when {@code spring-jms} is on the classpath.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Jms", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1844" + }, + { + "name": "bootui.jms.max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of JMS messages retained in the in-memory ring buffer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Jms", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1853" + }, + { + "name": "bootui.jms.max-message-id-length", + "type": "java.lang.Integer", + "description": "Maximum retained length of the JMS message ID's hex-encoded SHA-256 hash.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Jms", + "defaultValue": 16, + "defaultValueSource": "BootUiProperties.java:1856" + }, + { + "name": "bootui.kafka.capture-key", + "type": "java.lang.Boolean", + "description": "Whether a SHA-256 hash of the message key is retained alongside each captured entry (truncated to {@link #maxKeyLength}). The raw key is never retained. On by default since a Kafka key is typically a correlation/partitioning id rather than a secret, but this lets an application disable even the hash when its keys carry sensitive data. The message value/payload is never captured at all.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Kafka", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1788" + }, + { + "name": "bootui.kafka.enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI captures {@code KafkaTemplate} sends and {@code @KafkaListener} deliveries into the Live Activity stream as {@code MESSAGING} entries. When {@code false}, no {@code KafkaTemplate}/listener container factory bean is post-processed. Only takes effect when {@code spring-kafka} is on the classpath.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Kafka", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1779" + }, + { + "name": "bootui.kafka.max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of captured messages retained in the in-memory ring buffer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Kafka", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1793" + }, + { + "name": "bootui.kafka.max-key-length", + "type": "java.lang.Integer", + "description": "Maximum retained length of the message key's hex-encoded SHA-256 hash.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Kafka", + "defaultValue": 16, + "defaultValueSource": "BootUiProperties.java:1798" + }, + { + "name": "bootui.log-tail.max-bytes", + "type": "java.lang.Long", + "description": "Approximate retained-byte budget for the in-memory Log Tail ring buffer, bounding it alongside its fixed line cap (oldest evicted first when either bound trips). {@code 0} (the default) means unbounded \u2014 preserving the Spring adapter's historical behaviour \u2014 and matches the Quarkus adapter's {@code bootui.log-tail.max-bytes} default, so the same key sizes the buffer identically on both frameworks.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$LogTail", + "defaultValue": 0, + "defaultValueSource": "BootUiProperties.java:1238" + }, + { + "name": "bootui.mask-secrets", + "type": "java.lang.Boolean", + "description": "Mask secret-like configuration values.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:87" + }, + { + "name": "bootui.mcp.enabled", + "type": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mode", + "description": "Initial state of the local MCP server. {@link Mode#OFF} by default (fail closed); {@link Mode#ON} starts the server enabled. {@link Mode#AUTO} is treated the same as {@link Mode#OFF} so the server is never silently exposed. The MCP Server panel can override this at runtime.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mcp", + "defaultValue": "off", + "defaultValueSource": "BootUiProperties.java:2687 (Mode.OFF)" + }, + { + "name": "bootui.mcp.execution-timeout", + "type": "java.time.Duration", + "description": "Maximum wall-clock duration of one MCP tool invocation; default 30 seconds.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mcp", + "defaultValue": "30s", + "defaultValueSource": "BootUiProperties.java:2705" + }, + { + "name": "bootui.mcp.max-concurrent-calls", + "type": "java.lang.Integer", + "description": "Maximum number of concurrent MCP tool invocations; default 20. Excess requests get a JSON-RPC error immediately.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mcp", + "defaultValue": 20, + "defaultValueSource": "BootUiProperties.java:2702" + }, + { + "name": "bootui.mcp.max-payload-bytes", + "type": "java.lang.Integer", + "description": "Maximum request payload bytes; default 1MB. Requests exceeding this are rejected before parsing.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mcp", + "defaultValue": 1048576, + "defaultValueSource": "BootUiProperties.java:2696 (1 * 1024 * 1024)" + }, + { + "name": "bootui.mcp.max-response-bytes", + "type": "java.lang.Integer", + "description": "Maximum rendered JSON-RPC response size; default 4MB.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mcp", + "defaultValue": 4194304, + "defaultValueSource": "BootUiProperties.java:2708 (4 * 1024 * 1024)" + }, + { + "name": "bootui.mcp.max-results", + "type": "java.lang.Integer", + "description": "Maximum number of items returned by paginated read tools (config, beans, mappings, security logs, traces, HTTP exchanges) in a single call.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mcp", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:2693" + }, + { + "name": "bootui.memory.include-histogram", + "type": "java.lang.Boolean", + "description": "Default for explicit Memory scans; a REST request can override it for one scan.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Memory", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2208" + }, + { + "name": "bootui.monitoring.exclude-self", + "type": "java.lang.Boolean", + "description": "Hide BootUI's own runtime data from monitoring panels.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Monitoring", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2333" + }, + { + "name": "bootui.mysql.max-indexes", + "type": "java.lang.Integer", + "description": "Maximum index activity rows per datasource. Requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mysql", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:1331" + }, + { + "name": "bootui.mysql.max-lock-waits", + "type": "java.lang.Integer", + "description": "Maximum lock-wait observations per datasource. Requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mysql", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:1335" + }, + { + "name": "bootui.mysql.max-replication-channels", + "type": "java.lang.Integer", + "description": "Maximum local replication channels per datasource. Requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mysql", + "defaultValue": 10, + "defaultValueSource": "BootUiProperties.java:1337" + }, + { + "name": "bootui.mysql.max-sessions", + "type": "java.lang.Integer", + "description": "Maximum session rows per datasource; positive and below 2147483647. Requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mysql", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:1327" + }, + { + "name": "bootui.mysql.max-settings", + "type": "java.lang.Integer", + "description": "Maximum displayed settings from the fixed allow-list. Requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mysql", + "defaultValue": 40, + "defaultValueSource": "BootUiProperties.java:1339" + }, + { + "name": "bootui.mysql.max-statements", + "type": "java.lang.Integer", + "description": "Maximum normalized statements ranked by total execution time. Requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mysql", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:1329" + }, + { + "name": "bootui.mysql.max-tables", + "type": "java.lang.Integer", + "description": "Maximum table rows per datasource. Requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mysql", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1333" + }, + { + "name": "bootui.overrides-file", + "type": "java.lang.String", + "description": "Where local runtime overrides are persisted.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": ".bootui/application-bootui.properties", + "defaultValueSource": "BootUiProperties.java:111" + }, + { + "name": "bootui.panels", + "type": "java.util.Map", + "description": "Per-panel visibility and action settings keyed by panel id.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:115" + }, + { + "name": "bootui.path", + "type": "java.lang.String", + "description": "UI base path. Must be an absolute path (starting with {@code /}), not {@code /}, and must not contain path-traversal, query, or fragment components. Trailing slashes are stripped. The API path is automatically derived as {@code path + \"/api\"} unless {@code bootui.api-path} is also set.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": "/bootui", + "defaultValueSource": "BootUiProperties.java:44" + }, + { + "name": "bootui.postgresql.max-indexes", + "type": "java.lang.Integer", + "description": "Maximum index rows per datasource. Must be between 1 and 2147483646; requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Postgresql", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:1256" + }, + { + "name": "bootui.postgresql.max-replicas", + "type": "java.lang.Integer", + "description": "Maximum replica rows per datasource. Must be between 1 and 2147483646; requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Postgresql", + "defaultValue": 10, + "defaultValueSource": "BootUiProperties.java:1262" + }, + { + "name": "bootui.postgresql.max-sessions", + "type": "java.lang.Integer", + "description": "Maximum session rows per datasource. Must be between 1 and 2147483646; requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Postgresql", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:1252" + }, + { + "name": "bootui.postgresql.max-settings", + "type": "java.lang.Integer", + "description": "Maximum curated setting rows per datasource. Must be between 1 and 2147483646; requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Postgresql", + "defaultValue": 40, + "defaultValueSource": "BootUiProperties.java:1264" + }, + { + "name": "bootui.postgresql.max-statements", + "type": "java.lang.Integer", + "description": "Maximum statements ranked by total execution time. Must be between 1 and 2147483646; requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Postgresql", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:1254" + }, + { + "name": "bootui.postgresql.max-tables", + "type": "java.lang.Integer", + "description": "Maximum table rows per datasource. Must be between 1 and 2147483646; requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Postgresql", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1258" + }, + { + "name": "bootui.postgresql.max-vacuum-tables", + "type": "java.lang.Integer", + "description": "Maximum autovacuum table rows per datasource. Must be between 1 and 2147483646; requires restart.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Postgresql", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1260" + }, + { + "name": "bootui.rabbitmq.capture-correlation-id", + "type": "java.lang.Boolean", + "description": "Whether the AMQP correlation ID is retained (as a short SHA-256 hash, truncated to {@link #maxCorrelationIdLength}) alongside each captured entry. Off by default since correlation IDs in AMQP messages can carry business-sensitive identifiers (order IDs, user IDs, etc.). When enabled, only the hash is stored \u2014 never the raw value.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Rabbitmq", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:2039" + }, + { + "name": "bootui.rabbitmq.enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI captures {@code RabbitTemplate} publishes and {@code @RabbitListener} deliveries into the Live Activity stream as {@code MESSAGING} entries. When {@code false}, no {@code RabbitTemplate}/listener container factory bean is post-processed. Only takes effect when {@code spring-boot-starter-amqp} (and thus {@code spring-rabbit}) is on the classpath.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Rabbitmq", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2031" + }, + { + "name": "bootui.rabbitmq.max-correlation-id-length", + "type": "java.lang.Integer", + "description": "Maximum retained length of a captured correlation ID hash; longer hashes are truncated.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Rabbitmq", + "defaultValue": 16, + "defaultValueSource": "BootUiProperties.java:2050" + }, + { + "name": "bootui.rabbitmq.max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of captured messages retained in the in-memory ring buffer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Rabbitmq", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:2044" + }, + { + "name": "bootui.read-only", + "type": "java.lang.Boolean", + "description": "Disable every browser-triggered action while keeping read-only panel data visible.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:99" + }, + { + "name": "bootui.resources.jfr.max-duration", + "type": "java.time.Duration", + "description": "How long a session records once the developer starts it. Between 1 s and 10 min.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Resources$Jfr", + "defaultValue": "30s", + "defaultValueSource": "BootUiProperties.java:3240 (ResourceSettings.DEFAULT_JFR_MAX_DURATION)" + }, + { + "name": "bootui.resources.max-threads", + "type": "java.lang.Integer", + "description": "The most platform threads one sweep reads; the CPU time of the others counts as the JVM's own work.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Resources", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:3207 (ResourceSettings.DEFAULT_MAX_THREADS)" + }, + { + "name": "bootui.resources.sample-interval", + "type": "java.time.Duration", + "description": "How often the sampler sweeps the JVM's threads, CPU time, and heap. At least 100 ms.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Resources", + "defaultValue": "1s", + "defaultValueSource": "BootUiProperties.java:3204 (ResourceSettings.DEFAULT_SAMPLE_INTERVAL)" + }, + { + "name": "bootui.rest-client-trace.capture-call-site", + "type": "java.lang.Boolean", + "description": "Whether each captured call records the first application stack frame that triggered it (e.g. {@code OrderClient.findAll(OrderClient.java:42)}), shown per call and aggregated per group so a flagged chatty group shows exactly where in the code to go fix it. On by default: unlike headers, a call site names only the application's own code (class/method/line), never a value, so it carries no sensitive-data risk \u2014 this toggle is purely about the small per-call stack-walk cost, not privacy.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1652" + }, + { + "name": "bootui.rest-client-trace.capture-headers", + "type": "java.lang.Boolean", + "description": "Whether request headers are captured alongside each call. Off by default because header values may contain sensitive data; when enabled, values are captured as-is (subject to truncation) and then masked by header name (e.g. {@code Authorization}) at read/report time according to the live exposure policy.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:1642" + }, + { + "name": "bootui.rest-client-trace.chatty-call-threshold", + "type": "java.lang.Integer", + "description": "Number of calls to the same method/host/path (with numeric and UUID path segments normalized) within the buffer before the group is flagged as a likely chatty (repeated-call) access pattern. Minimum {@code 2}.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": 5, + "defaultValueSource": "BootUiProperties.java:1688" + }, + { + "name": "bootui.rest-client-trace.enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI instruments Spring's {@code RestClient}, {@code RestTemplate}, and {@code WebClient} beans to capture outbound HTTP calls. When {@code false}, no customizer is registered.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1627" + }, + { + "name": "bootui.rest-client-trace.max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of outbound calls retained in the in-memory ring buffer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1657" + }, + { + "name": "bootui.rest-client-trace.max-header-value-length", + "type": "java.lang.Integer", + "description": "Maximum retained length of a single captured header value.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1681" + }, + { + "name": "bootui.rest-client-trace.max-uri-length", + "type": "java.lang.Integer", + "description": "Maximum retained length of the request URI and path; longer values are truncated.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": 2000, + "defaultValueSource": "BootUiProperties.java:1676" + }, + { + "name": "bootui.rest-client-trace.recording", + "type": "java.lang.Boolean", + "description": "Whether new calls are recorded into the in-memory buffer. Recording can be paused and resumed at runtime from the panel without removing the client instrumentation; this sets the initial state.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1634" + }, + { + "name": "bootui.rest-client-trace.reserved-share-percent", + "type": "java.lang.Integer", + "description": "Percentage of the retained calls reserved for the most recent failed, error-response ({@code 4xx}/{@code 5xx}), and slow calls, so routine calls are evicted first. Taken out of {@code max-entries}, never added to it. Set to {@code 0} to evict strictly oldest first.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": 25, + "defaultValueSource": "BootUiProperties.java:1671" + }, + { + "name": "bootui.rest-client-trace.slow-call-threshold-millis", + "type": "java.lang.Long", + "description": "Calls taking at least this many milliseconds are flagged as slow. Set to {@code 0} to disable slow-call flagging. Defaults higher than SQL Trace's threshold since outbound HTTP calls are typically slower than a single SQL execution.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RestClientTrace", + "defaultValue": 1000, + "defaultValueSource": "BootUiProperties.java:1664" + }, + { + "name": "bootui.runtime-insights.ai-token-threshold", + "type": "java.lang.Long", + "description": "Tokens of one model call above which AI usage by route reports the route from that call alone, rather than from three operations.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RuntimeInsights", + "defaultValue": 8000, + "defaultValueSource": "BootUiProperties.java:2848 (AiUsageByRoute.DEFAULT_TOKEN_THRESHOLD)" + }, + { + "name": "bootui.runtime-journal.agent-evidence-max-bytes", + "type": "org.springframework.util.unit.DataSize", + "description": "Maximum memory the BootUI agent's evidence kept outside the journal may use, estimated: Code Paths' request and route trees, Code Inventory's first calls, and Side Effects' rows. Unset means about 68 MB, the sum of their fixed caps; a smaller value shrinks Code Paths' trees and Side Effects' rows in proportion, and Code Inventory's first calls, bounded by the agent's method limit, are only counted.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RuntimeJournal", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:2916" + }, + { + "name": "bootui.runtime-journal.baseline-file", + "type": "java.lang.String", + "description": "File that keeps the summary of the last run across a full JVM restart, such as {@code target/bootui-baseline.bin}: written when a run ends and read at the next start when this JVM keeps no previous run. It holds route templates, statement fingerprints, edges, counts, and histograms only. Relative to the working directory; its directory must exist. Unset writes and reads nothing.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RuntimeJournal", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:2938" + }, + { + "name": "bootui.runtime-journal.enabled", + "type": "java.lang.Boolean", + "description": "Whether the journal records runtime events.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RuntimeJournal", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2899" + }, + { + "name": "bootui.runtime-journal.max-bytes", + "type": "org.springframework.util.unit.DataSize", + "description": "Maximum memory the retained events may use, estimated per event. Unset means the smaller of 32 MB and 5 % of the maximum heap.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RuntimeJournal", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:2908" + }, + { + "name": "bootui.runtime-journal.max-events", + "type": "java.lang.Integer", + "description": "Maximum number of events retained as evidence. Aggregates count every event, retained or not.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RuntimeJournal", + "defaultValue": 50000, + "defaultValueSource": "BootUiProperties.java:2902 (RuntimeJournalSettings.DEFAULT_MAX_EVENTS)" + }, + { + "name": "bootui.runtime-journal.queue-capacity", + "type": "java.lang.Integer", + "description": "Maximum number of events waiting to be recorded. The last 10 % admits only failed or slow events; beyond it, events are dropped and counted, and the application thread never waits.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RuntimeJournal", + "defaultValue": 10000, + "defaultValueSource": "BootUiProperties.java:2922 (RuntimeJournalSettings.DEFAULT_QUEUE_CAPACITY)" + }, + { + "name": "bootui.runtime-journal.sources", + "type": "java.util.List", + "description": "Sources to record: {@code http}, {@code sql}, {@code transaction}, {@code connection}, {@code exception}, {@code security}, {@code authorization}, {@code rest-client}, {@code cache}, {@code messaging}, {@code scheduled}, {@code log}, {@code mail}, {@code fault-tolerance}, {@code ai}, {@code lifecycle}, {@code gc}, and {@code resources}. Unset means every source; an unknown name fails startup.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$RuntimeJournal", + "defaultValue": null, + "defaultValueSource": "BootUiProperties.java:2930" + }, + { + "name": "bootui.security-logs.max-logs", + "type": "java.lang.Integer", + "description": "Maximum number of recent audit events retained in a single Security Logs response.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SecurityLogs", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:841" + }, + { + "name": "bootui.show-banner", + "type": "java.lang.Boolean", + "description": "Print the BootUI URL on application startup.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:95" + }, + { + "name": "bootui.sql-trace.capture-call-site", + "type": "java.lang.Boolean", + "description": "Whether each captured statement records the first application stack frame that triggered it (e.g. {@code OrderRepository.findByCustomer(OrderRepository.java:42)}), shown per execution and aggregated per group so a flagged N+1 group shows exactly where in the code to go fix it. On by default: unlike bound parameters, a call site names only the application's own code (class/method/line), never a value, so it carries no sensitive-data risk \u2014 this toggle is purely about the small per-statement stack-walk cost, not privacy.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1429" + }, + { + "name": "bootui.sql-trace.capture-parameters", + "type": "java.lang.Boolean", + "description": "Whether bound statement parameters are captured alongside the SQL text. Off by default because parameter values may contain sensitive data; metadata-only value exposure additionally suppresses parameters even when this is enabled.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:1418" + }, + { + "name": "bootui.sql-trace.enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI wraps {@code DataSource} beans with its hand-written JDBC tracing proxy to capture executed SQL. When {@code false}, no data source is wrapped.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1404" + }, + { + "name": "bootui.sql-trace.max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of executed statements retained in the in-memory ring buffer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1434" + }, + { + "name": "bootui.sql-trace.max-parameter-length", + "type": "java.lang.Integer", + "description": "Maximum retained length of a single captured parameter value.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1457" + }, + { + "name": "bootui.sql-trace.max-sql-length", + "type": "java.lang.Integer", + "description": "Maximum retained SQL text length; longer statements are truncated.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": 2000, + "defaultValueSource": "BootUiProperties.java:1452" + }, + { + "name": "bootui.sql-trace.n-plus-one-threshold", + "type": "java.lang.Integer", + "description": "Number of times an identical {@code SELECT} must repeat within the buffer before it is flagged as a likely N+1 access pattern. Minimum {@code 2}.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": 5, + "defaultValueSource": "BootUiProperties.java:1463" + }, + { + "name": "bootui.sql-trace.recording", + "type": "java.lang.Boolean", + "description": "Whether new executions are recorded into the in-memory buffer. Recording can be paused and resumed at runtime from the panel without unwrapping {@code DataSource} beans; this sets the initial state.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1411" + }, + { + "name": "bootui.sql-trace.reserved-share-percent", + "type": "java.lang.Integer", + "description": "Percentage of the retained executions reserved for the most recent failed and slow executions, so routine executions are evicted first. Taken out of {@code max-entries}, never added to it. Set to {@code 0} to evict strictly oldest first.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": 25, + "defaultValueSource": "BootUiProperties.java:1447" + }, + { + "name": "bootui.sql-trace.slow-query-threshold-millis", + "type": "java.lang.Long", + "description": "Executions taking at least this many milliseconds are flagged as slow. Set to {@code 0} to disable slow-query flagging.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$SqlTrace", + "defaultValue": 100, + "defaultValueSource": "BootUiProperties.java:1440" + }, + { + "name": "bootui.startup.capacity", + "type": "java.lang.Integer", + "description": "Maximum startup steps retained by BootUI's auto-installed startup buffer. Values less than or equal to zero disable the buffer.", + "defaultValue": 4096 + }, + { + "name": "bootui.startup.enabled", + "type": "java.lang.Boolean", + "description": "Install a BufferingApplicationStartup automatically while BootUI is active so the Startup Timeline panel has data.", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:38 (Mode.AUTO)" + }, + { + "name": "bootui.telemetry.enabled", + "type": "java.lang.Boolean", + "description": "Capture local trace spans and accept OTLP/HTTP trace payloads at the BootUI OTLP endpoint.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Telemetry", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2350" + }, + { + "name": "bootui.telemetry.enrich", + "type": "java.lang.Boolean", + "description": "Stamp BootUI {@code bootui.*} enrichment attributes on request spans (service identity, SQL volume / N+1 suspicion, exception presence) so a cross-service trace waterfall carries BootUI depth. On by default when telemetry is enabled; set to {@code false} to leave capture on but suppress enrichment.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Telemetry", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2378" + }, + { + "name": "bootui.telemetry.exclude-self-spans", + "type": "java.lang.Boolean", + "description": "Drop spans whose route/path attribute starts with the BootUI API path.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Telemetry", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:2370" + }, + { + "name": "bootui.telemetry.max-attribute-value-bytes", + "type": "java.lang.Integer", + "description": "Maximum length of a single attribute string value before truncation.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Telemetry", + "defaultValue": 4096, + "defaultValueSource": "BootUiProperties.java:2365 (4 * 1024)" + }, + { + "name": "bootui.telemetry.max-request-bytes", + "type": "java.lang.Integer", + "description": "Maximum payload size (bytes) accepted by the OTLP receiver.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Telemetry", + "defaultValue": 8388608, + "defaultValueSource": "BootUiProperties.java:2383 (8 * 1024 * 1024)" + }, + { + "name": "bootui.telemetry.max-spans-per-trace", + "type": "java.lang.Integer", + "description": "Maximum number of spans retained per trace.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Telemetry", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:2360" + }, + { + "name": "bootui.telemetry.max-traces", + "type": "java.lang.Integer", + "description": "Maximum number of distinct traces retained in memory. Oldest are evicted.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Telemetry", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:2355" + }, + { + "name": "bootui.threads.capture-deadline-millis", + "type": "java.lang.Long", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 2000, + "defaultValueSource": "BootUiProperties.java:2106" + }, + { + "name": "bootui.threads.include-synchronizers", + "type": "java.lang.Boolean", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": false, + "defaultValueSource": "BootUiProperties.java:2107" + }, + { + "name": "bootui.threads.max-capture-bytes", + "type": "java.lang.Long", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 4194304, + "defaultValueSource": "BootUiProperties.java:2110 (4 * 1024 * 1024L)" + }, + { + "name": "bootui.threads.max-captures", + "type": "java.lang.Integer", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 6, + "defaultValueSource": "BootUiProperties.java:2108" + }, + { + "name": "bootui.threads.max-owned-locks", + "type": "java.lang.Integer", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 256, + "defaultValueSource": "BootUiProperties.java:2105" + }, + { + "name": "bootui.threads.max-retained-bytes", + "type": "java.lang.Long", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 16777216, + "defaultValueSource": "BootUiProperties.java:2109 (16 * 1024 * 1024L)" + }, + { + "name": "bootui.threads.max-stack-depth", + "type": "java.lang.Integer", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 128, + "defaultValueSource": "BootUiProperties.java:2104" + }, + { + "name": "bootui.threads.max-threads", + "type": "java.lang.Integer", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 2048, + "defaultValueSource": "BootUiProperties.java:2103" + }, + { + "name": "bootui.threads.observation-interval-millis", + "type": "java.lang.Long", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 5000, + "defaultValueSource": "BootUiProperties.java:2113" + }, + { + "name": "bootui.threads.observation-samples", + "type": "java.lang.Integer", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 3, + "defaultValueSource": "BootUiProperties.java:2112" + }, + { + "name": "bootui.threads.ttl-millis", + "type": "java.lang.Long", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Threads", + "defaultValue": 300000, + "defaultValueSource": "BootUiProperties.java:2111" + }, + { + "name": "bootui.transactions.connection-hold-threshold-millis", + "type": "java.lang.Long", + "description": "Transactions taking at least this many milliseconds are flagged as holding a pooled connection too long. Set to {@code 0} to disable connection-hold flagging.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Transactions", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:1577" + }, + { + "name": "bootui.transactions.enabled", + "type": "java.lang.Boolean", + "description": "Whether BootUI registers its transaction-execution listener against {@code PlatformTransactionManager} beans to capture transaction boundaries. When {@code false}, no listener is registered.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Transactions", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1553" + }, + { + "name": "bootui.transactions.max-entries", + "type": "java.lang.Integer", + "description": "Maximum number of completed transactions retained in the in-memory ring buffer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Transactions", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1565" + }, + { + "name": "bootui.transactions.recording", + "type": "java.lang.Boolean", + "description": "Whether new transactions are recorded into the in-memory buffer. Recording can be paused and resumed at runtime from the panel without unregistering the listener; this sets the initial state.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Transactions", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1560" + }, + { + "name": "bootui.transactions.slow-transaction-threshold-millis", + "type": "java.lang.Long", + "description": "Transactions taking at least this many milliseconds are flagged as slow. Set to {@code 0} to disable slow-transaction flagging.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Transactions", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1571" + }, + { + "name": "bootui.trust-container-gateway", + "type": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Mode", + "description": "Trust the auto-detected container default gateway as a single /32 so BootUI can be reached inside a container with a published port (host->container traffic is SNAT'd to the gateway) without a broad bootui.trusted-proxies CIDR. Defaults to OFF (fail closed); AUTO and ON are explicit opt-ins. OFF never trusts it; AUTO trusts it only when running inside a container; ON trusts a detected gateway even if container heuristics are inconclusive. Relaxes only the source-address check; the Host allow-list and cross-site write protections stay in force.", + "defaultValue": "OFF", + "defaultValueSource": "BootUiProperties.java:79 (Mode.OFF)" + }, + { + "name": "bootui.trusted-proxies", + "type": "java.lang.String[]", + "description": "Source IP ranges (CIDR notation, e.g. {@code 172.16.0.0/12}) that are trusted in addition to loopback by the safety filter. Lets local Docker-bridge callers reach BootUI without disabling the Host allow-list (DNS-rebinding defense) or the cross-site write protection (CSRF defense), unlike the all-or-nothing {@code bootui.allow-non-localhost}. Empty by default.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties", + "defaultValue": [], + "defaultValueSource": "BootUiProperties.java:66" + }, + { + "name": "bootui.vulnerabilities.epss-base-uri", + "type": "java.lang.String", + "description": "Base URI of the FIRST.org EPSS API queried during a scan. Configurable mainly so tests can point at a local stub; defaults to the public EPSS endpoint, and matches the Quarkus adapter's {@code bootui.vulnerabilities.epss-base-uri} key.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Vulnerabilities", + "defaultValue": "https://api.first.org" + }, + { + "name": "bootui.vulnerabilities.epss-enabled", + "type": "java.lang.Boolean", + "description": "Allow enriching CVE-aliased advisories with FIRST.org EPSS (exploit-probability) scores during a scan. Same on-demand-only network behaviour as {@code osvEnabled}: only called from the user-initiated scan action, never on page render.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Vulnerabilities", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:938" + }, + { + "name": "bootui.vulnerabilities.max-advisories", + "type": "java.lang.Integer", + "description": "Maximum number of advisory details fetched after the package query.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Vulnerabilities", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:924" + }, + { + "name": "bootui.vulnerabilities.max-packages", + "type": "java.lang.Integer", + "description": "Maximum number of dependency packages included in one OSV batch query. Packages beyond this bound are reported as {@code scan.packagesSkipped} rather than silently dropped. The default is sized to cover a typical Spring Boot application's full JAR set, which commonly exceeds 300 dependencies.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Vulnerabilities", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:919" + }, + { + "name": "bootui.vulnerabilities.osv-base-uri", + "type": "java.lang.String", + "description": "Base URI of the OSV.dev API queried during a scan. Configurable mainly so tests can point at a local stub; defaults to the public OSV endpoint, preserving the panel's existing network behaviour, and matches the Quarkus adapter's {@code bootui.vulnerabilities.osv-base-uri} key.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Vulnerabilities", + "defaultValue": "https://api.osv.dev" + }, + { + "name": "bootui.vulnerabilities.osv-enabled", + "type": "java.lang.Boolean", + "description": "Allow on-demand vulnerability scans against OSV.dev.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Vulnerabilities", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:900" + }, + { + "name": "bootui.vulnerabilities.request-timeout", + "type": "java.time.Duration", + "description": "Timeout applied to each OSV request.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Vulnerabilities", + "defaultValue": "10s", + "defaultValueSource": "BootUiProperties.java:905" + }, + { + "name": "bootui.vulnerabilities.scan-timeout", + "type": "java.time.Duration", + "description": "Whole-scan deadline budget applied across OSV batch queries, advisory-detail fetches, and EPSS enrichment; when exceeded, the scan degrades to {@code PARTIAL} while retaining advisories fetched so far.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$Vulnerabilities", + "defaultValue": "60s", + "defaultValueSource": "BootUiProperties.java:912" + }, + { + "name": "bootui.websockets.capturing", + "type": "java.lang.Boolean", + "description": "Whether activity capture starts in the recording state. Toggleable at runtime from the panel.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$WebSockets", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1907" + }, + { + "name": "bootui.websockets.enabled", + "type": "java.lang.Boolean", + "description": "Whether the WebSockets panel installs its capture bindings at all. When {@code false} no decorator or channel interceptor is contributed, and the panel reports endpoints only.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$WebSockets", + "defaultValue": true, + "defaultValueSource": "BootUiProperties.java:1904" + }, + { + "name": "bootui.websockets.max-activity-entries", + "type": "java.lang.Integer", + "description": "Maximum number of activity entries retained in the bounded in-memory buffer.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$WebSockets", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:1919" + }, + { + "name": "bootui.websockets.max-endpoints", + "type": "java.lang.Integer", + "description": "Maximum number of endpoints serialized into one report.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$WebSockets", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1910" + }, + { + "name": "bootui.websockets.max-sessions", + "type": "java.lang.Integer", + "description": "Maximum number of sessions serialized into one report.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$WebSockets", + "defaultValue": 200, + "defaultValueSource": "BootUiProperties.java:1913" + }, + { + "name": "bootui.websockets.max-subscriptions", + "type": "java.lang.Integer", + "description": "Maximum number of STOMP subscriptions serialized into one report.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$WebSockets", + "defaultValue": 500, + "defaultValueSource": "BootUiProperties.java:1916" + }, + { + "name": "bootui.websockets.max-tracked-sessions", + "type": "java.lang.Integer", + "description": "Maximum number of sessions for which per-session counters are retained.", + "sourceType": "io.github.jdubois.bootui.autoconfigure.BootUiProperties$WebSockets", + "defaultValue": 2000, + "defaultValueSource": "BootUiProperties.java:1922" + } + ], + "total": 219 +} \ No newline at end of file diff --git a/tests/fixtures/bootui/2.6.0/routes.json b/tests/fixtures/bootui/2.6.0/routes.json new file mode 100644 index 000000000..035e93ac9 --- /dev/null +++ b/tests/fixtures/bootui/2.6.0/routes.json @@ -0,0 +1,5466 @@ +{ + "reads": [ + { + "method": "GET", + "path": "/overview", + "panel": "overview", + "operationId": "read_overview", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/health", + "panel": "health", + "operationId": "read_health", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/http-sessions", + "panel": "http-sessions", + "operationId": "read_http_sessions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/metrics", + "panel": "metrics", + "operationId": "read_metrics", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/live-memory", + "panel": "live-memory", + "operationId": "read_live_memory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/jvm-tuning", + "panel": "jvm-tuning", + "operationId": "read_jvm_tuning", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/heap-dump", + "panel": "heap-dump", + "operationId": "read_heap_dump", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/threads", + "panel": "threads", + "operationId": "read_threads", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/memory", + "panel": "memory", + "operationId": "read_memory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/startup", + "panel": "startup", + "operationId": "read_startup", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/graalvm", + "panel": "graalvm", + "operationId": "read_graalvm", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/scheduled", + "panel": "scheduled", + "operationId": "read_scheduled", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/fault-tolerance", + "panel": "fault-tolerance", + "operationId": "read_fault_tolerance", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/config", + "panel": "config", + "operationId": "read_config", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/profile-diff", + "panel": "profile-diff", + "operationId": "read_profile_diff", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/loggers", + "panel": "loggers", + "operationId": "read_loggers", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/beans", + "panel": "beans", + "operationId": "read_beans", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/conditions", + "panel": "conditions", + "operationId": "read_conditions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/mappings/flat", + "panel": "mappings", + "operationId": "read_mappings", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/data/repositories", + "panel": "data", + "operationId": "read_data", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/flyway/migrations", + "panel": "flyway", + "operationId": "read_flyway", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/liquibase/changesets", + "panel": "liquibase", + "operationId": "read_liquibase", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/database-connection-pools/pools", + "panel": "database-connection-pools", + "operationId": "read_database_connection_pools", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/hibernate", + "panel": "hibernate", + "operationId": "read_hibernate", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/database-advisor", + "panel": "database-advisor", + "operationId": "read_database_advisor", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/postgresql", + "panel": "postgresql", + "operationId": "read_postgresql", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/mysql", + "panel": "mysql", + "operationId": "read_mysql", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/hibernate-statistics", + "panel": "hibernate-statistics", + "operationId": "read_hibernate_statistics", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/cache", + "panel": "cache", + "operationId": "read_cache", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/spring-security", + "panel": "spring-security", + "operationId": "read_spring_security", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/security", + "panel": "security", + "operationId": "read_security", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/security-logs", + "panel": "security-logs", + "operationId": "read_security_logs", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/pentesting", + "panel": "pentesting", + "operationId": "read_pentesting", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/ai/overview", + "panel": "ai", + "operationId": "read_ai", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/traces", + "panel": "traces", + "operationId": "read_traces", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/log-tail/recent", + "panel": "log-tail", + "operationId": "read_log_tail", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/exceptions", + "panel": "exceptions", + "operationId": "read_exceptions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/http-exchanges", + "panel": "http-exchanges", + "operationId": "read_http_exchanges", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/architecture", + "panel": "architecture", + "operationId": "read_architecture", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/rest-api", + "panel": "rest-api", + "operationId": "read_rest_api", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/vulnerabilities", + "panel": "vulnerabilities", + "operationId": "read_vulnerabilities", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/dev-services", + "panel": "dev-services", + "operationId": "read_dev_services", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/devtools", + "panel": "devtools", + "operationId": "read_devtools", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/copilot/dashboard", + "panel": "copilot", + "operationId": "read_copilot", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/claude-code/dashboard", + "panel": "claude-code", + "operationId": "read_claude_code", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/github", + "panel": "github", + "operationId": "read_github", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/spring", + "panel": "spring", + "operationId": "read_spring", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/crac", + "panel": "crac", + "operationId": "read_crac", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/sql-trace", + "panel": "sql-trace", + "operationId": "read_sql_trace", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/transactions", + "panel": "transactions", + "operationId": "read_transactions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/rest-client-trace", + "panel": "rest-client-trace", + "operationId": "read_rest_client_trace", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/mcp-server", + "panel": "mcp-server", + "operationId": "read_mcp_server", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/cli", + "panel": "cli", + "operationId": "read_cli", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/activity", + "panel": "activity", + "operationId": "read_activity", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/runtime-insights", + "panel": "runtime-insights", + "operationId": "read_runtime_insights", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/java-agent", + "panel": "java-agent", + "operationId": "read_java_agent", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-inventory", + "panel": "code-inventory", + "operationId": "read_code_inventory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-paths", + "panel": "code-paths", + "operationId": "read_code_paths", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/side-effects", + "panel": "side-effects", + "operationId": "read_side_effects", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/email", + "panel": "email", + "operationId": "read_email", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/kafka", + "panel": "kafka", + "operationId": "read_kafka", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/rabbitmq", + "panel": "rabbitmq", + "operationId": "read_rabbitmq", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/jms", + "panel": "jms", + "operationId": "read_jms", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/websockets", + "panel": "websockets", + "operationId": "read_websockets", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/activity/request/conformance-unknown-request", + "panel": "activity", + "operationId": "read_activity", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/activity/journal", + "panel": "activity", + "operationId": "read_activity", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/activity/resources", + "panel": "activity", + "operationId": "read_activity", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-inventory/changes", + "panel": "code-inventory", + "operationId": "read_code_inventory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-inventory/methods?status=never-executed", + "panel": "code-inventory", + "operationId": "read_code_inventory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-inventory/dependencies", + "panel": "code-inventory", + "operationId": "read_code_inventory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/exceptions/caught", + "panel": "exceptions", + "operationId": "read_exceptions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/exceptions/conformance-exception-group", + "panel": "exceptions", + "operationId": "read_exceptions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/exceptions/conformance-exception-group#occurrences[]", + "panel": "exceptions", + "operationId": "read_exceptions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/exceptions/conformance-exception-group#occurrences[].bindingDiagnostics[]", + "panel": "exceptions", + "operationId": "read_exceptions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/side-effects/sensor?sensor=processes", + "panel": "side-effects", + "operationId": "read_side_effects", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-paths/route?route=GET%20%2Fnot-a-route", + "panel": "code-paths", + "operationId": "read_code_paths", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-paths/requests/0000000000000000", + "panel": "code-paths", + "operationId": "read_code_paths", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-paths/beans", + "panel": "code-paths", + "operationId": "read_code_paths", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/code-paths/probes", + "panel": "code-paths", + "operationId": "read_code_paths", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/runtime-insights/insights/conformance-unknown:0000000000", + "panel": "runtime-insights", + "operationId": "read_runtime_insights", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/runtime-insights/comparison", + "panel": "runtime-insights", + "operationId": "read_runtime_insights", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/runtime-insights/resource-profile", + "panel": "runtime-insights", + "operationId": "read_runtime_insights", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/runtime-insights/impact?symbol=conformanceUnknownSymbol", + "panel": "runtime-insights", + "operationId": "read_runtime_insights", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/runtime-insights/impact/symbols?query=conformanceUnknownSymbol", + "panel": "runtime-insights", + "operationId": "read_runtime_insights", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "method": "GET", + "path": "/activity/request/conformance-unknown-request/journal", + "panel": "activity", + "operationId": "read_activity", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + } + ], + "actions": [ + { + "id": "http-sessions.clear", + "method": "POST", + "path": "/http-sessions/session-key/clear", + "panel": "http-sessions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "http-sessions.invalidate", + "method": "POST", + "path": "/http-sessions/session-key/invalidate", + "panel": "http-sessions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "live-memory.offload", + "method": "POST", + "path": "/live-memory/offload", + "panel": "live-memory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "live-memory.footprint", + "method": "POST", + "path": "/live-memory/footprint", + "panel": "live-memory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "heap-dump.capture", + "method": "POST", + "path": "/heap-dump/capture", + "panel": "heap-dump", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "heap-dump.analyze", + "method": "POST", + "path": "/heap-dump/analyze", + "panel": "heap-dump", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "heap-dump.delete", + "method": "POST", + "path": "/heap-dump/delete", + "panel": "heap-dump", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "threads.download", + "method": "POST", + "path": "/threads/download", + "panel": "threads", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "threads.capture", + "method": "POST", + "path": "/threads/captures", + "panel": "threads", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "threads.clear", + "method": "POST", + "path": "/threads/captures/clear", + "panel": "threads", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "threads.export", + "method": "POST", + "path": "/threads/captures/00000000-0000-0000-0000-000000000000/export", + "panel": "threads", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "threads.observe", + "method": "POST", + "path": "/threads/observations", + "panel": "threads", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "threads.cancel", + "method": "POST", + "path": "/threads/observations/00000000-0000-0000-0000-000000000000/cancel", + "panel": "threads", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "memory.scan", + "method": "POST", + "path": "/memory/scan", + "panel": "memory", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "runtime-insights.resource-profile", + "method": "POST", + "path": "/runtime-insights/resource-profile", + "panel": "runtime-insights", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "runtime-insights.resource-profile.stop", + "method": "POST", + "path": "/runtime-insights/resource-profile/stop", + "panel": "runtime-insights", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "graalvm.scan.cancel", + "method": "POST", + "path": "/graalvm/scan/cancel", + "panel": "graalvm", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "graalvm.scan", + "method": "POST", + "path": "/graalvm/scan", + "panel": "graalvm", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "graalvm.install", + "method": "POST", + "path": "/graalvm/install", + "panel": "graalvm", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "graalvm.install-all", + "method": "POST", + "path": "/graalvm/install/all", + "panel": "graalvm", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "graalvm.dockerfile.install", + "method": "POST", + "path": "/graalvm/dockerfile/install", + "panel": "graalvm", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "config.override.put", + "method": "POST", + "path": "/config/overrides", + "panel": "config", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "config.override.delete", + "method": "DELETE", + "path": "/config/overrides/conformance.key", + "panel": "config", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "loggers.level", + "method": "POST", + "path": "/loggers/io.github.jdubois.bootui.conformance", + "panel": "loggers", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "security.scan", + "method": "POST", + "path": "/security/scan", + "panel": "security", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "pentesting.scan", + "method": "POST", + "path": "/pentesting/scan", + "panel": "pentesting", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "hibernate.scan", + "method": "POST", + "path": "/hibernate/scan", + "panel": "hibernate", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "hibernate-statistics.enable", + "method": "POST", + "path": "/hibernate-statistics/enable", + "panel": "hibernate-statistics", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "database-advisor.scan", + "method": "POST", + "path": "/database-advisor/scan", + "panel": "database-advisor", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "postgresql.read", + "method": "POST", + "path": "/postgresql/read", + "panel": "postgresql", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "mysql.read", + "method": "POST", + "path": "/mysql/read", + "panel": "mysql", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "cache.clear", + "method": "POST", + "path": "/cache/clear", + "panel": "cache", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "traces.clear", + "method": "DELETE", + "path": "/traces", + "panel": "traces", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "exceptions.clear", + "method": "DELETE", + "path": "/exceptions", + "panel": "exceptions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "exceptions.status", + "method": "POST", + "path": "/exceptions/conformance-unknown-fingerprint/status", + "panel": "exceptions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "code-paths.probe.start", + "method": "POST", + "path": "/code-paths/probes", + "panel": "code-paths", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "code-paths.probe.stop", + "method": "POST", + "path": "/code-paths/probes/0/stop", + "panel": "code-paths", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "code-paths.probe.delete", + "method": "DELETE", + "path": "/code-paths/probes/0", + "panel": "code-paths", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "java-agent.sensor.switch", + "method": "POST", + "path": "/java-agent/sensors/environment", + "panel": "java-agent", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "http-probe.execute", + "method": "POST", + "path": "/http-probe", + "panel": "http-probe", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "architecture.scan", + "method": "POST", + "path": "/architecture/scan", + "panel": "architecture", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "vulnerabilities.scan", + "method": "POST", + "path": "/vulnerabilities/scan", + "panel": "vulnerabilities", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "devtools.livereload", + "method": "POST", + "path": "/devtools/livereload", + "panel": "devtools", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "devtools.restart", + "method": "POST", + "path": "/devtools/restart", + "panel": "devtools", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "dev-services.restart", + "method": "POST", + "path": "/dev-services/services/conformance/restart", + "panel": "dev-services", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "dev-services.restart", + "method": "POST", + "path": "/dev-services/conformance/restart", + "panel": "dev-services", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "flyway.migrate", + "method": "POST", + "path": "/flyway/migrate", + "panel": "flyway", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "flyway.clean", + "method": "POST", + "path": "/flyway/clean", + "panel": "flyway", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "liquibase.update", + "method": "POST", + "path": "/liquibase/update", + "panel": "liquibase", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "github.refresh", + "method": "POST", + "path": "/github/refresh", + "panel": "github", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "rest-api.scan", + "method": "POST", + "path": "/rest-api/scan", + "panel": "rest-api", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "spring.scan", + "method": "POST", + "path": "/spring/scan", + "panel": "spring", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "crac.scan", + "method": "POST", + "path": "/crac/scan", + "panel": "crac", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "crac.dockerfile.install", + "method": "POST", + "path": "/crac/dockerfile/install", + "panel": "crac", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "crac.entrypoint.install", + "method": "POST", + "path": "/crac/entrypoint/install", + "panel": "crac", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "crac.install-all", + "method": "POST", + "path": "/crac/install/all", + "panel": "crac", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "sql-trace.clear", + "method": "POST", + "path": "/sql-trace/clear", + "panel": "sql-trace", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "sql-trace.recording", + "method": "POST", + "path": "/sql-trace/recording", + "panel": "sql-trace", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "transactions.clear", + "method": "POST", + "path": "/transactions/clear", + "panel": "transactions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "transactions.recording", + "method": "POST", + "path": "/transactions/recording", + "panel": "transactions", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "rest-client-trace.clear", + "method": "POST", + "path": "/rest-client-trace/clear", + "panel": "rest-client-trace", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "rest-client-trace.recording", + "method": "POST", + "path": "/rest-client-trace/recording", + "panel": "rest-client-trace", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "mcp-server.toggle", + "method": "POST", + "path": "/mcp-server/toggle", + "panel": "mcp-server", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "activity.use-existing-datasource", + "method": "POST", + "path": "/activity/use-existing-datasource", + "panel": "activity", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "activity.clear-recording", + "method": "POST", + "path": "/activity/journal/clear", + "panel": "activity", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "email.clear", + "method": "DELETE", + "path": "/email", + "panel": "email", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "kafka.clear", + "method": "DELETE", + "path": "/kafka", + "panel": "kafka", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "rabbitmq.clear", + "method": "DELETE", + "path": "/rabbitmq", + "panel": "rabbitmq", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "jms.clear", + "method": "DELETE", + "path": "/jms", + "panel": "jms", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "websockets.clear", + "method": "DELETE", + "path": "/websockets", + "panel": "websockets", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "websockets.capture", + "method": "POST", + "path": "/websockets/capture", + "panel": "websockets", + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "dismissed-rules.dismiss", + "method": "POST", + "path": "/dismissed-rules/conformance-rule", + "panel": null, + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "dismissed-rules.restore", + "method": "DELETE", + "path": "/dismissed-rules/conformance-rule", + "panel": null, + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "dismissed-findings.dismiss", + "method": "POST", + "path": "/dismissed-findings", + "panel": null, + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "dismissed-findings.restore", + "method": "DELETE", + "path": "/dismissed-findings", + "panel": null, + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "mcp.bridge", + "method": "POST", + "path": "/mcp", + "panel": null, + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "cli.tool", + "method": "POST", + "path": "/cli/tools/get_overview", + "panel": null, + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + }, + { + "id": "otlp.ingest", + "method": "POST", + "path": "/otlp/v1/traces", + "panel": null, + "runtimes": [ + "SPRING_MVC", + "SPRING_WEBFLUX", + "QUARKUS" + ] + } + ], + "crossCheck": { + "starterMappingsCount": 269, + "starterMappings": [ + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 546, + "verb": "GET", + "path": "/activity" + }, + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 899, + "verb": "GET", + "path": "/activity/journal" + }, + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 906, + "verb": "GET", + "path": "/activity/resources" + }, + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 912, + "verb": "POST", + "path": "/activity/journal/clear" + }, + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 920, + "verb": "POST", + "path": "/activity/use-existing-datasource" + }, + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 1016, + "verb": "GET", + "path": "/activity/request/{id}/journal" + }, + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 1121, + "verb": "GET", + "path": "/activity/request/{id}" + }, + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 1131, + "verb": "GET", + "path": "/activity/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "LiveServiceMapController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveServiceMapController.java", + "line": 51, + "verb": "GET", + "path": "/activity/service-map", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ArchitectureController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/architecture/ArchitectureController.java", + "line": 27, + "verb": "GET", + "path": "/architecture" + }, + { + "controller": "ArchitectureController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/architecture/ArchitectureController.java", + "line": 32, + "verb": "POST", + "path": "/architecture/scan" + }, + { + "controller": "BootUiCliController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/cli/BootUiCliController.java", + "line": 30, + "verb": "GET", + "path": "/cli" + }, + { + "controller": "BootUiCliController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/cli/BootUiCliController.java", + "line": 36, + "verb": "POST", + "path": "/cli/tools/{name}" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 68, + "verb": "GET", + "path": "/crac" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 73, + "verb": "POST", + "path": "/crac/scan" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 80, + "verb": "GET", + "path": "/crac/dockerfile", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 89, + "verb": "GET", + "path": "/crac/entrypoint", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 98, + "verb": "POST", + "path": "/crac/dockerfile/install" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 103, + "verb": "POST", + "path": "/crac/entrypoint/install" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 108, + "verb": "POST", + "path": "/crac/install/all" + }, + { + "controller": "DatabaseAdvisorController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/databaseadvisor/DatabaseAdvisorController.java", + "line": 27, + "verb": "GET", + "path": "/database-advisor" + }, + { + "controller": "DatabaseAdvisorController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/databaseadvisor/DatabaseAdvisorController.java", + "line": 32, + "verb": "POST", + "path": "/database-advisor/scan" + }, + { + "controller": "ExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/exceptions/ExceptionsController.java", + "line": 84, + "verb": "GET", + "path": "/exceptions" + }, + { + "controller": "ExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/exceptions/ExceptionsController.java", + "line": 90, + "verb": "GET", + "path": "/exceptions/caught" + }, + { + "controller": "ExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/exceptions/ExceptionsController.java", + "line": 95, + "verb": "GET", + "path": "/exceptions/{id}" + }, + { + "controller": "ExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/exceptions/ExceptionsController.java", + "line": 100, + "verb": "DELETE", + "path": "/exceptions" + }, + { + "controller": "ExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/exceptions/ExceptionsController.java", + "line": 106, + "verb": "POST", + "path": "/exceptions/{id}/status" + }, + { + "controller": "ExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/exceptions/ExceptionsController.java", + "line": 118, + "verb": "GET", + "path": "/exceptions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 59, + "verb": "GET", + "path": "/graalvm" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 64, + "verb": "GET", + "path": "/graalvm/scan/progress", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 69, + "verb": "POST", + "path": "/graalvm/scan/cancel" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 75, + "verb": "POST", + "path": "/graalvm/scan" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 83, + "verb": "GET", + "path": "/graalvm/metadata", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 93, + "verb": "POST", + "path": "/graalvm/install" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 99, + "verb": "POST", + "path": "/graalvm/install/all" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 113, + "verb": "GET", + "path": "/graalvm/dockerfile", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 122, + "verb": "POST", + "path": "/graalvm/dockerfile/install" + }, + { + "controller": "HibernateController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/hibernate/HibernateController.java", + "line": 29, + "verb": "GET", + "path": "/hibernate" + }, + { + "controller": "HibernateController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/hibernate/HibernateController.java", + "line": 34, + "verb": "POST", + "path": "/hibernate/scan" + }, + { + "controller": "HibernateStatisticsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/hibernate/HibernateStatisticsController.java", + "line": 23, + "verb": "GET", + "path": "/hibernate-statistics" + }, + { + "controller": "HibernateStatisticsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/hibernate/HibernateStatisticsController.java", + "line": 28, + "verb": "POST", + "path": "/hibernate-statistics/enable" + }, + { + "controller": "RuntimeInsightsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/insights/RuntimeInsightsController.java", + "line": 211, + "verb": "GET", + "path": "/runtime-insights" + }, + { + "controller": "RuntimeInsightsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/insights/RuntimeInsightsController.java", + "line": 236, + "verb": "GET", + "path": "/runtime-insights/insights/{id}" + }, + { + "controller": "RuntimeInsightsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/insights/RuntimeInsightsController.java", + "line": 314, + "verb": "GET", + "path": "/runtime-insights/impact" + }, + { + "controller": "RuntimeInsightsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/insights/RuntimeInsightsController.java", + "line": 320, + "verb": "GET", + "path": "/runtime-insights/impact/symbols" + }, + { + "controller": "RuntimeInsightsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/insights/RuntimeInsightsController.java", + "line": 326, + "verb": "GET", + "path": "/runtime-insights/resource-profile" + }, + { + "controller": "RuntimeInsightsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/insights/RuntimeInsightsController.java", + "line": 332, + "verb": "POST", + "path": "/runtime-insights/resource-profile" + }, + { + "controller": "RuntimeInsightsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/insights/RuntimeInsightsController.java", + "line": 338, + "verb": "POST", + "path": "/runtime-insights/resource-profile/stop" + }, + { + "controller": "RuntimeInsightsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/insights/RuntimeInsightsController.java", + "line": 344, + "verb": "GET", + "path": "/runtime-insights/comparison" + }, + { + "controller": "CodeInventoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodeInventoryController.java", + "line": 25, + "verb": "GET", + "path": "/code-inventory" + }, + { + "controller": "CodeInventoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodeInventoryController.java", + "line": 30, + "verb": "GET", + "path": "/code-inventory/changes" + }, + { + "controller": "CodeInventoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodeInventoryController.java", + "line": 37, + "verb": "GET", + "path": "/code-inventory/methods" + }, + { + "controller": "CodeInventoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodeInventoryController.java", + "line": 47, + "verb": "GET", + "path": "/code-inventory/dependencies" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 39, + "verb": "GET", + "path": "/code-paths" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 44, + "verb": "GET", + "path": "/code-paths/route" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 53, + "verb": "GET", + "path": "/code-paths/beans" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 58, + "verb": "GET", + "path": "/code-paths/requests/{requestId}" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 63, + "verb": "GET", + "path": "/code-paths/probes" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 68, + "verb": "POST", + "path": "/code-paths/probes" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 76, + "verb": "GET", + "path": "/code-paths/probes/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 81, + "verb": "POST", + "path": "/code-paths/probes/{id}/stop" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 86, + "verb": "DELETE", + "path": "/code-paths/probes/{id}" + }, + { + "controller": "JavaAgentController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/JavaAgentController.java", + "line": 28, + "verb": "GET", + "path": "/java-agent" + }, + { + "controller": "JavaAgentController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/JavaAgentController.java", + "line": 34, + "verb": "POST", + "path": "/java-agent/sensors/{id}" + }, + { + "controller": "SideEffectsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/SideEffectsController.java", + "line": 27, + "verb": "GET", + "path": "/side-effects" + }, + { + "controller": "SideEffectsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/SideEffectsController.java", + "line": 32, + "verb": "GET", + "path": "/side-effects/sensor" + }, + { + "controller": "JmsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/jms/JmsController.java", + "line": 40, + "verb": "GET", + "path": "/jms" + }, + { + "controller": "JmsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/jms/JmsController.java", + "line": 54, + "verb": "DELETE", + "path": "/jms" + }, + { + "controller": "KafkaController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/kafka/KafkaController.java", + "line": 36, + "verb": "GET", + "path": "/kafka" + }, + { + "controller": "KafkaController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/kafka/KafkaController.java", + "line": 46, + "verb": "DELETE", + "path": "/kafka" + }, + { + "controller": "EmailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mail/EmailController.java", + "line": 43, + "verb": "GET", + "path": "/email" + }, + { + "controller": "EmailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mail/EmailController.java", + "line": 53, + "verb": "GET", + "path": "/email/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "EmailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mail/EmailController.java", + "line": 59, + "verb": "GET", + "path": "/email/{id}/eml", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "EmailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mail/EmailController.java", + "line": 69, + "verb": "DELETE", + "path": "/email" + }, + { + "controller": "BootUiMcpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mcp/BootUiMcpController.java", + "line": 56, + "verb": "POST", + "path": "/mcp" + }, + { + "controller": "BootUiMcpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mcp/BootUiMcpController.java", + "line": 174, + "verb": "GET", + "path": "/mcp", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "controller": "McpServerController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mcp/McpServerController.java", + "line": 34, + "verb": "GET", + "path": "/mcp-server" + }, + { + "controller": "McpServerController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mcp/McpServerController.java", + "line": 39, + "verb": "POST", + "path": "/mcp-server/toggle" + }, + { + "controller": "MemoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/memory/MemoryController.java", + "line": 34, + "verb": "GET", + "path": "/memory" + }, + { + "controller": "MemoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/memory/MemoryController.java", + "line": 44, + "verb": "POST", + "path": "/memory/scan" + }, + { + "controller": "MySqlController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mysql/MySqlController.java", + "line": 21, + "verb": "GET", + "path": "/mysql" + }, + { + "controller": "MySqlController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mysql/MySqlController.java", + "line": 26, + "verb": "POST", + "path": "/mysql/read" + }, + { + "controller": "PentestingController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/pentesting/PentestingController.java", + "line": 29, + "verb": "GET", + "path": "/pentesting" + }, + { + "controller": "PentestingController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/pentesting/PentestingController.java", + "line": 34, + "verb": "POST", + "path": "/pentesting/scan" + }, + { + "controller": "PostgresqlController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/postgres/PostgresqlController.java", + "line": 24, + "verb": "GET", + "path": "/postgresql" + }, + { + "controller": "PostgresqlController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/postgres/PostgresqlController.java", + "line": 29, + "verb": "POST", + "path": "/postgresql/read" + }, + { + "controller": "RabbitController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/rabbit/RabbitController.java", + "line": 36, + "verb": "GET", + "path": "/rabbitmq" + }, + { + "controller": "RabbitController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/rabbit/RabbitController.java", + "line": 47, + "verb": "DELETE", + "path": "/rabbitmq" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 41, + "verb": "GET", + "path": "/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 48, + "verb": "GET", + "path": "/dashboard", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 53, + "verb": "GET", + "path": "/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 62, + "verb": "GET", + "path": "/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 77, + "verb": "GET", + "path": "/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 94, + "verb": "GET", + "path": "/stream", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "controller": "ReactiveBootUiCliController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiCliController.java", + "line": 32, + "verb": "GET", + "path": "/cli" + }, + { + "controller": "ReactiveBootUiCliController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiCliController.java", + "line": 37, + "verb": "POST", + "path": "/cli/tools/{name}" + }, + { + "controller": "ReactiveBootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiIndexController.java", + "line": 40, + "verb": "GET", + "path": "/${bootui.path:/bootui}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveBootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiIndexController.java", + "line": 40, + "verb": "GET", + "path": "/${bootui.path:/bootui}/", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveBootUiMcpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiMcpController.java", + "line": 66, + "verb": "POST", + "path": "/mcp" + }, + { + "controller": "ReactiveBootUiMcpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiMcpController.java", + "line": 102, + "verb": "GET", + "path": "/mcp", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "controller": "ReactiveBootUiMcpServerController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiMcpServerController.java", + "line": 37, + "verb": "GET", + "path": "/mcp-server" + }, + { + "controller": "ReactiveBootUiMcpServerController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiMcpServerController.java", + "line": 42, + "verb": "POST", + "path": "/mcp-server/toggle" + }, + { + "controller": "ReactiveExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveExceptionsController.java", + "line": 85, + "verb": "GET", + "path": "/exceptions" + }, + { + "controller": "ReactiveExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveExceptionsController.java", + "line": 91, + "verb": "GET", + "path": "/exceptions/caught" + }, + { + "controller": "ReactiveExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveExceptionsController.java", + "line": 96, + "verb": "GET", + "path": "/exceptions/{id}" + }, + { + "controller": "ReactiveExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveExceptionsController.java", + "line": 101, + "verb": "DELETE", + "path": "/exceptions" + }, + { + "controller": "ReactiveExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveExceptionsController.java", + "line": 107, + "verb": "POST", + "path": "/exceptions/{id}/status" + }, + { + "controller": "ReactiveExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveExceptionsController.java", + "line": 119, + "verb": "GET", + "path": "/exceptions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 531, + "verb": "GET", + "path": "/activity" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 878, + "verb": "GET", + "path": "/activity/journal" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 885, + "verb": "GET", + "path": "/activity/resources" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 891, + "verb": "POST", + "path": "/activity/journal/clear" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 899, + "verb": "POST", + "path": "/activity/use-existing-datasource" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 996, + "verb": "GET", + "path": "/activity/request/{id}/journal" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 1105, + "verb": "GET", + "path": "/activity/request/{id}" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 1173, + "verb": "GET", + "path": "/activity/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveLogTailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLogTailController.java", + "line": 56, + "verb": "GET", + "path": "/log-tail/recent" + }, + { + "controller": "ReactiveLogTailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLogTailController.java", + "line": 62, + "verb": "GET", + "path": "/log-tail/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveRestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveRestClientTraceController.java", + "line": 52, + "verb": "GET", + "path": "/rest-client-trace" + }, + { + "controller": "ReactiveRestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveRestClientTraceController.java", + "line": 57, + "verb": "POST", + "path": "/rest-client-trace/clear" + }, + { + "controller": "ReactiveRestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveRestClientTraceController.java", + "line": 62, + "verb": "POST", + "path": "/rest-client-trace/recording" + }, + { + "controller": "ReactiveRestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveRestClientTraceController.java", + "line": 68, + "verb": "GET", + "path": "/rest-client-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSecurityController.java", + "line": 28, + "verb": "GET", + "path": "/security" + }, + { + "controller": "ReactiveSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSecurityController.java", + "line": 39, + "verb": "POST", + "path": "/security/scan" + }, + { + "controller": "ReactiveSecurityLogsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSecurityLogsController.java", + "line": 89, + "verb": "GET", + "path": "/security-logs" + }, + { + "controller": "ReactiveSecurityLogsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSecurityLogsController.java", + "line": 142, + "verb": "GET", + "path": "/security-logs/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSpringSecurityController.java", + "line": 69, + "verb": "GET", + "path": "/spring-security" + }, + { + "controller": "ReactiveSpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSpringSecurityController.java", + "line": 74, + "verb": "GET", + "path": "/spring-security/explain", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSpringSecurityController.java", + "line": 82, + "verb": "GET", + "path": "/spring-security/endpoints", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 67, + "verb": "GET", + "path": "/sql-trace" + }, + { + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 73, + "verb": "GET", + "path": "/sql-trace/insights", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 78, + "verb": "POST", + "path": "/sql-trace/clear" + }, + { + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 83, + "verb": "POST", + "path": "/sql-trace/recording" + }, + { + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 89, + "verb": "GET", + "path": "/sql-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveTransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveTransactionsController.java", + "line": 53, + "verb": "GET", + "path": "/transactions" + }, + { + "controller": "ReactiveTransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveTransactionsController.java", + "line": 58, + "verb": "POST", + "path": "/transactions/clear" + }, + { + "controller": "ReactiveTransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveTransactionsController.java", + "line": 63, + "verb": "POST", + "path": "/transactions/recording" + }, + { + "controller": "ReactiveTransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveTransactionsController.java", + "line": 69, + "verb": "GET", + "path": "/transactions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveWebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveWebSocketController.java", + "line": 54, + "verb": "GET", + "path": "/websockets" + }, + { + "controller": "ReactiveWebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveWebSocketController.java", + "line": 59, + "verb": "DELETE", + "path": "/websockets" + }, + { + "controller": "ReactiveWebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveWebSocketController.java", + "line": 64, + "verb": "POST", + "path": "/websockets/capture" + }, + { + "controller": "ReactiveWebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveWebSocketController.java", + "line": 70, + "verb": "GET", + "path": "/websockets/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "RestApiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restapi/RestApiController.java", + "line": 34, + "verb": "GET", + "path": "/rest-api" + }, + { + "controller": "RestApiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restapi/RestApiController.java", + "line": 40, + "verb": "GET", + "path": "/rest-api/error-contract", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "RestApiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restapi/RestApiController.java", + "line": 48, + "verb": "POST", + "path": "/rest-api/scan" + }, + { + "controller": "RestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restclienttrace/RestClientTraceController.java", + "line": 50, + "verb": "GET", + "path": "/rest-client-trace" + }, + { + "controller": "RestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restclienttrace/RestClientTraceController.java", + "line": 55, + "verb": "POST", + "path": "/rest-client-trace/clear" + }, + { + "controller": "RestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restclienttrace/RestClientTraceController.java", + "line": 60, + "verb": "POST", + "path": "/rest-client-trace/recording" + }, + { + "controller": "RestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restclienttrace/RestClientTraceController.java", + "line": 66, + "verb": "GET", + "path": "/rest-client-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "SecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityController.java", + "line": 52, + "verb": "GET", + "path": "/security" + }, + { + "controller": "SecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityController.java", + "line": 57, + "verb": "POST", + "path": "/security/scan" + }, + { + "controller": "StaticSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/StaticSecurityController.java", + "line": 42, + "verb": "GET", + "path": "/security" + }, + { + "controller": "StaticSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/StaticSecurityController.java", + "line": 48, + "verb": "POST", + "path": "/security/scan" + }, + { + "controller": "SpringController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringController.java", + "line": 60, + "verb": "GET", + "path": "/spring" + }, + { + "controller": "SpringController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringController.java", + "line": 65, + "verb": "POST", + "path": "/spring/scan" + }, + { + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 64, + "verb": "GET", + "path": "/sql-trace" + }, + { + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 70, + "verb": "GET", + "path": "/sql-trace/insights", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 75, + "verb": "POST", + "path": "/sql-trace/clear" + }, + { + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 80, + "verb": "POST", + "path": "/sql-trace/recording" + }, + { + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 86, + "verb": "GET", + "path": "/sql-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "TransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/transactions/TransactionsController.java", + "line": 51, + "verb": "GET", + "path": "/transactions" + }, + { + "controller": "TransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/transactions/TransactionsController.java", + "line": 56, + "verb": "POST", + "path": "/transactions/clear" + }, + { + "controller": "TransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/transactions/TransactionsController.java", + "line": 61, + "verb": "POST", + "path": "/transactions/recording" + }, + { + "controller": "TransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/transactions/TransactionsController.java", + "line": 67, + "verb": "GET", + "path": "/transactions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ActuatorMappingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ActuatorMappingsController.java", + "line": 22, + "verb": "GET", + "path": "/mappings", + "classification": "framework-introspection", + "reason": "Framework introspection metadata endpoint" + }, + { + "controller": "AdvisorViolationsEndpoint.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AdvisorViolationsEndpoint.java", + "line": 12, + "verb": "GET", + "path": "/rules/{ruleId}/violations", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 43, + "verb": "GET", + "path": "/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 50, + "verb": "GET", + "path": "/dashboard", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 55, + "verb": "GET", + "path": "/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 64, + "verb": "GET", + "path": "/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 79, + "verb": "GET", + "path": "/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 95, + "verb": "GET", + "path": "/stream", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 46, + "verb": "GET", + "path": "/ai/overview" + }, + { + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 51, + "verb": "GET", + "path": "/ai/chats", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 57, + "verb": "GET", + "path": "/ai/chats/{spanId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 64, + "verb": "GET", + "path": "/ai/tokens", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "BeansController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/BeansController.java", + "line": 21, + "verb": "GET", + "path": "/beans" + }, + { + "controller": "BootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/BootUiIndexController.java", + "line": 53, + "verb": "GET", + "path": "/${bootui.path:/bootui}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "BootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/BootUiIndexController.java", + "line": 53, + "verb": "GET", + "path": "/${bootui.path:/bootui}/", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ConditionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ConditionsController.java", + "line": 44, + "verb": "GET", + "path": "/conditions" + }, + { + "controller": "ConfigController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ConfigController.java", + "line": 31, + "verb": "GET", + "path": "/config" + }, + { + "controller": "ConfigController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ConfigController.java", + "line": 41, + "verb": "POST", + "path": "/config/overrides" + }, + { + "controller": "ConfigController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ConfigController.java", + "line": 49, + "verb": "DELETE", + "path": "/config/overrides/{name}" + }, + { + "controller": "DataController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DataController.java", + "line": 43, + "verb": "GET", + "path": "/data/repositories" + }, + { + "controller": "DataController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DataController.java", + "line": 54, + "verb": "GET", + "path": "/data/repositories/{name}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DatabaseConnectionPoolsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DatabaseConnectionPoolsController.java", + "line": 28, + "verb": "GET", + "path": "/database-connection-pools/pools" + }, + { + "controller": "DatabaseConnectionPoolsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DatabaseConnectionPoolsController.java", + "line": 33, + "verb": "GET", + "path": "/database-connection-pools/pools/{name}/snapshot", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DevServicesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevServicesController.java", + "line": 35, + "verb": "GET", + "path": "/dev-services" + }, + { + "controller": "DevServicesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevServicesController.java", + "line": 40, + "verb": "GET", + "path": "/dev-services/{id}/logs", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DevServicesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevServicesController.java", + "line": 45, + "verb": "POST", + "path": "/dev-services/{id}/restart" + }, + { + "controller": "DevToolsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevToolsController.java", + "line": 21, + "verb": "GET", + "path": "/devtools" + }, + { + "controller": "DevToolsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevToolsController.java", + "line": 26, + "verb": "POST", + "path": "/devtools/livereload" + }, + { + "controller": "DevToolsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevToolsController.java", + "line": 32, + "verb": "POST", + "path": "/devtools/restart" + }, + { + "controller": "DismissedFindingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedFindingsController.java", + "line": 31, + "verb": "GET", + "path": "/dismissed-findings", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DismissedFindingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedFindingsController.java", + "line": 36, + "verb": "POST", + "path": "/dismissed-findings" + }, + { + "controller": "DismissedFindingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedFindingsController.java", + "line": 43, + "verb": "DELETE", + "path": "/dismissed-findings" + }, + { + "controller": "DismissedRulesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedRulesController.java", + "line": 27, + "verb": "GET", + "path": "/dismissed-rules", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DismissedRulesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedRulesController.java", + "line": 32, + "verb": "POST", + "path": "/dismissed-rules/{ruleId}" + }, + { + "controller": "DismissedRulesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedRulesController.java", + "line": 37, + "verb": "DELETE", + "path": "/dismissed-rules/{ruleId}" + }, + { + "controller": "FaultToleranceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/FaultToleranceController.java", + "line": 20, + "verb": "GET", + "path": "/fault-tolerance" + }, + { + "controller": "FlywayController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/FlywayController.java", + "line": 30, + "verb": "GET", + "path": "/flyway/migrations" + }, + { + "controller": "FlywayController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/FlywayController.java", + "line": 35, + "verb": "POST", + "path": "/flyway/migrate" + }, + { + "controller": "FlywayController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/FlywayController.java", + "line": 41, + "verb": "POST", + "path": "/flyway/clean" + }, + { + "controller": "GitHubController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/GitHubController.java", + "line": 56, + "verb": "GET", + "path": "/github" + }, + { + "controller": "GitHubController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/GitHubController.java", + "line": 61, + "verb": "POST", + "path": "/github/refresh" + }, + { + "controller": "HealthController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HealthController.java", + "line": 20, + "verb": "GET", + "path": "/health" + }, + { + "controller": "HeapDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HeapDumpController.java", + "line": 30, + "verb": "GET", + "path": "/heap-dump" + }, + { + "controller": "HeapDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HeapDumpController.java", + "line": 37, + "verb": "POST", + "path": "/heap-dump/capture" + }, + { + "controller": "HeapDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HeapDumpController.java", + "line": 44, + "verb": "POST", + "path": "/heap-dump/analyze" + }, + { + "controller": "HeapDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HeapDumpController.java", + "line": 49, + "verb": "POST", + "path": "/heap-dump/delete" + }, + { + "controller": "HeapDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HeapDumpController.java", + "line": 60, + "verb": "GET", + "path": "/heap-dump/download", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "HttpExchangesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HttpExchangesController.java", + "line": 104, + "verb": "GET", + "path": "/http-exchanges" + }, + { + "controller": "HttpExchangesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HttpExchangesController.java", + "line": 138, + "verb": "GET", + "path": "/http-exchanges/routes", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "HttpProbeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HttpProbeController.java", + "line": 27, + "verb": "POST", + "path": "/http-probe" + }, + { + "controller": "HttpSessionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HttpSessionsController.java", + "line": 37, + "verb": "GET", + "path": "/http-sessions" + }, + { + "controller": "HttpSessionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HttpSessionsController.java", + "line": 42, + "verb": "POST", + "path": "/http-sessions/{sessionKey}/clear" + }, + { + "controller": "HttpSessionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HttpSessionsController.java", + "line": 48, + "verb": "POST", + "path": "/http-sessions/{sessionKey}/invalidate" + }, + { + "controller": "JvmTuningController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/JvmTuningController.java", + "line": 20, + "verb": "GET", + "path": "/jvm-tuning" + }, + { + "controller": "LiquibaseController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LiquibaseController.java", + "line": 31, + "verb": "GET", + "path": "/liquibase/changesets" + }, + { + "controller": "LiquibaseController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LiquibaseController.java", + "line": 36, + "verb": "POST", + "path": "/liquibase/update" + }, + { + "controller": "LiveMemoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LiveMemoryController.java", + "line": 35, + "verb": "GET", + "path": "/live-memory" + }, + { + "controller": "LiveMemoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LiveMemoryController.java", + "line": 47, + "verb": "POST", + "path": "/live-memory/offload" + }, + { + "controller": "LiveMemoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LiveMemoryController.java", + "line": 53, + "verb": "GET", + "path": "/live-memory/footprint", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "LiveMemoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LiveMemoryController.java", + "line": 59, + "verb": "POST", + "path": "/live-memory/footprint" + }, + { + "controller": "LogTailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LogTailController.java", + "line": 95, + "verb": "GET", + "path": "/log-tail/recent" + }, + { + "controller": "LogTailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LogTailController.java", + "line": 100, + "verb": "GET", + "path": "/log-tail/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "LoggersController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LoggersController.java", + "line": 29, + "verb": "GET", + "path": "/loggers" + }, + { + "controller": "LoggersController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LoggersController.java", + "line": 37, + "verb": "POST", + "path": "/loggers/{name}" + }, + { + "controller": "MappingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/MappingsController.java", + "line": 21, + "verb": "GET", + "path": "/mappings/flat" + }, + { + "controller": "MetricsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/MetricsController.java", + "line": 26, + "verb": "GET", + "path": "/metrics" + }, + { + "controller": "MetricsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/MetricsController.java", + "line": 38, + "verb": "GET", + "path": "/metrics/detail", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "OtlpReceiverController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/OtlpReceiverController.java", + "line": 119, + "verb": "POST", + "path": "/otlp/v1/traces" + }, + { + "controller": "OtlpReceiverController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/OtlpReceiverController.java", + "line": 119, + "verb": "POST", + "path": "/otlpapplication/x-protobuf", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "OtlpReceiverController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/OtlpReceiverController.java", + "line": 119, + "verb": "POST", + "path": "/otlpapplication/octet-stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "OverviewController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/OverviewController.java", + "line": 43, + "verb": "GET", + "path": "/overview" + }, + { + "controller": "PanelsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/PanelsController.java", + "line": 69, + "verb": "GET", + "path": "/panels", + "classification": "framework-introspection", + "reason": "Framework introspection metadata endpoint" + }, + { + "controller": "ProfileDiffController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ProfileDiffController.java", + "line": 20, + "verb": "GET", + "path": "/profile-diff" + }, + { + "controller": "ScheduledController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ScheduledController.java", + "line": 22, + "verb": "GET", + "path": "/scheduled" + }, + { + "controller": "SecurityLogsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SecurityLogsController.java", + "line": 72, + "verb": "GET", + "path": "/security-logs" + }, + { + "controller": "SecurityLogsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SecurityLogsController.java", + "line": 118, + "verb": "GET", + "path": "/security-logs/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "SpringCacheController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringCacheController.java", + "line": 29, + "verb": "GET", + "path": "/cache" + }, + { + "controller": "SpringCacheController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringCacheController.java", + "line": 34, + "verb": "POST", + "path": "/cache/clear" + }, + { + "controller": "SpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringSecurityController.java", + "line": 65, + "verb": "GET", + "path": "/spring-security" + }, + { + "controller": "SpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringSecurityController.java", + "line": 70, + "verb": "GET", + "path": "/spring-security/explain", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "SpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringSecurityController.java", + "line": 76, + "verb": "GET", + "path": "/spring-security/endpoints", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "StartupController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/StartupController.java", + "line": 39, + "verb": "GET", + "path": "/startup" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 47, + "verb": "GET", + "path": "/threads" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 61, + "verb": "POST", + "path": "/threads/download" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 74, + "verb": "POST", + "path": "/threads/captures" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 79, + "verb": "GET", + "path": "/threads/captures", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 84, + "verb": "GET", + "path": "/threads/captures/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 84, + "verb": "GET", + "path": "/threads/captures/{id}/contention", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 92, + "verb": "GET", + "path": "/threads/captures/{id}/threads", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 105, + "verb": "GET", + "path": "/threads/captures/{id}/threads/{observationId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 113, + "verb": "GET", + "path": "/threads/captures/{id}/locks/{lockId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 122, + "verb": "POST", + "path": "/threads/captures/clear" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 127, + "verb": "POST", + "path": "/threads/captures/{id}/export" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 139, + "verb": "POST", + "path": "/threads/observations" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 149, + "verb": "GET", + "path": "/threads/observations/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 158, + "verb": "POST", + "path": "/threads/observations/{id}/cancel" + }, + { + "controller": "TracesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/TracesController.java", + "line": 43, + "verb": "GET", + "path": "/traces" + }, + { + "controller": "TracesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/TracesController.java", + "line": 48, + "verb": "GET", + "path": "/traces/{traceId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "TracesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/TracesController.java", + "line": 55, + "verb": "DELETE", + "path": "/traces" + }, + { + "controller": "VulnerabilitiesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/VulnerabilitiesController.java", + "line": 89, + "verb": "GET", + "path": "/vulnerabilities" + }, + { + "controller": "VulnerabilitiesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/VulnerabilitiesController.java", + "line": 108, + "verb": "POST", + "path": "/vulnerabilities/scan" + }, + { + "controller": "WebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/websocket/WebSocketController.java", + "line": 52, + "verb": "GET", + "path": "/websockets" + }, + { + "controller": "WebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/websocket/WebSocketController.java", + "line": 57, + "verb": "DELETE", + "path": "/websockets" + }, + { + "controller": "WebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/websocket/WebSocketController.java", + "line": 62, + "verb": "POST", + "path": "/websockets/capture" + }, + { + "controller": "WebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/websocket/WebSocketController.java", + "line": 68, + "verb": "GET", + "path": "/websockets/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + } + ], + "inheritedMappings": [ + { + "controller": "ReactiveClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveClaudeCodeController.java", + "line": 41, + "verb": "GET", + "path": "/claude-code/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveClaudeCodeController.java", + "line": 48, + "verb": "GET", + "path": "/claude-code/dashboard" + }, + { + "controller": "ReactiveClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveClaudeCodeController.java", + "line": 53, + "verb": "GET", + "path": "/claude-code/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveClaudeCodeController.java", + "line": 62, + "verb": "GET", + "path": "/claude-code/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveClaudeCodeController.java", + "line": 77, + "verb": "GET", + "path": "/claude-code/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveClaudeCodeController.java", + "line": 94, + "verb": "GET", + "path": "/claude-code/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveCopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveCopilotController.java", + "line": 41, + "verb": "GET", + "path": "/copilot/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveCopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveCopilotController.java", + "line": 48, + "verb": "GET", + "path": "/copilot/dashboard" + }, + { + "controller": "ReactiveCopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveCopilotController.java", + "line": 53, + "verb": "GET", + "path": "/copilot/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveCopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveCopilotController.java", + "line": 62, + "verb": "GET", + "path": "/copilot/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveCopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveCopilotController.java", + "line": 77, + "verb": "GET", + "path": "/copilot/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveCopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveCopilotController.java", + "line": 94, + "verb": "GET", + "path": "/copilot/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ClaudeCodeController.java", + "line": 43, + "verb": "GET", + "path": "/claude-code/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ClaudeCodeController.java", + "line": 50, + "verb": "GET", + "path": "/claude-code/dashboard" + }, + { + "controller": "ClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ClaudeCodeController.java", + "line": 55, + "verb": "GET", + "path": "/claude-code/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ClaudeCodeController.java", + "line": 64, + "verb": "GET", + "path": "/claude-code/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ClaudeCodeController.java", + "line": 79, + "verb": "GET", + "path": "/claude-code/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ClaudeCodeController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ClaudeCodeController.java", + "line": 95, + "verb": "GET", + "path": "/claude-code/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "CopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/CopilotController.java", + "line": 43, + "verb": "GET", + "path": "/copilot/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "CopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/CopilotController.java", + "line": 50, + "verb": "GET", + "path": "/copilot/dashboard" + }, + { + "controller": "CopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/CopilotController.java", + "line": 55, + "verb": "GET", + "path": "/copilot/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "CopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/CopilotController.java", + "line": 64, + "verb": "GET", + "path": "/copilot/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "CopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/CopilotController.java", + "line": 79, + "verb": "GET", + "path": "/copilot/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "CopilotController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/CopilotController.java", + "line": 95, + "verb": "GET", + "path": "/copilot/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + } + ], + "unpanelledRoutes": [ + { + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 1131, + "verb": "GET", + "path": "/activity/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "LiveServiceMapController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveServiceMapController.java", + "line": 51, + "verb": "GET", + "path": "/activity/service-map", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 80, + "verb": "GET", + "path": "/crac/dockerfile", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 89, + "verb": "GET", + "path": "/crac/entrypoint", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/exceptions/ExceptionsController.java", + "line": 118, + "verb": "GET", + "path": "/exceptions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 64, + "verb": "GET", + "path": "/graalvm/scan/progress", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 83, + "verb": "GET", + "path": "/graalvm/metadata", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 113, + "verb": "GET", + "path": "/graalvm/dockerfile", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 76, + "verb": "GET", + "path": "/code-paths/probes/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "EmailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mail/EmailController.java", + "line": 53, + "verb": "GET", + "path": "/email/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "EmailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mail/EmailController.java", + "line": 59, + "verb": "GET", + "path": "/email/{id}/eml", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "BootUiMcpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mcp/BootUiMcpController.java", + "line": 174, + "verb": "GET", + "path": "/mcp", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 41, + "verb": "GET", + "path": "/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 48, + "verb": "GET", + "path": "/dashboard", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 53, + "verb": "GET", + "path": "/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 62, + "verb": "GET", + "path": "/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 77, + "verb": "GET", + "path": "/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 94, + "verb": "GET", + "path": "/stream", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "controller": "ReactiveBootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiIndexController.java", + "line": 40, + "verb": "GET", + "path": "/${bootui.path:/bootui}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveBootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiIndexController.java", + "line": 40, + "verb": "GET", + "path": "/${bootui.path:/bootui}/", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveBootUiMcpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiMcpController.java", + "line": 102, + "verb": "GET", + "path": "/mcp", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "controller": "ReactiveExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveExceptionsController.java", + "line": 119, + "verb": "GET", + "path": "/exceptions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 1173, + "verb": "GET", + "path": "/activity/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveLogTailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLogTailController.java", + "line": 62, + "verb": "GET", + "path": "/log-tail/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveRestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveRestClientTraceController.java", + "line": 68, + "verb": "GET", + "path": "/rest-client-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSecurityLogsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSecurityLogsController.java", + "line": 142, + "verb": "GET", + "path": "/security-logs/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSpringSecurityController.java", + "line": 74, + "verb": "GET", + "path": "/spring-security/explain", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSpringSecurityController.java", + "line": 82, + "verb": "GET", + "path": "/spring-security/endpoints", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 73, + "verb": "GET", + "path": "/sql-trace/insights", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 89, + "verb": "GET", + "path": "/sql-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveTransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveTransactionsController.java", + "line": 69, + "verb": "GET", + "path": "/transactions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ReactiveWebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveWebSocketController.java", + "line": 70, + "verb": "GET", + "path": "/websockets/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "RestApiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restapi/RestApiController.java", + "line": 40, + "verb": "GET", + "path": "/rest-api/error-contract", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "RestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restclienttrace/RestClientTraceController.java", + "line": 66, + "verb": "GET", + "path": "/rest-client-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 70, + "verb": "GET", + "path": "/sql-trace/insights", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 86, + "verb": "GET", + "path": "/sql-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "TransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/transactions/TransactionsController.java", + "line": 67, + "verb": "GET", + "path": "/transactions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ActuatorMappingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ActuatorMappingsController.java", + "line": 22, + "verb": "GET", + "path": "/mappings", + "classification": "framework-introspection", + "reason": "Framework introspection metadata endpoint" + }, + { + "controller": "AdvisorViolationsEndpoint.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AdvisorViolationsEndpoint.java", + "line": 12, + "verb": "GET", + "path": "/rules/{ruleId}/violations", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 43, + "verb": "GET", + "path": "/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 50, + "verb": "GET", + "path": "/dashboard", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 55, + "verb": "GET", + "path": "/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 64, + "verb": "GET", + "path": "/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 79, + "verb": "GET", + "path": "/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 95, + "verb": "GET", + "path": "/stream", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 51, + "verb": "GET", + "path": "/ai/chats", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 57, + "verb": "GET", + "path": "/ai/chats/{spanId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 64, + "verb": "GET", + "path": "/ai/tokens", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "BootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/BootUiIndexController.java", + "line": 53, + "verb": "GET", + "path": "/${bootui.path:/bootui}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "BootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/BootUiIndexController.java", + "line": 53, + "verb": "GET", + "path": "/${bootui.path:/bootui}/", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DataController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DataController.java", + "line": 54, + "verb": "GET", + "path": "/data/repositories/{name}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DatabaseConnectionPoolsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DatabaseConnectionPoolsController.java", + "line": 33, + "verb": "GET", + "path": "/database-connection-pools/pools/{name}/snapshot", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DevServicesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevServicesController.java", + "line": 40, + "verb": "GET", + "path": "/dev-services/{id}/logs", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DismissedFindingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedFindingsController.java", + "line": 31, + "verb": "GET", + "path": "/dismissed-findings", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "DismissedRulesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedRulesController.java", + "line": 27, + "verb": "GET", + "path": "/dismissed-rules", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "HeapDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HeapDumpController.java", + "line": 60, + "verb": "GET", + "path": "/heap-dump/download", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "HttpExchangesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HttpExchangesController.java", + "line": 138, + "verb": "GET", + "path": "/http-exchanges/routes", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "LiveMemoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LiveMemoryController.java", + "line": 53, + "verb": "GET", + "path": "/live-memory/footprint", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "LogTailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LogTailController.java", + "line": 100, + "verb": "GET", + "path": "/log-tail/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "MetricsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/MetricsController.java", + "line": 38, + "verb": "GET", + "path": "/metrics/detail", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "PanelsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/PanelsController.java", + "line": 69, + "verb": "GET", + "path": "/panels", + "classification": "framework-introspection", + "reason": "Framework introspection metadata endpoint" + }, + { + "controller": "SecurityLogsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SecurityLogsController.java", + "line": 118, + "verb": "GET", + "path": "/security-logs/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "SpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringSecurityController.java", + "line": 70, + "verb": "GET", + "path": "/spring-security/explain", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "SpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringSecurityController.java", + "line": 76, + "verb": "GET", + "path": "/spring-security/endpoints", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 79, + "verb": "GET", + "path": "/threads/captures", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 84, + "verb": "GET", + "path": "/threads/captures/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 84, + "verb": "GET", + "path": "/threads/captures/{id}/contention", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 92, + "verb": "GET", + "path": "/threads/captures/{id}/threads", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 105, + "verb": "GET", + "path": "/threads/captures/{id}/threads/{observationId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 113, + "verb": "GET", + "path": "/threads/captures/{id}/locks/{lockId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 149, + "verb": "GET", + "path": "/threads/observations/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "TracesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/TracesController.java", + "line": 48, + "verb": "GET", + "path": "/traces/{traceId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "controller": "WebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/websocket/WebSocketController.java", + "line": 68, + "verb": "GET", + "path": "/websockets/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + } + ], + "gaps": [ + { + "category": "starter-without-catalog", + "controller": "LiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveActivityController.java", + "line": 1131, + "verb": "GET", + "path": "/activity/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "LiveServiceMapController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/activity/LiveServiceMapController.java", + "line": 51, + "verb": "GET", + "path": "/activity/service-map", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 80, + "verb": "GET", + "path": "/crac/dockerfile", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "CracController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/crac/CracController.java", + "line": 89, + "verb": "GET", + "path": "/crac/entrypoint", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/exceptions/ExceptionsController.java", + "line": 118, + "verb": "GET", + "path": "/exceptions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 64, + "verb": "GET", + "path": "/graalvm/scan/progress", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 83, + "verb": "GET", + "path": "/graalvm/metadata", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "GraalVmController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/graalvm/GraalVmController.java", + "line": 113, + "verb": "GET", + "path": "/graalvm/dockerfile", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "CodePathsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/javaagent/CodePathsController.java", + "line": 76, + "verb": "GET", + "path": "/code-paths/probes/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "EmailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mail/EmailController.java", + "line": 53, + "verb": "GET", + "path": "/email/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "EmailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mail/EmailController.java", + "line": 59, + "verb": "GET", + "path": "/email/{id}/eml", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "BootUiMcpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/mcp/BootUiMcpController.java", + "line": 174, + "verb": "GET", + "path": "/mcp", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 41, + "verb": "GET", + "path": "/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 48, + "verb": "GET", + "path": "/dashboard", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 53, + "verb": "GET", + "path": "/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 62, + "verb": "GET", + "path": "/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 77, + "verb": "GET", + "path": "/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveAgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveAgentSessionController.java", + "line": 94, + "verb": "GET", + "path": "/stream", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveBootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiIndexController.java", + "line": 40, + "verb": "GET", + "path": "/${bootui.path:/bootui}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveBootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiIndexController.java", + "line": 40, + "verb": "GET", + "path": "/${bootui.path:/bootui}/", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveBootUiMcpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveBootUiMcpController.java", + "line": 102, + "verb": "GET", + "path": "/mcp", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveExceptionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveExceptionsController.java", + "line": 119, + "verb": "GET", + "path": "/exceptions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveLiveActivityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLiveActivityController.java", + "line": 1173, + "verb": "GET", + "path": "/activity/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveLogTailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveLogTailController.java", + "line": 62, + "verb": "GET", + "path": "/log-tail/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveRestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveRestClientTraceController.java", + "line": 68, + "verb": "GET", + "path": "/rest-client-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveSecurityLogsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSecurityLogsController.java", + "line": 142, + "verb": "GET", + "path": "/security-logs/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveSpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSpringSecurityController.java", + "line": 74, + "verb": "GET", + "path": "/spring-security/explain", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveSpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSpringSecurityController.java", + "line": 82, + "verb": "GET", + "path": "/spring-security/endpoints", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 73, + "verb": "GET", + "path": "/sql-trace/insights", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveSqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveSqlTraceController.java", + "line": 89, + "verb": "GET", + "path": "/sql-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveTransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveTransactionsController.java", + "line": 69, + "verb": "GET", + "path": "/transactions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ReactiveWebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/reactive/ReactiveWebSocketController.java", + "line": 70, + "verb": "GET", + "path": "/websockets/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "RestApiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restapi/RestApiController.java", + "line": 40, + "verb": "GET", + "path": "/rest-api/error-contract", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "RestClientTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/restclienttrace/RestClientTraceController.java", + "line": 66, + "verb": "GET", + "path": "/rest-client-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 70, + "verb": "GET", + "path": "/sql-trace/insights", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "SqlTraceController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/sqltrace/SqlTraceController.java", + "line": 86, + "verb": "GET", + "path": "/sql-trace/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "TransactionsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/transactions/TransactionsController.java", + "line": 67, + "verb": "GET", + "path": "/transactions/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ActuatorMappingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ActuatorMappingsController.java", + "line": 22, + "verb": "GET", + "path": "/mappings", + "classification": "framework-introspection", + "reason": "Framework introspection metadata endpoint" + }, + { + "category": "starter-without-catalog", + "controller": "AdvisorViolationsEndpoint.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AdvisorViolationsEndpoint.java", + "line": 12, + "verb": "GET", + "path": "/rules/{ruleId}/violations", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 43, + "verb": "GET", + "path": "/sessions", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "category": "starter-without-catalog", + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 50, + "verb": "GET", + "path": "/dashboard", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 55, + "verb": "GET", + "path": "/sessions/{id}", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "category": "starter-without-catalog", + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 64, + "verb": "GET", + "path": "/sessions/{id}/events", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "category": "starter-without-catalog", + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 79, + "verb": "GET", + "path": "/sessions/{id}/events/{eventId}/raw", + "classification": "session-management", + "reason": "Session management endpoint outside catalog" + }, + { + "category": "starter-without-catalog", + "controller": "AgentSessionController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AgentSessionController.java", + "line": 95, + "verb": "GET", + "path": "/stream", + "classification": "transport", + "reason": "Protocol transport endpoint, not a panel read/action" + }, + { + "category": "starter-without-catalog", + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 51, + "verb": "GET", + "path": "/ai/chats", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 57, + "verb": "GET", + "path": "/ai/chats/{spanId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "AiController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/AiController.java", + "line": 64, + "verb": "GET", + "path": "/ai/tokens", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "BootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/BootUiIndexController.java", + "line": 53, + "verb": "GET", + "path": "/${bootui.path:/bootui}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "BootUiIndexController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/BootUiIndexController.java", + "line": 53, + "verb": "GET", + "path": "/${bootui.path:/bootui}/", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "DataController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DataController.java", + "line": 54, + "verb": "GET", + "path": "/data/repositories/{name}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "DatabaseConnectionPoolsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DatabaseConnectionPoolsController.java", + "line": 33, + "verb": "GET", + "path": "/database-connection-pools/pools/{name}/snapshot", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "DevServicesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevServicesController.java", + "line": 40, + "verb": "GET", + "path": "/dev-services/{id}/logs", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "DismissedFindingsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedFindingsController.java", + "line": 31, + "verb": "GET", + "path": "/dismissed-findings", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "DismissedRulesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DismissedRulesController.java", + "line": 27, + "verb": "GET", + "path": "/dismissed-rules", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "HeapDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HeapDumpController.java", + "line": 60, + "verb": "GET", + "path": "/heap-dump/download", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "HttpExchangesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/HttpExchangesController.java", + "line": 138, + "verb": "GET", + "path": "/http-exchanges/routes", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "LiveMemoryController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LiveMemoryController.java", + "line": 53, + "verb": "GET", + "path": "/live-memory/footprint", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "LogTailController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/LogTailController.java", + "line": 100, + "verb": "GET", + "path": "/log-tail/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "MetricsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/MetricsController.java", + "line": 38, + "verb": "GET", + "path": "/metrics/detail", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "OtlpReceiverController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/OtlpReceiverController.java", + "line": 119, + "verb": "POST", + "path": "/otlpapplication/x-protobuf", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "OtlpReceiverController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/OtlpReceiverController.java", + "line": 119, + "verb": "POST", + "path": "/otlpapplication/octet-stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "PanelsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/PanelsController.java", + "line": 69, + "verb": "GET", + "path": "/panels", + "classification": "framework-introspection", + "reason": "Framework introspection metadata endpoint" + }, + { + "category": "starter-without-catalog", + "controller": "SecurityLogsController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SecurityLogsController.java", + "line": 118, + "verb": "GET", + "path": "/security-logs/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "SpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringSecurityController.java", + "line": 70, + "verb": "GET", + "path": "/spring-security/explain", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "SpringSecurityController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/SpringSecurityController.java", + "line": 76, + "verb": "GET", + "path": "/spring-security/endpoints", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 79, + "verb": "GET", + "path": "/threads/captures", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 84, + "verb": "GET", + "path": "/threads/captures/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 84, + "verb": "GET", + "path": "/threads/captures/{id}/contention", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 92, + "verb": "GET", + "path": "/threads/captures/{id}/threads", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 105, + "verb": "GET", + "path": "/threads/captures/{id}/threads/{observationId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 113, + "verb": "GET", + "path": "/threads/captures/{id}/locks/{lockId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "ThreadDumpController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/ThreadDumpController.java", + "line": 149, + "verb": "GET", + "path": "/threads/observations/{id}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "TracesController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/TracesController.java", + "line": 48, + "verb": "GET", + "path": "/traces/{traceId}", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "starter-without-catalog", + "controller": "WebSocketController.java", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/websocket/WebSocketController.java", + "line": 68, + "verb": "GET", + "path": "/websockets/stream", + "classification": "uncatalogued-starter-endpoint", + "reason": "Starter mapping absent from BootUI contract catalog" + }, + { + "category": "catalog-without-mapping", + "method": "POST", + "path": "/dev-services/services/conformance/restart", + "catalogSource": "bootui-conformance/src/main/java/io/github/jdubois/bootui/conformance/BootUiApiContractCatalog.java:980", + "starterSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/web/DevServicesController.java:45", + "reason": "BootUI catalog names the conformance service while the starter mapping accepts an id" + } + ] + } +} \ No newline at end of file diff --git a/tests/fixtures/bootui/2.6.0/rule-ids-diff.json b/tests/fixtures/bootui/2.6.0/rule-ids-diff.json new file mode 100644 index 000000000..a59db10d0 --- /dev/null +++ b/tests/fixtures/bootui/2.6.0/rule-ids-diff.json @@ -0,0 +1,76 @@ +{ + "inDocOnlyCount": 0, + "inJavaOnlyCount": 32, + "inDocOnly": [], + "inJavaOnly": [ + "PT-A05-009", + "PT-A05-012", + "PT-A05-071", + "QS-ANALYSIS", + "QS-AUTH-005", + "QS-AUTH-006", + "QS-AUTH-011", + "QS-AUTH-014", + "QS-AUTHZ", + "QS-AUTHZ-003", + "QS-CORS", + "QS-CORS-003", + "QS-CORS-004", + "QS-CORS-005", + "QS-HDR", + "QS-HDR-007", + "QS-HDR-008", + "QS-MGMT", + "QS-MGMT-002", + "QS-SESSION", + "SEC-AUTH-003", + "SEC-AUTH-005", + "SEC-CONFIG-003", + "SEC-CONFIG-004", + "SEC-CORS-003", + "SEC-CORS-004", + "SEC-HEAD-005", + "SEC-HEAD-006", + "SEC-OAUTH-001", + "SEC-SESSION-005", + "SEC-SESSION-009", + "SEC-STATIC-001" + ], + "docCount": 660, + "javaCount": 692, + "unionCount": 692, + "explanations": { + "PT-A05-009": "Retired: reserved in PentestingCheckRegistry.java", + "PT-A05-012": "Retired: reserved in PentestingCheckRegistry.java", + "PT-A05-071": "Retired: reserved in PentestingCheckRegistry.java", + "QS-ANALYSIS": "Quarkus security check constant in QuarkusSecurityChecks.java", + "QS-AUTH-005": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-AUTH-006": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-AUTH-011": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-AUTH-014": "Quarkus security check constant in QuarkusSecurityChecks.java", + "QS-AUTHZ": "Quarkus security check constant in QuarkusSecurityChecks.java", + "QS-AUTHZ-003": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-CORS": "Quarkus security check constant in QuarkusSecurityChecks.java", + "QS-CORS-003": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-CORS-004": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-CORS-005": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-HDR": "Quarkus security check constant in QuarkusSecurityChecks.java", + "QS-HDR-007": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-HDR-008": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-MGMT": "Quarkus security check constant in QuarkusSecurityChecks.java", + "QS-MGMT-002": "Retired: reserved in QuarkusSecurityChecks.java", + "QS-SESSION": "Quarkus security check constant in QuarkusSecurityChecks.java", + "SEC-AUTH-003": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-AUTH-005": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-CONFIG-003": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-CONFIG-004": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-CORS-003": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-CORS-004": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-HEAD-005": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-HEAD-006": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-OAUTH-001": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-SESSION-005": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-SESSION-009": "Retired: reserved in SecurityRuleRegistry.java", + "SEC-STATIC-001": "Internal rule constant in StaticSecurityAnalysisDetector.java" + } +} \ No newline at end of file diff --git a/tests/fixtures/bootui/2.6.0/rule-ids.json b/tests/fixtures/bootui/2.6.0/rule-ids.json new file mode 100644 index 000000000..e0ff0cdeb --- /dev/null +++ b/tests/fixtures/bootui/2.6.0/rule-ids.json @@ -0,0 +1,7229 @@ +{ + "rules": [ + { + "id": "ARCH-CODE-001", + "title": "Classes should not access standard streams", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-002", + "title": "Classes should not throw generic exceptions", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-003", + "title": "Classes should not use java.util.logging", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-004", + "title": "Retired", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Joda-Time was superseded by `java.time` in JDK 8 (2014) and removed from Spring Framework 6.0 (2022); ARCH-CODE-008 covers the remaining legacy JDK `Date` and `Calendar` APIs." + }, + { + "id": "ARCH-CODE-005", + "title": "Retired", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: `printStackTrace(System.err)` already reads `System.err`, which ARCH-CODE-001 reports. The remaining matches were mostly the legitimate `StringWriter` capture idiom or a stream the author chose deliberately." + }, + { + "id": "ARCH-CODE-006", + "title": "Classes should not forcibly terminate the JVM", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-007", + "title": "Classes should not access JDK-internal APIs", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-008", + "title": "Classes should not use legacy date and time classes", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-009", + "title": "Classes should not use deprecated APIs", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-010", + "title": "Exceptions should be named ending with Exception", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-011", + "title": "Retired", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: A naming opinion with no authoritative source and false positives on domain nouns such as `UserInterface` or `NetworkInterface`." + }, + { + "id": "ARCH-CODE-012", + "title": "Loggers should be private final or container-managed", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-013", + "title": "Application classes should not depend on test frameworks", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-014", + "title": "Classes should not have public mutable static fields", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-015", + "title": "Utility classes should be final with a private constructor", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-016", + "title": "Classes should not use standard-annotation field injection", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-017", + "title": "Classes should not directly instantiate Thread", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-CODE-018", + "title": "Retired", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: ArchUnit's no-arg `new AssertionError()` check never matches Kotlin's messageless `assert(cond)` and false-positives on explicit `throw new AssertionError()` in unreachable `switch` or exhaustive branches." + }, + { + "id": "ARCH-CODE-019", + "title": "Classes should not store stateful JDK processors in static or shared-bean fields", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-MOD-001", + "title": "Internal packages should not be accessed from other modules", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-PKG-001", + "title": "Packages should be free of cycles", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-001", + "title": "Classes should not use field injection", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-002", + "title": "Controllers should not depend on repositories", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-003", + "title": "Repositories should not depend on controllers", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-004", + "title": "Beans should not self-invoke their own proxied methods", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-005", + "title": "Retired", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Unreachable: imports are bounded to named base packages, a blank base package fails the Spring scan, and Quarkus discovery drops the default package. The live Spring advisor's SPRING-WIRING-008 inspects registered beans instead." + }, + { + "id": "ARCH-SPRING-006", + "title": "Services should not depend on controllers", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-007", + "title": "Repositories should not depend on services", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-008", + "title": "Services and repositories should not depend on web request types", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-009", + "title": "Transactional annotations should not be declared on interfaces", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-010", + "title": "Proxy-driven methods should be interceptable", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-011", + "title": "Async methods should return void or Future", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-012", + "title": "Scheduled methods should have supported signatures", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-013", + "title": "Async should not be used in configuration classes", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-014", + "title": "Classes should not call AopContext.currentProxy", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-015", + "title": "Configuration properties classes should be immutable", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-016", + "title": "Retired", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Its violations were exactly the union of ARCH-SPRING-002, ARCH-SPRING-003, ARCH-SPRING-006, and ARCH-SPRING-007, so every finding was reported twice." + }, + { + "id": "ARCH-SPRING-017", + "title": "Lite-mode @Bean methods should not call sibling @Bean methods", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-018", + "title": "Lifecycle callbacks should not be proxy-driven", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-019", + "title": "Async and transactional semantics on one method should be reviewed", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-020", + "title": "Async event listeners should return void", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-021", + "title": "BeanPostProcessor and BeanFactoryPostProcessor @Bean methods should be static", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-022", + "title": "Legacy javax.transaction.Transactional should be migrated", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-023", + "title": "Injection annotations on static members are ignored", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-024", + "title": "Legacy javax injection and lifecycle annotations should be migrated", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-025", + "title": "HTTP clients should be built from Spring Boot's auto-configured builder", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-027", + "title": "@Cacheable and @CachePut methods should not return void", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "ARCH-SPRING-031", + "title": "Scheduled and event-listener methods should be declared on container-managed beans", + "docSource": "ARCHITECTURE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/architecture/ArchitectureRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-CACHE-001", + "title": "In-memory caches may hold stale entries after restore", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-CONFIG-001", + "title": "Static initializer may retain startup configuration", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-FILE-001", + "title": "Direct file handle acquisition needs checkpoint lifecycle review", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-LIFECYCLE-002", + "title": "The org.crac:crac API is not on the classpath", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-NET-001", + "title": "Direct network socket acquisition needs checkpoint lifecycle review", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-NET-002", + "title": "Static initializer may retain resolved host or network identity", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-POOL-001", + "title": "Non-Hikari resources need verified checkpoint lifecycle support", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-POOL-002", + "title": "Transport-owning client fields need checkpoint lifecycle review", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-POOL-004", + "title": "Hikari pools need Spring Boot lifecycle coverage and suspension", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-POOL-005", + "title": "Startup database access leaves pooled connections open at an onRefresh checkpoint", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-RANDOM-001", + "title": "Random state or explicit SecureRandom seeding needs restore handling", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-RANDOM-002", + "title": "SecureRandom restore behavior depends on construction and provider", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-RES-001", + "title": "Resource fields need observable checkpoint cleanup", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-SCHED-001", + "title": "Fixed-rate scheduled tasks may run a catch-up burst after restore", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-SECRET-001", + "title": "Potential secret or key material is retained in a field", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-SECRET-002", + "title": "Cached TLS state may need restore-time rebuilding", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-THREAD-001", + "title": "Threads or executor pools created outside the Spring lifecycle", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-THREAD-002", + "title": "Spring thread-per-task executors need explicit restore handling", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "CRAC-TIME-001", + "title": "Static initializer may retain checkpoint-era wall-clock time", + "docSource": "CRAC-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/crac/CracChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-001", + "title": "PostgreSQL driver does not rewrite batched inserts", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresRewriteBatchedInsertsRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-002", + "title": "MySQL Connector/J does not rewrite batched statements", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlRewriteBatchedStatementsRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-003", + "title": "MySQL Connector/J reports affected rows instead of found rows", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlUseAffectedRowsRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-004", + "title": "MySQL Connector/J prepared-statement cache is off or small", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlStatementCacheRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-005", + "title": "PostgreSQL driver prepared-statement cache is disabled", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresStatementCacheRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-006", + "title": "PostgreSQL driver sets a savepoint before every query", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresAutosaveRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-007", + "title": "JDBC driver diagnostic setting is enabled", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DriverDiagnosticSettingsRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-008", + "title": "JDBC driver has no socket timeout", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DriverSocketTimeoutRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-009", + "title": "PostgreSQL connections do not carry an application name", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresApplicationNameRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-DRIVER-010", + "title": "MySQL Connector/J `autoReconnect` is enabled", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlAutoReconnectRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-001", + "title": "Mapped foreign key column has no physical index", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DatabaseAdvisorRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: without a physical FK, the residual mapped association does not establish a child-side index need. Traversing an owning to-one association loads through the parent's referenced key. Physical FK access-path review remains `DB-SCHEMA-002`; workload-specific child lookup tuning is not inferred." + }, + { + "id": "DB-HIB-002", + "title": "Declared entity relation name not found in the observed schema", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateMissingTableRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-003", + "title": "Declared column nullability differs from observed metadata", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateColumnMismatchRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-004", + "title": "Declared column length exceeds observed column size", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateColumnLengthMismatchRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-005", + "title": "Declared uniqueness has no observed enforcing key", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateMissingUniqueIndexRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-006", + "title": "Declared column name not found in the observed relation", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateMissingColumnRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-007", + "title": "Declared association has no matching observed foreign key", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateMissingForeignKeyConstraintRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-008", + "title": "Hibernate sequence allocationSize does not match the physical sequence's INCREMENT BY", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DatabaseAdvisorRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: annotation allocation size alone lacks effective optimizer, mismatch strategy, qualified sequence and persistence-unit provenance. Hibernate's documented FIX strategy can override the mapping from the database. Compare effective generator contracts when diagnosing a real mismatch, not coincidentally equal bare names. See the matching [Hibernate 7.4](https://docs.hibernate.org/orm/7.4/javadocs/org/hibernate/id/SequenceMismatchStrategy.html) API." + }, + { + "id": "DB-HIB-009", + "title": "IDENTITY identifier column without database-side generation", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateIdentityGenerationMismatchRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-010", + "title": "Declared numeric precision or scale exceeds the observed column", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateNumericPrecisionMismatchRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-011", + "title": "Declared JPA `@Index` has no matching observed index", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateMissingDeclaredIndexRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-012", + "title": "Non-nullable association join column allows `NULL` in the observed schema", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateJoinColumnNullabilityMismatchRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-013", + "title": "Enum constant name exceeds observed character column length", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateEnumValueLengthMismatchRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-HIB-014", + "title": "Declared JPA sequence generator name not found in the observed schema", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/HibernateMissingSequenceRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-MYSQL-001", + "title": "Tables on a non-transactional storage engine", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlNonInnodbEngineRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-MYSQL-002", + "title": "Tables/columns using the legacy utf8mb3 character set", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlNonUtf8mb4CharsetRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-MYSQL-003", + "title": "MySQL/MariaDB AUTO_INCREMENT nearing exhaustion", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlAutoIncrementExhaustionRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-MYSQL-004", + "title": "Unenforced MySQL check constraints", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlUnenforcedCheckConstraintRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-ORACLE-001", + "title": "Unusable Oracle indexes", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/OracleUnusableIndexRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-ORACLE-002", + "title": "Disabled or unvalidated Oracle constraints", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/OracleInvalidConstraintRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-ORACLE-003", + "title": "Oracle sequence or identity generator nearing exhaustion", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/OracleSequenceExhaustionRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-ORACLE-004", + "title": "Oracle global indexes with orphaned partition entries", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/OracleOrphanedIndexEntriesRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-PG-001", + "title": "Invalid PostgreSQL indexes", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresInvalidIndexRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-PG-002", + "title": "PostgreSQL sequence nearing exhaustion", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresSequenceExhaustionRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-PG-003", + "title": "PostgreSQL NOT VALID constraint never validated", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresUnvalidatedConstraintRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-PG-004", + "title": "PostgreSQL table lacking usable replica identity", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresReplicaIdentityRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-PG-005", + "title": "PostgreSQL unlogged tables", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresUnloggedTableRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-PG-006", + "title": "PostgreSQL partitioned table has no attached partitions", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresEmptyPartitionedTableRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-POOL-001", + "title": "Connection pool can keep a connection idle longer than the server allows", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PoolIdleLimitRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-POOL-002", + "title": "Connection pool is larger than the server's connection limit", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PoolExceedsServerConnectionsRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-POOL-003", + "title": "Connection pool has no maximum connection lifetime", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PoolUnlimitedLifetimeRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-POOL-004", + "title": "Connection pool leaves no headroom for a second instance", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DatabaseAdvisorRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Assumes a multi-instance deployment against a single database without a connection proxy, cites an inaccurate Quarkus default (`50`, whereas `quarkus.datasource.jdbc.max-size` defaults to `20`), and shares the exact same finding identity (`ds=|pool=maximum-size`) as `DB-POOL-002`. `DB-POOL-002` remains the check for a pool whose maximum size exceeds the server's usable connections." + }, + { + "id": "DB-POOL-005", + "title": "Connection pool has a disabled or excessive acquisition timeout", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PoolAcquisitionTimeoutRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-RUNTIME-001", + "title": "SQL text variations with predicate literals", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/SqlLiteralConcatenationRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-001", + "title": "Tables without a primary key", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MissingPrimaryKeyRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-002", + "title": "Foreign-key access-path review", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MissingForeignKeyIndexRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-003", + "title": "Exact duplicate index candidates", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DuplicateIndexRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-004", + "title": "Foreign key column type mismatch with the referenced column", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/ForeignKeyTypeMismatchRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-005", + "title": "Unique index duplicating a proven primary-key backing index", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/RedundantPrimaryKeyUniqueIndexRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-006", + "title": "Potential duplicate foreign-key definitions", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DuplicateForeignKeyRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-007", + "title": "Narrow auto-generated primary key", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/NarrowAutoGeneratedPrimaryKeyRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-008", + "title": "Composite foreign key with partially nullable columns", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DatabaseAdvisorRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: mixed nullability can correctly model a required tenant and an optional relationship. MATCH SIMPLE and MATCH FULL differ; uniform nullability does not establish business intent. Making every column nullable can weaken integrity. See [PostgreSQL foreign keys](https://www.postgresql.org/docs/17/ddl-constraints.html#DDL-CONSTRAINTS-FK)." + }, + { + "id": "DB-SCHEMA-009", + "title": "Composite unique index with partially nullable columns", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DatabaseAdvisorRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: NULLS DISTINCT can be intentional, and Oracle rejects equal non-null portions of partially null composite unique keys, contrary to the previous generalized explanation. See [Oracle integrity semantics](https://docs.oracle.com/en/database/oracle/oracle-database/19/cncpt/data-integrity.html)." + }, + { + "id": "DB-SCHEMA-010", + "title": "Invisible or ignored indexes", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/InvisibleIndexRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SCHEMA-011", + "title": "Foreign key specifies SET NULL on a NOT NULL column", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/ForeignKeySetNullOnNotNullColumnRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SERVER-001", + "title": "PostgreSQL does not end sessions that are idle in a transaction", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresIdleInTransactionTimeoutRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SERVER-002", + "title": "PostgreSQL has no statement timeout", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DatabaseAdvisorRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Fires on stock PostgreSQL installations (`statement_timeout = 0`) and recommends setting a role or database `statement_timeout` on the application's `DataSource` role, which aborts Flyway or Liquibase DDL migrations (`CREATE INDEX`, `ALTER TABLE`) running over the same `DataSource` at startup." + }, + { + "id": "DB-SERVER-003", + "title": "PostgreSQL autovacuum is disabled", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresAutovacuumDisabledRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SERVER-004", + "title": "PostgreSQL `pg_stat_statements` is not available", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresStatStatementsRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SERVER-005", + "title": "PostgreSQL does not measure I/O time", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/PostgresTrackIoTimingRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SERVER-006", + "title": "PostgreSQL does not log slow statements", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/DatabaseAdvisorRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Fires on stock PostgreSQL installations (`log_min_duration_statement = -1`), is redundant with BootUI's SQL Trace panel, `DB-SERVER-004` (`pg_stat_statements`), and `HIB-CONFIG-006`, and logs bound parameter literals into server logs in plaintext by default when enabled." + }, + { + "id": "DB-SERVER-007", + "title": "MySQL Performance Schema is disabled", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlPerformanceSchemaDisabledRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "DB-SERVER-008", + "title": "MySQL/MariaDB strict transactional SQL mode is disabled", + "docSource": "DATABASE-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/databaseadvisor/MySqlStrictSqlModeRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-CLASSGEN-001", + "title": "Runtime class generation needs experimental native-image support", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-FFM-001", + "title": "Foreign Function downcalls/upcalls may need foreign metadata in native images", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmReadinessScanner.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-JDK-001", + "title": "The system Java compiler is unavailable in native images", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-JDK-002", + "title": "JSR-223 script engines require native-image-specific support", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-JDK-003", + "title": "finalize() overrides are never invoked in native images", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-JMX-001", + "title": "JMX MBeans and connectors need native-image monitoring and metadata review", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-JMX-002", + "title": "Dynamic/model MBeans are not supported by native-image JMX", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-MH-001", + "title": "Non-constant MethodHandle lookups may need reflection metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-NATIVE-001", + "title": "Dynamically loaded native libraries need native-image review", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-NATIVE-002", + "title": "Native method declarations require a loadable native implementation", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-PROXY-001", + "title": "Dynamic JDK proxies may need proxy metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmReadinessScanner.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-REFLECT-001", + "title": "Reflective API usage may need reflection metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-REFLECT-002", + "title": "Dynamic class loading may need reflection metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-REFLECT-005", + "title": "Unsafe.allocateInstance bypasses construction and needs unsafeAllocated metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmReadinessScanner.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-REFLECT-006", + "title": "Programmatically bound application types may need binding hints", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-RES-001", + "title": "Runtime resource loading may need resource metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-RES-002", + "title": "Resource bundle loading may need resource-bundle metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-SCAN-001", + "title": "Classpath discovery calls require runtime versus build-time review", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-SEC-001", + "title": "Runtime security-provider registration needs native-image review", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-SER-001", + "title": "Serializable types may need serialization metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-SER-002", + "title": "Active JDK serialization may need serialization metadata", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "GRAAL-SPEL-001", + "title": "Programmatic SpEL expressions may require application-specific reflection hints", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CACHE-001", + "title": "Cached entity association coverage should be reviewed", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CACHE-002", + "title": "READ_ONLY cache strategy on writable entities is unsafe", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CACHE-003", + "title": "Immutable cached entities should use READ_ONLY", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CACHE-004", + "title": "@NaturalIdCache entities should also enable entity second-level caching", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-001", + "title": "Open Session in View should be disabled", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Open Session in View is a Spring MVC application setting, not a Hibernate factory option, and the Spring advisor's [SPRING-JPA-001](SPRING-CHECKS.md#spring-jpa-001-review-servlet-open-session-in-view) reviews the same activation with richer registration evidence. Keeping both counted one observation against two advisor scores." + }, + { + "id": "HIB-CONFIG-002", + "title": "Schema generation should not mutate non-test databases", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-003", + "title": "Lazy loading outside transactions should stay disabled", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-004", + "title": "JDBC batching should be configured for writes", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-005", + "title": "JDBC batching should order inserts and updates", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-006", + "title": "Slow query logging should be available in development", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-007", + "title": "Hibernate statistics should be enabled when tuning", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Fired in every profile, including production environments where Hibernate and Quarkus advise keeping `hibernate.generate_statistics=false` to avoid runtime collection overhead, and duplicated the standalone [Hibernate Statistics](features/database.md#hibernate-statistics) panel and its runtime enable action." + }, + { + "id": "HIB-CONFIG-008", + "title": "Connection providers should disable auto-commit explicitly", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-009", + "title": "Collection-parameter queries should use IN-clause padding", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-010", + "title": "Query caching requires effective region support", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-011", + "title": "Review effective cache concurrency strategy", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Neither adapter observes provider-selected cache access strategies or entity eligibility, so in observed mode this rule could never emit a finding and only forced scans of applications using standard `@jakarta.persistence.Cacheable` without Hibernate's `@Cache` into `PARTIAL` status." + }, + { + "id": "HIB-CONFIG-012", + "title": "SQL logging should be off when a production profile is active", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-013", + "title": "Review applicable JDBC temporal binding", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-014", + "title": "Hibernate's built-in connection pool should not be used", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-015", + "title": "Deferred script initialization should have an intentional order", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-016", + "title": "Fail on pagination over collection fetch", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-017", + "title": "Disable SQL formatting in production", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-018", + "title": "JDBC value logging should be off in production", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-019", + "title": "SQL comments should be enabled intentionally", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-020", + "title": "Oracle JDBC fetch size should exceed the driver default", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-CONFIG-021", + "title": "Provider auto-commit setting should match the pool", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-001", + "title": "Entities should override equals and hashCode consistently", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-002", + "title": "Versionless optimistic locking should use dynamic updates", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Hibernate ORM 7 refuses to start an application whose entity declares `@OptimisticLocking(type = DIRTY)` or `ALL` without `@DynamicUpdate` (a `MappingException`, verified on 7.4.5 and 7.4.13, with or without `@Immutable`), so the declaration can never reach the advisor of a running application and the rule could not fire." + }, + { + "id": "HIB-ENTITY-003", + "title": "equals/hashCode should not include lazy associations", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** The existence of equality overrides and associations does not show that the methods traverse associations. Safe ID-only implementations also matched. HIB-ENTITY-001 still checks an inconsistent equals/hashCode pair; it does not claim to validate method bodies." + }, + { + "id": "HIB-ENTITY-004", + "title": "toString should not include lazy associations", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** A toString override plus association declarations does not establish traversal. No method-body analysis proves lazy loading here; safe ID-only implementations must not receive this finding." + }, + { + "id": "HIB-ENTITY-005", + "title": "Persistent fields should not be public", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-006", + "title": "Review primitive-version newness semantics", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-007", + "title": "Review assigned-ID Spring Data newness", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-008", + "title": "Mutable entities should declare @Version for optimistic locking", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-009", + "title": "Unique business-key columns should consider @NaturalId", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-010", + "title": "Prefer a numeric @Version over a timestamp", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-011", + "title": "Kotlin entities should not be declared as data class", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ENTITY-012", + "title": "PanacheEntity subclasses should not shadow id or declare custom identifiers", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-001", + "title": "Review eager to-one fetch plans", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-002", + "title": "Batch fetching should cover lazy secondary-select associations", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-003", + "title": "Collection fetch joins should not be paged directly", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-004", + "title": "Review entities with multiple bag collections", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Multiple lazy bag declarations are valid; their existence does not establish simultaneous fetching. HIB-QUERY-007 reviews supported query shapes instead. A Java `List` without `@OrderColumn` does not itself prove effective BAG semantics because Hibernate can supply an implicit list index. Changing collections to sets also does not eliminate Cartesian multiplication when multiple collections are fetched together." + }, + { + "id": "HIB-FETCH-005", + "title": "Enhanced @Lob attributes should be loaded lazily", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-006", + "title": "Collection associations should not declare @Fetch(JOIN)", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-007", + "title": "Lazy basic attributes require bytecode enhancement", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-008", + "title": "Subselect collection fetching should be reviewed", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-009", + "title": "Multiple lazy @Lob attributes should use distinct @LazyGroup names", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-FETCH-010", + "title": "Eager collection fetching should stay bounded", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ID-001", + "title": "Review IDENTITY insert-generation trade-offs", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ID-002", + "title": "Review table-based identifier allocation", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ID-003", + "title": "Review sequence allocation declarations", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ID-004", + "title": "Review provider-selected identifier strategies", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ID-005", + "title": "Review generated UUID strategy when index locality matters", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ID-006", + "title": "GenerationType.IDENTITY disables JDBC batch inserts", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-ID-007", + "title": "Composite identifier classes must satisfy the JPA contract", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-001", + "title": "One-to-many associations should be bidirectional or join-column based", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-002", + "title": "Review many-to-many list semantics", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-003", + "title": "Enum attributes should declare an explicit storage strategy", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-004", + "title": "Many-to-many associations should not cascade remove", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-005", + "title": "Many-to-one associations should not cascade remove", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-006", + "title": "One-to-one associations should prefer shared primary keys", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-007", + "title": "Review TABLE_PER_CLASS polymorphic queries", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-008", + "title": "@NotFound(IGNORE) should be reviewed", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-009", + "title": "Persistent attributes should not be Optional", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-010", + "title": "Review element-collection list ordering and mutation cost", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-011", + "title": "Entity classes should not be final", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-012", + "title": "SINGLE_TABLE inheritance should declare @DiscriminatorColumn", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Jakarta Persistence defines a valid implicit discriminator column. Requiring an explicit annotation solely for visibility scores a supported default without evidence of an incorrect mapping." + }, + { + "id": "HIB-MAP-013", + "title": "String columns should declare explicit length", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-014", + "title": "BigDecimal columns should declare precision and scale", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-015", + "title": "Date/time attributes should use java.time", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-016", + "title": "@ManyToOne should set optional=false when the join column is non-nullable", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-017", + "title": "Lazy owning @OneToOne requires bytecode enhancement", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** An owning one-to-one holds the foreign key, so Hibernate can create a proxy without enhancement; the check reported a supported lazy mapping. HIB-MAP-018 covers the inverse side, where enhancement does matter." + }, + { + "id": "HIB-MAP-018", + "title": "Review lazy inverse @OneToOne without enhancement", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-019", + "title": "Missing foreign key indexes", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Annotation declarations cannot verify physical index coverage, and explicit annotation names can still be rewritten by a physical naming strategy. Database structural checks own index evidence; the Hibernate advisor does not duplicate that work by assuming absent `@Index` means absent database index." + }, + { + "id": "HIB-MAP-020", + "title": "Review writable unidirectional one-to-many join-column DML", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-021", + "title": "Legacy @Where restrictions should be migrated", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Hibernate ORM 7.0 removed `@Where` and `@WhereJoinTable`, and every supported runtime uses ORM 7 (Spring Framework 7 requires ORM 7.1 or later; Quarkus 3.40 ships 7.4). Code cannot compile against the removed types, and an annotation whose type is missing at runtime is silently dropped by reflection, so the check could never fire. Migrate any remaining restrictions to `@SQLRestriction`, `@SQLJoinTableRestriction`, or `@SoftDelete` as part of the ORM 7 upgrade." + }, + { + "id": "HIB-MAP-022", + "title": "Explicit ordinal enum mappings should be reviewed", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-023", + "title": "Set element collections of embeddables need equals and hashCode", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-024", + "title": "@Lob on PostgreSQL stores values as large objects", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-025", + "title": "JPA mapping annotations should match the class access type", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-MAP-027", + "title": "Deprecated @GenericGenerator should be replaced", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-001", + "title": "@Modifying bulk queries should clear stale persistence context", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-002", + "title": "Review streaming query resource lifetime", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-003", + "title": "Native Page queries should review count derivation", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-004", + "title": "Derived deleteBy methods load entities before deletion", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-005", + "title": "Eager to-one associations should be JOIN FETCHed in entity-returning queries", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-006", + "title": "Paged or streamed reads should prefer DTO projections over whole entities", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Flagged every paged or streamed JPQL `@Query` returning whole entities (`Page`, `Slice`, or `Stream`), including the second query of the two-step pagination pattern recommended by HIB-FETCH-003 and legitimate domain reads that need managed entity state." + }, + { + "id": "HIB-QUERY-007", + "title": "Queries should not JOIN FETCH more than one collection", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-008", + "title": "Bulk updates leave @Version unchanged", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-009", + "title": "Spring Data interface projections should avoid @Value SpEL", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "HIB-QUERY-010", + "title": "Review filtered collection fetch joins", + "docSource": "HIBERNATE-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/hibernate/HibernateRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-CLASS-001", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-CLASS-002", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: `ClassLoadingMXBean.getUnloadedClassCount()` is a monotonic lifetime counter that never recovers without a JVM restart and penalized healthy GC class unloading." + }, + { + "id": "MEM-CONTENT-001", + "title": "Retain", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-CONTENT-002", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-CONTENT-003", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-CONTENT-004", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Arrays at 50% or more of shallow bytes is the ordinary shape of a Java heap (compact-string `byte[]`, collection `Object[]`); a healthy JVM sample measured 57%. MEM-CONTENT-001 to 003 remain for big objects, collections, and a dominant non-array class." + }, + { + "id": "MEM-CONTENT-005", + "title": "New", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-FOOTPRINT-001", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-FOOTPRINT-002", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-FOOTPRINT-003", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-FOOTPRINT-004", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Host-wide swap is not attributable to this JVM and does not show active paging; macOS dynamic swap files routinely exceed 50% on developer laptops, BootUI's normal context." + }, + { + "id": "MEM-FOOTPRINT-005", + "title": "New", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-001", + "title": "Retain", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-002", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-003", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-004", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-005", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-006", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-007", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-008", + "title": "New", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-GC-009", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-HEAP-001", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-HEAP-002", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-HEAP-003", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-HEAP-004", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-HEAP-005", + "title": "Retain", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-HEAP-006", + "title": "Retain", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-HEAP-007", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: After the histogram request, used heap approximates the live set, and G1's default `MinHeapFreeRatio`/`MaxHeapFreeRatio` (40/70) keep committed heap about 1.7-3.3 times that. Equal `-Xms`/`-Xmx`, which MEM-HEAP-005 and the JVM Tuning calculator produce, always matched. It flagged healthy GC headroom and admitted it was not a sizing recommendation." + }, + { + "id": "MEM-HEAP-008", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Triggered on a 1-byte increase across four manual full-GC scans, permanently left `coverageComplete` false on Shenandoah and non-generational ZGC (`skipped` instead of `inapplicable`), and is superseded by Runtime Insights' passive `HeapGrowthAfterGc` (`>= 10%` and `>= 4 MiB` floor)." + }, + { + "id": "MEM-POOL-001", + "title": "Retain", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-POOL-002", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-POOL-003", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-POOL-004", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-POOL-005", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-POOL-006", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Compiler policy, not a memory signal. IntelliJ's Spring Boot launch optimisation adds `-XX:TieredStopAtLevel=1`, so it fired on deliberate development configuration. Real code-cache pressure stays covered by MEM-POOL-002." + }, + { + "id": "MEM-POOL-007", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Triggered on a 1-byte increase across four scans with no capacity-share floor (flagging normal Netty/Vert.x NIO buffer pooling), double-penalized with MEM-POOL-003 when near the cap, and forced `coverageComplete = false` on the first scan." + }, + { + "id": "MEM-THREAD-001", + "title": "Update", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-THREAD-002", + "title": "Retain", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "MEM-THREAD-003", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: A peak since start or the last reset far above the current count is normal pool elasticity after a burst, not a leak or exhaustion. Current stack reservation stays covered by MEM-FOOTPRINT-002." + }, + { + "id": "MEM-THREAD-004", + "title": "Retired", + "docSource": "MEMORY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/memory/MemoryRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: CPU time is unrelated to memory and routinely false-positived on active Netty/Vert.x event-loop threads and JIT compiler threads." + }, + { + "id": "PT-A01-001", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A02-001", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A02-002", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A02-003", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A02-004", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A02-005", + "title": "Session cookie HttpOnly flag is explicitly disabled", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Duplicate of `SEC-SESSION-003` (`MEDIUM`) in the Security advisor (`server.servlet.session.cookie.http-only=false`). Live `Set-Cookie` headers on the synthetic response remain covered by `PT-A02-001`. [S07, S13]" + }, + { + "id": "PT-A02-006", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A02-007", + "title": "Cookie with __Host- or __Secure- prefix violates browser prefix requirements", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A02-008", + "title": "Response setting a cookie permits shared or public HTTP caching", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-001", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-002", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-003", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-004", + "title": "Missing Referrer-Policy header", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Already retired in `SEC-HEAD-005` and `QS-HDR-007`: modern browsers default `Referrer-Policy` to `strict-origin-when-cross-origin`, and explicitly unsafe values (`unsafe-url`) remain covered by `PT-A05-047`. [S02, S09]" + }, + { + "id": "PT-A05-005", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-006", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-007", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-008", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-009", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in PentestingCheckRegistry.java" + }, + { + "id": "PT-A05-010", + "title": "RETAIN", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-011", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-012", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in PentestingCheckRegistry.java" + }, + { + "id": "PT-A05-013", + "title": "Missing Permissions-Policy header", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Already retired in `SEC-HEAD-006` and `QS-HDR-008`: omitting `Permissions-Policy` does not establish a meaningful defect without application-specific feature use. [S02]" + }, + { + "id": "PT-A05-014", + "title": "Error responses are configured to expose details", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Covered by `SPRING-WEB-004` (`MEDIUM`) in the Spring advisor (always active on Spring MVC and WebFlux, and DevTools-aware); actual verbose error bodies on the wire remain covered by `PT-A05-006`. [S12, S13]" + }, + { + "id": "PT-A05-015", + "title": "Actuator shutdown endpoint is enabled", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Duplicate of `PT-A05-056` (`CRITICAL` when `/shutdown` is web-mapped), `SPRING-MGMT-004` (`HIGH`), and `SEC-ACT-005` (`HIGH`). [S15]" + }, + { + "id": "PT-A05-016", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-017", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-018", + "title": "Actuator endpoints are configured to reveal values", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Covered by `SPRING-MGMT-003`, `SEC-ACT-007`, `SEC-RXF-ACT-005`, and the web-exposure checks `PT-A05-052` and `PT-A05-053` (which include `show-values=always` in their evidence when `/env` or `/configprops` is mapped). [S15]" + }, + { + "id": "PT-A05-019", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-020", + "title": "Spring Boot DevTools is on the classpath", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Superseded by `SPRING-PROFILE-002` in the Spring advisor (gated on production-like profiles to avoid local-development noise); `PT-A05-062` remains active for remote DevTools support. [S24]" + }, + { + "id": "PT-A05-021", + "title": "RETAIN", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-022", + "title": "RETAIN", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-023", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-024", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-025", + "title": "spring.web.error.include-exception is enabled", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Covered by `SPRING-WEB-004` (`MEDIUM`) in the Spring advisor; actual exception class names in error response bodies remain covered by `PT-A05-006`. [S12, S13]" + }, + { + "id": "PT-A05-026", + "title": "spring.web.error.include-binding-errors reveals validation details", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Covered by `SPRING-WEB-004` (`MEDIUM`) in the Spring advisor; actual error response bodies remain covered by `PT-A05-006`. [S12, S13]" + }, + { + "id": "PT-A05-027", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-028", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-029", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-030", + "title": "spring.jpa.show-sql is enabled", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Covered by `HIB-CONFIG-012` in the Hibernate advisor (production-profile gated, alongside `org.hibernate.SQL`) and `SPRING-CONFIG-002` in the Spring advisor (SQL logger levels). [S25]" + }, + { + "id": "PT-A05-031", + "title": "Verbose logging level configured for framework packages", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Covered by `SPRING-CONFIG-002` in the Spring advisor, `SEC-CONFIG-009` in the servlet Security advisor, and `SEC-RXF-CONFIG-004` in the reactive Security advisor. [S01, S25]" + }, + { + "id": "PT-A05-032", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-033", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-034", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-035", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-036", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-037", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-038", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-039", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-040", + "title": "RETAIN", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-041", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-042", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-043", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-044", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-045", + "title": "Retired", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Ordinary caller-known error-path metadata; Boot 4.1 default is always. Never reuse this ID." + }, + { + "id": "PT-A05-046", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-047", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-048", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-049", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-050", + "title": "Actuator health details are always exposed", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Covered by `SPRING-MGMT-003` (`MEDIUM`) in the Spring advisor (always active on Spring Boot and aware of BootUI's own default) and `SEC-ACT-004` (`LOW`) in the Security advisor. [S15]" + }, + { + "id": "PT-A05-051", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-052", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-053", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-054", + "title": "RETAIN", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-055", + "title": "RETAIN", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-056", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-060", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-061", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-062", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-063", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-064", + "title": "RETAIN", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-065", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-066", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-067", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-068", + "title": "Missing Cross-Origin-Embedder-Policy header", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Omitting `Cross-Origin-Embedder-Policy` is standard unless the application needs cross-origin isolation (such as `SharedArrayBuffer`) and breaks cross-origin subresources by default; browsing-context and resource isolation remain covered by `PT-A05-021` (`Cross-Origin-Opener-Policy`) and `PT-A05-022` (`Cross-Origin-Resource-Policy`). [S02]" + }, + { + "id": "PT-A05-069", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A05-070", + "title": "Retired", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Duplicated QS-CORS-001/002, which always run on Quarkus; delivered CORS stays covered by the synthetic preflight." + }, + { + "id": "PT-A05-071", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in PentestingCheckRegistry.java" + }, + { + "id": "PT-A05-072", + "title": "Retired", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingCheckRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Duplicated QS-TLS-001 at a conflicting severity and ignored the `client-auth=required` default." + }, + { + "id": "PT-A05-073", + "title": "CORS exposes sensitive authentication headers via Access-Control-Expose-Headers", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A07-001", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A07-002", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A07-003", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A07-004", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A07-005", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A07-006", + "title": "UPDATE", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A07-007", + "title": "RETAIN", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A07-008", + "title": "HTTP response challenges for Basic or Digest credentials over plaintext HTTP", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A08-001", + "title": "Unsafe polymorphic JSON default typing or unrejected wildcard JVM serialization filter", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "PT-A10-001", + "title": "Synthetic missing-resource probe triggered an unhandled 5xx server error", + "docSource": "PENTEST-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/pentesting/PentestingChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CDI-001", + "title": "Retired", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkusapp/QuarkusAppChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Framed as a concurrency review prompt, but the real defect on a normal scope is client-proxy field access. Replaced by QA-CDI-004 under a new ID so earlier dismissals of the LOW prompt do not hide the MEDIUM definition error." + }, + { + "id": "QA-CDI-002", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CDI-003", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CDI-004", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CDI-005", + "title": "Corrected", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CDI-006", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CDI-007", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CFG-001", + "title": "Retired", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkusapp/QuarkusAppChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: ConfigMapping is recommended, not mandatory; no custom configuration and programmatic access are valid." + }, + { + "id": "QA-CFG-002", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CFG-003", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CFG-004", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CFG-005", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CFG-006", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-CFG-007", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-DB-001", + "title": "Retired", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkusapp/QuarkusAppChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: The finite default maximum is 50; workload/database sizing cannot be inferred from omission." + }, + { + "id": "QA-DB-002", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-PERF-002", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-PERF-003", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-PERF-004", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-PERF-005", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-PROD-001", + "title": "Retired", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkusapp/QuarkusAppChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: `RUN` can use profile `prod` with Dev Services; the declaration need not be useless." + }, + { + "id": "QA-PROD-002", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-PROD-003", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-PROF-001", + "title": "Retired", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkusapp/QuarkusAppChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Missing `%prod` keys do not establish missing production configuration." + }, + { + "id": "QA-RX-001", + "title": "Retired", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkusapp/QuarkusAppChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: JDBC capability plus reactive signatures does not prove an event-loop call; Mutiny offloading is legitimate." + }, + { + "id": "QA-SCH-001", + "title": "Retired", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkusapp/QuarkusAppChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Local/per-replica jobs are legitimate; no topology or once-per-cluster intent is observed." + }, + { + "id": "QA-WEB-001", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-WEB-002", + "title": "Retired", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkusapp/QuarkusAppChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Folded into QA-WEB-004 (`INFO`): `quarkus.shutdown.timeout=0` and sub-millisecond durations (`timeout.toMillis() <= 0L`) behave identically to the absent default (`ShutdownConfig.isTimeoutEnabled()`)." + }, + { + "id": "QA-WEB-003", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus-deployment/src/main/java/io/github/jdubois/bootui/quarkus/deployment/QuarkusAppMetadataCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-WEB-004", + "title": "Updated", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QA-WEB-005", + "title": "Added", + "docSource": "QUARKUS-ADVISOR-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/quarkusapp/QuarkusAppSnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-ANALYSIS", + "title": "", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityScanner.java", + "inDocs": false, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-001", + "title": "No authentication mechanism configured", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-002", + "title": "Basic authentication without TLS", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-003", + "title": "Review form authentication CSRF defenses", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-004", + "title": "JWT verification without an expected issuer", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-005", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-AUTH-006", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-AUTH-007", + "title": "Embedded identity store enabled for production", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-008", + "title": "JWT verification without audience validation", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-009", + "title": "Review static JWT trust-anchor rotation", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-010", + "title": "JDBC identity store using clear-text password mapper", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-011", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-AUTH-012", + "title": "Form authentication without TLS", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-013", + "title": "Embedded users stored with plain-text passwords", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTH-014", + "title": "", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTHZ", + "title": "", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTHZ-001", + "title": "No path or role authorization", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTHZ-002", + "title": "Permission policy permits all paths", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTHZ-003", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-AUTHZ-004", + "title": "No deny-by-default for unannotated endpoints", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-AUTHZ-005", + "title": "Production HTTP permission path uses unsupported /** wildcard", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-CFG-001", + "title": "Possible secret in configuration", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-CORS", + "title": "", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-CORS-001", + "title": "CORS allows any origin", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-CORS-002", + "title": "CORS wildcard origin with credentials", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-CORS-003", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-CORS-004", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-CORS-005", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-DEV-001", + "title": "OIDC TLS verification disabled", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-DEV-002", + "title": "Swagger/GraphQL UI always included", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-DEV-003", + "title": "SmallRye Health UI always included", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-GRAPHQL-001", + "title": "GraphQL schema introspection enabled", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-GRPC-001", + "title": "gRPC server reflection enabled in the prod profile", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-HDR", + "title": "", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-HDR-001", + "title": "Weak Strict-Transport-Security policy", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-HDR-002", + "title": "Weak Content-Security-Policy", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-HDR-003", + "title": "Missing Strict-Transport-Security header", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-HDR-004", + "title": "Missing Content-Security-Policy header", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-HDR-005", + "title": "Missing clickjacking protection", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-HDR-006", + "title": "Missing X-Content-Type-Options header", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-HDR-007", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-HDR-008", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-MGMT", + "title": "", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-MGMT-001", + "title": "Management interface on a non-loopback host", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-MGMT-002", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in QuarkusSecurityChecks.java" + }, + { + "id": "QS-MGMT-003", + "title": "Management interface has no explicit prod-scoped host binding", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-MGMT-004", + "title": "Management permission policies declared while management auth is disabled", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-MSG-001", + "title": "Messaging credentials configured without an encrypted protocol", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-OIDC-001", + "title": "OIDC without token audience validation", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-OIDC-002", + "title": "OIDC web-app session cookie not forced secure", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-OIDC-003", + "title": "Public OIDC client without PKCE", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-OIDC-004", + "title": "OIDC token issuer validation is bypassed", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-OIDC-005", + "title": "OIDC session token encryption disabled", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-OIDC-006", + "title": "OIDC client endpoints must use HTTPS and verify TLS", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-PROXY-001", + "title": "Forwarded headers trusted from any address", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-SESSION", + "title": "", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": false, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-SESSION-001", + "title": "Form-auth session cookie not HttpOnly", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-SESSION-002", + "title": "Form-auth session cookie SameSite=None", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-SESSION-003", + "title": "Long form-auth idle timeout", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-SESSION-004", + "title": "Short form-auth session encryption key", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-TLS-001", + "title": "Insecure requests enabled", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-TLS-002", + "title": "No TLS configured for the main HTTP listener", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Duplicate of `QS-TLS-001` (`LOW`, `quarkus.http.insecure-requests=enabled`) in the default `insecure-requests` posture when listener SSL is absent, and fires on every local Quarkus dev/test run. Listener TLS material detection (legacy keystore, paired certificate/key lists, and TLS-registry JKS/P12 or paired PEM entries selected by `quarkus.http.tls-configuration-name`) continues to gate `QS-HDR-003`. The ID remains reserved in `QuarkusSecurityChecks.RETIRED_RULES` so existing `.bootui/boot-ui.yml` dismissals stay valid." + }, + { + "id": "QS-TLS-003", + "title": "TLS certificate validation disabled", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-TLS-004", + "title": "Identity-provider and JWK endpoints should use HTTPS", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-TLS-005", + "title": "TLS hostname verification disabled", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "QS-TLS-006", + "title": "Legacy TLS protocol versions configured", + "docSource": "QUARKUS-CHECKS.md", + "javaSource": "bootui-quarkus/src/main/java/io/github/jdubois/bootui/quarkus/security/QuarkusSecuritySnapshotProviderImpl.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-DOC-001", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: OpenAPI generators derive operations from controller signatures without requiring explicit @Operation annotations." + }, + { + "id": "RAPI-DOC-002", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: OpenAPI generators group operations automatically without requiring explicit @Tag annotations." + }, + { + "id": "RAPI-DOC-003", + "title": "Retire; INFO metadata retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: missing explicit OpenAPI deprecation annotations do not prove missing client signals." + }, + { + "id": "RAPI-DTO-001", + "title": "Correct payload/array extraction; HIGH retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-DTO-002", + "title": "Correct inference claim; MEDIUM \u2192 LOW", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-DTO-004", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: response DTO setters do not affect the HTTP contract; mutability is code style." + }, + { + "id": "RAPI-DTO-005", + "title": "Correct scope/copy; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-001", + "title": "Correct discovery; MEDIUM \u2192 INFO", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-002", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: throws clauses do not affect exception resolution or the HTTP contract." + }, + { + "id": "RAPI-ERR-003", + "title": "Narrow informative comparisons; INFO retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-004", + "title": "Correct status observability; MEDIUM retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-005", + "title": "Require known fixed non-5xx status; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-006", + "title": "Narrow/qualify migration; INFO retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-007", + "title": "Fixed (Quarkus)", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-008", + "title": "Qualify text-error guidance; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/ExceptionHandlersDoNotReturnRawStringsRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-009", + "title": "Correct exception extraction; MEDIUM retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/DeclaredExceptionsHaveHandlersRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-010", + "title": "Exclude unknown shapes; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/ConsistentErrorContractRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-ERR-011", + "title": "Retire; HIGH metadata retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/ExceptionHandlersDoNotExposeStackTracesRule.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: stack-trace calls can be server-side logging; bytecode calls do not prove response exposure." + }, + { + "id": "RAPI-MAP-001", + "title": "Correct model; MEDIUM retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-002", + "title": "Narrowed; HIGH retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-003", + "title": "Calibrate HIGH \u2192 LOW", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-004", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: class-level base paths are a code-layout preference, not an HTTP contract requirement." + }, + { + "id": "RAPI-MAP-005", + "title": "Calibrate LOW \u2192 INFO", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-006", + "title": "Restrict required-binding assertion; HIGH retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-007", + "title": "Correct normative wording; MEDIUM retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-008", + "title": "Retire; LOW metadata retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: literal URIs identify resources; missing template variables do not establish a defect." + }, + { + "id": "RAPI-MAP-009", + "title": "Restrict parser assertion to Spring; HIGH retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-010", + "title": "Calibrate MEDIUM \u2192 INFO", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-011", + "title": "Qualify threshold; INFO retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-012", + "title": "**Added**, HIGH", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-MAP-013", + "title": "**Added**, HIGH", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-NAME-001", + "title": "Calibrate LOW \u2192 INFO", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-NAME-002", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: English plural-suffix heuristics cannot establish resource cardinality or naming defects." + }, + { + "id": "RAPI-NAME-003", + "title": "Calibrate LOW \u2192 INFO", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-NAME-004", + "title": "Retire; LOW metadata retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: literal dotted mappings remain valid independently of implicit suffix negotiation." + }, + { + "id": "RAPI-PAGE-001", + "title": "Narrow collection review; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-PAGE-002", + "title": "Correct remedy; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-PAGE-003", + "title": "Qualify policy; INFO retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-PAGE-004", + "title": "**Added**, LOW", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-001", + "title": "Fixed (Quarkus)", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-002", + "title": "Narrow; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-003", + "title": "Correct envelope facts; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-004", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: scalar GET responses are valid HTTP representations." + }, + { + "id": "RAPI-RESP-005", + "title": "Narrow no-body inference; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-006", + "title": "HIGH \u2192 MEDIUM", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-007", + "title": "Review status overlap; MEDIUM retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-008", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: @ResponseStatus(CREATED) declarations cannot express response headers on Spring, and Location is not universally required by RFC 9110." + }, + { + "id": "RAPI-RESP-009", + "title": "Narrow; LOW \u2192 INFO", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/HeadHandlersDoNotReturnBodiesRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-010", + "title": "**Added**, HIGH", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/ResponseStatusReasonOnBodyHandlersRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-RESP-011", + "title": "**Added**, LOW", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/OptionalReadsMapAbsenceRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VALID-001", + "title": "Constraint-bearing payload evidence; MEDIUM", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VALID-002", + "title": "Correct reactive request shape; HIGH retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VALID-003", + "title": "Correct boolean/default/Kotlin handling; MEDIUM retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VALID-004", + "title": "Restrict to aggregate bindings; LOW retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VALID-005", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: method names and header bindings cannot establish missing retry deduplication." + }, + { + "id": "RAPI-VALID-006", + "title": "**Added**, HIGH", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/SingleRequestBodyRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VALID-007", + "title": "**Added**, HIGH", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VER-001", + "title": "Fixed", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VER-002", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: omitting mapping-level consumes on standard JSON endpoints is idiomatic and still constrained by framework message converters." + }, + { + "id": "RAPI-VER-003", + "title": "Calibrate LOW \u2192 INFO", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VER-004", + "title": "Accept concrete non-JSON formats; INFO retained", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VER-005", + "title": "Retired", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired heuristic: method-specific produces declarations on specialized endpoints do not require redundant produces attributes on sibling handlers." + }, + { + "id": "RAPI-VER-006", + "title": "Fixed", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VER-007", + "title": "**Added**, HIGH", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/BodylessHandlersDoNotRequireContentTypeRule.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "RAPI-VER-008", + "title": "**Added**, HIGH", + "docSource": "REST-API-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/restapi/RestApiRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-ACT-001", + "title": "Actuator endpoints should not all be web-exposed", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-ACT-002", + "title": "Sensitive actuator endpoints should not be exposed", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-ACT-003", + "title": "Exposed actuator endpoints should be protected by a security chain", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-ACT-004", + "title": "Actuator health details/components should not be exposed unconditionally", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Duplicate of the Spring Advisor's `SPRING-MGMT-003` (`MEDIUM`), which remains always active across Spring MVC and WebFlux (with or without Spring Security) and covers `management.endpoint.health.show-details=always` and `show-components=always` alongside `show-values=always`. `SEC-ACT-004` also fired even when `/actuator/health` required authentication in `SecurityFilterChain`. The ID remains reserved in `SecurityRuleRegistry.RETIRED_RULE_IDS` so existing `.bootui/boot-ui.yml` dismissals stay valid." + }, + { + "id": "SEC-ACT-005", + "title": "The actuator shutdown endpoint should not be enabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-ACT-006", + "title": "Sensitive actuator endpoints should use an isolated management port", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-ACT-007", + "title": "Actuator env/configprops values must stay sanitized", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTH-001", + "title": "Password encoder must not store credentials in plain text", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTH-002", + "title": "Password encoder should not use a weak or legacy algorithm", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTH-003", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-AUTH-004", + "title": "Review the Boot property-backed default account", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTH-005", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-AUTH-006", + "title": "BCrypt password encoder should use an adequate work factor", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTH-007", + "title": "HTTP Basic authentication should run only over HTTPS", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTH-008", + "title": "hideUserNotFoundExceptions should stay enabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTH-009", + "title": "Do not run production on Spring Boot's auto-generated default user", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTH-010", + "title": "Form login should run only over HTTPS", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTHZ-001", + "title": "Every filter chain should enforce authorization", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTHZ-002", + "title": "Avoid blanket permitAll authorization", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTHZ-003", + "title": "Application security should not be effectively disabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTHZ-004", + "title": "Catch-all filter chains should be ordered last", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTHZ-005", + "title": "Broader authorizeHttpRequests matchers should not shadow narrower ones", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-AUTHZ-006", + "title": "Prefer permitAll within a security chain to ignoring requests", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CONFIG-001", + "title": "Spring Security debug mode should be off", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CONFIG-002", + "title": "H2 console should not be enabled in production", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CONFIG-003", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-CONFIG-004", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-CONFIG-005", + "title": "Error responses should not leak stack traces or internal messages", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Duplicate of the Spring Advisor's `SPRING-WEB-004` (`MEDIUM`), which remains always active across Spring MVC and WebFlux (with or without Spring Security) and also covers `spring.web.error.include-exception=true` while ignoring DevTools' development-only defaults. The ID remains reserved in `SecurityRuleRegistry.RETIRED_RULE_IDS` so existing `.bootui/boot-ui.yml` dismissals stay valid." + }, + { + "id": "SEC-CONFIG-006", + "title": "Application should enforce HTTPS in production", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CONFIG-007", + "title": "Configuration should not hold literal secret values", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CONFIG-008", + "title": "StrictHttpFirewall should not relax its default URL protections", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CONFIG-009", + "title": "Spring Security framework logging should not run at DEBUG/TRACE in production", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CORS-001", + "title": "CORS should not allow all origins", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CORS-002", + "title": "CORS must not combine wildcard origins with credentials", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CORS-003", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-CORS-004", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-CORS-006", + "title": "CORS should not allow broad origin patterns", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CSRF-001", + "title": "CSRF protection should stay on for browser-automatic credentials", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-CSRF-002", + "title": "CSRF protection should stay on for HTTP Basic authentication", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-HEAD-001", + "title": "HTTP Strict Transport Security should be emitted", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-HEAD-002", + "title": "X-Frame-Options (clickjacking protection) should stay enabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-HEAD-003", + "title": "A Content-Security-Policy should be defined", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-HEAD-004", + "title": "X-Content-Type-Options should stay enabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-HEAD-005", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-HEAD-006", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-HEAD-007", + "title": "Security response headers should not be globally disabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-HEAD-008", + "title": "Review HSTS max-age below the framework default", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-HEAD-009", + "title": "Review permissive CSP script execution", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-HEAD-010", + "title": "Cross-origin isolation headers should be considered", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Fires on nearly every browser-credential Spring MVC chain because Spring Security intentionally omits `Cross-Origin-Opener-Policy` (`COOP`) and `Cross-Origin-Embedder-Policy` (`COEP`) by default. Enabling `COOP`/`COEP` breaks OAuth2/OIDC popups, third-party CDNs, and cross-origin embeds unless the application specifically requires cross-origin isolation (for example for `SharedArrayBuffer`). Matches the retirement of `SEC-HEAD-005` (`Referrer-Policy`) and `SEC-HEAD-006` (`Permissions-Policy`). The ID remains reserved in `SecurityRuleRegistry.RETIRED_RULE_IDS` so existing `.bootui/boot-ui.yml` dismissals stay valid." + }, + { + "id": "SEC-METHOD-001", + "title": "Method security annotations require method security to be enabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-METHOD-002", + "title": "Replace @EnableGlobalMethodSecurity with @EnableMethodSecurity", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-OAUTH-001", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-OAUTH-002", + "title": "Validate the JWT audience claim", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-OAUTH-003", + "title": "Review static verification-key rotation", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-OAUTH-004", + "title": "JWT issuer and JWK endpoints should use HTTPS", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-OAUTH-005", + "title": "Opaque-token introspection must use HTTPS", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-OAUTH-006", + "title": "OAuth2 client provider endpoints must use HTTPS", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-ACT-001", + "title": "Actuator endpoints should not be exposed with a wildcard", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-ACT-002", + "title": "Sensitive Actuator endpoints should be explicitly reviewed", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-ACT-003", + "title": "Review authorization for broad reactive Actuator exposure", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-ACT-004", + "title": "Consider isolating Actuator endpoints on a separate management port", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-ACT-005", + "title": "Reactive Actuator env/configprops values must stay sanitized", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-AUTH-001", + "title": "Reactive password encoder must not store credentials in plain text", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-AUTH-002", + "title": "Reactive password encoder should not use a weak or legacy algorithm", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-AUTH-003", + "title": "Reactive BCrypt password encoder should use an adequate work factor", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-AUTHZ-001", + "title": "Every reactive filter chain should enforce authorization", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-AUTHZ-004", + "title": "Place unconditional reactive chains after scoped chains", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-CONFIG-002", + "title": "Review HTTPS enforcement for reactive production applications", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-CONFIG-003", + "title": "Credentials or secrets should not be hardcoded in application properties", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-CONFIG-004", + "title": "Spring Security DEBUG or TRACE logging should not run in production", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-CORS-001", + "title": "CORS should not allow wildcard origins in reactive applications", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-CORS-002", + "title": "Credentialed reactive CORS must not trust every origin pattern", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-CORS-003", + "title": "Reactive CORS should not allow broad origin patterns", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-CSRF-001", + "title": "Reactive OAuth2/OIDC or formLogin() chains should enable CSRF protection", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-CSRF-002", + "title": "Review CSRF protection for reactive HTTP Basic chains", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-HEAD-001", + "title": "HSTS header should be configured for reactive applications over TLS", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-HEAD-002", + "title": "X-Frame-Options header should be set in reactive chains", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-HEAD-003", + "title": "X-Content-Type-Options should be set in reactive chains", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-HEAD-004", + "title": "Review Content-Security-Policy enforcement for reactive browser chains", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-HEAD-005", + "title": "Security headers should not be disabled in reactive chains", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-HEAD-006", + "title": "Review HSTS max-age values below Spring Security's one-year default", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-HEAD-007", + "title": "Review permissive CSP script execution in reactive chains", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-METHOD-001", + "title": "Method security annotations require reactive method security to be enabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-OAUTH2-002", + "title": "Review rotation for reactive JWT static public keys", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-OAUTH2-003", + "title": "JWT issuer URI and JWKS URI should use HTTPS in reactive applications", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-OAUTH2-004", + "title": "Opaque-token introspection must use HTTPS in reactive production applications", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-OAUTH2-005", + "title": "OAuth2 client provider endpoints must use HTTPS in reactive production applications", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-OAUTH2-006", + "title": "Validate the JWT audience claim in reactive resource servers", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SpringReactiveSecurityObservationCollector.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-RXF-SESSION-001", + "title": "Review reactive chains that mix bearer-token and browser login filters", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/reactivesecurity/ReactiveSecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-SESSION-001", + "title": "Session fixation protection should be enabled", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-SESSION-002", + "title": "Session cookie should set the Secure flag", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-SESSION-003", + "title": "Session cookie should set the HttpOnly flag", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-SESSION-004", + "title": "Review SameSite=None on the session cookie", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-SESSION-005", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-SESSION-006", + "title": "Review bearer authentication saved in sessions", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-SESSION-007", + "title": "Consider configuring concurrent session control", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "**Retired.** Fires on every stateful `formLogin()` chain that omits `ConcurrentSessionFilter` (`maximumSessions`). Limiting concurrent sessions per user is a domain-specific product choice that breaks normal multi-device logins rather than a baseline Spring Security hardening requirement. The ID remains reserved in `SecurityRuleRegistry.RETIRED_RULE_IDS` so existing `.bootui/boot-ui.yml` dismissals stay valid." + }, + { + "id": "SEC-SESSION-008", + "title": "Remember-me signing key should be sufficiently long", + "docSource": "SECURITY-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SEC-SESSION-009", + "title": "Retired", + "docSource": null, + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/security/SecurityRuleRegistry.java", + "inDocs": false, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: reserved in SecurityRuleRegistry.java" + }, + { + "id": "SEC-STATIC-001", + "title": "", + "docSource": null, + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/staticsecurity/StaticSecurityAnalysisDetector.java", + "inDocs": false, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-AOT-001", + "title": "Runtime bean singleton registration cannot be transformed by Spring AOT", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-AOT-002", + "title": "Programmatic instance suppliers are not captured by Spring AOT", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-AOT-003", + "title": "Environment-sensitive bean conditions freeze selection at AOT build time", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-AOT-004", + "title": "Programmatic ApplicationContext creation requires AOT review", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-AOT-005", + "title": "Bean-referencing @ConditionalOnExpression can initialize beans too early", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-AOT-006", + "title": "Explicit-argument bean retrieval may bypass AOT instance suppliers", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-AOT-007", + "title": "Bean-definition registry post-processors may run again under AOT", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-AOT-008", + "title": "Refresh-scoped bean declarations are not supported under Spring AOT", + "docSource": "GRAALVM-READINESS-CHECKS.md", + "javaSource": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/graalvm/GraalVmChecks.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-CACHE-001", + "title": "Review concurrent-map cache capacity", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-CONFIG-001", + "title": "Retired", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: More than 300 bean definitions is not a startup-cost measurement and is exceeded by almost every web, Actuator and data application (BootUI's own beans included). Boot advises against enabling lazy initialization by default because it delays failures and first-request work." + }, + { + "id": "SPRING-CONFIG-002", + "title": "Review broad verbose logging configuration", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-CONFIG-003", + "title": "Review renamed or removed Boot 4 properties", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-CONFIG-004", + "title": "Consider a stable application name", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-CONFIG-005", + "title": "Review globally ignored missing configuration", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-CONFIG-006", + "title": "Review Jackson 2-compatible defaults", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-CONFIG-007", + "title": "Review the deprecated Jackson 2 auto-configuration", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-CONFIG-008", + "title": "Remove the properties migrator after migrating", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-DATA-001", + "title": "Review in-memory JDBC with production-like profiles", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-DATA-002", + "title": "Review in-memory R2DBC with production-like profiles", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-JPA-001", + "title": "Review servlet Open Session in View", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-MGMT-001", + "title": "Review host wildcard Actuator exposure", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-MGMT-002", + "title": "Review explicitly exposed sensitive Actuator endpoints", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-MGMT-003", + "title": "Review Actuator values and health details", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-MGMT-004", + "title": "Review granted heapdump or shutdown web access", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-001", + "title": "Consider virtual threads for applicable blocking work", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-002", + "title": "Review pooled executor routing", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-003", + "title": "Review Framework default async fallback", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-004", + "title": "Retired", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Property absence cannot establish an unreviewed/undersized pool. Explicitly writing the default 10 changes no runtime behavior; size against database capacity and observed load." + }, + { + "id": "SPRING-PERF-005", + "title": "Review single-thread scheduler overlap", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-006", + "title": "Review an unbounded default async queue", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-007", + "title": "Review virtual threads on a JDK before 24", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-008", + "title": "Review `applicationTaskExecutor` back-off when virtual threads are enabled", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-009", + "title": "Review task pool properties ignored under virtual threads", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PERF-011", + "title": "Review incomplete task executor or scheduler shutdown termination settings", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PROFILE-001", + "title": "Retired", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: Profiles are optional; configured default profiles and profile-free external configuration are valid." + }, + { + "id": "SPRING-PROFILE-002", + "title": "Review DevTools packaging for production-like profiles", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-PROFILE-003", + "title": "Review disabled profile-name validation", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-REACTIVE-001", + "title": "Retired", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: A WebFlux app legitimately configures a `DataSource` for Flyway/Liquibase migrations or offloads JDBC calls via `Schedulers.boundedElastic()`. The reflection-only rule cannot inspect method bodies; actual event-loop blocking is covered by Runtime Insights and the Java Agent **Side Effects** panel." + }, + { + "id": "SPRING-REACTIVE-002", + "title": "Retired", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: A safe bounded default is not a defect, and `spring.codec.*` is stale in Boot 4. The new unlimited-aggregation check addresses a different condition." + }, + { + "id": "SPRING-REACTIVE-003", + "title": "Review explicitly unlimited codec aggregation", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WEB-001", + "title": "Consider origin response compression", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WEB-002", + "title": "Review immediate or zero-grace shutdown", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WEB-003", + "title": "Retired", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: `server.http2.enabled` is unset by default; plain HTTP/1.1 is standard in local development and behind TLS-terminating reverse proxies, and enabling `server.http2.enabled=true` without SSL enables cleartext `h2c` (unsupported by browsers)." + }, + { + "id": "SPRING-WEB-004", + "title": "Review configured fallback error details", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WEB-005", + "title": "Review Boot HTTP client timeout policy", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WEB-006", + "title": "Retired", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRuleRegistry.java", + "inDocs": true, + "inJava": true, + "retired": true, + "retiredExplanation": "Retired: A profile name cannot establish a trusted proxy. Changing header trust needs deployment evidence." + }, + { + "id": "SPRING-WEB-007", + "title": "Review a Tomcat cap with a virtual executor", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WEB-008", + "title": "Review an unlimited multipart request size", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-001", + "title": "Review bean definition overriding permission", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-002", + "title": "Review circular-reference permission", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-003", + "title": "Review default JSON mapper selection", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-004", + "title": "Review default async executor selection", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-005", + "title": "Review default DataSource selection", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-006", + "title": "Review default imperative transaction manager", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-007", + "title": "Review RestTemplate migration", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-008", + "title": "Review default-package application beans", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-009", + "title": "Review public mutable singleton fields", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-010", + "title": "Enable resilience processing for `@Retryable` and `@ConcurrencyLimit` beans", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-011", + "title": "Enable infrastructure for `@Async`, `@Cacheable`, and `@Transactional` beans", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + }, + { + "id": "SPRING-WIRING-012", + "title": "Review `@Scheduled` methods without scheduling infrastructure", + "docSource": "SPRING-CHECKS.md", + "javaSource": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "inDocs": true, + "inJava": true, + "retired": false, + "retiredExplanation": null + } + ], + "total": 692, + "reconciliation": { + "independentUnionCount": 739, + "fixtureCount": 692, + "independentIdsExcluded": [ + { + "id": "BOOTUI-COMPAT-001", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/compatibility/PlatformCompatibility.java", + "reason": "BOOTUI-COMPAT-001 is a platform compatibility diagnostic identifier in PlatformCompatibility.java, not an advisor rule." + }, + { + "id": "BOOTUI-COMPAT-002", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/compatibility/PlatformCompatibility.java", + "reason": "BOOTUI-COMPAT-002 is a platform compatibility diagnostic identifier in PlatformCompatibility.java, not an advisor rule." + }, + { + "id": "BOOTUI-COMPAT-003", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/compatibility/PlatformCompatibility.java", + "reason": "BOOTUI-COMPAT-003 is a platform compatibility diagnostic identifier in PlatformCompatibility.java, not an advisor rule." + }, + { + "id": "BOOTUI-COMPAT-010", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/compatibility/PlatformCompatibility.java", + "reason": "BOOTUI-COMPAT-010 is a platform compatibility diagnostic identifier in PlatformCompatibility.java, not an advisor rule." + }, + { + "id": "BOOTUI-COMPAT-011", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/compatibility/PlatformCompatibility.java", + "reason": "BOOTUI-COMPAT-011 is a platform compatibility diagnostic identifier in PlatformCompatibility.java, not an advisor rule." + }, + { + "id": "BOOTUI-COMPAT-012", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/compatibility/PlatformCompatibility.java", + "reason": "BOOTUI-COMPAT-012 is a platform compatibility diagnostic identifier in PlatformCompatibility.java, not an advisor rule." + }, + { + "id": "CACHE-001", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-CACHE-001." + }, + { + "id": "CONFIG-002", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-CONFIG-002." + }, + { + "id": "CONFIG-003", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-CONFIG-003." + }, + { + "id": "CONFIG-004", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-CONFIG-004." + }, + { + "id": "CONFIG-005", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-CONFIG-005." + }, + { + "id": "CONFIG-006", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-CONFIG-006." + }, + { + "id": "CONFIG-007", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-CONFIG-007." + }, + { + "id": "CONFIG-008", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-CONFIG-008." + }, + { + "id": "DATA-001", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-DATA-001." + }, + { + "id": "DATA-002", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-DATA-002." + }, + { + "id": "JPA-001", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-JPA-001." + }, + { + "id": "MGMT-001", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-MGMT-001." + }, + { + "id": "MGMT-002", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-MGMT-002." + }, + { + "id": "MGMT-003", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-MGMT-003." + }, + { + "id": "MGMT-004", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-MGMT-004." + }, + { + "id": "PERF-001", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-001." + }, + { + "id": "PERF-002", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-002." + }, + { + "id": "PERF-003", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-003." + }, + { + "id": "PERF-005", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-005." + }, + { + "id": "PERF-006", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-006." + }, + { + "id": "PERF-007", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-007." + }, + { + "id": "PERF-008", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-008." + }, + { + "id": "PERF-009", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-009." + }, + { + "id": "PERF-011", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PERF-011." + }, + { + "id": "PROFILE-002", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PROFILE-002." + }, + { + "id": "PROFILE-003", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-PROFILE-003." + }, + { + "id": "REACTIVE-003", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-REACTIVE-003." + }, + { + "id": "SHA-256", + "source": "bootui-spring-webflux-sample-app/src/main/java/io/github/jdubois/bootui/webfluxsample/sideeffects/SecurityCheckSeedsController.java", + "reason": "SHA-256 is a digest algorithm label in Java code, not a rule identifier." + }, + { + "id": "SHA-512", + "source": "bootui-cli/src/main/java/io/github/jdubois/bootui/cli/ReleaseRepository.java", + "reason": "SHA-512 is a digest algorithm label in Java code, not a rule identifier." + }, + { + "id": "WEB-001", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WEB-001." + }, + { + "id": "WEB-002", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WEB-002." + }, + { + "id": "WEB-004", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WEB-004." + }, + { + "id": "WEB-005", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WEB-005." + }, + { + "id": "WEB-007", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WEB-007." + }, + { + "id": "WEB-008", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WEB-008." + }, + { + "id": "WIRING-001", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-001." + }, + { + "id": "WIRING-002", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-002." + }, + { + "id": "WIRING-003", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-003." + }, + { + "id": "WIRING-004", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-004." + }, + { + "id": "WIRING-005", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-005." + }, + { + "id": "WIRING-006", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-006." + }, + { + "id": "WIRING-007", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-007." + }, + { + "id": "WIRING-008", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-008." + }, + { + "id": "WIRING-009", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-009." + }, + { + "id": "WIRING-010", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-010." + }, + { + "id": "WIRING-011", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-011." + }, + { + "id": "WIRING-012", + "source": "bootui-spring-boot-starter/src/main/java/io/github/jdubois/bootui/autoconfigure/spring/SpringRules.java", + "reason": "SpringRules stores the shorthand; AbstractSpringRule adds the SPRING- prefix, so the canonical entry is SPRING-WIRING-012." + } + ], + "fixtureIdsOutsideIndependentCounter": [ + { + "id": "QS-ANALYSIS", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityScanner.java", + "reason": "Valid non-numeric Quarkus security identifier; the independent counter requires a three-digit suffix." + }, + { + "id": "QS-AUTHZ", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "reason": "Valid non-numeric Quarkus security identifier; the independent counter requires a three-digit suffix." + }, + { + "id": "QS-CORS", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "reason": "Valid non-numeric Quarkus security identifier; the independent counter requires a three-digit suffix." + }, + { + "id": "QS-HDR", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "reason": "Valid non-numeric Quarkus security identifier; the independent counter requires a three-digit suffix." + }, + { + "id": "QS-MGMT", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "reason": "Valid non-numeric Quarkus security identifier; the independent counter requires a three-digit suffix." + }, + { + "id": "QS-SESSION", + "source": "bootui-engine/src/main/java/io/github/jdubois/bootui/engine/quarkussecurity/QuarkusSecurityChecks.java", + "reason": "Valid non-numeric Quarkus security identifier; the independent counter requires a three-digit suffix." + } + ], + "method": "All docs/**/*.md heading IDs plus src/main/java quoted IDs matching the independent counter pattern; table-only and non-three-digit fixture IDs are listed with reasons" + } +} \ No newline at end of file diff --git a/tests/fixtures/bootui/2.6.0/tools.json b/tests/fixtures/bootui/2.6.0/tools.json new file mode 100644 index 000000000..85f260800 --- /dev/null +++ b/tests/fixtures/bootui/2.6.0/tools.json @@ -0,0 +1,3591 @@ +{ + "tools": [ + { + "name": "get_live_activity", + "command": "activity", + "schema": "QUERY_LIMIT", + "panel": "activity", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Newest events and entry ids only.", + "description": "Newest events and entry ids only. For why a route is slow, what a reload changed, or what a test run did not exercise, call get_runtime_insights or get_runtime_run_comparison first. At most limit (25) entries; query selects an entry type (SQL, EXCEPTION, REST_CLIENT, ...), a severity (SLOW, WARN, ERROR), or text in the summary, detail, path, or method, such as a route; combine namespace:, application:, run:, instance:, and route: qualifiers to select durable scope; entries retain their origins, and unscoped output warns when it spans multiple applications or runs; pageInfo.hasMore means more entries matched or older ones were not searched (a warning then names the window searched), and typeCounts counts every retained entry. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui activity --query SQL --limit 20", + "queryHelp": "an entry type (SQL, EXCEPTION, REST_CLIENT, ...), a severity (SLOW, WARN, ERROR), or text in the summary, detail, path, or method, optionally combined with namespace:, application:, run:, instance:, or route:", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "disable_agent_sensor", + "command": "agent sensor disable", + "schema": "ID", + "panel": "java-agent", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "With the user's authorization, switch off one supported BootUI Java agent sensor for this application now and for later claims in this JVM; the override is not persisted.", + "description": "With the user's authorization, switch off one supported BootUI Java agent sensor for this application now and for later claims in this JVM; the override is not persisted. id is one of threads, files, environment, thread-activity, thread-locals, or security-sinks. The agent must be attached, armed for this application, and support runtime switches. Returns the updated Java Agent report; use get_agent_status to verify it stopped recording. Before switching, read get_agent_status and get_side_effects for the sensor and confirm its current coverage. Enable only when the investigation needs evidence that this sensor uniquely records; explain the collection and performance trade-off and obtain the user's approval first. Sensors: threads propagates context through Thread operations and retransforms java.lang.Thread, so it is opt-in and a failed self-test leaves it off until restart; files records path patterns for file operations, never contents, and is on by default; environment records environment and system-property names, never values, and measured about 6.8% throughput cost on a property-heavy route; thread-activity records threads and executors per request and added about 11.5% overhead on a thread-per-request route (16.6% with default sensors, above the 10% overall budget); thread-locals scans pooled-thread local maps and reports field identity, never values; security-sinks records JDK checks (unfiltered deserialization, weak algorithms, trust-manager configuration) and request input reaching SQL, commands, file paths, or outbound URLs, with values redacted in reports. Request-value matching also retains query/path values in memory while requests run and is only active when bootui.agent.security-sinks.request-values=true was set at startup; it cannot be enabled by this switch. Security-sinks JDK checks measured about 3.9% extra throughput cost on the benchmark route, and request matching about 3%. Switches last only for this JVM, are not persisted, and change the evidence available to run comparisons. Disable the sensor after the investigation if it is no longer needed; read get_agent_status again to verify the result.", + "example": "bootui agent sensor disable security-sinks", + "idHelp": "A switchable Java agent sensor id (threads, files, environment, thread-activity, thread-locals, or security-sinks).", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "enable_agent_sensor", + "command": "agent sensor enable", + "schema": "ID", + "panel": "java-agent", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "With the user's authorization, switch on one supported BootUI Java agent sensor for this application now and for later claims in this JVM; the override is not persisted.", + "description": "With the user's authorization, switch on one supported BootUI Java agent sensor for this application now and for later claims in this JVM; the override is not persisted. id is one of threads, files, environment, thread-activity, thread-locals, or security-sinks. The agent must be attached, armed for this application, and support runtime switches. Returns the updated Java Agent report; use get_agent_status to verify recording. Before switching, read get_agent_status and get_side_effects for the sensor and confirm its current coverage. Enable only when the investigation needs evidence that this sensor uniquely records; explain the collection and performance trade-off and obtain the user's approval first. Sensors: threads propagates context through Thread operations and retransforms java.lang.Thread, so it is opt-in and a failed self-test leaves it off until restart; files records path patterns for file operations, never contents, and is on by default; environment records environment and system-property names, never values, and measured about 6.8% throughput cost on a property-heavy route; thread-activity records threads and executors per request and added about 11.5% overhead on a thread-per-request route (16.6% with default sensors, above the 10% overall budget); thread-locals scans pooled-thread local maps and reports field identity, never values; security-sinks records JDK checks (unfiltered deserialization, weak algorithms, trust-manager configuration) and request input reaching SQL, commands, file paths, or outbound URLs, with values redacted in reports. Request-value matching also retains query/path values in memory while requests run and is only active when bootui.agent.security-sinks.request-values=true was set at startup; it cannot be enabled by this switch. Security-sinks JDK checks measured about 3.9% extra throughput cost on the benchmark route, and request matching about 3%. Switches last only for this JVM, are not persisted, and change the evidence available to run comparisons. Disable the sensor after the investigation if it is no longer needed; read get_agent_status again to verify the result.", + "example": "bootui agent sensor enable security-sinks", + "idHelp": "A switchable Java agent sensor id (threads, files, environment, thread-activity, thread-locals, or security-sinks).", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "get_agent_status", + "command": "agent status", + "schema": "QUERY", + "panel": "java-agent", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the BootUI Java agent's status: NOT_ATTACHED, DORMANT, ARMED, HELD by another application, DISARMED, UNAVAILABLE, FAILED, or DISABLED with a reason; versions, the current claim, sensors, and setup snippets that attach it.", + "description": "Return the BootUI Java agent's status: NOT_ATTACHED, DORMANT, ARMED, HELD by another application, DISARMED, UNAVAILABLE, FAILED, or DISABLED with a reason; versions, the current claim, sensors, and setup snippets that attach it. This read never claims, installs, or changes the agent. Sensors are summarized (state, counters, failures); query with a sensor id, such as executors, to list only matching sensors with their hooks and self-test steps. Every matching sensor is listed, so the tool takes no limit. Once the executors sensor has counted overflow, a task object several requests submit may have run with another request's context.", + "example": "bootui agent status --query executors", + "queryHelp": "a sensor id, such as executors, for its hooks and self-test steps", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_ai_overview", + "command": "ai overview", + "schema": "NONE", + "panel": "ai", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the local AI-framework telemetry overview derived from already-captured OTLP spans.", + "description": "Return the local AI-framework telemetry overview derived from already-captured OTLP spans. This does not invoke a model, send a prompt, or make any network request. aiFrameworkDetected says whether any supported AI framework is present on every stack; springAiDetected is Spring AI only, so it is always false on Quarkus, and langChain4jDetected covers LangChain4j, including Quarkus LangChain4j. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui ai overview", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_architecture_report", + "command": "architecture report", + "schema": "NONE", + "panel": "architecture", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed Architecture advisor report without starting a new classpath scan.", + "description": "Return the last completed Architecture advisor report without starting a new classpath scan. Use this cached evidence before deciding whether an active architecture_scan is necessary. sampleViolations are bounded previews (up to 10), not the full violationCount. Use violationDetails.scanId with get_architecture_rule_violations to page cached retained details without scanning again. Check truncated for missing details, including retention overflow; a terminal page does not guarantee completeness when truncated. Verify each finding before changing code. sampleLocations aligns index-for-index with sampleViolations when non-empty (a null entry has no location): className, memberName, kind, sourceFile, line, sourcePath and precision (LINE, MEMBER or CLASS). Open sourcePath at line to go straight to the code; violationDetails.locationNotes says why a path is missing.", + "example": "bootui architecture report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "architecture_scan", + "command": "architecture scan", + "schema": "NONE", + "panel": "architecture", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively scan application classes for architecture and dependency violations.", + "description": "Actively scan application classes for architecture and dependency violations. Use for structural reviews; verify each finding against intended module boundaries before changing code. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence and violationDetails.scanId. Read the cached report with get_architecture_report and page a rule's retained violations with get_architecture_rule_violations, without scanning again.", + "example": "bootui architecture scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_architecture_rule_violations", + "command": "architecture violations", + "schema": "RULE_VIOLATIONS", + "panel": "architecture", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read one page of retained violations for the exact rule id from get_architecture_report and that cached report's violationDetails.scanId.", + "description": "Read one page of retained violations for the exact rule id from get_architecture_report and that cached report's violationDetails.scanId. This never starts a scan. Default offset 0 and limit 100; limit is capped at min(1000, transport max-results). Advance by page.returned while page.hasMore; page.total and page.matched count retained entries, not violationCount. If truncated, retention overflow or unavailable upstream details prevent a complete list. Verify each finding before changing code. A refusal is a tool error whose text says why: an unknown rule (not a rule of this advisor), a rule with no findings in that scan (it passed, was skipped, or failed), or a stale or missing scanId, for which reread the cached report rather than start a new scan. On MCP -32003 byte-budget refusal, retry the same scanId and offset with a smaller limit; a refusal is not an empty or completed page. A non-empty locations list aligns index-for-index with violations (a null entry has no location); an empty list means no violation on the page has one. A page's violationCount is the scan's total; where its suppressed list is non-empty, entries marked true were dismissed by the developer and no longer count in the report.", + "example": "bootui architecture violations --scan-id --limit 100", + "idHelp": "A rule id and the violationDetails.scanId from 'bootui architecture report'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "The rule id, from get_architecture_report." + }, + "scanId": { + "type": "string", + "minLength": 1, + "description": "The cached report's violationDetails.scanId. Never starts a scan." + }, + "offset": { + "type": "integer", + "minimum": 0, + "default": 0, + "description": "Zero-based offset into the retained violations; advance it by page.returned while page.hasMore." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Page size, default 100, capped at min(1000, bootui.mcp.max-results)." + } + }, + "additionalProperties": false, + "required": [ + "id", + "scanId" + ] + } + }, + { + "name": "get_beans", + "command": "beans", + "schema": "QUERY_LIMIT", + "panel": "beans", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Search Spring beans by name or type and return a bounded result.", + "description": "Search Spring beans by name or type and return a bounded result. Use this to verify runtime wiring, not as proof that a bean is exercised. At most limit (25) beans; page.hasMore means more matched.", + "example": "bootui beans --query dataSource", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_cache_stats", + "command": "cache", + "schema": "NONE", + "panel": "cache", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return current cache manager and cache statistics (hits, misses, size) for each configured cache.", + "description": "Return current cache manager and cache statistics (hits, misses, size) for each configured cache. Use to verify cache behavior before proposing a caching change. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui cache", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_code_inventory", + "command": "code inventory", + "schema": "QUERY_LIMIT", + "panel": "code-inventory", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return Code Inventory: did the code that changed since the previous run execute in this run? Advertised only while the BootUI agent's inventory sensor records this run (see get_agent_status).", + "description": "Return Code Inventory: did the code that changed since the previous run execute in this run? Advertised only while the BootUI agent's inventory sensor records this run (see get_agent_status). Counts first (N of M tracked methods executed, changed, added, removed, dependencies), then at most limit (25) rows of query: changed (the default; methods changed or added since the previous DevTools restart or Quarkus live reload, not executed first, with the first request id and route that ran each), never-executed, not-tracked, executed, dependencies (declared jars not loaded in this run first), or a package, class, or method name. NOT_TRACKED is not NEVER_EXECUTED; a jar not loaded in this run is not proof it is unused. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui code inventory --query changed", + "queryHelp": "changed (the default), never-executed, not-tracked, executed, dependencies, or a package, class, or method name", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_code_paths", + "command": "code paths", + "schema": "QUERY_LIMIT", + "panel": "code-paths", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return Code Paths: which application bean methods each route spends its time in, from the BootUI agent's code-paths sensor.", + "description": "Return Code Paths: which application bean methods each route spends its time in, from the BootUI agent's code-paths sensor. Advertised only while that sensor records this run (see get_agent_status). Without query, the routes slowest warm median first, at most limit (10), each with its top methods by self time; with query, the routes whose label, top methods, or any method their requests ran (a route's first request included) contain it, and for a single route its method nodes with the most self time. Times are per warm request; each node's calls list the SQL, REST client, cache, and AI calls recorded while it was the innermost instrumented method on their thread, whose time is part of its self time; calls recorded on another thread carry no stamp and show under no node. An assemblyOnly route's handler ran on an event loop, returned a reactive or asynchronous result, or BootUI could not tell where its work ran, so its tree times assembly, not the work. Node percentiles are approximate, from log2 buckets. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui code paths --query 'GET /orders'", + "queryHelp": "empty (the slowest routes), or a route or method name", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 10, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 10, + "description": "Optional maximum number of items to return; default 10, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_conditions", + "command": "conditions", + "schema": "QUERY_LIMIT", + "panel": "conditions", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Search Spring auto-configuration condition evaluation outcomes by case-insensitive name and return matched, unmatched, and unconditional entries.", + "description": "Search Spring auto-configuration condition evaluation outcomes by case-insensitive name and return matched, unmatched, and unconditional entries. Use to confirm why a bean or auto-configuration was or was not applied, rather than guessing from source. At most limit (25) entries, positive matches then negative ones; query also narrows unconditionalClasses and exclusions, whose counts stay totals.", + "example": "bootui conditions --query DataSource", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_config", + "command": "config", + "schema": "QUERY_LIMIT", + "panel": "config", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Search effective configuration by name or displayed value and return a bounded result.", + "description": "Search effective configuration by name or displayed value and return a bounded result. Name search is relaxed-binding aware: it ignores case and treats `_` and `-` as `.`, so the dotted, kebab-case, and `UPPER_SNAKE_CASE` spellings of one property all find it \u2014 `bootui.mcp.enabled` also finds a value supplied as the environment variable `BOOTUI_MCP_ENABLED`, which is enumerated under that literal name. Values are matched literally, and each row reports the exact name and source its property source published. In `page`, `total` counts every property before filtering while `matched` counts the query hits, so `matched: 0` means this query found nothing, not that the property is absent \u2014 retry with a shorter query before concluding it is unset. Secret-like configuration values are masked; prefer a narrow query. At most limit (25) properties; propertySuggestions, the browser's completion list, is always empty here.", + "example": "bootui config --query server.port", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_crac_report", + "command": "crac report", + "schema": "NONE", + "panel": "crac", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed CRaC readiness report without starting a new resource-lifecycle scan.", + "description": "Return the last completed CRaC readiness report without starting a new resource-lifecycle scan. Use cached findings before deciding whether crac_scan is necessary.", + "example": "bootui crac report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "crac_scan", + "command": "crac scan", + "schema": "NONE", + "panel": "crac", + "action": true, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively assess Spring checkpoint/restore readiness.", + "description": "Actively assess Spring checkpoint/restore readiness. Verify resource-lifecycle findings in an actual CRaC checkpoint and restore test. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence. Read the cached report with get_crac_report without scanning again.", + "example": "bootui crac scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_flyway_migrations", + "command": "db flyway", + "schema": "NONE", + "panel": "flyway", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current Flyway migration history and status without running migrate or clean.", + "description": "Return the current Flyway migration history and status without running migrate or clean. Verify pending and failed migrations against the configured datasource.", + "example": "bootui db flyway", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_liquibase_changesets", + "command": "db liquibase", + "schema": "NONE", + "panel": "liquibase", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current Liquibase change-set history and status without running update.", + "description": "Return the current Liquibase change-set history and status without running update. Verify pending and failed changesets against the configured datasource.", + "example": "bootui db liquibase", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "mysql_read", + "command": "db mysql read", + "schema": "NONE", + "panel": "mysql", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively read the application's MySQL JDBC datasources using bounded, read-only statistics queries.", + "description": "Actively read the application's MySQL JDBC datasources using bounded, read-only statistics queries. Returns sessions and blocking, normalized statement rankings, table/index activity, InnoDB metrics, local replication channels and curated settings. This is an operational observation, not an advisor or health score. Inspect each section's scope, reason and hint: server-wide counters include other clients, and default-schema association is not exhaustive access to that schema. Unknown values are null; large counters are exact decimal strings. Row-cap truncation is distinct from permission, instrumentation and timeout limitations. An empty replication list establishes absence only when its section was successfully read. Never enables monitoring, reads application records or returns raw session/sample SQL. It answers with a summary, not the rows: status, message, readAt, truncated, and each datasource's status, message and sections (id, status, reason, rowCount, truncated). Read the rows, scopes and hints with get_mysql_report, which returns this read without querying again.", + "example": "bootui db mysql read", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_mysql_report", + "command": "db mysql report", + "schema": "NONE", + "panel": "mysql", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed MySQL operational report without contacting the database.", + "description": "Return the last completed MySQL operational report without contacting the database. NOT_READ means no current evidence, not a healthy database; exposure-policy changes invalidate the cached report. Check readAt, per-section scope and limitations before using it. Use mysql_read only when an explicitly approved fresh observation is needed.", + "example": "bootui db mysql report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_database_connection_pools", + "command": "db pools", + "schema": "NONE", + "panel": "database-connection-pools", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return current connection pool configuration and live metrics (active, idle, pending connections) for each configured datasource.", + "description": "Return current connection pool configuration and live metrics (active, idle, pending connections) for each configured datasource. Use to diagnose pool exhaustion or misconfiguration.", + "example": "bootui db pools", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "postgresql_read", + "command": "db postgres read", + "schema": "NONE", + "panel": "postgresql", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively read PostgreSQL's own pg_stat_* and pg_catalog views for the application datasources and record what the server currently reports: the live session snapshot, cache hit and rollback ratios, connection usage, transaction-ID age, the top normalized statements, index and relation activity, autovacuum state, replication and notable settings.", + "description": "Actively read PostgreSQL's own pg_stat_* and pg_catalog views for the application datasources and record what the server currently reports: the live session snapshot, cache hit and rollback ratios, connection usage, transaction-ID age, the top normalized statements, index and relation activity, autovacuum state, replication and notable settings. This is a runtime view, not an advisor: it grades nothing and emits no findings. The read is bounded and read-only. Read every section's `reason` before trusting its rows: a section BootUI read only partly stays `AVAILABLE` and carries a non-null `reason`, so `status` alone does not mean complete, while `SKIPPED` and `FAILED` mark a section it did not read at all. A `hint` is a methodology caveat on rows that were read, not missing evidence. `truncated` means the row cap was reached, and any of these degrades the database and report `status` to `PARTIAL`. The usual cause is a role without pg_monitor membership, which hides other backends from the session list and the statement text and replica details from their sections. Budget exhaustion is reported in `reason`, not as row-cap truncation. An empty replica list proves absence only when `replication.replicasAvailable` is true; otherwise the list was not read. It answers with a summary, not the rows: status, message, readAt, truncated, and each database's status, message and sections (id, status, reason, rowCount, truncated). Read the rows, hints and replication details with get_postgresql_report, which returns this read without querying again.", + "example": "bootui db postgres read", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_postgresql_report", + "command": "db postgres report", + "schema": "NONE", + "panel": "postgresql", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed PostgreSQL runtime view without querying the server again.", + "description": "Return the last completed PostgreSQL runtime view without querying the server again. Before any read has run its `status` is `NOT_READ` and it carries no rows, which means nothing has been looked at rather than that nothing is wrong. Its session snapshot is only as current as that read, so prefer an active postgresql_read when the question is about what the database is doing right now. Check each section's `reason` for missing coverage; an empty replica list proves absence only when `replication.replicasAvailable` is true.", + "example": "bootui db postgres report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_database_advisor_report", + "command": "db report", + "schema": "NONE", + "panel": "database-advisor", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed Database advisor report without querying schema metadata again.", + "description": "Return the last completed Database advisor report without querying schema metadata again. Use this cached evidence before deciding whether an active database_advisor_scan is necessary. sampleViolations are bounded previews (up to 10), not the full violationCount. Use violationDetails.scanId with get_database_advisor_rule_violations to page cached retained details without scanning again. Check truncated for missing details, including retention overflow; a terminal page does not guarantee completeness when truncated. Verify each finding before changing code. A result's violationCount counts active findings: suppressedCount findings the developer dismissed one by one are left out of it, of findingsFound, of severityCounts and of the score.", + "example": "bootui db report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "database_advisor_scan", + "command": "db scan", + "schema": "NONE", + "panel": "database-advisor", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively introspect the physical database schema (tables, columns, keys, indexes) via read-only JDBC metadata, plus PostgreSQL/MySQL/MariaDB catalog checks and Hibernate mapping cross-reference when available.", + "description": "Actively introspect the physical database schema (tables, columns, keys, indexes) via read-only JDBC metadata, plus PostgreSQL/MySQL/MariaDB catalog checks and Hibernate mapping cross-reference when available. The scan is bounded; anything it could not read is reported as a diagnostic rather than as a passing check. Verify findings against the live schema before changing it. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence and violationDetails.scanId. Read the cached report with get_database_advisor_report and page a rule's retained violations with get_database_advisor_rule_violations, without scanning again.", + "example": "bootui db scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_database_advisor_rule_violations", + "command": "db violations", + "schema": "RULE_VIOLATIONS", + "panel": "database-advisor", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read one page of retained violations for the exact rule id from get_database_advisor_report and that cached report's violationDetails.scanId.", + "description": "Read one page of retained violations for the exact rule id from get_database_advisor_report and that cached report's violationDetails.scanId. This never starts a scan. Default offset 0 and limit 100; limit is capped at min(1000, transport max-results). Advance by page.returned while page.hasMore; page.total and page.matched count retained entries, not violationCount. If truncated, retention overflow or unavailable upstream details prevent a complete list. Verify each finding before changing code. A refusal is a tool error whose text says why: an unknown rule (not a rule of this advisor), a rule with no findings in that scan (it passed, was skipped, or failed), or a stale or missing scanId, for which reread the cached report rather than start a new scan. On MCP -32003 byte-budget refusal, retry the same scanId and offset with a smaller limit; a refusal is not an empty or completed page. A non-empty locations list aligns index-for-index with violations (a null entry has no location); an empty list means no violation on the page has one. A page's violationCount is the scan's total; where its suppressed list is non-empty, entries marked true were dismissed by the developer and no longer count in the report.", + "example": "bootui db violations --scan-id --limit 100", + "idHelp": "A rule id and the violationDetails.scanId from 'bootui db report'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "The rule id, from get_database_advisor_report." + }, + "scanId": { + "type": "string", + "minLength": 1, + "description": "The cached report's violationDetails.scanId. Never starts a scan." + }, + "offset": { + "type": "integer", + "minimum": 0, + "default": 0, + "description": "Zero-based offset into the retained violations; advance it by page.returned while page.hasMore." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Page size, default 100, capped at min(1000, bootui.mcp.max-results)." + } + }, + "additionalProperties": false, + "required": [ + "id", + "scanId" + ] + } + }, + { + "name": "get_dev_services", + "command": "dev-services", + "schema": "NONE", + "panel": "dev-services", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current local Dev Services or development-service inventory and masked connection metadata.", + "description": "Return the current local Dev Services or development-service inventory and masked connection metadata. This does not start, stop, restart, or contact a service.", + "example": "bootui dev-services", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "trigger_devtools_livereload", + "command": "devtools livereload", + "schema": "NONE", + "panel": "devtools", + "action": true, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Trigger the existing local Spring Boot DevTools LiveReload notification and return its action result.", + "description": "Trigger the existing local Spring Boot DevTools LiveReload notification and return its action result. This does not restart the application or modify watched files. available=false with unavailableReason means LiveReload is not running here; status no_clients means the command was sent but no browser is connected.", + "example": "bootui devtools livereload", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_devtools_status", + "command": "devtools status", + "schema": "NONE", + "panel": "devtools", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current Spring Boot DevTools restart and LiveReload status.", + "description": "Return the current Spring Boot DevTools restart and LiveReload status. This passive read does not trigger LiveReload, restart the application, or modify watched files.", + "example": "bootui devtools status", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "clear_exceptions", + "command": "exceptions clear", + "schema": "NONE", + "panel": "exceptions", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Clear BootUI's bounded in-memory exception groups and occurrences.", + "description": "Clear BootUI's bounded in-memory exception groups and occurrences. This does not suppress, handle, or change application exceptions. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Here retained counts exception groups, and totalCaptured is null: the panel keeps no lifetime count. Read the entries with get_exceptions. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui exceptions clear", + "annotations": { + "readOnlyHint": false, + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_exceptions", + "command": "exceptions list", + "schema": "NONE", + "panel": "exceptions", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "List recent exception groups, newest first.", + "description": "List recent exception groups, newest first. Use a returned id with get_exception_detail for stack frames, causes, and individual occurrences. With the BootUI agent's caught-exceptions sensor, caughtInCode summarizes exceptions application code caught: a finding was not seen rethrown or logged at WARN or above while the evidence was complete; unknown means incomplete evidence, never swallowed. caughtInCode also reports counts for rows below the finding threshold (insufficient) and rows whose outcomes are unknown, pending, or counted only (partial); these are evidence states, not findings. totalExceptions counts the occurrences in the retained groups, so clear_exceptions resets it. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui exceptions list", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_exception_detail", + "command": "exceptions show", + "schema": "ID", + "panel": "exceptions", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return stack frames, causes, and occurrences for one exact exception-group id obtained from get_exceptions, or an EXCEPTION entry's exceptionGroupId in get_live_activity.", + "description": "Return stack frames, causes, and occurrences for one exact exception-group id obtained from get_exceptions, or an EXCEPTION entry's exceptionGroupId in get_live_activity. An unknown or cleared id is a tool error. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui exceptions show ", + "idHelp": "An exception group id from 'bootui exceptions list' or 'bootui activity'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "get_fault_tolerance", + "command": "fault-tolerance", + "schema": "NONE", + "panel": "fault-tolerance", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the configured Resilience4j and Spring Retry policy inventory with live counters and circuit breaker state, plus a bounded metadata-only event history.", + "description": "Return the configured Resilience4j and Spring Retry policy inventory with live counters and circuit breaker state, plus a bounded metadata-only event history. This read never opens, closes, resets, or otherwise mutates a policy. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui fault-tolerance", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_github_dashboard", + "command": "github", + "schema": "NONE", + "panel": "github", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return local repository identity plus the last cached GitHub dashboard report.", + "description": "Return local repository identity plus the last cached GitHub dashboard report. This passive read never calls GitHub; only the panel's explicit refresh action can use the network.", + "example": "bootui github", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_graalvm_report", + "command": "graalvm report", + "schema": "NONE", + "panel": "graalvm", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed GraalVM readiness report without starting a new classpath or dependency scan.", + "description": "Return the last completed GraalVM readiness report without starting a new classpath or dependency scan. Use cached findings before deciding whether graalvm_scan is necessary.", + "example": "bootui graalvm report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "graalvm_scan", + "command": "graalvm scan", + "schema": "NONE", + "panel": "graalvm", + "action": true, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively assess Spring native-image readiness without the longer dependency metadata scan.", + "description": "Actively assess Spring native-image readiness without the longer dependency metadata scan. Verify reflection and resource findings against the intended native build. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence. Read the cached report with get_graalvm_report without scanning again.", + "example": "bootui graalvm scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_health", + "command": "health", + "schema": "NONE", + "panel": "health", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current aggregated Actuator health tree.", + "description": "Return the current aggregated Actuator health tree. Distinguish unavailable health infrastructure from an unhealthy application.", + "example": "bootui health", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_hibernate_report", + "command": "hibernate report", + "schema": "NONE", + "panel": "hibernate", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed Hibernate advisor report without starting a new mapping scan.", + "description": "Return the last completed Hibernate advisor report without starting a new mapping scan. Use this cached evidence before deciding whether an active hibernate_scan is necessary. sampleViolations are bounded previews (up to 10), not the full violationCount. Use violationDetails.scanId with get_hibernate_rule_violations to page cached retained details without scanning again. Check truncated for missing details, including retention overflow; a terminal page does not guarantee completeness when truncated. Verify each finding before changing code. sampleLocations aligns index-for-index with sampleViolations when non-empty (a null entry has no location): className, memberName, kind, sourceFile, line, sourcePath and precision (LINE, MEMBER or CLASS). Open sourcePath at line to go straight to the code; violationDetails.locationNotes says why a path is missing. A result's violationCount counts active findings: suppressedCount findings the developer dismissed one by one are left out of it, of findingsFound, of severityCounts and of the score. When scan.status is PARTIAL, read diagnostics (source rule id or discovery, unit, level, message) for rules and units that failed or lacked evidence, and a result's coverageNote for units whose findings come from a partial evaluation; INFO diagnostics are advisor limits by design. Diagnostics are capped at 200: when capped, a final entry with source diagnostics states how many were omitted, so a missing unit entry does not prove complete coverage.", + "example": "bootui hibernate report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "hibernate_scan", + "command": "hibernate scan", + "schema": "NONE", + "panel": "hibernate", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively inspect JPA/Hibernate mappings and persistence configuration for correctness and performance risks.", + "description": "Actively inspect JPA/Hibernate mappings and persistence configuration for correctness and performance risks. Verify findings against actual query paths and database behavior. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence and violationDetails.scanId. Read the cached report with get_hibernate_report and page a rule's retained violations with get_hibernate_rule_violations, without scanning again.", + "example": "bootui hibernate scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_hibernate_statistics", + "command": "hibernate statistics", + "schema": "NONE", + "panel": "hibernate-statistics", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the live Hibernate ORM statistics of the application's persistence unit: sessions, transactions, entity and collection loads, fetches, and writes, query executions with the slowest query, and query and second-level cache hits, misses, and puts per region.", + "description": "Return the live Hibernate ORM statistics of the application's persistence unit: sessions, transactions, entity and collection loads, fetches, and writes, query executions with the slowest query, and query and second-level cache hits, misses, and puts per region. Counters are cumulative since startup or since statistics were enabled. available=false with unavailableReason when no SessionFactory is found or statistics are off; this read never enables them, and enableAvailable=true means the user can enable them for this run from the Hibernate Statistics panel.", + "example": "bootui hibernate statistics", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_hibernate_rule_violations", + "command": "hibernate violations", + "schema": "RULE_VIOLATIONS", + "panel": "hibernate", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read one page of retained violations for the exact rule id from get_hibernate_report and that cached report's violationDetails.scanId.", + "description": "Read one page of retained violations for the exact rule id from get_hibernate_report and that cached report's violationDetails.scanId. This never starts a scan. Default offset 0 and limit 100; limit is capped at min(1000, transport max-results). Advance by page.returned while page.hasMore; page.total and page.matched count retained entries, not violationCount. If truncated, retention overflow or unavailable upstream details prevent a complete list. Verify each finding before changing code. A refusal is a tool error whose text says why: an unknown rule (not a rule of this advisor), a rule with no findings in that scan (it passed, was skipped, or failed), or a stale or missing scanId, for which reread the cached report rather than start a new scan. On MCP -32003 byte-budget refusal, retry the same scanId and offset with a smaller limit; a refusal is not an empty or completed page. A non-empty locations list aligns index-for-index with violations (a null entry has no location); an empty list means no violation on the page has one. A page's violationCount is the scan's total; where its suppressed list is non-empty, entries marked true were dismissed by the developer and no longer count in the report.", + "example": "bootui hibernate violations --scan-id --limit 100", + "idHelp": "A rule id and the violationDetails.scanId from 'bootui hibernate report'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "The rule id, from get_hibernate_report." + }, + "scanId": { + "type": "string", + "minLength": 1, + "description": "The cached report's violationDetails.scanId. Never starts a scan." + }, + "offset": { + "type": "integer", + "minimum": 0, + "default": 0, + "description": "Zero-based offset into the retained violations; advance it by page.returned while page.hasMore." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Page size, default 100, capped at min(1000, bootui.mcp.max-results)." + } + }, + "additionalProperties": false, + "required": [ + "id", + "scanId" + ] + } + }, + { + "name": "get_http_exchanges", + "command": "http exchanges", + "schema": "LIMIT", + "panel": "http-exchanges", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return a bounded, newest-first snapshot of application HTTP request/response metadata.", + "description": "Return a bounded, newest-first snapshot of application HTTP request/response metadata. Correlate paths, statuses, and timings with live activity and traces. The retention object reports capacity and retained, reserved, and evicted counts: 5xx and slow exchanges are kept longer, so the window is not complete. At most limit (25) exchanges; page.hasMore means more were retained. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui http exchanges --limit 20", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_http_routes", + "command": "http routes", + "schema": "LIMIT", + "panel": "http-exchanges", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return route performance rankings over the retained HTTP exchanges: per method and route template, request and status-class counts, average, p50, p95, p99 and maximum duration, and share of request time, plus the evidence window.", + "description": "Return route performance rankings over the retained HTTP exchanges: per method and route template, request and status-class counts, average, p50, p95, p99 and maximum duration, and share of request time, plus the evidence window. limit is the number of routes per ranking criterion. Figures cover the retained window only, not service-level metrics. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui http routes --limit 5", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Optional number of routes each ranking criterion contributes; default 100 (the server's limit), capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_http_sessions", + "command": "http sessions", + "schema": "NONE", + "panel": "http-sessions", + "action": false, + "stacks": [ + "SPRING_MVC" + ], + "summary": "Return the bounded active embedded-Tomcat HTTP-session inventory without creating, clearing, or invalidating a session.", + "description": "Return the bounded active embedded-Tomcat HTTP-session inventory without creating, clearing, or invalidating a session. Attribute values remain masked by the panel contract.", + "example": "bootui http sessions", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_runtime_run_comparison", + "command": "insights compare", + "schema": "OPTIONAL_ID", + "panel": "runtime-insights", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Compare this run with a kept one: id is optional, previous or a run id.", + "description": "Compare this run with a kept one: id is optional, previous or a run id. Omitted or previous selects the newest kept run including runs without HTTP traffic; runs lists the others. Comparability first, then codeChanges (with the BootUI agent: changed and added methods, executed or not, and the routes that ran them), then sideEffects (with the agent: hosts, file patterns, processes, and variable names a route, job, or startup uses new or no longer, per sensor COMPARED only when it recorded both runs whole, else NOT_COMPARED with the reason), then at most 8 behavior rows and edges; latency is left out. INSUFFICIENT and NOT_COMPARABLE never mean no change. Call after tests to verify a change. next names the follow-up calls. A run id no kept run has is a tool error naming previous and the kept run ids. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui insights compare previous", + "idHelp": "Previous (the default), or a run id from the runs it answers with.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Optional identifier; omitted selects the tool's documented default." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_runtime_impact", + "command": "insights impact", + "schema": "ID", + "panel": "runtime-insights", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "For a route, bean, class, method (Class#method, with parameter types for one overload, or a bare method name), repository, table, cache, host, or event type id: the routes this run exercised through it, those it did not, and those sharing a resource with it, at most 8 each with totals, a limitation naming the rest, or AMBIGUOUS with candidates.", + "description": "For a route, bean, class, method (Class#method, with parameter types for one overload, or a bare method name), repository, table, cache, host, or event type id: the routes this run exercised through it, those it did not, and those sharing a resource with it, at most 8 each with totals, a limitation naming the rest, or AMBIGUOUS with candidates. With the BootUI agent, a method's observed routes are those whose requests executed it; notObserved routes ran without showing it, which proves nothing. A checklist of what was and was not exercised, never a verdict that a change is safe. For AMBIGUOUS, NOT_FOUND, or UNAVAILABLE, next names the call that resolves it. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui insights impact 'OrderService#total'", + "idHelp": "A route, bean, class, Class#method or a bare method name, repository, table, cache, host, or event type.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "get_runtime_insights", + "command": "insights list", + "schema": "QUERY_LIMIT", + "panel": "runtime-insights", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return what this run did that no single panel shows, compacted: coverage first, the checks that did not fully run, then at most limit (8) observations with an id, status, one sentence, counts, an exemplar request id for get_request_profile, a verify line, and whether the default list shows it.", + "description": "Return what this run did that no single panel shows, compacted: coverage first, the checks that did not fully run, then at most limit (8) observations with an id, status, one sentence, counts, an exemplar request id for get_request_profile, a verify line, and whether the default list shows it. query is empty, all, new, security, diff, latency, an observation kind, or a route, table, bean, or class; past the limit, listed rows come first and every kind is listed once before any kind twice. The insufficient and partial counts cover every observation matching this query, including rows omitted by the limit. requests counts completed HTTP exchanges only: zero is not proof nothing ran when an observation names a request or execution, a non-HTTP limitation, or eviction says otherwise. A run-level observation with no exemplar does not. The empty query is the default list, which leaves several kinds out, for example time breakdowns, exception hotspots, repeated SELECTs, and garbage collection and heap rows; a limitation names each kind it left out with its count, and all, a kind, or a route lists them. An empty list means not exercised only when limitations say so. INSUFFICIENT, PARTIAL, NOT_APPLICABLE, and UNAVAILABLE are not successes. next names at most three follow-up calls, each a tool with its arguments and the equivalent bootui command. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui insights list --query security", + "queryHelp": "empty (the default list), all (every observation), new, security, diff, latency, an observation kind such as repeated-selects, or a route, table, bean, or class", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 8, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 8, + "description": "Optional maximum number of items to return; default 8, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_runtime_insight", + "command": "insights show", + "schema": "ID", + "panel": "runtime-insights", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return one Runtime Insights observation by its id from get_runtime_insights, with every check to verify and at most 20 evidence rows.", + "description": "Return one Runtime Insights observation by its id from get_runtime_insights, with every check to verify and at most 20 evidence rows. Drill down with get_request_profile on its exemplar request. An unknown or evicted id is a tool error naming get_runtime_insights, which lists the current ids; available=false with a reason means Runtime Insights is unavailable. The observation status is explicit: insufficient evidence and partial source coverage are not a clean result. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui insights show ", + "idHelp": "An observation id from 'bootui insights list'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "get_jms_activity", + "command": "jms", + "schema": "NONE", + "panel": "jms", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the bounded local JMS activity snapshot captured from application templates and listeners.", + "description": "Return the bounded local JMS activity snapshot captured from application templates and listeners. This does not send, receive, clear, or contact a broker. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui jms", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_jvm_tuning", + "command": "jvm tuning", + "schema": "NONE", + "panel": "jvm-tuning", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current JVM sizing facts and generated tuning recommendations using detected defaults: the JVM's arguments, the memory calculation, suggested options, and the Kubernetes recommendation; per-pool usage comes from get_live_memory.", + "description": "Return the current JVM sizing facts and generated tuning recommendations using detected defaults: the JVM's arguments, the memory calculation, suggested options, and the Kubernetes recommendation; per-pool usage comes from get_live_memory. This is a passive calculation and does not change JVM or container settings.", + "example": "bootui jvm tuning", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_kafka_activity", + "command": "kafka", + "schema": "NONE", + "panel": "kafka", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the bounded local Kafka activity snapshot captured from application producers and consumers.", + "description": "Return the bounded local Kafka activity snapshot captured from application producers and consumers. This does not publish, consume, clear, or contact a broker. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui kafka", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_loggers", + "command": "loggers", + "schema": "QUERY_LIMIT", + "panel": "loggers", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Search configured loggers by case-insensitive name and return their configured and effective levels, bounded by limit.", + "description": "Search configured loggers by case-insensitive name and return their configured and effective levels, bounded by limit. Use to confirm actual logging levels before or after a code or configuration change.", + "example": "bootui loggers --query org.hibernate.SQL", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Optional maximum number of items to return; default 100 (the server's limit), capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_log_tail", + "command": "logs tail", + "schema": "QUERY_LIMIT", + "panel": "log-tail", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the latest buffered application log snapshot.", + "description": "Return the latest buffered application log snapshot. Messages follow bootui.expose-values: secret-like assignments are masked by default and messages are omitted under METADATA_ONLY, but other sensitive text may remain; use them only in the local diagnostic context. At most limit (50) newest lines matching query (level, logger, thread, or message); page.hasMore means more lines matched. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui logs tail --query WARN", + "queryHelp": "a level, logger, thread, or text in the message", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 50, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 50, + "description": "Optional maximum number of items to return; default 50, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "disable_low_footprint", + "command": "low-footprint disable", + "schema": "NONE", + "panel": "live-memory", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Disable low-footprint mode and release its recording hold.", + "description": "Disable low-footprint mode and release its recording hold. Cleared data cannot be recovered; individually paused recorders stay paused. Ask for approval first. Idempotent. Returns a compact acknowledgement with state and warnings; get_low_footprint lists component outcomes.", + "example": "bootui low-footprint disable", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "enable_low_footprint", + "command": "low-footprint enable", + "schema": "NONE", + "panel": "live-memory", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Enable low-footprint mode: pause BootUI recording, irreversibly discard buffered diagnostics, and request GC (a hint the JVM may ignore).", + "description": "Enable low-footprint mode: pause BootUI recording, irreversibly discard buffered diagnostics, and request GC (a hint the JVM may ignore). Ask for approval first. Idempotent: enabling again does not clear or request GC again. Returns a compact acknowledgement with offload totals and failures; get_low_footprint lists component outcomes. The Java agent keeps running.", + "example": "bootui low-footprint enable", + "annotations": { + "readOnlyHint": false, + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_low_footprint", + "command": "low-footprint status", + "schema": "NONE", + "panel": "live-memory", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read low-footprint mode without changing recording: active, sinceEpochMillis, agentAttached, components with suspension outcomes, and warnings.", + "description": "Read low-footprint mode without changing recording: active, sinceEpochMillis, agentAttached, components with suspension outcomes, and warnings. The Java agent is not paused.", + "example": "bootui low-footprint status", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_emails", + "command": "mail", + "schema": "NONE", + "panel": "email", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the bounded local email-capture inventory with content governed by BootUI exposure policy.", + "description": "Return the bounded local email-capture inventory with content governed by BootUI exposure policy. This does not send, download, or delete any message. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui mail", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_mappings", + "command": "mappings", + "schema": "QUERY_LIMIT", + "panel": "mappings", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Search request routes and handlers and return a bounded result, including the application's effective `basePath` prefix when configured.", + "description": "Search request routes and handlers and return a bounded result, including the application's effective `basePath` prefix when configured. Use a path, HTTP concept, or handler name as the query when locating an endpoint.", + "example": "bootui mappings --query /api", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Optional maximum number of items to return; default 100 (the server's limit), capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "analyze_heap_dump", + "command": "memory heap analyze", + "schema": "NONE", + "panel": "heap-dump", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Analyze the live JVM heap with a value-free class histogram (HotSpot GC.class_histogram, which requests a garbage collection) and return the Heap Dump report: top classes by instance count and shallow size, never object values.", + "description": "Analyze the live JVM heap with a value-free class histogram (HotSpot GC.class_histogram, which requests a garbage collection) and return the Heap Dump report: top classes by instance count and shallow size, never object values. It reads the running heap, not a dump file, so it works with no captured dump (dumpCount 0) and reports capture.status ANALYZED. It never writes, captures, downloads, or deletes a heap dump.", + "example": "bootui memory heap analyze", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_heap_dump_report", + "command": "memory heap report", + "schema": "NONE", + "panel": "heap-dump", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return passive heap-dump status, file metadata, and any already-cached analysis.", + "description": "Return passive heap-dump status, file metadata, and any already-cached analysis. This does not capture, analyze, download, or delete a heap dump.", + "example": "bootui memory heap report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_live_memory", + "command": "memory live", + "schema": "NONE", + "panel": "live-memory", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return a passive snapshot of current JVM heap, non-heap, and per-memory-pool usage without requesting GC or a class histogram.", + "description": "Return a passive snapshot of current JVM heap, non-heap, and per-memory-pool usage without requesting GC or a class histogram. Sizing recommendations come from get_jvm_tuning; garbage collection and class-loading meters from get_metrics; threads from get_threads.", + "example": "bootui memory live", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_memory_report", + "command": "memory report", + "schema": "NONE", + "panel": "memory", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed Memory advisor report without triggering a class histogram or full GC.", + "description": "Return the last completed Memory advisor report without triggering a class histogram or full GC. Use this cached evidence before deciding whether an active memory_scan is necessary. sampleViolations are bounded previews (up to 10), not the full violationCount. Use violationDetails.scanId with get_memory_rule_violations to page cached retained details without scanning again. Check truncated for missing details, including retention overflow; a terminal page does not guarantee completeness when truncated. Verify each finding before changing code.", + "example": "bootui memory report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "memory_scan", + "command": "memory scan", + "schema": "NONE", + "panel": "memory", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively analyze JVM memory and return prioritized findings.", + "description": "Actively analyze JVM memory and return prioritized findings. Uses bootui.memory.include-histogram (default true): the histogram requests full GC and may pause the JVM; false skips histogram-dependent checks without requesting GC. scan.includeHistogram records the selected mode. Run only when memory evidence is needed. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence and violationDetails.scanId. Read the cached report with get_memory_report and page a rule's retained violations with get_memory_rule_violations, without scanning again.", + "example": "bootui memory scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_memory_rule_violations", + "command": "memory violations", + "schema": "RULE_VIOLATIONS", + "panel": "memory", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read one page of retained violations for the exact rule id from get_memory_report and that cached report's violationDetails.scanId.", + "description": "Read one page of retained violations for the exact rule id from get_memory_report and that cached report's violationDetails.scanId. This never starts a scan. Default offset 0 and limit 100; limit is capped at min(1000, transport max-results). Advance by page.returned while page.hasMore; page.total and page.matched count retained entries, not violationCount. If truncated, retention overflow or unavailable upstream details prevent a complete list. Verify each finding before changing code. A refusal is a tool error whose text says why: an unknown rule (not a rule of this advisor), a rule with no findings in that scan (it passed, was skipped, or failed), or a stale or missing scanId, for which reread the cached report rather than start a new scan. On MCP -32003 byte-budget refusal, retry the same scanId and offset with a smaller limit; a refusal is not an empty or completed page. A non-empty locations list aligns index-for-index with violations (a null entry has no location); an empty list means no violation on the page has one. A page's violationCount is the scan's total; where its suppressed list is non-empty, entries marked true were dismissed by the developer and no longer count in the report.", + "example": "bootui memory violations --scan-id --limit 100", + "idHelp": "A rule id and the violationDetails.scanId from 'bootui memory report'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "The rule id, from get_memory_report." + }, + "scanId": { + "type": "string", + "minLength": 1, + "description": "The cached report's violationDetails.scanId. Never starts a scan." + }, + "offset": { + "type": "integer", + "minimum": 0, + "default": 0, + "description": "Zero-based offset into the retained violations; advance it by page.returned while page.hasMore." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Page size, default 100, capped at min(1000, bootui.mcp.max-results)." + } + }, + "additionalProperties": false, + "required": [ + "id", + "scanId" + ] + } + }, + { + "name": "get_metrics", + "command": "metrics", + "schema": "QUERY_LIMIT", + "panel": "metrics", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Search the current application metrics inventory and return a bounded page of local meter values.", + "description": "Search the current application metrics inventory and return a bounded page of local meter values. Use a narrow metric-name query when diagnosing one runtime signal. At most limit (25) meters; page.hasMore means more matched.", + "example": "bootui metrics --query jvm.memory", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_overview", + "command": "overview", + "schema": "NONE", + "panel": "overview", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return stable application identity and runtime context, including versions, active profiles, and BootUI status.", + "description": "Return stable application identity and runtime context, including versions, active profiles, and BootUI status. Use this before interpreting other results. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui overview", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_pentest_report", + "command": "pentest report", + "schema": "NONE", + "panel": "pentesting", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed Pentesting advisor report without sending any HTTP probes.", + "description": "Return the last completed Pentesting advisor report without sending any HTTP probes. Use this cached evidence before deciding whether an active pentest_scan is necessary.", + "example": "bootui pentest report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "pentest_scan", + "command": "pentest scan", + "schema": "NONE", + "panel": "pentesting", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively send bounded synthetic probes to this application's loopback endpoint and return security findings.", + "description": "Actively send bounded synthetic probes to this application's loopback endpoint and return security findings. Run only with permission and verify findings before remediation. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence. Read the cached report with get_pentest_report without scanning again.", + "example": "bootui pentest scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_method_probe", + "command": "probe show", + "schema": "ID", + "panel": "code-paths", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return a method probe by the id start_method_probe returned: its state (starting, active, ending, ended, failed), why it ended or failed, and each recorded invocation's duration, thread kind, request id, outcome or exception type, and calling frame.", + "description": "Return a method probe by the id start_method_probe returned: its state (starting, active, ending, ended, failed), why it ended or failed, and each recorded invocation's duration, thread kind, request id, outcome or exception type, and calling frame. Metadata only, never argument or return values. Poll it until active before running the code: invocations at 0 is evidence the path never reached the method only when the probe was active before the code ran and is still active, or the code finished before its endsAt and it did not end early; a probe that never became active, failed, or ended before the code finished is inconclusive. An active probe waitingForClass has not seen its class load in this run yet, and an async method's durations time the assembly of its result only. An unknown or expired probe id is a tool error.", + "example": "bootui probe show ", + "idHelp": "A probe id from 'bootui probe start'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "start_method_probe", + "command": "probe start", + "schema": "ID", + "panel": "code-paths", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Start a method probe: an action that retransforms one application method of the running application to record its next 20 invocations, for at most 60 seconds (five probes at once), then removes itself; it ends with the run.", + "description": "Start a method probe: an action that retransforms one application method of the running application to record its next 20 invocations, for at most 60 seconds (five probes at once), then removes itself; it ends with the run. Ask the user for separate approval before starting one, even when other tools were approved. id is the method, binary.Class#name, with its JVM descriptor for an overloaded one, as Code Paths, Code Inventory, and get_code_paths name it (com.example.PriceService#quote(I)J); it must be a method the agent instrumented, in the application's packages. Refused while the Code Paths panel or BootUI is read-only, without the BootUI agent, or when five probes run. Returns the probe, starting: retransformation happens afterwards, so call get_method_probe with its id until it is active before running the code, run the code before its endsAt, then call it again. Metadata only, in every exposure mode: durations, thread kind, request id, outcome, exception type, and calling frame, never argument or return values. Refused while low-footprint mode is active; call disable_low_footprint first with approval.", + "example": "bootui probe start 'com.example.OrderService#total'", + "idHelp": "An application method (binary.Class#name) from 'bootui code paths'.", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "get_profile_diff", + "command": "profile diff", + "schema": "NONE", + "panel": "profile-diff", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current active-profile configuration comparison using masked local configuration data.", + "description": "Return the current active-profile configuration comparison using masked local configuration data. Use it to identify profile-specific differences without changing profiles.", + "example": "bootui profile diff", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_rabbitmq_activity", + "command": "rabbitmq", + "schema": "NONE", + "panel": "rabbitmq", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the bounded local RabbitMQ activity snapshot captured from application publishers and listeners.", + "description": "Return the bounded local RabbitMQ activity snapshot captured from application publishers and listeners. This does not publish, consume, clear, or contact a broker. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui rabbitmq", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_spring_data_repositories", + "command": "repositories", + "schema": "NONE", + "panel": "data", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return available Spring Data metadata from already initialized repository factories.", + "description": "Return available Spring Data metadata from already initialized repository factories. An empty list does not rule out lazy repositories. This read does not initialize factories, invoke repository methods, or execute database queries.", + "example": "bootui repositories", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_request_profile", + "command": "request-profile", + "schema": "ID", + "panel": "activity", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Open a profileable request or scheduled/message execution id from get_live_activity or a get_runtime_insights exemplar.", + "description": "Open a profileable request or scheduled/message execution id from get_live_activity or a get_runtime_insights exemplar. Returns source=journal with the recorded timeline, route or execution label, authorizations, resources and touched metadata when retained, plus HTTP-exchange details when available; otherwise source=buffers with the HTTP-exchange profile (SQL N+1 groups, exceptionGroupId, and correlation tiers). An id neither retains is a tool error; available=false with source=none means the journal is off or the id cannot be profiled, and says why. Journal events follow panel visibility and exposure policy; do not infer absent work from a missing event. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui request-profile ", + "idHelp": "A profileable request or execution id (an entry id or an observation's exemplarRequestId) from 'bootui activity' or 'bootui insights list'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "get_rest_api_report", + "command": "rest-api report", + "schema": "NONE", + "panel": "rest-api", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed REST API advisor report without starting a new endpoint scan.", + "description": "Return the last completed REST API advisor report without starting a new endpoint scan. Use this cached evidence before deciding whether an active rest_api_scan is necessary. sampleViolations are bounded previews (up to 10), not the full violationCount. Use violationDetails.scanId with get_rest_api_rule_violations to page cached retained details without scanning again. Check truncated for missing details, including retention overflow; a terminal page does not guarantee completeness when truncated. Verify each finding before changing code. sampleLocations aligns index-for-index with sampleViolations when non-empty (a null entry has no location): className, memberName, kind, sourceFile, line, sourcePath and precision (LINE, MEMBER or CLASS). Open sourcePath at line to go straight to the code; violationDetails.locationNotes says why a path is missing.", + "example": "bootui rest-api report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "rest_api_scan", + "command": "rest-api scan", + "schema": "NONE", + "panel": "rest-api", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively inspect Spring REST controllers and API design for correctness and maintainability risks.", + "description": "Actively inspect Spring REST controllers and API design for correctness and maintainability risks. Verify recommendations against the public API contract. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence and violationDetails.scanId. Read the cached report with get_rest_api_report and page a rule's retained violations with get_rest_api_rule_violations, without scanning again.", + "example": "bootui rest-api scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_rest_api_rule_violations", + "command": "rest-api violations", + "schema": "RULE_VIOLATIONS", + "panel": "rest-api", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read one page of retained violations for the exact rule id from get_rest_api_report and that cached report's violationDetails.scanId.", + "description": "Read one page of retained violations for the exact rule id from get_rest_api_report and that cached report's violationDetails.scanId. This never starts a scan. Default offset 0 and limit 100; limit is capped at min(1000, transport max-results). Advance by page.returned while page.hasMore; page.total and page.matched count retained entries, not violationCount. If truncated, retention overflow or unavailable upstream details prevent a complete list. Verify each finding before changing code. A refusal is a tool error whose text says why: an unknown rule (not a rule of this advisor), a rule with no findings in that scan (it passed, was skipped, or failed), or a stale or missing scanId, for which reread the cached report rather than start a new scan. On MCP -32003 byte-budget refusal, retry the same scanId and offset with a smaller limit; a refusal is not an empty or completed page. A non-empty locations list aligns index-for-index with violations (a null entry has no location); an empty list means no violation on the page has one. A page's violationCount is the scan's total; where its suppressed list is non-empty, entries marked true were dismissed by the developer and no longer count in the report.", + "example": "bootui rest-api violations --scan-id --limit 100", + "idHelp": "A rule id and the violationDetails.scanId from 'bootui rest-api report'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "The rule id, from get_rest_api_report." + }, + "scanId": { + "type": "string", + "minLength": 1, + "description": "The cached report's violationDetails.scanId. Never starts a scan." + }, + "offset": { + "type": "integer", + "minimum": 0, + "default": 0, + "description": "Zero-based offset into the retained violations; advance it by page.returned while page.hasMore." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Page size, default 100, capped at min(1000, bootui.mcp.max-results)." + } + }, + "additionalProperties": false, + "required": [ + "id", + "scanId" + ] + } + }, + { + "name": "clear_rest_client_traces", + "command": "rest-client clear", + "schema": "NONE", + "panel": "rest-client-trace", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Clear the bounded in-memory REST-client trace buffer.", + "description": "Clear the bounded in-memory REST-client trace buffer. This does not send an HTTP request or change recording state. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_rest_client_traces. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui rest-client clear", + "annotations": { + "readOnlyHint": false, + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "pause_rest_client_recording", + "command": "rest-client pause", + "schema": "NONE", + "panel": "rest-client-trace", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Pause REST-client trace recording.", + "description": "Pause REST-client trace recording. Existing buffered calls remain available until explicitly cleared. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_rest_client_traces. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui rest-client pause", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "resume_rest_client_recording", + "command": "rest-client resume", + "schema": "NONE", + "panel": "rest-client-trace", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Resume REST-client trace recording.", + "description": "Resume REST-client trace recording. This only affects BootUI's bounded local capture and sends no HTTP request. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_rest_client_traces. Refused while low-footprint mode is active; call disable_low_footprint first with approval.", + "example": "bootui rest-client resume", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_rest_client_traces", + "command": "rest-client traces", + "schema": "QUERY_LIMIT", + "panel": "rest-client-trace", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current bounded REST-client trace snapshot with masked headers and bodies according to BootUI exposure policy.", + "description": "Return the current bounded REST-client trace snapshot with masked headers and bodies according to BootUI exposure policy. This does not send requests or change recording state. The retention object reports capacity and retained, reserved, and evicted counts: failed, error, and slow calls are kept longer, so the window is not complete. totalCaptured counts the calls recorded since startup, which clear_rest_client_traces does not reset; stats and entries cover the retained window only. At most limit (20) newest entries matching query (method, URI, host, path, status, client type, error, call site, or request, trace, or execution id); page.hasMore means narrow the query or raise limit. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui rest-client traces --query 503", + "queryHelp": "a method, URI, host, path, status, client type, call site, or error, or a request, trace, or execution id", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 20, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 20, + "description": "Optional maximum number of items to return; default 20, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_scheduled_tasks", + "command": "scheduled", + "schema": "NONE", + "panel": "scheduled", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current scheduled task inventory and recent run history, including timing and outcome.", + "description": "Return the current scheduled task inventory and recent run history, including timing and outcome. Use to confirm a scheduled job actually ran, and when, rather than assuming from source alone. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui scheduled", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_spring_security", + "command": "security config", + "schema": "NONE", + "panel": "spring-security", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current Spring Security filter-chain and authentication configuration report.", + "description": "Return the current Spring Security filter-chain and authentication configuration report. This passive read does not authenticate, authorize, or send a request through a chain.", + "example": "bootui security config", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_security_logs", + "command": "security logs", + "schema": "LIMIT", + "panel": "security-logs", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return a bounded, newest-first snapshot of authentication and authorization audit events.", + "description": "Return a bounded, newest-first snapshot of authentication and authorization audit events. Correlate timestamps and principals with live activity. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui security logs --limit 20", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Optional maximum number of items to return; default 100 (the server's limit), capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_security_report", + "command": "security report", + "schema": "NONE", + "panel": "security", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed Security advisor report without starting a new configuration scan.", + "description": "Return the last completed Security advisor report without starting a new configuration scan. Use this cached evidence before deciding whether an active security_scan is necessary. A static-only report checks local analyzer declarations and does not assess runtime security. sampleViolations are bounded previews (up to 10), not the full violationCount. Use violationDetails.scanId with get_security_rule_violations to page cached retained details without scanning again. Check truncated for missing details, including retention overflow; a terminal page does not guarantee completeness when truncated. Verify each finding before changing code.", + "example": "bootui security report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "security_scan", + "command": "security scan", + "schema": "NONE", + "panel": "security", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "On explicit request, review application security configuration and bounded local declarations for SpotBugs/FindSecBugs, Semgrep, SonarQube, or CodeQL.", + "description": "On explicit request, review application security configuration and bounded local declarations for SpotBugs/FindSecBugs, Semgrep, SonarQube, or CodeQL. BootUI never runs these tools; a static-only result does not assess runtime security. Treat results as review evidence and verify exploitability before proposing a fix. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence and violationDetails.scanId. Read the cached report with get_security_report and page a rule's retained violations with get_security_rule_violations, without scanning again.", + "example": "bootui security scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_security_rule_violations", + "command": "security violations", + "schema": "RULE_VIOLATIONS", + "panel": "security", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read one page of retained violations for the exact rule id from get_security_report and that cached report's violationDetails.scanId.", + "description": "Read one page of retained violations for the exact rule id from get_security_report and that cached report's violationDetails.scanId. This never starts a scan. Default offset 0 and limit 100; limit is capped at min(1000, transport max-results). Advance by page.returned while page.hasMore; page.total and page.matched count retained entries, not violationCount. If truncated, retention overflow or unavailable upstream details prevent a complete list. Verify each finding before changing code. A refusal is a tool error whose text says why: an unknown rule (not a rule of this advisor), a rule with no findings in that scan (it passed, was skipped, or failed), or a stale or missing scanId, for which reread the cached report rather than start a new scan. On MCP -32003 byte-budget refusal, retry the same scanId and offset with a smaller limit; a refusal is not an empty or completed page. A non-empty locations list aligns index-for-index with violations (a null entry has no location); an empty list means no violation on the page has one. A page's violationCount is the scan's total; where its suppressed list is non-empty, entries marked true were dismissed by the developer and no longer count in the report.", + "example": "bootui security violations --scan-id --limit 100", + "idHelp": "A rule id and the violationDetails.scanId from 'bootui security report'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "The rule id, from get_security_report." + }, + "scanId": { + "type": "string", + "minLength": 1, + "description": "The cached report's violationDetails.scanId. Never starts a scan." + }, + "offset": { + "type": "integer", + "minimum": 0, + "default": 0, + "description": "Zero-based offset into the retained violations; advance it by page.returned while page.hasMore." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Page size, default 100, capped at min(1000, bootui.mcp.max-results)." + } + }, + "additionalProperties": false, + "required": [ + "id", + "scanId" + ] + } + }, + { + "name": "get_claude_code_sessions", + "command": "sessions claude", + "schema": "QUERY_LIMIT", + "panel": "claude-code", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the bounded, sanitized Claude Code session inventory parsed from local session files.", + "description": "Return the bounded, sanitized Claude Code session inventory parsed from local session files. Raw prompts, tool arguments, command output, diffs, and network calls are excluded. At most limit (10) sessions matching query (id, model, working directory, status, or last activity). The first read after startup parses the newest session files (bootui.claude-code.max-parsed-sessions) and can take seconds on a large session directory; later reads answer from the cache a directory watcher keeps current.", + "example": "bootui sessions claude --limit 5", + "queryHelp": "a session id, model, working directory, status, or last activity", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 10, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 10, + "description": "Optional maximum number of items to return; default 10, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_copilot_sessions", + "command": "sessions copilot", + "schema": "QUERY_LIMIT", + "panel": "copilot", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the bounded, sanitized Copilot CLI session inventory parsed from local session files.", + "description": "Return the bounded, sanitized Copilot CLI session inventory parsed from local session files. Raw prompts, tool arguments, command output, diffs, and network calls are excluded. At most limit (10) sessions matching query (id, model, working directory, status, or last activity). The first read after startup parses the newest session files (bootui.copilot.max-parsed-sessions) and can take seconds on a large session directory; later reads answer from the cache a directory watcher keeps current.", + "example": "bootui sessions copilot --limit 5", + "queryHelp": "a session id, model, working directory, status, or last activity", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 10, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 10, + "description": "Optional maximum number of items to return; default 10, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_side_effects", + "command": "side-effects", + "schema": "QUERY_LIMIT", + "panel": "side-effects", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return Side Effects: what the application does outside the JVM, from the BootUI agent's side-effect sensors; this version records the processes it starts, its network: connects, datagram sends, and host names the JVM resolved, the blocking calls (sleep, wait, park, a blocking network or file operation) started on an event loop, the sockets, and with files the streams, a request left open or never closed (resources), and, opt-in, the files it opens, deletes, moves, and copies, the environment variables and system properties it reads, the threads it starts and executors it creates (thread-activity), the thread locals a request or a job left set on its pooled thread (thread-locals), and request input reaching a sink (security-sinks, request-input-in-sink) with JDK checks: deserialization without a filter, weak algorithms, and trust managers.", + "description": "Return Side Effects: what the application does outside the JVM, from the BootUI agent's side-effect sensors; this version records the processes it starts, its network: connects, datagram sends, and host names the JVM resolved, the blocking calls (sleep, wait, park, a blocking network or file operation) started on an event loop, the sockets, and with files the streams, a request left open or never closed (resources), and, opt-in, the files it opens, deletes, moves, and copies, the environment variables and system properties it reads, the threads it starts and executors it creates (thread-activity), the thread locals a request or a job left set on its pooled thread (thread-locals), and request input reaching a sink (security-sinks, request-input-in-sink) with JDK checks: deserialization without a filter, weak algorithms, and trust managers. Advertised only while the agent is armed for this run (see get_agent_status). Every sensor first, with its coverage (recording, not-claimed, not-available in this version, ...), without its hooks or, when none of its rows is listed, its fixed limitations unless query names that sensor, then at most limit (20) rows, most frequent first, matching query: a sensor id such as processes, network, files, or blocking, 'not captured' for hidden outbound calls, or part of a route, target, client, or call site. A row is attributed to a request's route, work no request owns, startup, or a thread family, with the call site, the bean method it ran inside, counts, failures, exits or connections, times, and up to three request ids. A process row names the command's file name only, never its arguments or environment; a network row names a host and port, the client recognized from the calling frames, and whether a visible panel (REST Client Trace, SQL Trace, a broker's panel, Email) captured the work, never a byte sent or received; a file row a path pattern (./ for the working directory, $TMPDIR, ~, ids as {n}) with its kind, location, and origin (application, library, class-path, jdk, logging), never contents; an environment row a name, never its value; a blocking row the operation, the event loop's thread family, and how long it blocked, not-applicable on Spring MVC, which runs no event loop; a thread-activity row a thread's family or an executor's class, how many a request started (count / requests), how many were still running when their request ended (leftRunning), and executors shut down (completed) or reclaimed without a shutdown (failed), library and JDK pools by origin, never what a thread holds; a thread-locals row the static field holding a thread local left set (kind left set, inheritable, or with initial value), by how many requests, set during the request with no call site, never its value; a resources row the resource's kind (file input stream, file channel, socket, ...) and its target as the files and network rows show it, by origin (application, or a library the application called), how many were reclaimed by the garbage collector never closed (failed: the leak), still open after their request (leftRunning) and closed after it (completed), both a pool's or a cache's hand-off rather than a leak, never contents; a security-sinks row the SQL text, command and argument index, file path pattern, or outbound URL that a request parameter's value reached unchanged, with that value redacted to {name}, the parameter's name, and a sentence stating the fact (for SQL, inside or outside a literal), a fact to check in the code; or a JDK check: an ObjectInputStream read without a filter with the classes read, a weak MessageDigest or Cipher algorithm asked for by application or library code (origin), or a trust manager, default hostname verifier, or SSL socket factory the application installed, never a value. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui side-effects --query processes --limit 20", + "queryHelp": "a sensor id such as processes, network, files, environment, blocking, thread-activity, thread-locals, or resources, which also lists its hooks, not captured (outbound calls no panel captured), or part of a route, target, client, or call site", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 20, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 20, + "description": "Optional maximum number of items to return; default 20, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_spring_report", + "command": "spring report", + "schema": "NONE", + "panel": "spring", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the last completed Spring advisor report without starting a new application scan.", + "description": "Return the last completed Spring advisor report without starting a new application scan. Use this cached evidence before deciding whether an active spring_scan is necessary. On Quarkus, the same tool runs the Quarkus application advisor (QA-* rules) instead. sampleViolations are bounded previews (up to 10), not the full violationCount. Use violationDetails.scanId with get_spring_rule_violations to page cached retained details without scanning again. Check truncated for missing details, including retention overflow; a terminal page does not guarantee completeness when truncated. Verify each finding before changing code.", + "example": "bootui spring report", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "spring_scan", + "command": "spring scan", + "schema": "NONE", + "panel": "spring", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively inspect Spring configuration and bean usage for correctness and maintainability risks.", + "description": "Actively inspect Spring configuration and bean usage for correctness and maintainability risks. Verify each finding against effective configuration before changing code. On Quarkus, the same tool runs the Quarkus application advisor (QA-* rules) instead. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence and violationDetails.scanId. Read the cached report with get_spring_report and page a rule's retained violations with get_spring_rule_violations, without scanning again.", + "example": "bootui spring scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_spring_rule_violations", + "command": "spring violations", + "schema": "RULE_VIOLATIONS", + "panel": "spring", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read one page of retained violations for the exact rule id from get_spring_report and that cached report's violationDetails.scanId.", + "description": "Read one page of retained violations for the exact rule id from get_spring_report and that cached report's violationDetails.scanId. This never starts a scan. Default offset 0 and limit 100; limit is capped at min(1000, transport max-results). Advance by page.returned while page.hasMore; page.total and page.matched count retained entries, not violationCount. If truncated, retention overflow or unavailable upstream details prevent a complete list. Verify each finding before changing code. A refusal is a tool error whose text says why: an unknown rule (not a rule of this advisor), a rule with no findings in that scan (it passed, was skipped, or failed), or a stale or missing scanId, for which reread the cached report rather than start a new scan. On MCP -32003 byte-budget refusal, retry the same scanId and offset with a smaller limit; a refusal is not an empty or completed page. A non-empty locations list aligns index-for-index with violations (a null entry has no location); an empty list means no violation on the page has one. A page's violationCount is the scan's total; where its suppressed list is non-empty, entries marked true were dismissed by the developer and no longer count in the report. On Quarkus, the same tool runs the Quarkus application advisor (QA-* rules) instead.", + "example": "bootui spring violations --scan-id --limit 100", + "idHelp": "A rule id and the violationDetails.scanId from 'bootui spring report'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "minLength": 1, + "description": "The rule id, from get_spring_report." + }, + "scanId": { + "type": "string", + "minLength": 1, + "description": "The cached report's violationDetails.scanId. Never starts a scan." + }, + "offset": { + "type": "integer", + "minimum": 0, + "default": 0, + "description": "Zero-based offset into the retained violations; advance it by page.returned while page.hasMore." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Page size, default 100, capped at min(1000, bootui.mcp.max-results)." + } + }, + "additionalProperties": false, + "required": [ + "id", + "scanId" + ] + } + }, + { + "name": "clear_sql_traces", + "command": "sql clear", + "schema": "NONE", + "panel": "sql-trace", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Clear the bounded in-memory SQL trace buffer.", + "description": "Clear the bounded in-memory SQL trace buffer. This does not execute SQL or change whether trace recording is enabled. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_sql_traces. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui sql clear", + "annotations": { + "readOnlyHint": false, + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "pause_sql_trace_recording", + "command": "sql pause", + "schema": "NONE", + "panel": "sql-trace", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Pause SQL trace recording.", + "description": "Pause SQL trace recording. Existing buffered traces remain available until explicitly cleared. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_sql_traces. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui sql pause", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "resume_sql_trace_recording", + "command": "sql resume", + "schema": "NONE", + "panel": "sql-trace", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Resume SQL trace recording.", + "description": "Resume SQL trace recording. This only affects BootUI's bounded local capture and does not execute SQL. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_sql_traces. Refused while low-footprint mode is active; call disable_low_footprint first with approval.", + "example": "bootui sql resume", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_sql_traces", + "command": "sql traces", + "schema": "QUERY_LIMIT", + "panel": "sql-trace", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current bounded SQL trace snapshot with statements and timings.", + "description": "Return the current bounded SQL trace snapshot with statements and timings. Application SQL may contain sensitive values; correlate it locally with request or trace identifiers. The retention object reports capacity and retained, reserved, and evicted counts: failed and slow statements are kept longer, so the window is not complete. At most limit (20) newest entries matching query (SQL text, category, call site, error, or request, trace, or execution id); page.hasMore means narrow the query or raise limit. totalCaptured counts the statements recorded since startup, which clear_sql_traces does not reset; stats and entries cover the retained window only. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui sql traces --query orders", + "queryHelp": "text in the SQL, category, call site, or error, or a request, trace, or execution id", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 20, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 20, + "description": "Optional maximum number of items to return; default 20, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_startup_timeline", + "command": "startup", + "schema": "QUERY_LIMIT", + "panel": "startup", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the captured Spring startup-step timeline after filtering BootUI's own steps.", + "description": "Return the captured Spring startup-step timeline after filtering BootUI's own steps. This passive read does not restart the application or start a new recording. At most limit (25) slowest steps first (a parent includes its children) matching query (a step name or tag value, such as a bean name).", + "example": "bootui startup --limit 10", + "queryHelp": "a step name or tag value, such as a bean name", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "cancel_thread_observation", + "command": "thread-analysis cancel", + "schema": "ID", + "panel": "threads", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Cancel the finite observation id returned by start_thread_observation.", + "description": "Cancel the finite observation id returned by start_thread_observation. A native JVM management call already in flight cannot be interrupted; cancellation prevents its publication and future samples. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui thread-analysis cancel ", + "idHelp": "A finite observation id from 'bootui thread-analysis observe'.", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "capture_thread_snapshot", + "command": "thread-analysis capture", + "schema": "NONE", + "panel": "threads", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Explicitly acquire one bounded, masked platform-thread capture for retained analysis.", + "description": "Explicitly acquire one bounded, masked platform-thread capture for retained analysis. Collection can briefly pause the JVM. No virtual-thread census is implied. Obtain permission for the collection cost. No Java agent is required. Inspect get_thread_analysis using the returned capture id; never infer a complete population or complete lock ownership when quality reports omissions. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui thread-analysis capture", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "clear_thread_snapshots", + "command": "thread-analysis clear", + "schema": "NONE", + "panel": "threads", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Clear retained thread evidence.", + "description": "Clear retained thread evidence. An active finite observation can collect its remaining samples; use cancel_thread_observation first to stop it. Cleared samples are reported explicitly. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui thread-analysis clear", + "annotations": { + "readOnlyHint": false, + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_thread_snapshots", + "command": "thread-analysis list", + "schema": "LIMIT", + "panel": "threads", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "List retained thread capture metadata without acquiring JVM stacks.", + "description": "List retained thread capture metadata without acquiring JVM stacks. Captures expire or can be cleared; use capture_thread_snapshot explicitly to collect evidence. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui thread-analysis list --limit 5", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 6, + "inputSchema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "minimum": 1, + "default": 6, + "description": "Optional maximum number of items to return; default 6, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_thread_observation", + "command": "thread-analysis observation", + "schema": "OPTIONAL_ID", + "panel": "threads", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read finite observation status and bounded comparisons without collecting another sample.", + "description": "Read finite observation status and bounded comparisons without collecting another sample. id comes from start_thread_observation; omit it for the latest session. CPU is an adjacent counter delta over a measured interval, not a lifetime total or a wall-clock utilization guess. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui thread-analysis observation ", + "idHelp": "A finite observation id (omit for latest) from 'bootui thread-analysis observe'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Optional identifier; omitted selects the tool's documented default." + } + }, + "additionalProperties": false + } + }, + { + "name": "start_thread_observation", + "command": "thread-analysis observe", + "schema": "NONE", + "panel": "threads", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Explicitly start a finite bounded thread observation using configured sample count and cadence.", + "description": "Explicitly start a finite bounded thread observation using configured sample count and cadence. This schedules JVM stack acquisitions, not continuous monitoring. Obtain permission for the collection cost. Read get_thread_observation with the returned observation id; repeated sampled stacks do not establish continuous inactivity or a busy loop. While running, poll retained status only: live get_threads, snapshots, and downloads share acquisition and can fail a scheduled sample. Busy or missed samples fail without retrying. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui thread-analysis observe", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_thread_analysis", + "command": "thread-analysis show", + "schema": "OPTIONAL_ID", + "panel": "threads", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read retained contention roots, direct/transitive impact, cycles, unresolved waits and exact visible-stack groups.", + "description": "Read retained contention roots, direct/transitive impact, cycles, unresolved waits and exact visible-stack groups. id is a capture id from capture_thread_snapshot or get_thread_snapshots; omit it for the latest retained capture. An expired explicit id never falls back to fresh evidence. Follow rootBlockers[].observationId and blockedObservationIds with get_thread_detail to inspect both the lock owner and its blocked waiters before proposing a source fix. This tool accepts id only; section page.hasMore or truncated ID lists mean incomplete coverage, not absence of other blockers. A cycle is not automatically a native deadlock and repeated visible stacks are not proof of a hang. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui thread-analysis show ", + "idHelp": "A retained capture id (omit for latest) from 'bootui thread-analysis capture' or 'bootui thread-analysis list'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Optional identifier; omitted selects the tool's documented default." + } + }, + "additionalProperties": false + } + }, + { + "name": "get_thread_detail", + "command": "thread-analysis thread", + "schema": "ID", + "panel": "threads", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Read one retained thread's masked stack and lock context using its exact capture-scoped observation id from get_thread_analysis, not a live numeric thread id or finite session id.", + "description": "Read one retained thread's masked stack and lock context using its exact capture-scoped observation id from get_thread_analysis, not a live numeric thread id or finite session id. Inspect thread.stackTrace, lockOwnerId, activity and truncation/ownership flags; locate relevant application frames in source before changing synchronization. No JVM collection occurs and no native lock identity is inferred. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui thread-analysis thread ", + "idHelp": "A root observationId, blockedObservationIds entry, cycle participantId, or unresolved waiterId/ownerId from 'bootui thread-analysis show'.", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Exact identifier of the resource to fetch." + } + }, + "additionalProperties": false, + "required": [ + "id" + ] + } + }, + { + "name": "get_threads", + "command": "threads", + "schema": "QUERY_LIMIT", + "panel": "threads", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Search the current JVM thread snapshot and return a bounded page of thread states and stack summaries.", + "description": "Search the current JVM thread snapshot and return a bounded page of thread states and stack summaries. This does not generate or download the raw thread-dump artifact. At most limit (25) threads; page.hasMore means more matched.", + "example": "bootui threads --query http --limit 10", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 25, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 25, + "description": "Optional maximum number of items to return; default 25, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "clear_traces", + "command": "traces clear", + "schema": "NONE", + "panel": "traces", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Clear BootUI's bounded in-memory trace buffer.", + "description": "Clear BootUI's bounded in-memory trace buffer. This does not contact a telemetry backend or alter application tracing configuration. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Here totalCaptured is null: the panel keeps no lifetime count. Read the entries with get_traces. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui traces clear", + "annotations": { + "readOnlyHint": false, + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_traces", + "command": "traces list", + "schema": "LIMIT", + "panel": "traces", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return a bounded, newest-first snapshot of distributed and local traces captured by BootUI.", + "description": "Return a bounded, newest-first snapshot of distributed and local traces captured by BootUI. Use trace ids to correlate activity, exceptions, SQL, and HTTP exchanges. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui traces list --limit 20", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": { + "limit": { + "type": "integer", + "minimum": 1, + "default": 100, + "description": "Optional maximum number of items to return; default 100 (the server's limit), capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "clear_transactions", + "command": "tx clear", + "schema": "NONE", + "panel": "transactions", + "action": true, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Clear the bounded in-memory Spring transaction trace buffer.", + "description": "Clear the bounded in-memory Spring transaction trace buffer. This does not begin, commit, or roll back an application transaction. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_transactions. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui tx clear", + "annotations": { + "readOnlyHint": false, + "destructiveHint": true, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_transactions", + "command": "tx list", + "schema": "NONE", + "panel": "transactions", + "action": false, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the current bounded transaction-boundary snapshot with outcomes, timings, nesting, and correlated SQL counts.", + "description": "Return the current bounded transaction-boundary snapshot with outcomes, timings, nesting, and correlated SQL counts. propagation describes observed boundaries: NEW (physical begin without a known parent), REQUIRES_NEW (child physical begin), NESTED (savepoint), or UNKNOWN (begin failed or ownership unverified), not declared annotation values. A joining method adds no boundary. Use it to verify which local operations actually ran in a transaction. totalCaptured counts the transactions recorded since startup, which clear_transactions does not reset; stats and entries cover the retained window only. Reactive or JTA capture records physical begin/commit/rollback callbacks, not a complete parent or savepoint hierarchy. SQL and connection counts cover JDBC work on the begin thread only, not R2DBC statements or JDBC work moved to another thread. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui tx list", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "pause_transaction_recording", + "command": "tx pause", + "schema": "NONE", + "panel": "transactions", + "action": true, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Pause Spring transaction-boundary recording.", + "description": "Pause Spring transaction-boundary recording. Existing buffered transactions remain available until explicitly cleared. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_transactions. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui tx pause", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "resume_transaction_recording", + "command": "tx resume", + "schema": "NONE", + "panel": "transactions", + "action": true, + "stacks": [ + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Resume Spring transaction-boundary recording.", + "description": "Resume Spring transaction-boundary recording. This only affects BootUI's bounded local capture. Answers with a compact acknowledgement, not the panel: action, available, unavailableReason, capturing, retained (the entries still held), capacity, and totalCaptured, the entries recorded since startup, which a clear does not reset. Read the entries with get_transactions. Refused while low-footprint mode is active; call disable_low_footprint first with approval.", + "example": "bootui tx resume", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_vulnerabilities_report", + "command": "vulnerabilities report", + "schema": "QUERY_LIMIT", + "panel": "vulnerabilities", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the cached vulnerability report, or the local dependency inventory before the first scan, without contacting OSV.dev or any other network service.", + "description": "Return the cached vulnerability report, or the local dependency inventory before the first scan, without contacting OSV.dev or any other network service. Inspect `scan.status`, `scan.message`, `coverage` and `scan.packagesSkipped` before interpreting absent findings. Partial results retain available evidence; UNKNOWN severity is not zero risk. Coverage describes the inventory provider's accounting, not shaded-library discovery or exploitability. With the BootUI agent, `runtimeReach` says whether a dependency's classes, or a class its advisory names, loaded in this JVM: a prioritization hint that never changes severity, and NOT_LOADED means not loaded yet, not unreachable. At most limit (10) dependencies, vulnerable first, matching query (coordinates, severity, or an advisory id or alias); totals stay whole-report counts and page.matched counts the query hits. Each dependency lists at most 5 advisories, active and most severe first, without details and with at most 3 references and symbols; advisories.omitted and advisories.detailsOmitted count what was left out. Query an exact group:artifact to list all its advisories, or an exact advisory id or alias to read it whole.", + "example": "bootui vulnerabilities report --query CRITICAL", + "queryHelp": "group:artifact coordinates, a severity, or an advisory id or alias such as a CVE; an exact group:artifact lists all its advisories, an exact advisory id or alias returns it whole", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "defaultLimit": 10, + "inputSchema": { + "type": "object", + "properties": { + "query": { + "type": "string", + "description": "Optional case-insensitive filter applied to the results." + }, + "limit": { + "type": "integer", + "minimum": 1, + "default": 10, + "description": "Optional maximum number of items to return; default 10, capped by the bootui.mcp.max-results server limit." + } + }, + "additionalProperties": false + } + }, + { + "name": "vulnerabilities_scan", + "command": "vulnerabilities scan", + "schema": "NONE", + "panel": "vulnerabilities", + "action": true, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Actively query OSV.dev for known vulnerabilities in this application's dependencies and return severity-ranked findings.", + "description": "Actively query OSV.dev for known vulnerabilities in this application's dependencies and return severity-ranked findings. This sends package names/versions to OSV and, when enabled, CVE ids to FIRST for optional EPSS enrichment; run only with approval. Check `scan.status`, `scan.message`, `coverage` and `scan.packagesSkipped`: partial or unknown evidence is not a clean result, and inventory coverage does not prove reachability. Fixed versions are supported affected-interval candidates, not verified installable upgrades. Verify compatibility before changing a dependency. EPSS is the highest available per-CVE probability, not a combined probability or severity; optional enrichment failure retains OSV findings. It answers with a compact summary, not the report: scan, findingsFound, severityCounts, at most 10 topFindings (id, title, severity, count), most severe first, moreFindings counting the findings left out, evidence, plus dependencies, scanningEnabled and coverage. A finding is a vulnerable dependency: its coordinates, its most severe advisory, its highest severity, and its advisory count. Read every advisory with get_vulnerabilities_report without scanning again.", + "example": "bootui vulnerabilities scan", + "annotations": { + "readOnlyHint": false, + "destructiveHint": false, + "idempotentHint": false, + "openWorldHint": true + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + }, + { + "name": "get_websockets", + "command": "websockets", + "schema": "NONE", + "panel": "websockets", + "action": false, + "stacks": [ + "QUARKUS", + "SPRING_MVC", + "SPRING_WEBFLUX" + ], + "summary": "Return the WebSocket endpoints, live sessions, STOMP subscriptions and broker prefixes, and a bounded newest-first activity log of connects, disconnects, and frames, with aggregate counters.", + "description": "Return the WebSocket endpoints, live sessions, STOMP subscriptions and broker prefixes, and a bounded newest-first activity log of connects, disconnects, and frames, with aggregate counters. Metadata only: a frame's size, never its payload. frameCaptureSupported and sessionTrackingSupported say what this stack can observe, with the reason when not, so an empty list is not proof no client connected; the *Truncated flags mark capped lists. This read never opens, closes, or sends on a connection, and does not clear the log. While relevant capture is held, lowFootprint identifies paused or partially paused evidence, not a quiet application; native statistics and Java-agent instrumentation may still run.", + "example": "bootui websockets", + "annotations": { + "readOnlyHint": true, + "destructiveHint": false, + "idempotentHint": true, + "openWorldHint": false + }, + "inputSchema": { + "type": "object", + "properties": {}, + "additionalProperties": false + } + } + ] +} \ No newline at end of file diff --git a/tests/fuzz/test_trust_boundary_fuzz.py b/tests/fuzz/test_trust_boundary_fuzz.py new file mode 100644 index 000000000..d99b07a80 --- /dev/null +++ b/tests/fuzz/test_trust_boundary_fuzz.py @@ -0,0 +1,86 @@ +"""Property tests of the trust-boundary parsers: no input reaches an exception, and an accepted value is stable. + +# derived: BootUI has no property tests; the properties come from the contract that a serialized http(s) origin is +# exactly ``scheme://host[:port]``, not from the parser under test. + +The profile (``tests/conftest.py``) is derandomized: every run tries the same examples. +""" + +from __future__ import annotations + +import string + +from hypothesis import example, given, settings +from hypothesis import strategies as st + +from sharpit.engine.guard import _parse_origin, extract_request_host # pyright: ignore[reportPrivateUsage] +from sharpit.settings import parse_mode + +_SCHEMES = st.sampled_from(["http", "https", "HTTP", "HtTpS", "ftp", "ws", ""]) +_NAME = st.text(alphabet=string.ascii_letters + string.digits + "-._~", max_size=12) +_IPV6 = st.text(alphabet="0123456789abcdefABCDEF:.%", max_size=14).map(lambda text: f"[{text}]") +_PORT = st.one_of(st.just(""), st.text(alphabet=string.digits, max_size=7)) +_NEAR_ORIGIN = st.builds( + lambda scheme, host, colon, port, tail: f"{scheme}://{host}{colon}{port}{tail}", + _SCHEMES, + st.one_of(_NAME, _IPV6), + st.sampled_from(["", ":"]), + _PORT, + st.sampled_from(["", "", "", "/", "/x", "?q", "#f", " ", "\t", "@h"]), +) +_ANY_ORIGIN = st.one_of(st.none(), st.text(max_size=40), _NEAR_ORIGIN) +_EXAMPLES = 500 +_MODE_INPUTS = st.one_of(st.none(), st.booleans(), st.text(), st.integers(), st.binary()) + + +@given(_ANY_ORIGIN) +@example("http://localhost:" + "9" * 5000) +@example("https://[::1]:" + "0" * 5000) +@example("http://" + "a" * 5000 + ":80") +def test_parse_origin_never_raises(value: str | None) -> None: + _parse_origin(value) + + +@given(_NEAR_ORIGIN) +@example("HTTPS://LocalHost") +@example("http://[::1]:80") +@example("http://localhost:65535") +def test_an_accepted_origin_reserialized_parses_to_the_same_tuple(value: str) -> None: + parsed = _parse_origin(value) + if parsed is None: + return + scheme, host, port = parsed + authority = f"[{host}]" if ":" in host else host + + assert _parse_origin(f"{scheme}://{authority}:{port}") == parsed + + +@settings(max_examples=_EXAMPLES, deadline=None) +@given(value=st.one_of(st.text(), st.none())) +def test_extract_request_host_never_raises(value: str | None) -> None: + extract_request_host(value) + + +@settings(max_examples=_EXAMPLES, deadline=None) +@given(value=st.one_of(st.text(), st.none())) +def test_an_accepted_request_host_round_trips(value: str | None) -> None: + """Accepted means the parser returns a non-None host.""" + host = extract_request_host(value) + if host is not None: + authority = f"[{host}]" if ":" in host else host + assert extract_request_host(authority) == host + + +@settings(max_examples=_EXAMPLES, deadline=None) +@given(value=_MODE_INPUTS) +def test_parse_mode_never_raises(value: object) -> None: + parse_mode(value) + + +@settings(max_examples=_EXAMPLES, deadline=None) +@given(value=_MODE_INPUTS) +def test_an_accepted_mode_round_trips(value: object) -> None: + """Accepted means the parser returns one of its three mode strings.""" + mode = parse_mode(value) + if mode is not None: + assert parse_mode(mode) == mode diff --git a/tests/live/conftest.py b/tests/live/conftest.py index fee5c5909..64ea1ff87 100644 --- a/tests/live/conftest.py +++ b/tests/live/conftest.py @@ -21,7 +21,7 @@ from sqlalchemy.engine import make_url HERE = Path(__file__).parent -PASSWORD = "sharpit" # noqa: S105 - a throwaway container +PASSWORD = "sharpit" # a throwaway container DATABASE = "sharpit" BOOT_SECONDS = 120.0 diff --git a/tests/live/oracle.py b/tests/live/oracle.py index d7b0fdf90..bddab14cd 100644 --- a/tests/live/oracle.py +++ b/tests/live/oracle.py @@ -133,9 +133,9 @@ def _routines(engine: sa.Engine) -> list[Any]: try: cursor = raw.cursor() where = "FROM information_schema.routines WHERE routine_schema = DATABASE()" - cursor.execute(f"SELECT routine_definition {where}") # noqa: S608 - two constants + cursor.execute(f"SELECT routine_definition {where}") # two constants bodies = list(cursor.fetchall()) - cursor.execute(f"SELECT routine_name, routine_type {where}") # noqa: S608 - two constants + cursor.execute(f"SELECT routine_name, routine_type {where}") # two constants for name, kind in cursor.fetchall(): quoted = name.replace("`", "``") cursor.execute(f"DROP {kind} `{quoted}`") @@ -202,7 +202,7 @@ def close(self) -> None: def _arm_spans() -> None: """What ``install`` looks for: an SDK imported, and a provider that takes processors. Undone by ``close``.""" trace = ModuleType("opentelemetry.trace") - trace._TRACER_PROVIDER = _Provider() # type: ignore[attr-defined] # noqa: SLF001 + trace._TRACER_PROVIDER = _Provider() # type: ignore[attr-defined] _sdk.setitem(sys.modules, "opentelemetry.trace", trace) _sdk.setitem(sys.modules, "opentelemetry.sdk.trace", ModuleType("opentelemetry.sdk.trace")) diff --git a/tests/masking/a10/test_exceptions.py b/tests/masking/a10/test_exceptions.py index 2111ccef5..47b9dec49 100644 --- a/tests/masking/a10/test_exceptions.py +++ b/tests/masking/a10/test_exceptions.py @@ -78,7 +78,7 @@ def test_exception_store_keeps_ordinary_value_error_cause_and_hides_sqlite_drive with sa.create_engine("sqlite://").connect() as connection: try: connection.exec_driver_sql(f"ATTACH DATABASE '/no/dir/{SECRET}' AS x") - except Exception as db_outer: # noqa: BLE001 + except Exception as db_outer: store.record(db_outer, "test", None, None) groups = {group["message"]: group["id"] for group in store.report()["groups"]} diff --git a/tests/masking/mutant_worker.py b/tests/masking/mutant_worker.py index 3a3abd279..1f40c4e99 100644 --- a/tests/masking/mutant_worker.py +++ b/tests/masking/mutant_worker.py @@ -38,7 +38,7 @@ def _scan_alone(dialect: Dialect, _masker: Masker, statement: str) -> str: def rows_for(surface: str, rows: int, seeds: Sequence[int]) -> list[Row]: """The corpus a surface is read against: its mode's dialect, the same rows in every process.""" - dialect = gates.DIALECTS[gates._mode(surface)] # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + dialect = gates.DIALECTS[gates._mode(surface)] # pyright: ignore[reportPrivateUsage] return [row for seed in seeds for row in sql_corpus.rows(seed, rows, dialect)] @@ -51,7 +51,7 @@ def counts(surface: str, rows: Sequence[Row]) -> dict[str, int]: def main(spec: dict[str, object]) -> dict[str, int]: - import sharpit # noqa: PLC0415 + import sharpit expected = os.path.realpath(os.environ["SHARPIT_MUTANT_SRC"]) assert os.path.realpath(sharpit.__file__).startswith(expected), sharpit.__file__ # the mutated copy, not the repo diff --git a/tests/masking/test_a12_resolver.py b/tests/masking/test_a12_resolver.py index 7f60c5bc6..9a0b4362f 100644 --- a/tests/masking/test_a12_resolver.py +++ b/tests/masking/test_a12_resolver.py @@ -116,7 +116,7 @@ def test_the_unseen_database_limit_is_pinned() -> None: def _stacktrace(masker: Masker, text: str, dialect: Dialect) -> str | None: - return gates._attribute("exception.stacktrace", masker, gates.stacktrace_text(text, SURFACE_SQL), dialect) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + return gates._attribute("exception.stacktrace", masker, gates.stacktrace_text(text, SURFACE_SQL), dialect) # pyright: ignore[reportPrivateUsage] SURFACES: dict[str, gates.Driver] = {**gates.ERROR_DRIVERS, "exception_stacktrace": _stacktrace} diff --git a/tests/masking/test_error_regions.py b/tests/masking/test_error_regions.py index 38cdbab0e..699a1fedf 100644 --- a/tests/masking/test_error_regions.py +++ b/tests/masking/test_error_regions.py @@ -572,7 +572,7 @@ def raised(sql: str, parameters: tuple[str, ...] | None = None, setup: tuple[str connection.exec_driver_sql(statement) try: connection.exec_driver_sql(sql, parameters) if parameters is not None else connection.exec_driver_sql(sql) - except Exception as exc: # noqa: BLE001 + except Exception as exc: return exc raise AssertionError(f"no error: {sql}") diff --git a/tests/masking/test_gates_bite.py b/tests/masking/test_gates_bite.py index 1d8cda506..11e110ae1 100644 --- a/tests/masking/test_gates_bite.py +++ b/tests/masking/test_gates_bite.py @@ -98,7 +98,7 @@ def test_the_regions_gate_passes_an_ideal_error_and_fails_a_blank_one() -> None: ideal = gates.failures_regions(_ideal_error(carrier), BASE_ROWS, carrier) planted = gates.failures_regions(_blank, BASE_ROWS, carrier) assert not ideal, f"{len(ideal)} rows fail an ideal error: the oracle is wrong" - assert len(planted) == sum(gates._closes(row) for row in BASE_ROWS) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + assert len(planted) == sum(gates._closes(row) for row in BASE_ROWS) # pyright: ignore[reportPrivateUsage] # --- mutants --------------------------------------------------------------------------------------------------------- diff --git a/tests/masking/test_live_anchors.py b/tests/masking/test_live_anchors.py index 7eb3bdc84..9f206be6b 100644 --- a/tests/masking/test_live_anchors.py +++ b/tests/masking/test_live_anchors.py @@ -14,8 +14,8 @@ pytest.importorskip("sqlalchemy") -from tests.live import test_server_oracle as live # noqa: E402 -from tests.masking.test_gates_bite import LEXER_MODULE, Mutant # noqa: E402 +from tests.live import test_server_oracle as live +from tests.masking.test_gates_bite import LEXER_MODULE, Mutant PACKAGE = Path(__file__).resolve().parents[2] / "src" / "sharpit" LEXER = Path(*LEXER_MODULE.split(".")[1:]).with_suffix(".py") diff --git a/tests/masking/test_mask_spans.py b/tests/masking/test_mask_spans.py index cad7e34fd..06eb1a670 100644 --- a/tests/masking/test_mask_spans.py +++ b/tests/masking/test_mask_spans.py @@ -231,7 +231,7 @@ def test_metadata_only_reports_nothing() -> None: "https://key@sentry.io/1", "Server=x;Password=y", "https://h/p?token=abc", - *(f"{prefix}{'a' * 20}" for prefix in masking._VENDOR_PREFIXES), # noqa: SLF001 + *(f"{prefix}{'a' * 20}" for prefix in masking._VENDOR_PREFIXES), ], ) def test_the_fast_path_lets_every_secret_shape_through(value: str) -> None: diff --git a/tests/masking/test_masking_scales_linearly.py b/tests/masking/test_masking_scales_linearly.py index b0daad670..3cdca1963 100644 --- a/tests/masking/test_masking_scales_linearly.py +++ b/tests/masking/test_masking_scales_linearly.py @@ -101,8 +101,8 @@ def _repeat(unit: str) -> Callable[[int], str]: def _pair_substitution(text: str) -> str: tracked = masking.Tracked(text) - masking._mask_pairs(masking._TEXT_QUOTED_PAIR, masking._QUOTED_PAIR_MASKED, tracked) # noqa: SLF001 - masking._mask_pairs(masking._TEXT_PAIR, masking._PAIR_MASKED, tracked) # noqa: SLF001 + masking._mask_pairs(masking._TEXT_QUOTED_PAIR, masking._QUOTED_PAIR_MASKED, tracked) + masking._mask_pairs(masking._TEXT_PAIR, masking._PAIR_MASKED, tracked) return tracked.text @@ -134,7 +134,7 @@ def _shown_at(size: int) -> Entry: def _flags_at(size: int) -> Entry: spans = _overlapping(size) - return lambda text: render._hidden_flags(spans, len(text)) # noqa: SLF001 # pyright: ignore[reportPrivateUsage] + return lambda text: render._hidden_flags(spans, len(text)) # pyright: ignore[reportPrivateUsage] _NORMALIZE = partial(normalize, dialect=Dialect.POSTGRESQL) diff --git a/tests/masking/test_scan_reads_raw.py b/tests/masking/test_scan_reads_raw.py index 4352a37e4..e819c39b0 100644 --- a/tests/masking/test_scan_reads_raw.py +++ b/tests/masking/test_scan_reads_raw.py @@ -45,7 +45,7 @@ def _grouping_surfaces() -> dict[str, gates.Surface]: for capture, flag in (("on", True), ("off", False)): masker = Masker(Exposure.MASKED, flag) surfaces[f"{name}_capture_{capture}-{mode}"] = ( - lambda _masker, statement, g=grouping, m=masker, d=dialect: g(d, m, statement) # noqa: B008 + lambda _masker, statement, g=grouping, m=masker, d=dialect: g(d, m, statement) ) return surfaces diff --git a/tests/masking/test_sql_error_surfaces.py b/tests/masking/test_sql_error_surfaces.py index 7d3b05e5f..fb8638bcf 100644 --- a/tests/masking/test_sql_error_surfaces.py +++ b/tests/masking/test_sql_error_surfaces.py @@ -224,7 +224,7 @@ def test_data_panel_warning() -> None: masker=Masker(Exposure.MASKED, True, None), capture=SimpleNamespace(raw_sqlite_seen=True, engine_registry=None), # Task 29: an application on SQLite ) - _assert_scanned(data._masked(ctx, f"Could not read a mapper (RuntimeError: {ERROR})")) # type: ignore[arg-type] # noqa: SLF001 + _assert_scanned(data._masked(ctx, f"Could not read a mapper (RuntimeError: {ERROR})")) # type: ignore[arg-type] # Task 35 council H1, end to end: a failing statement whose comment holds SQLAlchemy's docs-link line, through install() diff --git a/tests/masking/test_statement_surfaces.py b/tests/masking/test_statement_surfaces.py index a1f65207b..fab6d099a 100644 --- a/tests/masking/test_statement_surfaces.py +++ b/tests/masking/test_statement_surfaces.py @@ -123,7 +123,7 @@ def stacktrace_text(text: str, statement: str) -> str: def _attribute(key: str, masker: Masker, value: str, dialect: Dialect) -> str | None: - return _attributes(masker, {key: value}, dialect)[0]["value"] # noqa: SLF001 + return _attributes(masker, {key: value}, dialect)[0]["value"] def _recorded(masker: Masker, sql: str, dialect: Dialect, error: BaseException | None = None) -> dict[str, Any]: @@ -157,7 +157,7 @@ def _recorder_error(carrier: Carrier, dialect: Dialect, masker: Masker, statemen def _orm_statement(_masker: Masker, statement: str, dialect: Dialect) -> str | None: """``sqla/orm.py`` masks with ``report_masker()``, whatever the caller's masker, so the argument goes unused.""" bind = SimpleNamespace(dialect=SimpleNamespace(name=SERVER_NAMES[dialect])) - return _unbounded_read_statement_shape(SimpleNamespace(session=SimpleNamespace(bind=bind)), statement)[0] # noqa: SLF001 + return _unbounded_read_statement_shape(SimpleNamespace(session=SimpleNamespace(bind=bind)), statement)[0] def _test_session_sql(masker: Masker, statement: str, dialect: Dialect) -> str | None: @@ -234,7 +234,7 @@ def _trace_status(masker: Masker, text: str, dialect: Dialect) -> str | None: attributes={"db.system": SERVER_NAMES[dialect]}, events=[], ) - return SpanBuffer(masker, application=lambda: None)._span(span)["statusMessage"] # noqa: SLF001 + return SpanBuffer(masker, application=lambda: None)._span(span)["statusMessage"] def _transaction_error(masker: Masker, text: str, dialect: Dialect) -> str | None: @@ -266,7 +266,7 @@ def _data_warning(masker: Masker, text: str, dialect: Dialect) -> str | None: masker=masker, capture=SimpleNamespace(raw_sqlite_seen=False, engine_registry=_registry(dialect)), ) - return data._masked(ctx, f"Could not read a mapper (RuntimeError: {text})").removesuffix(")") # noqa: SLF001 + return data._masked(ctx, f"Could not read a mapper (RuntimeError: {text})").removesuffix(")") def _health_failure(masker: Masker, text: str, dialect: Dialect) -> str | None: @@ -276,7 +276,7 @@ def _health_failure(masker: Masker, text: str, dialect: Dialect) -> str | None: capture=SimpleNamespace(raw_sqlite_seen=False, engine_registry=_registry(dialect)), ) ) - return HealthService._failure(service, RuntimeError(text)) # noqa: SLF001 + return HealthService._failure(service, RuntimeError(text)) def _probe_error(masker: Masker, text: str, dialect: Dialect) -> str | None: @@ -290,11 +290,11 @@ async def app(_scope: Any, _receive: Any, _send: Any) -> None: def _postgresql_failure(masker: Masker, statement: str) -> str | None: ctx: Any = SimpleNamespace(masker=masker) - return postgresql_sections._describe(ctx, "Indexes", RuntimeError(error_text(statement, PSYCOPG))) # noqa: SLF001 + return postgresql_sections._describe(ctx, "Indexes", RuntimeError(error_text(statement, PSYCOPG))) def _mysql_failure(masker: Masker, statement: str) -> str | None: - return mysql_sections._reason(masker, RuntimeError(error_text(statement, PYMYSQL))) # noqa: SLF001 + return mysql_sections._reason(masker, RuntimeError(error_text(statement, PYMYSQL))) LAST_ERROR_HEAD = "Worker 1 failed executing transaction" diff --git a/tests/parity/properties_status.json b/tests/parity/properties_status.json index 27edcacee..74b685029 100644 --- a/tests/parity/properties_status.json +++ b/tests/parity/properties_status.json @@ -1,5 +1,5 @@ { - "fixture": "tests/fixtures/bootui/2.5.0/properties.json", + "fixture": "tests/fixtures/bootui/2.6.0/properties.json", "panel_map_rule": "bootui.panels is the sole fixture entry for panel configuration; bootui.panels.* keys are map members, not property rows, and are not synthesized from the settings registry.", "properties": [ { @@ -22,6 +22,12 @@ "status": "matched", "difference": null }, + { + "name": "bootui.activity.persistence.application-id", + "status": "missing", + "difference": "No sharpit setting field/parser for activity_persistence_application_id", + "reason": "Task 3.13 adds journal-fed Live Activity and durable history." + }, { "name": "bootui.activity.persistence.buffer-max-entries", "status": "missing", @@ -62,11 +68,41 @@ "status": "missing", "difference": "No sharpit setting field/parser for activity_persistence_flush_interval" }, + { + "name": "bootui.activity.persistence.hot-max-entries", + "status": "missing", + "difference": "No sharpit setting field/parser for activity_persistence_hot_max_entries", + "reason": "Task 3.13 adds journal-fed Live Activity and durable history." + }, { "name": "bootui.activity.persistence.instance-id", "status": "missing", "difference": "No sharpit setting field/parser for activity_persistence_instance_id" }, + { + "name": "bootui.activity.persistence.max-pending-bytes", + "status": "missing", + "difference": "No sharpit setting field/parser for activity_persistence_max_pending_bytes", + "reason": "Task 3.13 adds journal-fed Live Activity and durable history." + }, + { + "name": "bootui.activity.persistence.max-pending-entries", + "status": "missing", + "difference": "No sharpit setting field/parser for activity_persistence_max_pending_entries", + "reason": "Task 3.13 adds journal-fed Live Activity and durable history." + }, + { + "name": "bootui.activity.persistence.namespace-id", + "status": "missing", + "difference": "No sharpit setting field/parser for activity_persistence_namespace_id", + "reason": "Task 3.13 adds journal-fed Live Activity and durable history." + }, + { + "name": "bootui.activity.persistence.reader-archive-cross-namespace", + "status": "missing", + "difference": "No sharpit setting field/parser for activity_persistence_reader_archive_cross_namespace", + "reason": "Task 3.13 adds journal-fed Live Activity and durable history." + }, { "name": "bootui.activity.persistence.retention", "status": "missing", @@ -576,6 +612,12 @@ "status": "matched", "difference": null }, + { + "name": "bootui.memory.include-histogram", + "status": "missing", + "difference": "No sharpit setting field/parser for memory_include_histogram", + "reason": "Task 2.13 records JVM-only memory histogram configuration as n-a." + }, { "name": "bootui.monitoring.exclude-self", "status": "missing", diff --git a/tests/parity/routes_status.json b/tests/parity/routes_status.json index 9fa25069b..ae75c67a3 100644 --- a/tests/parity/routes_status.json +++ b/tests/parity/routes_status.json @@ -1,5 +1,5 @@ { - "fixture": "tests/fixtures/bootui/2.5.0", + "fixture": "tests/fixtures/bootui/2.6.0", "counts": { "matched": 5, "partial": 36, @@ -326,7 +326,8 @@ "panel": "github", "route": "/sharpit/api/github", "status": "partial", - "difference": "github/captured.json parity: unavailableReason: null in payload, golden has string; not listed in nullable.json" + "difference": "github/captured.json parity: unavailableReason: null in payload, golden has string; not listed in nullable.json", + "reason": "BootUI 2.6.0 adds repositoryContext to the GitHub report; sharpit adds it in Task 1.8 of the 0.11.0 plan (docs/superpowers/plans/2026-12-05-sharpit-0.11.0/PLAN.md)." }, { "golden": "graalvm/captured.json", diff --git a/tests/parity/test_properties_parity.py b/tests/parity/test_properties_parity.py index 036bb683f..179e50be7 100644 --- a/tests/parity/test_properties_parity.py +++ b/tests/parity/test_properties_parity.py @@ -1,4 +1,4 @@ -"""Sharpit settings parity against the BootUI 2.5.0 property fixture.""" +"""Sharpit settings parity against the BootUI 2.6.0 property fixture.""" from __future__ import annotations @@ -14,7 +14,7 @@ from sharpit.settings import load_settings from sharpit.settings_registry import SPECS, UNSET -_FIXTURE = Path(__file__).resolve().parents[1] / "fixtures" / "bootui" / "2.5.0" / "properties.json" +_FIXTURE = Path(__file__).resolve().parents[1] / "fixtures" / "bootui" / "2.6.0" / "properties.json" _STATUS = Path(__file__).with_name("properties_status.json") pytestmark = [ diff --git a/tests/parity/test_routes_parity.py b/tests/parity/test_routes_parity.py index 7bd02a3a1..382c4407b 100644 --- a/tests/parity/test_routes_parity.py +++ b/tests/parity/test_routes_parity.py @@ -28,7 +28,7 @@ _API = "/sharpit/api" _FIXTURES_DIR = Path(__file__).resolve().parents[1] / "fixtures" / "bootui" / "2.3.0" -_BOOTUI_25 = _FIXTURES_DIR.with_name("2.5.0") +_BOOTUI_26 = _FIXTURES_DIR.with_name("2.6.0") _STATUS_FILE = Path(__file__).with_name("routes_status.json") _TRACE_ID = 1 @@ -236,7 +236,7 @@ def _route_template(path: str) -> str: @pytest.fixture(scope="module") def bootui_route_catalog() -> dict[str, Any]: - return json.loads((_BOOTUI_25 / "routes.json").read_text(encoding="utf-8")) + return json.loads((_BOOTUI_26 / "routes.json").read_text(encoding="utf-8")) def test_inventory_uses_canonical_paths(bootui_route_catalog: dict[str, Any]) -> None: @@ -252,6 +252,12 @@ def test_inventory_uses_canonical_paths(bootui_route_catalog: dict[str, Any]) -> assert not unknown, f"GET routes absent from the BootUI catalogue: {unknown}" +def test_github_route_status_records_the_repository_context_gap() -> None: + status = json.loads(_STATUS_FILE.read_text(encoding="utf-8")) + row = next(route for route in status["routes"] if route["route"] == f"{_API}/github") + assert "repositoryContext" in row["reason"] + + def test_bootui_25_starter_declares_143_api_get_routes(bootui_route_catalog: dict[str, Any]) -> None: cross_check = bootui_route_catalog["crossCheck"] starter = [row for row in cross_check["starterMappings"] if row["verb"] == "GET"] diff --git a/tests/parity/test_tools_parity.py b/tests/parity/test_tools_parity.py index f56a3dd83..2d84d209a 100644 --- a/tests/parity/test_tools_parity.py +++ b/tests/parity/test_tools_parity.py @@ -12,7 +12,8 @@ from sharpit.engine.tools import COMMANDS, TOOLS ROOT = Path(__file__).parents[1] -FIXTURE_CURRENT = ROOT / "fixtures" / "bootui" / "2.5.0" / "tools.json" +FIXTURE_CURRENT = ROOT / "fixtures" / "bootui" / "2.6.0" / "tools.json" +# The gap set compares 2.4.0 with 2.6.0; every 2.5.0 description change is in DESCRIPTION_MATCHED. FIXTURE_PREVIOUS = ROOT / "fixtures" / "bootui" / "2.4.0" / "tools.json" FIXTURE_OLD = ROOT / "fixtures" / "bootui" / "2.3.0" / "tools.json" BOOTUI_TOOLS = json.loads(FIXTURE_CURRENT.read_text("utf-8"))["tools"] @@ -369,8 +370,8 @@ def test_cli_default_limit_matches_bootui() -> None: "get_profile_diff", "get_request_profile", ) -# BootUI 2.5.0 description changes are adopted by A2. -DESCRIPTION_GAPS_25: dict[str, str] = {} +_TOOL_STATUS = json.loads(Path(__file__).with_name("tools_status.json").read_text(encoding="utf-8")) +DESCRIPTION_GAPS_26 = {row["name"] for row in _TOOL_STATUS["tools"] if row["status"] != "matched"} # Tools whose 2.4.0 description changes sharpit adopted. DESCRIPTION_ADOPTED_24: tuple[str, ...] = ( "get_exceptions", @@ -392,7 +393,7 @@ def test_description_matched_is_complete() -> None: assert set(DESCRIPTION_MATCHED) == byte_equal -def test_description_gaps_are_the_bootui_2_5_0_changes() -> None: +def test_description_gaps_are_recorded_for_bootui_2_6_0() -> None: previous = {tool["name"]: tool for tool in BOOTUI_TOOLS_PREVIOUS} changed = { name @@ -400,8 +401,13 @@ def test_description_gaps_are_the_bootui_2_5_0_changes() -> None: if name not in previous or (tool["description"], tool.get("summary")) != (previous[name]["description"], previous[name].get("summary")) } - assert set(DESCRIPTION_GAPS_25) == changed - set(DESCRIPTION_MATCHED) - assert not (set(DESCRIPTION_GAPS_25) & set(DESCRIPTION_MATCHED)) + assert set(DESCRIPTION_GAPS_26) == changed - set(DESCRIPTION_MATCHED) + assert all(row["status"] in {"matched", "partial", "missing"} for row in _TOOL_STATUS["tools"]) + + +def test_tool_status_records_the_current_fixture_and_reasons() -> None: + assert _TOOL_STATUS["fixture"] == FIXTURE_CURRENT.relative_to(ROOT.parent).as_posix() + assert all(row["reason"].strip() for row in _TOOL_STATUS["tools"] if row["status"] != "matched") def test_matched_tools_ratchet() -> None: diff --git a/tests/parity/tools_status.json b/tests/parity/tools_status.json new file mode 100644 index 000000000..4c670a270 --- /dev/null +++ b/tests/parity/tools_status.json @@ -0,0 +1,20 @@ +{ + "fixture": "tests/fixtures/bootui/2.6.0/tools.json", + "tools": [ + { + "name": "get_live_activity", + "status": "partial", + "reason": "Task 3.13 of the 0.11.0 plan (docs/superpowers/plans/2026-12-05-sharpit-0.11.0/PLAN.md) adds durable history needed for BootUI scope qualifiers; sharpit retains its current text until then." + }, + { + "name": "memory_scan", + "status": "missing", + "reason": "Task 0.1 of the 0.11.0 plan (docs/superpowers/plans/2026-12-05-sharpit-0.11.0/PLAN.md) records BootUI JVM histogram behavior as n-a because sharpit has no JVM memory scan." + }, + { + "name": "get_spring_data_repositories", + "status": "missing", + "reason": "Task 0.1 records Spring Data repository metadata as n-a because sharpit has no Spring Data runtime." + } + ] +} diff --git a/tests/pytest_plugin/test_plugin_apps.py b/tests/pytest_plugin/test_plugin_apps.py index 586bb293c..c9b490549 100644 --- a/tests/pytest_plugin/test_plugin_apps.py +++ b/tests/pytest_plugin/test_plugin_apps.py @@ -597,7 +597,7 @@ def test_load_app_calls_a_factory_annotated_with_a_type_checking_only_name(monke namespace: dict[str, object] = {"made": app} source = "def create_app(settings: Settings | None = None):\n return made\n" # dont_inherit: this file's `from __future__ import annotations` would turn the annotation into a string - exec(compile(source, "hostmod.py", "exec", dont_inherit=True), namespace) # noqa: S102 - a host module on 3.14 + exec(compile(source, "hostmod.py", "exec", dont_inherit=True), namespace) # a host module on 3.14 _fake_module(monkeypatch, target=namespace["create_app"]) try: diff --git a/tests/pytest_plugin/test_plugin_facts.py b/tests/pytest_plugin/test_plugin_facts.py index 092136643..ccb2a3ea6 100644 --- a/tests/pytest_plugin/test_plugin_facts.py +++ b/tests/pytest_plugin/test_plugin_facts.py @@ -60,7 +60,7 @@ def test_capture_still_attached_at_the_end_adds_no_plugin_source() -> None: def _emit(handler: logging.Handler, record: logging.LogRecord) -> BaseException | None: try: handler.emit(record) - except Exception as exc: # noqa: BLE001 + except Exception as exc: return exc return None diff --git a/tests/pytest_plugin/test_plugin_options.py b/tests/pytest_plugin/test_plugin_options.py index 4c5a53a40..ae28b3c6a 100644 --- a/tests/pytest_plugin/test_plugin_options.py +++ b/tests/pytest_plugin/test_plugin_options.py @@ -91,7 +91,7 @@ def getgroup(self, name: str) -> Parser: def addoption(self, *args: Any, **kwargs: Any) -> None: pass - def addini(self, name: str, help: str, type: Any = None, default: Any = None) -> None: # noqa: A002 + def addini(self, name: str, help: str, type: Any = None, default: Any = None) -> None: types[name] = type pytest_addoption(Parser()) diff --git a/tests/pytest_plugin/test_plugin_swallowed.py b/tests/pytest_plugin/test_plugin_swallowed.py index 6c1d1cc0b..009b3e676 100644 --- a/tests/pytest_plugin/test_plugin_swallowed.py +++ b/tests/pytest_plugin/test_plugin_swallowed.py @@ -299,7 +299,7 @@ def test_library_handler_is_ignored( library.parent.mkdir() library.write_text(LIBRARY, "utf-8") namespace: dict[str, Any] = {} - exec(compile(LIBRARY, str(library), "exec"), namespace) # noqa: S102 - a planted library module + exec(compile(LIBRARY, str(library), "exec"), namespace) # a planted library module namespace["library_swallow"]() diff --git a/tests/safety/test_a_sqlalchemy_statistics_safety.py b/tests/safety/test_a_sqlalchemy_statistics_safety.py index 81e1b820c..93a45617f 100644 --- a/tests/safety/test_a_sqlalchemy_statistics_safety.py +++ b/tests/safety/test_a_sqlalchemy_statistics_safety.py @@ -9,10 +9,10 @@ except ImportError: sa = None -from examples.fastapi_sample.app import create_app # noqa: E402 -from fastapi.testclient import TestClient # noqa: E402 +from examples.fastapi_sample.app import create_app +from fastapi.testclient import TestClient -from conftest import SideEffectGuard # noqa: E402 +from conftest import SideEffectGuard pytestmark = pytest.mark.needs_sqlalchemy diff --git a/tests/safety/test_a_sqltrace_insights_safety.py b/tests/safety/test_a_sqltrace_insights_safety.py index e408558e0..787ca0376 100644 --- a/tests/safety/test_a_sqltrace_insights_safety.py +++ b/tests/safety/test_a_sqltrace_insights_safety.py @@ -9,10 +9,10 @@ except ImportError: sa = None -from examples.fastapi_sample.app import create_app # noqa: E402 -from fastapi.testclient import TestClient # noqa: E402 +from examples.fastapi_sample.app import create_app +from fastapi.testclient import TestClient -from conftest import SideEffectGuard # noqa: E402 +from conftest import SideEffectGuard PANEL = "sql-trace" GET_ROWS = ["/sharpit/api/sql-trace/insights"] diff --git a/tests/safety/test_b_security_safety.py b/tests/safety/test_b_security_safety.py index 569bf150e..ead283452 100644 --- a/tests/safety/test_b_security_safety.py +++ b/tests/safety/test_b_security_safety.py @@ -39,11 +39,11 @@ def _tool_args(handle: Any) -> dict[str, Any]: def _tool_seed(ctx: Any) -> dict[str, Any]: """A bare context has no app: seed the service with one violating app's inputs, then scan it.""" - from sharpit.engine.advisors.dismissals import DismissalStore # noqa: PLC0415 - from sharpit.engine.collectors.security import Inputs # noqa: PLC0415 - from sharpit.engine.collectors.security.report import SecurityService # noqa: PLC0415 - from sharpit.engine.singleflight import SingleFlight # noqa: PLC0415 - from sharpit.fastapi.introspector import FastApiIntrospector # noqa: PLC0415 + from sharpit.engine.advisors.dismissals import DismissalStore + from sharpit.engine.collectors.security import Inputs + from sharpit.engine.collectors.security.report import SecurityService + from sharpit.engine.singleflight import SingleFlight + from sharpit.fastapi.introspector import FastApiIntrospector introspector = FastApiIntrospector(_violating_app()) inputs = Inputs(introspector.security_model(), introspector.security_facts(), None) diff --git a/tests/safety/test_c_architecture_safety.py b/tests/safety/test_c_architecture_safety.py index 8b344c080..b0825c553 100644 --- a/tests/safety/test_c_architecture_safety.py +++ b/tests/safety/test_c_architecture_safety.py @@ -30,17 +30,17 @@ def _seeded_violations(ctx: Any) -> dict[str, Any]: The sample app is built by a factory no module holds, so its own scan has no source to read; the service is seeded (before first use) with one evaluated finding, then scanned through its normal path. """ - from sharpit.engine.advisors.findings import Finding # noqa: PLC0415 - from sharpit.engine.advisors.report import evidence # noqa: PLC0415 - from sharpit.engine.advisors.scan import Evaluation # noqa: PLC0415 - from sharpit.engine.collectors.architecture.report import ( # noqa: PLC0415 + from sharpit.engine.advisors.findings import Finding + from sharpit.engine.advisors.report import evidence + from sharpit.engine.advisors.scan import Evaluation + from sharpit.engine.collectors.architecture.report import ( RULES, ArchitectureScanDetail, ArchitectureService, architecture_service, ) - from sharpit.engine.singleflight import SingleFlight # noqa: PLC0415 - from sharpit.engine.tools import dismissal_store # noqa: PLC0415 + from sharpit.engine.singleflight import SingleFlight + from sharpit.engine.tools import dismissal_store rule = RULES[0] # ARCH-PKG-001 finding = Finding(rule.id, "architecture", rule.severity, "app.a cycle", "Circular package dependency: a -> b -> a") @@ -95,8 +95,8 @@ def test_inactive_install_answers_404(path: str) -> None: def test_architecture_violations_tool_uses_rule_violations_schema() -> None: # derived: BootUiMcpService.schema RULE_VIOLATIONS, as get_rest_api_rule_violations (review fix 1: GET /cli 500) - from sharpit.engine.tools import TOOLS # noqa: PLC0415 - from sharpit.engine.tools04.architecture import TOOLS as ARCHITECTURE_TOOLS # noqa: PLC0415 + from sharpit.engine.tools import TOOLS + from sharpit.engine.tools04.architecture import TOOLS as ARCHITECTURE_TOOLS rest_api = next(t for t in TOOLS if t.name == "get_rest_api_rule_violations") architecture = next(t for t in ARCHITECTURE_TOOLS if t.name == "get_architecture_rule_violations") diff --git a/tests/surface.py b/tests/surface.py index 23dff05ed..0dd03d337 100644 --- a/tests/surface.py +++ b/tests/surface.py @@ -134,10 +134,10 @@ def catalogue_with_lanes( # from the base, not the current TOOLS: a lane implemented at import already has its tools there return tools.merge_lane_tools( - tools._BASE_TOOLS, # noqa: SLF001 - tools._BASE_COMMANDS, # noqa: SLF001 + tools._BASE_TOOLS, + tools._BASE_COMMANDS, (*lane_tools, *tools._LOW_FOOTPRINT_TOOLS), # noqa: SLF001 - the import appends these after the lanes - {**lane_commands, **tools._LOW_FOOTPRINT_COMMANDS}, # noqa: SLF001 + {**lane_commands, **tools._LOW_FOOTPRINT_COMMANDS}, ) diff --git a/tests/test_ci_layout.py b/tests/test_ci_layout.py index 288e29dac..ab1763056 100644 --- a/tests/test_ci_layout.py +++ b/tests/test_ci_layout.py @@ -14,6 +14,7 @@ CI_PATH = Path(__file__).parent.parent / ".github" / "workflows" / "ci.yml" CI = CI_PATH.read_text(encoding="utf-8") +SECURITY_AUDIT = (CI_PATH.parent / "security-audit.yml").read_text(encoding="utf-8") def _jobs() -> dict[str, str]: @@ -53,6 +54,31 @@ def test_lint_runs_once_in_its_own_job_not_inside_a_test_shard() -> None: assert owners == ["lint"], "lint inside a shard lengthens that shard's critical path" +def test_dependency_audit_covers_the_python_and_npm_locks() -> None: + trigger = SECURITY_AUDIT.split("permissions:", 1)[0] + assert " pull_request:" in trigger + assert "uv.lock" in trigger + assert "ui/package-lock.json" in trigger + assert "website/requirements.txt" in trigger + assert re.search(r"^ dependencies:\n", SECURITY_AUDIT, re.MULTILINE) + dependencies = SECURITY_AUDIT.split(" dependencies:\n", 1)[1] + assert "schedule" in trigger.split("on:", 1)[1] + assert "uv export --frozen --all-extras --all-groups --no-emit-project" in dependencies + assert "-o /tmp/sharpit-requirements.txt" in dependencies + assert dependencies.count("pip-audit") >= 3 + assert "pip-audit==2.10.1" in dependencies + assert dependencies.count("--no-deps") == 2 + assert "pip-audit -r /tmp/sharpit-requirements.txt --no-deps" in dependencies + assert "pip-audit -r website/requirements.txt --no-deps" in dependencies + assert "npm audit --audit-level=high" in dependencies + assert re.search(r"working-directory: ui", dependencies) + + +def test_zizmor_audit_does_not_run_on_pull_requests() -> None: + zizmor = SECURITY_AUDIT.split(" zizmor:\n", 1)[1] + assert " if: github.event_name != 'pull_request'" in zizmor + + def test_pyright_and_format_run_in_the_lint_job_only() -> None: for command in (" pyright", " ruff format --check"): assert [name for name, body in JOBS.items() if command in body] == ["lint"] @@ -626,13 +652,37 @@ def test_workflow_lint_and_the_sharpit_gate_run_inside_lint() -> None: lint = JOBS["lint"] for step in ( "uvx --from actionlint-py==1.7.12.25 actionlint", - "uvx zizmor@1.32.0 --offline --min-severity medium .github/workflows", + "uvx zizmor@1.32.0 --offline --min-severity low .github/workflows", "pytest examples/fastapi_sqla/tests_gate -k fixed --sharpit --sharpit-junit=sharpit-junit.xml", '"! uv run --no-sync python -m pytest examples/fastapi_sqla/tests_gate -k n_plus_one --sharpit', ): assert step in lint, step +def test_zizmor_runs_online_on_a_schedule_and_uploads_sarif() -> None: + workflow_path = Path(__file__).parents[1] / ".github" / "workflows" / "security-audit.yml" + assert workflow_path.exists() + workflow = workflow_path.read_text(encoding="utf-8") + header, jobs = workflow.split("\njobs:\n", 1) + assert re.search(r"^ schedule:$", header, re.MULTILINE) + assert re.search(r"^ workflow_dispatch:$", header, re.MULTILINE) + assert re.search(r"^permissions:\s*\{\s*\}$", header, re.MULTILINE) + match = re.search(r"^ zizmor:\n(.*?)(?=^ [a-z-]+:|\Z)", jobs, re.MULTILINE | re.DOTALL) + assert match + job = match[1] + assert re.search(r"^ permissions:\n contents: read\n security-events: write$", job, re.MULTILINE) + assert all( + re.fullmatch(r".*uses: [^@\s]+@[0-9a-f]{40} # v[^\s]+", line.strip()) + for line in workflow.splitlines() + if "uses:" in line + ) + job_version = re.search(r"zizmor@([0-9.]+)", job) + assert job_version + ci_version = re.search(r"zizmor@([0-9.]+)", CI) + assert ci_version + assert job_version[1] == ci_version[1] + + def _matrix_jobs(body: str) -> int: """Jobs a matrix expands to: the product of its list keys plus its include rows (each a new combination here).""" lines = body.splitlines() @@ -843,7 +893,7 @@ def test_a_wall_clock_budget_runs_with_the_timing_files(monkeypatch: pytest.Monk # found on #144 CI: the insights read budget (an absolute 2000 ms, no check_budget call) ran inside a parallel # Windows shard and failed at 2088 ms beside busy xdist workers monkeypatch.syspath_prepend(str(Path(__file__).parent.parent)) - from tests._shard import timing_files # noqa: PLC0415 + from tests._shard import timing_files assert "tests/engine/insights/test_insights_service.py" in timing_files() diff --git a/tests/test_example_gate.py b/tests/test_example_gate.py index 4ed2bbc36..26a967d81 100644 --- a/tests/test_example_gate.py +++ b/tests/test_example_gate.py @@ -4,7 +4,7 @@ import json import shutil -import xml.etree.ElementTree as ET # noqa: S405 - parses the report this test just wrote +import xml.etree.ElementTree as ET # parses the report this test just wrote from pathlib import Path from typing import Any diff --git a/tests/test_safety_lane_sweeps.py b/tests/test_safety_lane_sweeps.py index bd72705c0..cda3ca08b 100644 --- a/tests/test_safety_lane_sweeps.py +++ b/tests/test_safety_lane_sweeps.py @@ -207,7 +207,7 @@ def test_lane_tool_args_reach_the_matrix_tool_sweep( monkeypatch.setattr(matrix, "LANES", safety.load(name)) handle: Any = object() - assert matrix._tool_arguments("get_overview", handle) == {"handle": handle} # noqa: SLF001 + assert matrix._tool_arguments("get_overview", handle) == {"handle": handle} def test_malformed_tool_args_are_refused(lane_pkg: tuple[str, Path]) -> None: diff --git a/tests/test_safety_matrix.py b/tests/test_safety_matrix.py index ea55315d0..805ff2e18 100644 --- a/tests/test_safety_matrix.py +++ b/tests/test_safety_matrix.py @@ -844,7 +844,7 @@ def test_cli_action_tools_gated_is_parametrised_from_the_lanes(tmp_path: Path, m monkeypatch.setattr(safety, "load", lambda _package="safety": planted) fresh: dict[str, Any] = {"__name__": "safety_matrix_replica", "__file__": __file__} - exec(compile(Path(__file__).read_text(encoding="utf-8"), __file__, "exec"), fresh) # noqa: S102 + exec(compile(Path(__file__).read_text(encoding="utf-8"), __file__, "exec"), fresh) marks = fresh["test_cli_action_tools_gated"].pytestmark cases = next(m.args[1] for m in marks if m.name == "parametrize" and m.args[0] == ("tool", "panel", "seed")) diff --git a/tests/test_side_effect_guard.py b/tests/test_side_effect_guard.py index dec7babe6..c7ac54030 100644 --- a/tests/test_side_effect_guard.py +++ b/tests/test_side_effect_guard.py @@ -140,7 +140,7 @@ def test_side_effect_guard_allows_config_getenv_scan(tmp_path: Path, monkeypatch # spec §14: config's lazy getenv scan on its first GET is the one declared exemption from "no app source read" root = _app_root(tmp_path, monkeypatch) scan: dict[str, Any] = {"__name__": "sharpit.engine.collectors.config.getenv_scan"} - exec("def read(path):\n return path.read_text(encoding='utf-8')\n", scan) # noqa: S102 - a frame in config + exec("def read(path):\n return path.read_text(encoding='utf-8')\n", scan) # a frame in config guard = SideEffectGuard(tmp_path / "state") guard.watch_sources(root) try: @@ -173,7 +173,7 @@ def test_side_effect_guard_reports_sharpit_monitoring_call_without_swallowing_it try: code = compile("import sys\nsys.monitoring.set_events(5, 0)", str(source), "exec") with pytest.raises(ValueError, match="tool"): - exec(code) # noqa: S102 + exec(code) finally: guard.unblock_network() guard.restore_runtime_state()