Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/data-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -2443,7 +2443,7 @@ Timing: Collect real retained proof, then substantively review its source, scope
When reviewing:

- Collected means the artifact exists; Reviewed (stored as status verified) means a named Person actually checked it. Record that Person in verifierIds and the real review date in verifiedOn. The reviewer may be the collector. Do not infer review or independence from collection or fabricate review metadata.
- Preserve any specifically required independent review, including configuration proof supporting Reporting Channel Set approval. Keep independent policy and risk-assessment approvals and the CPA firm’s examination separate from routine evidence review.
- Preserve any specifically required independent review, including review of Reporting Channel Set configuration proof by someone independent of ongoing channel responsibility. That reviewer may also collect the proof. Keep independent policy and risk-assessment approvals and the CPA firm’s examination separate from routine evidence review.
- For a signed management representation, choose "Signed Record" for "Artifact Kind" and enter "signed-management-representation" for "Artifact Subtype".
- Enter when the representation was signed in "Business event time". Use "Collected On" for the date you received it.
- For a final CPA report, choose "Third Party Report" for "Artifact Kind", enter "soc2-report" for "Artifact Subtype", and enter when the CPA firm issued it in "Source generation time".
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filegrc-monorepo",
"version": "0.21.11",
"version": "0.21.12",
"private": true,
"workspaces": [
"packages/filegrc",
Expand Down
2 changes: 1 addition & 1 deletion packages/create-filegrc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-filegrc",
"version": "0.21.11",
"version": "0.21.12",
"description": "Create a filegrc workspace for a SOC 2 program",
"license": "MIT",
"repository": {
Expand Down
4 changes: 2 additions & 2 deletions packages/create-filegrc/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -524,13 +524,13 @@ async function runCombinedSetup(target, input) {
async function writeMinimalLockfile(target, name, versionRange) {
const lock = {
name,
version: "0.21.11",
version: "0.21.12",
lockfileVersion: 3,
requires: true,
packages: {
"": {
name,
version: "0.21.11",
version: "0.21.12",
dependencies: { filegrc: versionRange }
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/create-filegrc/template/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "{{project_name}}",
"version": "0.21.11",
"version": "0.21.12",
"private": true,
"description": "filegrc workspace for a SOC 2 program",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion packages/filegrc/model/v13.json
Original file line number Diff line number Diff line change
Expand Up @@ -1809,7 +1809,7 @@
"emptyState": "No Evidence Artifacts have been collected. Add one only when a real retained artifact or approved external reference exists.",
"reviewPoints": [
"Collected means the artifact exists; Reviewed (stored as status verified) means a named Person actually checked it. Record that Person in verifierIds and the real review date in verifiedOn. The reviewer may be the collector. Do not infer review or independence from collection or fabricate review metadata.",
"Preserve any specifically required independent review, including configuration proof supporting Reporting Channel Set approval. Keep independent policy and risk-assessment approvals and the CPA firm\u2019s examination separate from routine evidence review.",
"Preserve any specifically required independent review, including review of Reporting Channel Set configuration proof by someone independent of ongoing channel responsibility. That reviewer may also collect the proof. Keep independent policy and risk-assessment approvals and the CPA firm\u2019s examination separate from routine evidence review.",
"For a signed management representation, choose \"Signed Record\" for \"Artifact Kind\" and enter \"signed-management-representation\" for \"Artifact Subtype\".",
"Enter when the representation was signed in \"Business event time\". Use \"Collected On\" for the date you received it.",
"For a final CPA report, choose \"Third Party Report\" for \"Artifact Kind\", enter \"soc2-report\" for \"Artifact Subtype\", and enter when the CPA firm issued it in \"Source generation time\"."
Expand Down
2 changes: 1 addition & 1 deletion packages/filegrc/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "filegrc",
"version": "0.21.11",
"version": "0.21.12",
"description": "Zero-dependency Git-native GRC engine",
"license": "MIT",
"repository": {
Expand Down
7 changes: 4 additions & 3 deletions packages/filegrc/src/reporting-route-integrity.js
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,11 @@ export function reportingRouteApprovalEvidence(loaded, routeSet, evidenceIds, ap
const committed = getFileObjectIdAtRevision(loaded.root, materialCommit, `data/${path}`);
return committed && committed === getWorkingFileObjectId(loaded.root, `data/${path}`);
})) return false;
// Review must concern an existing proposal and be independent of collection
// and ongoing channel responsibility. Date-only records retain day precision.
// Review must concern an existing proposal and be independent of ongoing
// channel responsibility. The reviewer may collect the proof themselves.
// Date-only records retain day precision.
if (evidence.verifiedOn < proposalDate
|| arrayValue(evidence.verifierIds).some((id) => authorityIds.has(id) || arrayValue(evidence.collectorIds).includes(id))) return false;
|| arrayValue(evidence.verifierIds).some((id) => authorityIds.has(id))) return false;
for (const field of ["collectedAt", "verifiedAt", "sourceGeneratedAt", "businessEventAt", "generatedAt"]) {
if (evidence[field] && (!isRfc3339Timestamp(evidence[field]) || new Date(evidence[field]) > decision)) return false;
}
Expand Down
4 changes: 3 additions & 1 deletion packages/filegrc/test/reporting-route-sets.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ test("reviews earlier fixed configuration against an unchanged proposal without
...source, artifactKind: "configuration-export",
collectedOn: "2021-07-31", verifiedOn: "2021-08-01",
collectedAt: "2021-07-31T14:00:00Z", verifiedAt: "2021-08-01T15:00:00Z",
collectorIds: ["person-example"], verifierIds: ["person-independent-approver-example"],
collectorIds: ["person-independent-approver-example"], verifierIds: ["person-independent-approver-example"],
coverage: { kind: "as-of", on: "2021-07-31" }
};
for (const field of ["generatedAt", "timezone", "queryDescription", "populationCount", "completenessValidation", "accuracyValidation"]) delete evidence[field];
Expand All @@ -922,6 +922,8 @@ test("reviews earlier fixed configuration against an unchanged proposal without
return reportingRouteApprovalEvidence(current, candidate, [evidence.id], decision, "UTC");
};
assert.equal((await support()).length, 1);
assert.equal((await support({ collectorIds: ["person-example"] })).length, 1);
assert.equal((await support({ collectorIds: ["person-example"], verifierIds: ["person-example"] })).length, 0);
for (const patch of [
{ status: "collected" }, { verifierIds: ["person-example"] },
{ collectorIds: ["person-route-authority-successor"], verifierIds: ["person-example"] },
Expand Down
Loading