Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /java /raphw_jenesis-repository /source /posture /spi /module-info.java
| /** | |
| * The security-posture SPI: the self-describing <em>configuration warnings</em> a plugin reports about the | |
| * effective deployment configuration - each a {@link build.jenesis.repository.posture.SecurityAdvisory} carrying a | |
| * stable {@code jenreg.<feature>.<signal>} id (the {@link build.jenesis.repository.posture.Advisories} grammar, the | |
| * same {@code jenreg.<feature>.*} convention configuration and observation use), a | |
| * {@link build.jenesis.repository.posture.Severity severity}, a {@link build.jenesis.repository.posture.Scope scope} | |
| * (deployment-wide vs per-tenant), a plain <em>why-this-is-unsafe</em>, a suggested safer alternative (the best-practice | |
| * fix plus the exact {@code jenreg.*} key/value) and a docs link. A module implements | |
| * {@link build.jenesis.repository.posture.SafetyAdvisor} through the same optional-method pattern the observation seam | |
| * uses, is discovered with {@link java.util.ServiceLoader}, and is handed the effective | |
| * {@link build.jenesis.repository.posture.Configuration}; a <em>disabled or absent</em> module contributes nothing, so | |
| * the console never advises about something that is not running. | |
| * | |
| * <p>This is deliberately <strong>not</strong> the {@code capabilities.advisories()} seam (which reports CVE / | |
| * vulnerability advisories about published artifacts) - it reports the deployment's own configuration posture. The | |
| * module is registry-free and {@code java.base}-only (its single {@code requires} is the equally {@code java.base}-only | |
| * observation module, for the shared {@code Contributions} containment every collected report uses), so every format / | |
| * compliance / storage / maintenance SPI can {@code requires} it without dragging in Spring; the distribution collects | |
| * the sources into one | |
| * {@link build.jenesis.repository.posture.PostureReport}, logs the deployment-wide advisories once at boot and surfaces | |
| * the same list on the console and an admin API - one source of truth, many consumers. Core owns only the | |
| * deployment-cross-cutting advisories ({@link build.jenesis.repository.posture.SecurityPosture}); a feature owns its | |
| * own. | |
| * | |
| * @jenesis.release 25 | |
| */ | |
| module build.jenesis.repository.posture { | |
| // The one edge out of java.base, and it stays inside the java.base-only tier: the observation module owns | |
| // `Contributions`, the containment every collected report shares, so a failing advisor degrades the same way a | |
| // failing observability source or console panel does instead of this module growing a third private copy of it. | |
| requires build.jenesis.repository.observation; | |
| exports build.jenesis.repository.posture; | |
| uses build.jenesis.repository.posture.SafetyAdvisor; | |
| provides build.jenesis.repository.posture.SafetyAdvisor | |
| with build.jenesis.repository.posture.SecurityPosture; | |
| } | |
Xet Storage Details
- Size:
- 2.82 kB
- Xet hash:
- 31008ad07d82f157a2b624cc49270b2821afc453bd19bff722bedb40239d96c5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.