@intellectual-frontiers/grc 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assess.d.ts +1 -1
- package/dist/assess.js +2 -2
- package/dist/attest.js +2 -2
- package/dist/evidence.d.ts +1 -1
- package/dist/evidence.js +2 -2
- package/dist/grc.d.ts +1 -1
- package/dist/grc.js +2 -2
- package/dist/host/grc.d.ts +1 -1
- package/dist/host/grc.js +2 -2
- package/dist/host/mod.js +1 -1
- package/dist/host/sign.d.ts +1 -1
- package/dist/host/sign.js +2 -2
- package/dist/mod.js +1 -1
- package/dist/ocsf-types.auto.d.ts +1 -1
- package/dist/ocsf-types.auto.js +1 -1
- package/dist/ocsf.js +2 -2
- package/dist/oscal.js +2 -2
- package/package.json +6 -6
- package/src/assess.ts +2 -2
- package/src/attest.ts +2 -2
- package/src/evidence.ts +2 -2
- package/src/grc.ts +2 -2
- package/src/host/grc.ts +2 -2
- package/src/host/mod.ts +1 -1
- package/src/host/sign.ts +2 -2
- package/src/mod.ts +1 -1
- package/src/ocsf-types.auto.ts +1 -1
- package/src/ocsf.ts +2 -2
- package/src/oscal.ts +2 -2
package/dist/assess.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Assessment: what findings, evidence and declarations add up to (commons 0001-grc FR-010 to FR-015). Every function is pure and takes the
|
|
2
|
+
* Assessment: what findings, evidence and declarations add up to (commons 0001-grc-engineering FR-010 to FR-015). Every function is pure and takes the
|
|
3
3
|
* instant it judges at as a value.
|
|
4
4
|
*
|
|
5
5
|
* - **Coverage** rolls each catalog control (a requirement) or control up as `gap`, `untested`, `partial`, `addressed` or `covered` (FR-010).
|
package/dist/assess.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-010
|
|
1
|
+
// Spec: 0001-grc-engineering FR-010
|
|
2
2
|
/**
|
|
3
|
-
* Assessment: what findings, evidence and declarations add up to (commons 0001-grc FR-010 to FR-015). Every function is pure and takes the
|
|
3
|
+
* Assessment: what findings, evidence and declarations add up to (commons 0001-grc-engineering FR-010 to FR-015). Every function is pure and takes the
|
|
4
4
|
* instant it judges at as a value.
|
|
5
5
|
*
|
|
6
6
|
* - **Coverage** rolls each catalog control (a requirement) or control up as `gap`, `untested`, `partial`, `addressed` or `covered` (FR-010).
|
package/dist/attest.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-018
|
|
1
|
+
// Spec: 0001-grc-engineering FR-018
|
|
2
2
|
/**
|
|
3
|
-
* Attestations (commons 0001-grc FR-018): an assessment as CycloneDX 1.6 `declarations` (assessors, attestations, claims, evidence and
|
|
3
|
+
* Attestations (commons 0001-grc-engineering FR-018): an assessment as CycloneDX 1.6 `declarations` (assessors, attestations, claims, evidence and
|
|
4
4
|
* targets) in a minimal CycloneDX 1.6 BOM, and in-toto Statements v1 with a predicate type the caller names, ready for a DSSE envelope
|
|
5
5
|
* (`crypto/dsse`, 0005-typescript-runtime FR-045).
|
|
6
6
|
*
|
package/dist/evidence.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Evidence: JSON's canonical form and the digest it gives, a hash-chained ledger, a manifest of files and a deterministic bundle (commons
|
|
3
|
-
* 0001-grc FR-006 to FR-009). The kernel holds no key: a manifest's signature is made and checked by functions the caller gives.
|
|
3
|
+
* 0001-grc-engineering FR-006 to FR-009). The kernel holds no key: a manifest's signature is made and checked by functions the caller gives.
|
|
4
4
|
*
|
|
5
5
|
* - `canonicalize` writes RFC 8785's JSON Canonicalization Scheme: object members sorted by the UTF-16 code units of their names, numbers
|
|
6
6
|
* as ECMAScript writes them, strings with JSON's minimal escapes, no white space; `evidenceDigest` is the SHA-256 of its UTF-8 (FR-006).
|
package/dist/evidence.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-006
|
|
1
|
+
// Spec: 0001-grc-engineering FR-006
|
|
2
2
|
/**
|
|
3
3
|
* Evidence: JSON's canonical form and the digest it gives, a hash-chained ledger, a manifest of files and a deterministic bundle (commons
|
|
4
|
-
* 0001-grc FR-006 to FR-009). The kernel holds no key: a manifest's signature is made and checked by functions the caller gives.
|
|
4
|
+
* 0001-grc-engineering FR-006 to FR-009). The kernel holds no key: a manifest's signature is made and checked by functions the caller gives.
|
|
5
5
|
*
|
|
6
6
|
* - `canonicalize` writes RFC 8785's JSON Canonicalization Scheme: object members sorted by the UTF-16 code units of their names, numbers
|
|
7
7
|
* as ECMAScript writes them, strings with JSON's minimal escapes, no white space; `evidenceDigest` is the SHA-256 of its UTF-8 (FR-006).
|
package/dist/grc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Governance, risk and compliance as code: catalogs, controls, verdicts, findings and waivers (commons 0001-grc FR-001 to FR-005), with
|
|
2
|
+
* Governance, risk and compliance as code: catalogs, controls, verdicts, findings and waivers (commons 0001-grc-engineering FR-001 to FR-005), with
|
|
3
3
|
* the time values they all share (an `Instant`, an ISO 8601 `Duration`; FR-011 uses them) and the globs that waivers and change-impact
|
|
4
4
|
* declarations match with (FR-005, FR-013). Pure: the kernel reads no clock, so every "now" is a value the caller gives.
|
|
5
5
|
*
|
package/dist/grc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-001
|
|
1
|
+
// Spec: 0001-grc-engineering FR-001
|
|
2
2
|
/**
|
|
3
|
-
* Governance, risk and compliance as code: catalogs, controls, verdicts, findings and waivers (commons 0001-grc FR-001 to FR-005), with
|
|
3
|
+
* Governance, risk and compliance as code: catalogs, controls, verdicts, findings and waivers (commons 0001-grc-engineering FR-001 to FR-005), with
|
|
4
4
|
* the time values they all share (an `Instant`, an ISO 8601 `Duration`; FR-011 uses them) and the globs that waivers and change-impact
|
|
5
5
|
* declarations match with (FR-005, FR-013). Pure: the kernel reads no clock, so every "now" is a value the caller gives.
|
|
6
6
|
*
|
package/dist/host/grc.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* The GRC host (commons 0001-grc FR-021): waivers, risk registers, impact declarations and any other data the caller has a decoder for,
|
|
2
|
+
* The GRC host (commons 0001-grc-engineering FR-021): waivers, risk registers, impact declarations and any other data the caller has a decoder for,
|
|
3
3
|
* loaded from TOML, YAML, JSON or JSON5 files (chosen by the file's extension) with the kernel's parsers and decoders. An error names the
|
|
4
4
|
* file and either where its text stops parsing (line and column) or the path of the value that does not decode (`$.waivers[1].expiresAt`).
|
|
5
5
|
* A list file holds its items either as its top-level array or under one key (`waivers`, `risks`, `declarations`), so TOML, whose top
|
package/dist/host/grc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-021
|
|
1
|
+
// Spec: 0001-grc-engineering FR-021
|
|
2
2
|
/**
|
|
3
|
-
* The GRC host (commons 0001-grc FR-021): waivers, risk registers, impact declarations and any other data the caller has a decoder for,
|
|
3
|
+
* The GRC host (commons 0001-grc-engineering FR-021): waivers, risk registers, impact declarations and any other data the caller has a decoder for,
|
|
4
4
|
* loaded from TOML, YAML, JSON or JSON5 files (chosen by the file's extension) with the kernel's parsers and decoders. An error names the
|
|
5
5
|
* file and either where its text stops parsing (line and column) or the path of the value that does not decode (`$.waivers[1].expiresAt`).
|
|
6
6
|
* A list file holds its items either as its top-level array or under one key (`waivers`, `risks`, `declarations`), so TOML, whose top
|
package/dist/host/mod.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-019
|
|
1
|
+
// Spec: 0001-grc-engineering FR-019
|
|
2
2
|
/**
|
|
3
3
|
* The host of GRC engineering (commons 0007-grc): `grc` loads the settings of packs, waivers, risk registers and impact declarations from TOML, YAML, JSON and JSON5 files and runs a pack as signals, and `sign`
|
|
4
4
|
* signs and verifies with `ssh-keygen -Y` and with Web Crypto keys through DSSE, behind one signer interface. It touches the host (files, processes) and the pipeline of the telemetry that a process installs.
|
package/dist/host/sign.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Signing and verifying behind one interface (commons 0001-grc FR-020): a `Signer` turns bytes into a signature and the id of the key that
|
|
2
|
+
* Signing and verifying behind one interface (commons 0001-grc-engineering FR-020): a `Signer` turns bytes into a signature and the id of the key that
|
|
3
3
|
* made it, a `Verifier` says whether a signature over bytes holds. Two kinds stand behind it. `sshSigner` and `sshVerifier` run OpenSSH's
|
|
4
4
|
* `ssh-keygen -Y sign` and `ssh-keygen -Y verify` by their argument vector (the message on standard input, the signature an armored
|
|
5
5
|
* SSHSIG), with the namespace given, the private key a file the caller names and the allowed signers a file the caller names; nothing else
|
package/dist/host/sign.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-020
|
|
1
|
+
// Spec: 0001-grc-engineering FR-020
|
|
2
2
|
/**
|
|
3
|
-
* Signing and verifying behind one interface (commons 0001-grc FR-020): a `Signer` turns bytes into a signature and the id of the key that
|
|
3
|
+
* Signing and verifying behind one interface (commons 0001-grc-engineering FR-020): a `Signer` turns bytes into a signature and the id of the key that
|
|
4
4
|
* made it, a `Verifier` says whether a signature over bytes holds. Two kinds stand behind it. `sshSigner` and `sshVerifier` run OpenSSH's
|
|
5
5
|
* `ssh-keygen -Y sign` and `ssh-keygen -Y verify` by their argument vector (the message on standard input, the signature an armored
|
|
6
6
|
* SSHSIG), with the namespace given, the private key a file the caller names and the allowed signers a file the caller names; nothing else
|
package/dist/mod.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-001
|
|
1
|
+
// Spec: 0001-grc-engineering FR-001
|
|
2
2
|
/**
|
|
3
3
|
* GRC engineering as one typed library (commons 0007-grc, 0032-lifting-libraries): the pure modules as namespaces. `grc` gives catalogs, controls, verdicts, findings and waivers; `evidence` gives the canonical form of
|
|
4
4
|
* JSON, the hash-chained ledger and the manifests and bundles; `assess` gives coverage, freshness, drift, the change-impact gate and the risk register; `ocsf`, `oscal` and `attest` write the findings, the assessments and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* TypeScript types for the OCSF 1.9.0 classes the harnesses emit (commons 0001-grc FR-016), and every object they use. A required
|
|
2
|
+
* TypeScript types for the OCSF 1.9.0 classes the harnesses emit (commons 0001-grc-engineering FR-016), and every object they use. A required
|
|
3
3
|
* attribute is required here; an attribute a profile adds is optional; a deprecated one says so. The classes:
|
|
4
4
|
* - Compliance Finding (2003, `compliance_finding`)
|
|
5
5
|
* - Vulnerability Finding (2002, `vulnerability_finding`)
|
package/dist/ocsf-types.auto.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* TypeScript types for the OCSF 1.9.0 classes the harnesses emit (commons 0001-grc FR-016), and every object they use. A required
|
|
2
|
+
* TypeScript types for the OCSF 1.9.0 classes the harnesses emit (commons 0001-grc-engineering FR-016), and every object they use. A required
|
|
3
3
|
* attribute is required here; an attribute a profile adds is optional; a deprecated one says so. The classes:
|
|
4
4
|
* - Compliance Finding (2003, `compliance_finding`)
|
|
5
5
|
* - Vulnerability Finding (2002, `vulnerability_finding`)
|
package/dist/ocsf.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-016
|
|
1
|
+
// Spec: 0001-grc-engineering FR-016
|
|
2
2
|
/**
|
|
3
|
-
* Findings and inventories as OCSF 1.9.0 events (commons 0001-grc FR-016), typed by the types `tools/ocsf-gen.ts` generates from the
|
|
3
|
+
* Findings and inventories as OCSF 1.9.0 events (commons 0001-grc-engineering FR-016), typed by the types `tools/ocsf-gen.ts` generates from the
|
|
4
4
|
* pinned OCSF 1.9.0 schema (`ocsf-types.auto.ts`, re-exported here), so a missing required attribute does not compile. The classes are the
|
|
5
5
|
* ones the harnesses emit:
|
|
6
6
|
*
|
package/dist/oscal.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-017
|
|
1
|
+
// Spec: 0001-grc-engineering FR-017
|
|
2
2
|
/**
|
|
3
|
-
* Assessments as OSCAL 1.2.3 JSON (commons 0001-grc FR-017): `assessment-results` (one result of every finding as an observation and of
|
|
3
|
+
* Assessments as OSCAL 1.2.3 JSON (commons 0001-grc-engineering FR-017): `assessment-results` (one result of every finding as an observation and of
|
|
4
4
|
* every reviewed control as an OSCAL finding), a `plan-of-action-and-milestones` (a POA&M item and a risk for each finding not passing, and
|
|
5
5
|
* for each risk of a register), a `component-definition` (a component whose control implementations are the catalog controls its controls
|
|
6
6
|
* implement), and a minimal `system-security-plan` of what is implemented and how far, from an assessment.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intellectual-frontiers/grc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Governance, risk and compliance as code: typed catalogs, controls, verdicts, findings and waivers, the hash-chained evidence ledger, coverage, freshness, drift and the risk register, and the findings, assessments and attestations written as OCSF, OSCAL, CycloneDX and in-toto; with a host that loads the settings of packs, runs them as signals and signs; the same code on Bun and Node 26.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -62,11 +62,11 @@
|
|
|
62
62
|
}
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
|
-
"@intellectual-frontiers/core": "0.1.
|
|
66
|
-
"@intellectual-frontiers/crypto": "0.1.
|
|
67
|
-
"@intellectual-frontiers/formats": "0.1.
|
|
68
|
-
"@intellectual-frontiers/system": "0.1.
|
|
69
|
-
"@intellectual-frontiers/telemetry": "0.1.
|
|
65
|
+
"@intellectual-frontiers/core": "0.1.3",
|
|
66
|
+
"@intellectual-frontiers/crypto": "0.1.3",
|
|
67
|
+
"@intellectual-frontiers/formats": "0.1.3",
|
|
68
|
+
"@intellectual-frontiers/system": "0.1.3",
|
|
69
|
+
"@intellectual-frontiers/telemetry": "0.1.3"
|
|
70
70
|
},
|
|
71
71
|
"files": [
|
|
72
72
|
"dist",
|
package/src/assess.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-010
|
|
1
|
+
// Spec: 0001-grc-engineering FR-010
|
|
2
2
|
/**
|
|
3
|
-
* Assessment: what findings, evidence and declarations add up to (commons 0001-grc FR-010 to FR-015). Every function is pure and takes the
|
|
3
|
+
* Assessment: what findings, evidence and declarations add up to (commons 0001-grc-engineering FR-010 to FR-015). Every function is pure and takes the
|
|
4
4
|
* instant it judges at as a value.
|
|
5
5
|
*
|
|
6
6
|
* - **Coverage** rolls each catalog control (a requirement) or control up as `gap`, `untested`, `partial`, `addressed` or `covered` (FR-010).
|
package/src/attest.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-018
|
|
1
|
+
// Spec: 0001-grc-engineering FR-018
|
|
2
2
|
/**
|
|
3
|
-
* Attestations (commons 0001-grc FR-018): an assessment as CycloneDX 1.6 `declarations` (assessors, attestations, claims, evidence and
|
|
3
|
+
* Attestations (commons 0001-grc-engineering FR-018): an assessment as CycloneDX 1.6 `declarations` (assessors, attestations, claims, evidence and
|
|
4
4
|
* targets) in a minimal CycloneDX 1.6 BOM, and in-toto Statements v1 with a predicate type the caller names, ready for a DSSE envelope
|
|
5
5
|
* (`crypto/dsse`, 0005-typescript-runtime FR-045).
|
|
6
6
|
*
|
package/src/evidence.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-006
|
|
1
|
+
// Spec: 0001-grc-engineering FR-006
|
|
2
2
|
/**
|
|
3
3
|
* Evidence: JSON's canonical form and the digest it gives, a hash-chained ledger, a manifest of files and a deterministic bundle (commons
|
|
4
|
-
* 0001-grc FR-006 to FR-009). The kernel holds no key: a manifest's signature is made and checked by functions the caller gives.
|
|
4
|
+
* 0001-grc-engineering FR-006 to FR-009). The kernel holds no key: a manifest's signature is made and checked by functions the caller gives.
|
|
5
5
|
*
|
|
6
6
|
* - `canonicalize` writes RFC 8785's JSON Canonicalization Scheme: object members sorted by the UTF-16 code units of their names, numbers
|
|
7
7
|
* as ECMAScript writes them, strings with JSON's minimal escapes, no white space; `evidenceDigest` is the SHA-256 of its UTF-8 (FR-006).
|
package/src/grc.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-001
|
|
1
|
+
// Spec: 0001-grc-engineering FR-001
|
|
2
2
|
/**
|
|
3
|
-
* Governance, risk and compliance as code: catalogs, controls, verdicts, findings and waivers (commons 0001-grc FR-001 to FR-005), with
|
|
3
|
+
* Governance, risk and compliance as code: catalogs, controls, verdicts, findings and waivers (commons 0001-grc-engineering FR-001 to FR-005), with
|
|
4
4
|
* the time values they all share (an `Instant`, an ISO 8601 `Duration`; FR-011 uses them) and the globs that waivers and change-impact
|
|
5
5
|
* declarations match with (FR-005, FR-013). Pure: the kernel reads no clock, so every "now" is a value the caller gives.
|
|
6
6
|
*
|
package/src/host/grc.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-021
|
|
1
|
+
// Spec: 0001-grc-engineering FR-021
|
|
2
2
|
/**
|
|
3
|
-
* The GRC host (commons 0001-grc FR-021): waivers, risk registers, impact declarations and any other data the caller has a decoder for,
|
|
3
|
+
* The GRC host (commons 0001-grc-engineering FR-021): waivers, risk registers, impact declarations and any other data the caller has a decoder for,
|
|
4
4
|
* loaded from TOML, YAML, JSON or JSON5 files (chosen by the file's extension) with the kernel's parsers and decoders. An error names the
|
|
5
5
|
* file and either where its text stops parsing (line and column) or the path of the value that does not decode (`$.waivers[1].expiresAt`).
|
|
6
6
|
* A list file holds its items either as its top-level array or under one key (`waivers`, `risks`, `declarations`), so TOML, whose top
|
package/src/host/mod.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-019
|
|
1
|
+
// Spec: 0001-grc-engineering FR-019
|
|
2
2
|
/**
|
|
3
3
|
* The host of GRC engineering (commons 0007-grc): `grc` loads the settings of packs, waivers, risk registers and impact declarations from TOML, YAML, JSON and JSON5 files and runs a pack as signals, and `sign`
|
|
4
4
|
* signs and verifies with `ssh-keygen -Y` and with Web Crypto keys through DSSE, behind one signer interface. It touches the host (files, processes) and the pipeline of the telemetry that a process installs.
|
package/src/host/sign.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-020
|
|
1
|
+
// Spec: 0001-grc-engineering FR-020
|
|
2
2
|
/**
|
|
3
|
-
* Signing and verifying behind one interface (commons 0001-grc FR-020): a `Signer` turns bytes into a signature and the id of the key that
|
|
3
|
+
* Signing and verifying behind one interface (commons 0001-grc-engineering FR-020): a `Signer` turns bytes into a signature and the id of the key that
|
|
4
4
|
* made it, a `Verifier` says whether a signature over bytes holds. Two kinds stand behind it. `sshSigner` and `sshVerifier` run OpenSSH's
|
|
5
5
|
* `ssh-keygen -Y sign` and `ssh-keygen -Y verify` by their argument vector (the message on standard input, the signature an armored
|
|
6
6
|
* SSHSIG), with the namespace given, the private key a file the caller names and the allowed signers a file the caller names; nothing else
|
package/src/mod.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-001
|
|
1
|
+
// Spec: 0001-grc-engineering FR-001
|
|
2
2
|
/**
|
|
3
3
|
* GRC engineering as one typed library (commons 0007-grc, 0032-lifting-libraries): the pure modules as namespaces. `grc` gives catalogs, controls, verdicts, findings and waivers; `evidence` gives the canonical form of
|
|
4
4
|
* JSON, the hash-chained ledger and the manifests and bundles; `assess` gives coverage, freshness, drift, the change-impact gate and the risk register; `ocsf`, `oscal` and `attest` write the findings, the assessments and
|
package/src/ocsf-types.auto.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* TypeScript types for the OCSF 1.9.0 classes the harnesses emit (commons 0001-grc FR-016), and every object they use. A required
|
|
2
|
+
* TypeScript types for the OCSF 1.9.0 classes the harnesses emit (commons 0001-grc-engineering FR-016), and every object they use. A required
|
|
3
3
|
* attribute is required here; an attribute a profile adds is optional; a deprecated one says so. The classes:
|
|
4
4
|
* - Compliance Finding (2003, `compliance_finding`)
|
|
5
5
|
* - Vulnerability Finding (2002, `vulnerability_finding`)
|
package/src/ocsf.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-016
|
|
1
|
+
// Spec: 0001-grc-engineering FR-016
|
|
2
2
|
/**
|
|
3
|
-
* Findings and inventories as OCSF 1.9.0 events (commons 0001-grc FR-016), typed by the types `tools/ocsf-gen.ts` generates from the
|
|
3
|
+
* Findings and inventories as OCSF 1.9.0 events (commons 0001-grc-engineering FR-016), typed by the types `tools/ocsf-gen.ts` generates from the
|
|
4
4
|
* pinned OCSF 1.9.0 schema (`ocsf-types.auto.ts`, re-exported here), so a missing required attribute does not compile. The classes are the
|
|
5
5
|
* ones the harnesses emit:
|
|
6
6
|
*
|
package/src/oscal.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
// Spec: 0001-grc FR-017
|
|
1
|
+
// Spec: 0001-grc-engineering FR-017
|
|
2
2
|
/**
|
|
3
|
-
* Assessments as OSCAL 1.2.3 JSON (commons 0001-grc FR-017): `assessment-results` (one result of every finding as an observation and of
|
|
3
|
+
* Assessments as OSCAL 1.2.3 JSON (commons 0001-grc-engineering FR-017): `assessment-results` (one result of every finding as an observation and of
|
|
4
4
|
* every reviewed control as an OSCAL finding), a `plan-of-action-and-milestones` (a POA&M item and a risk for each finding not passing, and
|
|
5
5
|
* for each risk of a register), a `component-definition` (a component whose control implementations are the catalog controls its controls
|
|
6
6
|
* implement), and a minimal `system-security-plan` of what is implemented and how far, from an assessment.
|