create-filegrc 0.3.4 → 0.4.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.
Files changed (52) hide show
  1. package/README.md +4 -3
  2. package/package.json +1 -1
  3. package/src/cli.js +5 -3
  4. package/src/defaults.js +81 -112
  5. package/src/index.js +13 -12
  6. package/template/AGENTS.md +23 -16
  7. package/template/README.md +10 -7
  8. package/template/data/AGENTS.md +35 -13
  9. package/template/data/action-items/AGENTS.md +2 -2
  10. package/template/data/appointments/appointment-policy-owner.json +11 -0
  11. package/template/data/audits/AGENTS.md +1 -1
  12. package/template/data/documents/document-business-continuity-disaster-recovery.json +12 -12
  13. package/template/data/documents/document-business-continuity-disaster-recovery.md +1 -1
  14. package/template/data/documents/document-contractor-policy-acknowledgement.json +10 -11
  15. package/template/data/documents/document-contractor-training-acknowledgement.json +13 -12
  16. package/template/data/documents/document-data-retention-schedule.json +9 -11
  17. package/template/data/documents/document-employee-handbook-acknowledgement.json +10 -11
  18. package/template/data/documents/document-employee-policy-acknowledgement.json +10 -11
  19. package/template/data/documents/document-employee-training-acknowledgement.json +13 -12
  20. package/template/data/documents/document-incident-response-plan.json +12 -12
  21. package/template/data/documents/document-incident-response-plan.md +2 -2
  22. package/template/data/documents/document-soc2-management-assertion.json +2 -3
  23. package/template/data/documents/document-soc2-management-representation.json +2 -3
  24. package/template/data/documents/document-soc2-period-completeness.json +2 -3
  25. package/template/data/documents/document-soc2-system-description.json +2 -3
  26. package/template/data/evidence/AGENTS.md +3 -3
  27. package/template/data/obligation-events/AGENTS.md +2 -2
  28. package/template/data/obligations/AGENTS.md +1 -1
  29. package/template/data/people/person-program-lead.json +9 -0
  30. package/template/data/policies/AGENTS.md +1 -1
  31. package/template/data/policies/policy-anti-bribery-corruption.json +9 -15
  32. package/template/data/policies/policy-anti-bribery-corruption.md +1 -1
  33. package/template/data/policies/policy-clear-desk-screen.json +8 -14
  34. package/template/data/policies/policy-clear-desk-screen.md +1 -1
  35. package/template/data/policies/policy-data-protection-handling.json +10 -22
  36. package/template/data/policies/policy-data-protection-handling.md +2 -2
  37. package/template/data/policies/policy-employee-handbook.json +6 -16
  38. package/template/data/policies/policy-information-security.json +8 -40
  39. package/template/data/policies/policy-information-security.md +2 -2
  40. package/template/data/policies/policy-mobile-computing-communications.json +8 -18
  41. package/template/data/policies/policy-mobile-computing-communications.md +1 -1
  42. package/template/data/renderer.json +0 -1
  43. package/template/data/training/training-anti-bribery-high-risk-roles.json +1 -2
  44. package/template/data/training/training-privileged-sensitive-roles.json +1 -2
  45. package/template/data/training/training-secure-development.json +1 -2
  46. package/template/data/training/training-security-awareness.json +7 -9
  47. package/template/data/training/training-security-awareness.md +1 -1
  48. package/template/data/workspace.json +19 -8
  49. package/template/docs/filegrc-home.png +0 -0
  50. package/template/package.json +1 -1
  51. package/template-parameters.json +6 -1
  52. package/template/data/people/person-policy-owner.json +0 -10
@@ -1,18 +1,16 @@
1
1
  {
2
- "schemaVersion": 1,
3
2
  "id": "training-security-awareness",
4
3
  "type": "training",
5
4
  "title": "Security Awareness and Incident Response Training",
6
5
  "status": "draft",
7
- "ownerIds": ["person-policy-owner"],
8
- "audience": ["employees", "contractors"],
6
+ "ownerIds": [
7
+ "appointment-policy-owner"
8
+ ],
9
+ "audience": [
10
+ "employees",
11
+ "contractors"
12
+ ],
9
13
  "assignmentTrigger": "onboarding",
10
- "recurrence": {
11
- "mode": "calendar",
12
- "unit": "year",
13
- "interval": 1,
14
- "anchorDate": "{{effective_date}}"
15
- },
16
14
  "completionWindowDays": 30,
17
15
  "policyIds": [
18
16
  "policy-clear-desk-screen",
@@ -162,7 +162,7 @@ Report any event that could affect the confidentiality, integrity, or availabili
162
162
  ## Reporting and first actions
163
163
 
164
164
  1. Stop the unsafe action. Do not continue entering credentials, sending data, or following the request.
165
- 2. Report the event immediately to {{security_contact_email}}. If that route is unavailable, contact {{policy_owner_name}} through an approved alternate method.
165
+ 2. Report the event immediately to {{security_contact_email}}. If that route is unavailable, contact the current Policy Owner through an approved alternate method.
166
166
  3. State what happened, when it happened, the affected account, device, system, or data, and any action already taken.
167
167
  4. Preserve the message, file, screen, device, or other evidence. Take a screenshot only when it is safe and does not expose more sensitive data.
168
168
  5. Follow response-team instructions. Remain available for questions.
@@ -1,6 +1,5 @@
1
1
  {
2
- "schemaVersion": 1,
3
- "dataModelVersion": "1",
2
+ "dataModelVersion": "2",
4
3
  "id": "workspace",
5
4
  "type": "workspace",
6
5
  "title": "{{program_title}}",
@@ -9,8 +8,20 @@
9
8
  "description": "{{program_description}}",
10
9
  "riskMethodology": {
11
10
  "method": "5x5 likelihood and impact",
12
- "likelihoodScale": ["Rare", "Unlikely", "Possible", "Likely", "Almost certain"],
13
- "impactScale": ["Negligible", "Minor", "Moderate", "Major", "Severe"],
11
+ "likelihoodScale": [
12
+ "Rare",
13
+ "Unlikely",
14
+ "Possible",
15
+ "Likely",
16
+ "Almost certain"
17
+ ],
18
+ "impactScale": [
19
+ "Negligible",
20
+ "Minor",
21
+ "Moderate",
22
+ "Major",
23
+ "Severe"
24
+ ],
14
25
  "ratingBands": {
15
26
  "low": "1-4",
16
27
  "medium": "5-9",
@@ -19,9 +30,9 @@
19
30
  }
20
31
  },
21
32
  "classificationDefinitions": {
22
- "Public": "Approved for public release.",
23
- "Internal": "Intended for the workforce and approved partners.",
24
- "Confidential": "Disclosure could harm the organization, a customer, or another person.",
25
- "Restricted": "Disclosure or alteration could cause severe harm or trigger legal duties."
33
+ "public": "Approved for public release.",
34
+ "internal": "Intended for the workforce and approved partners.",
35
+ "confidential": "Disclosure could harm the organization, a customer, or another person.",
36
+ "restricted": "Disclosure or alteration could cause severe harm or trigger legal duties."
26
37
  }
27
38
  }
Binary file
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "{{project_name}}",
3
- "version": "0.3.4",
3
+ "version": "0.4.0",
4
4
  "private": true,
5
5
  "description": "filegrc workspace for a SOC 2 program",
6
6
  "type": "module",
@@ -7,7 +7,12 @@
7
7
  },
8
8
  {
9
9
  "key": "policy_owner_name",
10
- "prompt": "Policy owner name",
10
+ "prompt": "Initial program lead name",
11
+ "required": true
12
+ },
13
+ {
14
+ "key": "policy_owner_job_title",
15
+ "prompt": "Initial program lead organization job title",
11
16
  "required": true
12
17
  },
13
18
  {
@@ -1,10 +0,0 @@
1
- {
2
- "schemaVersion": 1,
3
- "id": "person-policy-owner",
4
- "type": "person",
5
- "title": "{{policy_owner_name}}",
6
- "status": "active",
7
- "email": "{{policy_owner_email}}",
8
- "role": "Policy Owner",
9
- "teamIds": ["team-security-risk-oversight"]
10
- }