IF Commons GitHub

governance/responsibility

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0002-tenancy FR-005

Who answers for a requirement (0002-tenancy FR-005): the client, the operator, both, or a provider that the client inherits it from (a cloud, a hosting service). A matrix of these is what a client hands an assessor beside its plan, and what an operator needs to know which evidence is its own to give.

import { WHO } from "./responsibility.ts";
WHO; // ["client", "operator", "shared", "inherited"]

Source: commons/tenancy/src/governance/responsibility.ts

0 of 6 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

governance.WHOconstno test imports it
const WHO: readonly ["client", "operator", "shared", "inherited"]

Who answers for a requirement.

governance.Whotypeno test imports it
type Who = (typeof WHO)[number];

A responsibility holder.

governance.Responsibilitytypeno test imports it
type Responsibility = {
  readonly framework: string;
  readonly requirement: string;
  readonly who: Who;
  /** For `inherited`: the party that provides it (a provider's id). */
  readonly provider?: string;
  /** For `shared`: what each side does. */
  readonly note?: string;
};

One statement of responsibility for a requirement of a framework.

WHOconstno test imports it
const WHO: readonly ["client", "operator", "shared", "inherited"]

Who answers for a requirement.

Whotypeno test imports it
type Who = (typeof WHO)[number];

A responsibility holder.

Responsibilitytypeno test imports it
type Responsibility = {
  readonly framework: string;
  readonly requirement: string;
  readonly who: Who;
  /** For `inherited`: the party that provides it (a provider's id). */
  readonly provider?: string;
  /** For `shared`: what each side does. */
  readonly note?: string;
};

One statement of responsibility for a requirement of a framework.

Titles, headings, exports, tables, columns and requirements. Esc closes.