IF Commons GitHub

NIST CSF 2.0 catalog package

0002Active

0002-csf2-package · owner if · domain commons

Requirements

FR-001checkpassing

The package MUST hold one grc.framework with the id nist-csf and the version 2.0, whose controls are exactly the active subcategories of the source (a subcategory that the source does not withdraw), each with its identifier (GV.OC-01), NIST's statement as the statement, the title of its category as the title and the identifier of its category (GV.OC) as the family; a withdrawn subcategory MUST NOT be a control.

Enforced (check): .github: cd commons/catalog-nist-csf-2 && bun run verify — suite/csf2.test.ts

Proved by: catalog-nist-csf-2/suite/csf2.test.ts

Written in: catalog-nist-csf-2/src/logical/convert.ts

Tests: passed: suite/csf2.test.ts the real package loads through the catalog loader, with 6 functions, 22 categories and 106; passed: suite/csf2.test.ts the conversion keeps the active subcategories, sorted, with their category as the title an

Cited by: Catalog Nist Csf 2, logical/convert

FR-002checkpassing

The manifest MUST record the publisher (NIST), the edition, the address of the source, the SHA-256 of the source file it was made from and the licence wording, and MUST say that the content may be redistributed; the package MUST load through readCatalogPackage of grc with no problem.

Enforced (check): .github: cd commons/catalog-nist-csf-2 && bun run verify — suite/csf2.test.ts

Proved by: catalog-nist-csf-2/suite/csf2.test.ts

Written in: catalog-nist-csf-2/src/governance/source.ts, catalog-nist-csf-2/src/physical/package.ts

Tests: passed: suite/csf2.test.ts the real package loads through the catalog loader, with 6 functions, 22 categories and 106; passed: suite/csf2.test.ts the manifest records the source, its pinned digest and the licence, and says the content m

Cited by: governance/source, Catalog Nist Csf 2, physical/package

FR-003checkpassing

The package MUST be made by tools/generate.ts from the source file and never edited by hand: the tool MUST refuse a source whose SHA-256 is not the one pinned, and --check MUST find any file of the package that differs from what the source gives.

Enforced (check): .github: cd commons/catalog-nist-csf-2 && bun run verify — suite/csf2.test.ts

Proved by: catalog-nist-csf-2/suite/csf2.test.ts

Written in: catalog-nist-csf-2/src/governance/source.ts, catalog-nist-csf-2/src/physical/package.ts, catalog-nist-csf-2/tools/generate.ts

Tests: passed: suite/csf2.test.ts the manifest records the source, its pinned digest and the licence, and says the content m; passed: suite/csf2.test.ts the files on disk are what the generator makes from the source, and the generator refuses

Cited by: governance/source, Catalog Nist Csf 2, physical/package

FR-004checkpassing

The conversion MUST be a pure function of the source value: the same source gives the same documents, byte for byte, with no clock and no network.

Enforced (check): .github: cd commons/catalog-nist-csf-2 && bun run verify — suite/csf2.test.ts

Proved by: catalog-nist-csf-2/suite/csf2.test.ts

Written in: catalog-nist-csf-2/src/logical/convert.ts, catalog-nist-csf-2/src/physical/package.ts

Tests: passed: suite/csf2.test.ts the conversion makes the same files from the same source

Cited by: Catalog Nist Csf 2, logical/convert, physical/package

Acceptance scenarios

  1. Given the source of NIST, When the package is made, Then it has 6 functions, 22 categories and 106 controls, each identifier in the form GV.OC-01, per FR-001.
  2. Given a source whose digest is not the pinned one, When the generator runs, Then it refuses and says so, per FR-003.

Out of scope

  • The mapping from CSF 1.1 to 2.0, the references to SP 800-53 and the implementation examples: later packages and crosswalks.

Edge cases

  • A subcategory with an empty title in the source: the title of the category is used, per FR-001.

Assumptions

  • The pinned source is the one NIST's data service gave on 2026-11-21; the licence wording is that of the copyright page of NIST (information on NIST sites is public information and may be distributed or copied, with a byline requested).

Open questions

OQ-1open question

Counsel's confirmation of the licence wording for the data service itself.

Key entities

  • Source, Package.

Success criteria

SC-001success criterion

The 106 controls of CSF 2.0 are available as framework data from a folder of JSON.

Review & acceptance checklist

  • [x] Every requirement is testable (MUST / MUST NOT), not aspirational
  • [x] No company fact is asserted here
  • [x] Every open item is marked, not silently decided

Cited by

governance/source, Catalog Nist Csf 2, logical/convert, physical/package

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