Implementation plan / Session plan / Handover RC-3-S10
Handover RC-3-S10 Build: Platform: supply-chain controls (slice RC-3)¶
Card: RC-3-S10. Issue: cema-care/his#66. Branch: session/RC-3-S10. Slice: RC-3. Decision record: ADR-HIS-099.
Scope as read¶
The card covers FR-ISE-SUP-002, security assurance and vulnerability management, and TEST-ISE-037. It extends the unit of RC-1-S18 and rebuilds none of it. It also meets the contract point of contracts/ise/README.md, row RC-3-S10:
- serve vulnerabilities.v1;
- record findings from the pipeline's scans and from SBOM advisory matching;
- set severity by CFG-ISE-030, with the tier read from service-catalogue.v1, and the due date by CFG-ISE-019;
- keep separation of duties;
- reopen expired risk acceptances;
- publish VulnerabilityOverdue;
- feed the release gate code finding-open of releases.v1.
What was built and where¶
Everything is in platform/supply-chain/, except the decision record, its row in the decision record index and this handover. The unit's README.md, "The vulnerability register", gives how the parts work, the policy actions and the settings.
The unit is now also a service, ise-supply-chain, made once from the service template (services/_template/new-unit.sh into a scratch folder, then moved in beside the tool). It brings the build, service-kit/, app/, the Dockerfile (image his/supply-chain) and module mod-ise-010/. The tool, the registers and their tests stay as RC-1-S18 left them. ./gradlew build runs the tool's ci.sh as task toolChecks, because the pipeline now builds this folder as a Java unit (plan.py: a settings.gradle.kts makes it java). Without this, ci.sh would no longer run.
The vulnerability register, module MOD-ISE-010 (care.cema.his.ise.mod010, migration V1__vulnerability_register.sql):
VulnerabilitiesController: the six operations of vulnerabilities.v1. Each is decided by the policy decision point with the finding's owner, status and severity as attributes. Commands carry the Idempotency-Key (Idempotency, tableidempotent_request). Reads are audited asise.payload.viewed.RequestBodyAdviceanswers an unreadable body as validation-failed with the Problem type, as platform/observability does.Findings: recording, the lifecycle, risk acceptance, the sweep and the report.- Recording sets the severity by CFG-ISE-030 (
Severity) and the due date by CFG-ISE-019 (SupplyChainProperties.Timeframes). The same component and advisories again, while their finding is not closed, is that finding with its releases, environments and services merged, and its severity raised if the merge raises it. A closed finding is never reused. - The lifecycle is Open, In Remediation, Remediated, Closed and Risk Accepted (D02-ISE 4.3). The unit refuses a service identity to assess, verify or accept. It closes nothing without its rescan or verification reference.
- The sweep runs every 5 minutes under an advisory lock. It reopens expired risk acceptances, then escalates each unresolved overdue finding once per due date:
escalatedAt, and VulnerabilityOverdue onhis.ise.vulnerabilityfinding.v1in the same transaction. - Every change is audited as
ise.config.changed. Counters:his_vulnerability_findings_recorded_total,_escalated_totaland_reopened_total. ServiceCatalogue:readServiceof service-catalogue.v1 for the tier, with the unit's client credentials. When it cannot be read, nothing is recorded (503).
The tool's side (supply_chain/vulns.py, supply_chain/evidence.py, commands in cli.py):
| Command | What it does |
|---|---|
vulnerabilities submit |
The vulnerabilities of a build's SBOM, as one finding per component and advisory, recorded with recordFinding. The score is CVSS v4.0, with the fallback of ADR-HIS-099 point 5. KEV from --kev |
vulnerabilities match |
An advisory feed against every archived release SBOM: one finding per component version and advisory, with every release, environment and unit that holds it (PR-SUP-001-3) |
vulnerabilities gate |
The GateItems finding-open of a release (--release), or of production at go-live (--environment). It fails when there is one |
evidence add, evidence check |
The release security evidence pack in the archive beside the release's SBOM, and the check that it is complete, its findings resolved and the security sign-off of releases.v1 on this very pack |
The write to the register goes through http.RegisterClient. The plain http.Client, used for the Domain 10 decision register, still has no write method: RC-1-S18's test test_dependency_shows_adr_number_title_state_read_only holds it.
Other changes in the folder:
- register/components.toml gives the new service its supported-version record (supply-chain, version 1, until 2028-11-30, ADR-HIS-059 point 7), as RC-1-S18 gave every owned unit. There are now 42 production components.
- buildSrc/.../his.java-module.gradle.kts passes his.repository to the tests, as platform/observability does, for the contract tests.
- scripts/ends-when-rc-3.sh is this card's check.
ADR-HIS-099 records the decisions, with options, rationale, risks and review date (FR-ISE-SUP-003 behaviour 1), and has its row in the decision record index (98 records). ADR-HIS-098 is taken by the open pull requests #249 (RC-3-S07) and #250 (RC-1-S28-F12), so this record is ADR-HIS-099, checked free against origin/main and every open pull request on 2026-11-29. The index count (98) will conflict with them; whichever merges later brings it up.
Checks and their result¶
The integration environment ran as HIS_SESSION=RC-3-S10 (his-rc-3-s10), light profile.
| Check | Command | Result |
|---|---|---|
| Build and every test | ./gradlew build in platform/supply-chain |
passed. mod-ise-010: 28 tests (26 module, 2 contract). service-kit: 34, 1 skipped (the Kafka adapter test, full profile only, as in every unit). app: 3. Tool (ci.sh): 68 unit and 7 contract tests, register check (61 entries), versions report (42 components, 0 errors), register guard |
| Provider contract test | VulnerabilitiesContractTest (in the build) |
his-contract verify contracts/ise of the six operations: passed, 15 cases. validate-event of the VulnerabilityOverdue published: passed (2) |
| Consumer contract tests | the same test; test/contract/test_contract.py |
The catalogue client against serve contracts/ise; the tool's submit, gate and evidence check against the ISE stub (vulnerabilities.v1, releases.v1). No violation |
| Ends when | HIS_SESSION=RC-3-S10 platform/supply-chain/scripts/ends-when-rc-3.sh |
passed (below) |
| Scans | platform/delivery-pipeline/bin/dependency-scan, image-scan, static-analysis on platform/supply-chain; secret-scan code origin/main |
Dependency scan: 527 components, 0 blocking (4 medium). Image his/supply-chain: 0 blocking (15 low, 117 medium). Static analysis: no blocking finding. Secret scan: no secret. No security exception added |
| Job plan | platform/delivery-pipeline/bin/changes --base origin/main |
one target, platform/supply-chain, now kind java with an image |
| Documentation | check_links.py; mkdocs build |
0 broken, 0 duplicate anchors; builds |
The steps of ends-when-rc-3.sh, each passed:
1. ./gradlew build --rerun-tasks: every test above.
2. Each acceptance criterion and each step of TEST-ISE-037 has a passing test, read from the JUnit reports and test/out/results.json (table below).
3. The dependency scan of this folder writes its SBOM, and gate --coverage passes over its 527 components: the service's dependencies are all in the dependency register.
4. The change touches only platform/supply-chain/, ADR-HIS-099 with its index row, and this handover.
Requirements and test scenarios¶
The Java tests are in mod-ise-010/src/test/java/care/cema/his/ise/mod010/. Their display names start with what they cover. The tool's tests are in test/, and carry it through covers().
| Requirement, criterion | Tests |
|---|---|
| AC-01: release evidence present and approved by security | test_vulns.py test_release_evidence_present_and_approved, test_incomplete_unsigned_or_changed_evidence_refused; test_contract.py test_evidence_check_reads_register_and_release |
| AC-02: at go-live, no unresolved critical or high finding without risk acceptance | test_vulns.py test_go_live_register_inspected; VulnerabilityRegisterTest "only authorized leadership accepts a risk ..." |
| AC-03: an overdue finding is escalated | VulnerabilityRegisterTest "when its due date passes an unresolved finding is escalated once, with VulnerabilityOverdue ..." |
| Part 1, section 13: the register, by status, severity, component, release, owner, overdue; restricted to security and the owning team | "the register is listed by status, severity, component, release and owner ..." |
| Part 2: findings from CI scans and SBOM advisory matching | "a finding from the pipeline's scan is recorded Open ..."; test_scan_findings_from_the_sbom, test_submit_records_each_with_a_stable_key, test_advisory_matched_against_the_archive; test_submit_scan_findings |
| Part 3: release security evidence | the AC-01 tests |
| Part 4, PR-SUP-002-1, BR-ISE-011: a critical or high finding blocks the release | test_release_with_open_critical_finding_blocked; test_gate_reads_the_release_findings |
| Part 5, PR-SUP-002-2, EVT-ISE-016 | the AC-03 test; VulnerabilitiesContractTest (validate-event) |
| Part 6, PR-SUP-002-3: time-bound acceptance, reopened on expiry, closed when fixed | "only authorized leadership accepts a risk, time-bound; when the acceptance expires the finding reopens ..." |
| Part 7: the report | "the report counts unresolved findings by severity, overdue and age ..." |
| Part 8, section 11, PR-SUP-002-5: separation of duties | "the Security Engineer assesses, the owning team marks remediated and can never close ..."; "a service identity can record findings but never confirm a severity ..." |
| Part 9, PR-SUP-002-4, CFG-ISE-030; section 10 "severity downgraded" | SeverityTest (all five); "a severity below the computed one needs a recorded justification ..."; "the same component and advisory again ... severity raised ..."; "when the service catalogue cannot be read no finding is recorded ..."; test_score_without_cvss_4 |
| Part 10, CFG-ISE-019 | SeverityTest "the due date is Critical 15 ..."; the recording and downgrade tests (due dates) |
| Section 10: closure without rescan evidence refused | the separation-of-duties test |
| Section 12: changes recorded with actor and time | the recording, separation-of-duties, downgrade and acceptance tests (audit records) |
| IF-ISE-001, ARC-8.1: idempotency, 401, 503 on a decision point outage | "repeating a command with its Idempotency-Key ..."; "without a credential the register answers 401 ..."; verify |
| WF-ISE-008: an overdue finding blocks its releases | test_overdue_finding_of_any_severity_blocks |
TEST-ISE-037 has four steps:
- "Review release security evidence" (expected: evidence approved): the AC-01 tests.
- "Attempt release with an open critical finding" (expected: release blocked): test_release_with_open_critical_finding_blocked, test_gate_reads_the_release_findings.
- "Let a finding expire" (expected: escalation occurs): the AC-03 test.
- "Let a risk acceptance expire" (expected: reopening occurs): the part 6 test.
Non-functional targets:
- NFR-ISE-005: no release with an open critical or high finding without acceptance (the gate). Severity fails closed when the catalogue is down. The scans are clean.
- NFR-ISE-009: vulnerabilities.v1 is verified against its contract, and every consumer call is tested against the stubs.
- NFR-ISE-012: the kit's correlation identifier and traces, a correlation identifier per tool run on every call, and the counters above.
- NFR-ISE-016: UTC instants with Z; due dates are UTC dates.
- NFR-ISE-018: the unit has no console. UI-ISE-011 (RC-3-S22) shows the instants in local time.
Done differently from the specification or contract, and why¶
- The release gate is fed by the tool, not written into releases.v1. releases.v1 has no operation to add findings to a registered release.
platform/delivery-pipelineis another unit's folder. Sovulnerabilities gategives thefinding-openitems fromlistFindings?release=, and the delivery pipeline must call it at promotion (follow-up). - An overdue finding blocks its releases whatever its severity. The contract point names critical and high. WF-ISE-008 says of an overdue finding that "affected builds cannot be promoted". The stricter reading is taken (ADR-HIS-099 point 6), and Q1 asks the owner.
- Internet exposure comes with the finding. The contract point says "tier and exposure from service-catalogue.v1", but the catalogue has no exposure field. The finding's
internetFacingis used, as vulnerabilities.v1 provides. - A service the catalogue does not know is treated as Tier 1 until it is catalogued, and a catalogue that cannot be read stops the recording (ADR-HIS-099 point 4). The specification does not say. Both err towards a higher severity.
- Scores without CVSS v4.0. Part 9 names the CVSS v4.0 base score. Most advisories the scanner reports publish CVSS 3.1 only, so the tool uses the fallback of ADR-HIS-099 point 5 and says so in the title. The Security Engineer confirms the severity.
- Release security evidence is a pack in the release archive. vulnerabilities.v1 has no evidence operation, and a contract change would be RC-3-S03's. Approval is the releases.v1 security sign-off on the pack's reference (ADR-HIS-099 point 9).
- Audit types. Changes are
ise.config.changedand readsise.payload.viewed, as handover RC-3-S03 Q3 left them.
Contract changes¶
None. The unit serves vulnerabilities.v1 1.0 and publishes VulnerabilityOverdue 1.0 as fixed by RC-3-S03.
Questions for a person¶
None blocks this session. They are under "Needs a person" in the pull request.
| # | Question | Owner | What the unit does now |
|---|---|---|---|
| Q1 | Does an overdue finding of medium or low severity block the promotion of its releases (WF-ISE-008, "affected builds cannot be promoted"), or only critical and high ones (the contract point)? | Owner of D02-ISE | Any overdue finding blocks; one line, vulns.blocks, changes otherwise |
| Q2 | Should service-catalogue.v1 hold internet exposure, so that the severity rule reads it, as the contract point implies? | Owner of D02-ISE, with the ISE domain lead | Exposure is taken from the finding |
Follow-ups outside the card¶
- platform/delivery-pipeline (RC-3-S12, or the next session on that unit): at each promotion, call
supply-chain vulnerabilities gate --release <id>, or readlistFindings?release=, and add itsfinding-openitems to the computed gate. Callvulnerabilities submitafter each dependency and image scan,evidence checkbefore the production sign-off, andvulnerabilities matcheach day against new advisories (D02-ISE 9.7). - The dependency register (next FR-ISE-SUP-001 session): every unit image carries
com.google.code.gson:gsonandcom.github.stephenc.jcip:jcip-annotations, shaded insidenimbus-jose-jwt's jar, which no entry covers. The folder SBOMs do not show them, sogate --coveragepasses there. It fails onhis/supply-chain's image SBOM, and on any unit's. Add them to the Nimbus entry's packages before the gate runs on images. - D10 policy content: grant the actions of ADR-HIS-099 point 8 by role. The owning team gets
readandmark-remediatedonly for findings whoseownerattribute is its own. - Deployment (platform/deployment-topology): set
HIS_SERVICE_CATALOGUE_URLand the unit's client credentials. Addsupply-chainto the service catalogue. - Harness (FN-S07 owner), as RC-3-S03 noted: RC-3-E2E-006 calls this unit by folder name, and the harness starts only
services/units. - The service template (FN-S03 owner): two fixes for
services/_template: - pass
his.repositoryto tests; - the host Node.js check of the copied
ContractToolshould testprocess.features.typescript, not only the version. This server's Node.js 22.22 cannot strip TypeScript, and the old check chose it.
platform/observability's ContractTool has the same check.
- An advisory feed adapter (OSV or GHSA to the feed format of the README) for vulnerabilities match.
- D02-ISE 9.5: the audit types of RC-3-S03 Q3.