filegrc 0.14.0 → 0.15.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/model/index.js +2 -1
- package/model/v11.json +5 -5
- package/package.json +1 -1
- package/src/agent.js +1 -1
- package/src/audit-preparation.js +16 -4
- package/src/audit-selection.js +33 -0
- package/src/cli.js +6 -3
- package/src/collection-review.js +61 -2
- package/src/collection-revision.js +3 -1
- package/src/collection-scope.js +45 -1
- package/src/index.js +1 -1
- package/src/program-path.js +59 -14
- package/src/program-readiness.js +217 -30
- package/src/retention-schedule-approval.js +121 -0
- package/src/retention.js +87 -12
- package/src/state.js +19 -22
- package/src/validate.js +46 -0
- package/src/web.js +509 -139
- package/src/workflow-history-integrity.js +5 -1
- package/src/workflow.js +2 -0
|
@@ -224,7 +224,11 @@ export async function validateWorkflowHistoryIntegrity(loaded, diagnostics) {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
}
|
|
227
|
-
if (
|
|
227
|
+
if (
|
|
228
|
+
Array.isArray(first.record.reportingRouteRequirements)
|
|
229
|
+
&& first.record.reportingRouteRequirements.length
|
|
230
|
+
&& !sameJson(first.record.effectiveOn, entry.record.effectiveOn)
|
|
231
|
+
) {
|
|
228
232
|
diagnostics.push(integrityError(
|
|
229
233
|
entry,
|
|
230
234
|
`${entry.record.type} "${entry.record.id}" changed the effective date governing its structured Reporting Route requirements. Preserve the original interval and create a successor decision.`
|
package/src/workflow.js
CHANGED
|
@@ -1125,6 +1125,8 @@ function normalizeFinding(code, item, context) {
|
|
|
1125
1125
|
...(item.createResourceType ? { createResourceType: item.createResourceType } : {}),
|
|
1126
1126
|
...(item.sourceResourceIds ? { sourceResourceIds: item.sourceResourceIds } : {}),
|
|
1127
1127
|
...(item.informationTypeId ? { informationTypeId: item.informationTypeId } : {}),
|
|
1128
|
+
...(item.affectedResourceIds ? { affectedResourceIds: item.affectedResourceIds } : {}),
|
|
1129
|
+
...(item.retentionScopeResourceIds ? { retentionScopeResourceIds: item.retentionScopeResourceIds } : {}),
|
|
1128
1130
|
...(item.retentionScheduleItemIds ? { retentionScheduleItemIds: item.retentionScheduleItemIds } : {}),
|
|
1129
1131
|
...(item.staleResourceIds ? { staleResourceIds: item.staleResourceIds } : {}),
|
|
1130
1132
|
...(subject ? { subject } : {}),
|