create-filegrc 0.14.0 → 0.15.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-filegrc",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "description": "Create a filegrc workspace for a SOC 2 program",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/defaults.js CHANGED
@@ -10,6 +10,7 @@ const INFORMATION_SECURITY_POLICY_ID = "policy-information-security";
10
10
  const RETENTION_SCHEDULE_ID = "document-data-retention-schedule";
11
11
  const SECURITY_PLAN_ID = "document-security-incident-recovery-plan";
12
12
  const FILEGRC_INFORMATION_TYPE_ID = "information-type-grc-records";
13
+ const FILEGRC_RETENTION_ITEM_ID = "retention-schedule-item-filegrc-records";
13
14
  const FILEGRC_SOURCE_FAMILIES = [
14
15
  "training-acknowledgement",
15
16
  "exception-finding",
@@ -1172,7 +1173,7 @@ export function baselineRecordFiles(effectiveDate, starter = "security") {
1172
1173
  ownerIds: [POLICY_OWNER_APPOINTMENT_ID],
1173
1174
  ...(filegrcManaged ? {
1174
1175
  collectionCadence: "Record work when it occurs and export the complete population for the audit period.",
1175
- retentionScheduleItemIds: [`retention-schedule-item-source-${sourceFamilyId}`],
1176
+ retentionScheduleItemIds: [FILEGRC_RETENTION_ITEM_ID],
1176
1177
  reconciliationMethod: "Export the complete filegrc source-family population, compare it with related in-scope records and Work Queue activity, and investigate omissions or duplicates.",
1177
1178
  validFrom: effectiveDate
1178
1179
  } : {})
@@ -1187,18 +1188,21 @@ export function baselineRecordFiles(effectiveDate, starter = "security") {
1187
1188
  classificationId: "confidential",
1188
1189
  description: "Structured program records, approvals, work history, and evidence indexes stored in the FileGRC repository."
1189
1190
  };
1190
- const retentionScheduleItems = SOURCE_FAMILIES.map(([sourceFamilyId, title]) => ({
1191
- id: `retention-schedule-item-source-${sourceFamilyId}`,
1191
+ const retentionScheduleItems = [{
1192
+ id: FILEGRC_RETENTION_ITEM_ID,
1192
1193
  type: "retention-schedule-item",
1193
- title: `${title} retention review`,
1194
+ title: "Governance, risk, compliance, and audit records retention",
1194
1195
  status: "planned",
1195
1196
  description: "Management must select the covered Information Types, cutoff, retention period, and disposition behavior before activation.",
1196
- informationTypeIds: FILEGRC_SOURCE_FAMILIES.includes(sourceFamilyId) ? [FILEGRC_INFORMATION_TYPE_ID] : [],
1197
- scopeResourceIds: [`source-coverage-${sourceFamilyId}`],
1197
+ informationTypeIds: [FILEGRC_INFORMATION_TYPE_ID],
1198
+ scopeResourceIds: [
1199
+ "program-soc-2",
1200
+ ...FILEGRC_SOURCE_FAMILIES.map((sourceFamilyId) => `source-coverage-${sourceFamilyId}`)
1201
+ ],
1198
1202
  scheduleDocumentId: RETENTION_SCHEDULE_ID,
1199
1203
  sourceResourceIds: [INFORMATION_SECURITY_POLICY_ID, RETENTION_SCHEDULE_ID],
1200
1204
  ownerIds: [POLICY_OWNER_APPOINTMENT_ID]
1201
- }));
1205
+ }];
1202
1206
 
1203
1207
  const foundation = [
1204
1208
  recordFile("information-types", informationType),
package/src/index.js CHANGED
@@ -523,13 +523,13 @@ async function runCombinedSetup(target, input) {
523
523
  async function writeMinimalLockfile(target, name, versionRange) {
524
524
  const lock = {
525
525
  name,
526
- version: "0.14.0",
526
+ version: "0.15.0",
527
527
  lockfileVersion: 3,
528
528
  requires: true,
529
529
  packages: {
530
530
  "": {
531
531
  name,
532
- version: "0.14.0",
532
+ version: "0.15.0",
533
533
  dependencies: { filegrc: versionRange }
534
534
  }
535
535
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "{{project_name}}",
3
- "version": "0.14.0",
3
+ "version": "0.15.0",
4
4
  "private": true,
5
5
  "description": "filegrc workspace for a SOC 2 program",
6
6
  "type": "module",