Skip to content

Requirements traceability

The traceability matrix answers an auditor’s second question. The first is what ran and what happened, which an evidence pack records (the evidence walkthrough). The second is which requirement each test proves, and whether every requirement is proven. The Platform keeps the requirements, the scenarios name the ones they prove, and the matrix joins the two with the runs.

On the Traceability page, editors add a requirement by key and title, or paste a requirements tool’s export. Two formats are read:

key,title,description
REQ-12,A valid card is approved,
REQ-13,A card over its limit is declined with 51,Field 39 carries 51
[{"key": "REQ-12", "title": "A valid card is approved"}, {"key": "REQ-13", "title": "A card over its limit is declined with 51"}]

A key is written as your tool writes it: up to 64 letters, digits and . _ : / -, so REQ-12, AUTH.3 and JIRA:PAY-41 all work. Importing again updates the titles of keys that exist and adds the rest, so the export can be pasted after every change in the tool. The same import is available to scripts at POST /api/requirements/import with the text in a JSON body.

A scenario names the requirements it proves. Named on the scenario, every step proves them; named on a step, that step does:

name: Authorization limits
requirements: [REQ-12]
target: {simulated_host: Issuer}
steps:
- name: Small amount is approved
send: {sample: auth, amount: 1000}
expect: {fields: {39: "00"}}
- name: Large amount is declined
requirements: [REQ-13]
send: {sample: auth, amount: 90000}
expect: {fields: {39: "51"}}

A saved scenario’s page lists the keys it proves, each a link to the matrix.

The Traceability page shows every requirement with a verdict:

  • passed: every scenario naming it has a finished run in the window, and all passed;
  • failed: a scenario naming it failed, or the step proving it did;
  • untested: a scenario naming it has no finished run in the window;
  • uncovered: no scenario names it.

Each row lists the scenarios, the steps proving the requirement when particular ones do, and the latest run with its status. A key a scenario names that nobody defined stays in the matrix, marked as not defined, so a typo or a renamed requirement shows up instead of disappearing.

The window is the last 30 days by default. Pick another, or enter a suite run key (from a suite’s page or the CI client’s output) to read the matrix for one run of a suite: the verdicts then come from that suite run’s runs only, and read the same later.

Download CSV gives the same matrix one line per requirement and scenario, for a spreadsheet or a certification submission.

The CI client prints a summary after a suite when asked:

python iso8583sim-run.py --url https://platform.example.com --token "$TOKEN" --traceability scenarios/*.yaml
Traceability: 14 requirements: 12 passed, 1 failed (REQ-13), 1 untested, 0 uncovered

The suite run key printed with the results opens the same matrix on the page.

An evidence pack made for a run records the requirements its scenario proves, with their titles as defined at the time, under Requirements proven on the pack’s page and as traceability.requirements in the pack file. A reviewer holding the packs for a suite run has the matrix’s facts in signed form.