@open-agreements/open-agreements 0.2.2 → 0.3.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/README.md +30 -0
- package/content/templates/closing-checklist/template.docx +0 -0
- package/content/templates/common-paper-ai-addendum/README.md +18 -0
- package/content/templates/common-paper-ai-addendum/metadata.yaml +136 -0
- package/content/templates/common-paper-ai-addendum/replacements.json +5 -0
- package/content/templates/common-paper-ai-addendum/selections.json +62 -0
- package/content/templates/common-paper-ai-addendum/template.docx +0 -0
- package/content/templates/common-paper-ai-addendum-in-app/metadata.yaml +88 -0
- package/content/templates/common-paper-ai-addendum-in-app/replacements.json +5 -0
- package/content/templates/common-paper-ai-addendum-in-app/selections.json +62 -0
- package/content/templates/common-paper-amendment/README.md +18 -0
- package/content/templates/common-paper-amendment/metadata.yaml +48 -0
- package/content/templates/common-paper-amendment/template.docx +0 -0
- package/content/templates/common-paper-business-associate-agreement/README.md +20 -1
- package/content/templates/common-paper-business-associate-agreement/metadata.yaml +111 -3
- package/content/templates/common-paper-business-associate-agreement/replacements.json +2 -1
- package/content/templates/common-paper-business-associate-agreement/selections.json +38 -0
- package/content/templates/common-paper-business-associate-agreement/template.docx +0 -0
- package/content/templates/common-paper-cloud-service-agreement/README.md +18 -0
- package/content/templates/common-paper-cloud-service-agreement/metadata.yaml +48 -0
- package/content/templates/common-paper-cloud-service-agreement/template.docx +0 -0
- package/content/templates/common-paper-csa-with-ai/README.md +18 -0
- package/content/templates/common-paper-csa-with-ai/metadata.yaml +462 -2
- package/content/templates/common-paper-csa-with-ai/replacements.json +5 -2
- package/content/templates/common-paper-csa-with-ai/selections.json +291 -0
- package/content/templates/common-paper-csa-with-ai/template.docx +0 -0
- package/content/templates/common-paper-csa-with-sla/README.md +18 -0
- package/content/templates/common-paper-csa-with-sla/metadata.yaml +387 -2
- package/content/templates/common-paper-csa-with-sla/replacements.json +4 -2
- package/content/templates/common-paper-csa-with-sla/selections.json +257 -0
- package/content/templates/common-paper-csa-with-sla/template.docx +0 -0
- package/content/templates/common-paper-csa-without-sla/README.md +18 -0
- package/content/templates/common-paper-csa-without-sla/metadata.yaml +380 -2
- package/content/templates/common-paper-csa-without-sla/replacements.json +5 -2
- package/content/templates/common-paper-csa-without-sla/selections.json +250 -0
- package/content/templates/common-paper-csa-without-sla/template.docx +0 -0
- package/content/templates/common-paper-data-processing-agreement/README.md +16 -0
- package/content/templates/common-paper-data-processing-agreement/metadata.yaml +397 -3
- package/content/templates/common-paper-data-processing-agreement/replacements.json +2 -1
- package/content/templates/common-paper-data-processing-agreement/selections.json +211 -0
- package/content/templates/common-paper-data-processing-agreement/template.docx +0 -0
- package/content/templates/common-paper-design-partner-agreement/README.md +18 -0
- package/content/templates/common-paper-design-partner-agreement/metadata.yaml +99 -3
- package/content/templates/common-paper-design-partner-agreement/selections.json +27 -0
- package/content/templates/common-paper-design-partner-agreement/template.docx +0 -0
- package/content/templates/common-paper-independent-contractor-agreement/README.md +18 -0
- package/content/templates/common-paper-independent-contractor-agreement/clean.json +8 -0
- package/content/templates/common-paper-independent-contractor-agreement/metadata.yaml +52 -0
- package/content/templates/common-paper-independent-contractor-agreement/replacements.json +3 -0
- package/content/templates/common-paper-independent-contractor-agreement/template.docx +0 -0
- package/content/templates/common-paper-letter-of-intent/README.md +18 -0
- package/content/templates/common-paper-letter-of-intent/metadata.yaml +48 -0
- package/content/templates/common-paper-letter-of-intent/template.docx +0 -0
- package/content/templates/common-paper-mutual-nda/README.md +29 -7
- package/content/templates/common-paper-mutual-nda/metadata.yaml +48 -0
- package/content/templates/common-paper-mutual-nda/template.docx +0 -0
- package/content/templates/common-paper-one-way-nda/README.md +13 -0
- package/content/templates/common-paper-one-way-nda/metadata.yaml +24 -0
- package/content/templates/common-paper-one-way-nda/selections.json +38 -0
- package/content/templates/common-paper-one-way-nda/template.docx +0 -0
- package/content/templates/common-paper-order-form/README.md +18 -0
- package/content/templates/common-paper-order-form/metadata.yaml +115 -3
- package/content/templates/common-paper-order-form/replacements.json +5 -2
- package/content/templates/common-paper-order-form/selections.json +56 -0
- package/content/templates/common-paper-order-form/template.docx +0 -0
- package/content/templates/common-paper-order-form-with-sla/README.md +18 -0
- package/content/templates/common-paper-order-form-with-sla/metadata.yaml +149 -3
- package/content/templates/common-paper-order-form-with-sla/replacements.json +6 -2
- package/content/templates/common-paper-order-form-with-sla/selections.json +64 -0
- package/content/templates/common-paper-order-form-with-sla/template.docx +0 -0
- package/content/templates/common-paper-partnership-agreement/README.md +18 -0
- package/content/templates/common-paper-partnership-agreement/metadata.yaml +293 -4
- package/content/templates/common-paper-partnership-agreement/replacements.json +5 -2
- package/content/templates/common-paper-partnership-agreement/selections.json +138 -0
- package/content/templates/common-paper-partnership-agreement/template.docx +0 -0
- package/content/templates/common-paper-pilot-agreement/README.md +18 -0
- package/content/templates/common-paper-pilot-agreement/metadata.yaml +48 -0
- package/content/templates/common-paper-pilot-agreement/template.docx +0 -0
- package/content/templates/common-paper-professional-services-agreement/README.md +18 -0
- package/content/templates/common-paper-professional-services-agreement/metadata.yaml +338 -4
- package/content/templates/common-paper-professional-services-agreement/replacements.json +7 -4
- package/content/templates/common-paper-professional-services-agreement/selections.json +207 -0
- package/content/templates/common-paper-professional-services-agreement/template.docx +0 -0
- package/content/templates/common-paper-statement-of-work/README.md +18 -0
- package/content/templates/common-paper-statement-of-work/metadata.yaml +110 -2
- package/content/templates/common-paper-statement-of-work/replacements.json +4 -1
- package/content/templates/common-paper-statement-of-work/selections.json +55 -0
- package/content/templates/common-paper-statement-of-work/template.docx +0 -0
- package/content/templates/common-paper-term-sheet/README.md +18 -0
- package/content/templates/common-paper-term-sheet/metadata.yaml +48 -0
- package/content/templates/common-paper-term-sheet/template.docx +0 -0
- package/content/templates/working-group-list/template.docx +0 -0
- package/dist/commands/checklist.d.ts.map +1 -1
- package/dist/commands/checklist.js +2 -1
- package/dist/commands/checklist.js.map +1 -1
- package/dist/commands/list.d.ts.map +1 -1
- package/dist/commands/list.js +1 -46
- package/dist/commands/list.js.map +1 -1
- package/dist/core/checklist/format-checklist-docx.d.ts +10 -0
- package/dist/core/checklist/format-checklist-docx.d.ts.map +1 -0
- package/dist/core/checklist/format-checklist-docx.js +321 -0
- package/dist/core/checklist/format-checklist-docx.js.map +1 -0
- package/dist/core/checklist/index.d.ts +1 -0
- package/dist/core/checklist/index.d.ts.map +1 -1
- package/dist/core/checklist/index.js +7 -3
- package/dist/core/checklist/index.js.map +1 -1
- package/dist/core/engine.d.ts +1 -0
- package/dist/core/engine.d.ts.map +1 -1
- package/dist/core/engine.js +72 -11
- package/dist/core/engine.js.map +1 -1
- package/dist/core/selector.d.ts +2 -0
- package/dist/core/selector.d.ts.map +1 -1
- package/dist/core/selector.js +181 -39
- package/dist/core/selector.js.map +1 -1
- package/dist/core/template-listing.d.ts +40 -0
- package/dist/core/template-listing.d.ts.map +1 -0
- package/dist/core/template-listing.js +91 -0
- package/dist/core/template-listing.js.map +1 -0
- package/dist/core/validation/template.d.ts.map +1 -1
- package/dist/core/validation/template.js +10 -2
- package/dist/core/validation/template.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +8 -2
- package/skills/iso-27001-evidence-collection/CONNECTORS.md +25 -9
- package/skills/iso-27001-evidence-collection/SKILL.md +10 -6
- package/skills/iso-27001-internal-audit/CONNECTORS.md +25 -9
- package/skills/iso-27001-internal-audit/SKILL.md +12 -9
- package/skills/soc2-readiness/CONNECTORS.md +25 -9
- package/skills/soc2-readiness/SKILL.md +17 -5
- package/skills/soc2-readiness/rules/change-vendor-management.md +104 -0
- package/skills/soc2-readiness/rules/communication-info.md +85 -0
- package/skills/soc2-readiness/rules/control-activities.md +95 -0
- package/skills/soc2-readiness/rules/control-environment.md +126 -0
- package/skills/soc2-readiness/rules/logical-access.md +264 -0
- package/skills/soc2-readiness/rules/monitoring-activities.md +66 -0
- package/skills/soc2-readiness/rules/optional-categories.md +264 -0
- package/skills/soc2-readiness/rules/privacy-criteria.md +359 -0
- package/skills/soc2-readiness/rules/risk-assessment.md +100 -0
- package/skills/soc2-readiness/rules/system-operations.md +170 -0
- package/skills/soc2-readiness/rules/trust-services.md +0 -230
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template.js","sourceRoot":"","sources":["../../../src/core/validation/template.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,MAAM,MAAM,SAAS,CAAC;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AASlE;;;;GAIG;AACH,SAAS,eAAe,CAAC,QAAgB;IACvC,MAAM,GAAG,GAAG,IAAI,MAAM,CAAC,QAAQ,CAAC,CAAC;IACjC,MAAM,WAAW,GAAG,GAAG,CAAC,QAAQ,CAAC,mBAAmB,CAAC,CAAC;IACtD,IAAI,CAAC,WAAW;QAAE,OAAO,EAAE,CAAC;IAC5B,MAAM,GAAG,GAAG,WAAW,CAAC,OAAO,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;IAEpD,MAAM,UAAU,GAAa,EAAE,CAAC;IAChC,MAAM,SAAS,GAAG,2BAA2B,CAAC;IAC9C,IAAI,SAAS,CAAC;IACd,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;QAClD,MAAM,OAAO,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;QAC7B,MAAM,SAAS,GAAa,EAAE,CAAC;QAC/B,MAAM,MAAM,GAAG,2BAA2B,CAAC;QAC3C,IAAI,MAAM,CAAC;QACX,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO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I,EAAE,CAAC;YAChD,SAAS,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5B,CAAC;QACD,IAAI,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YACzB,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;QACtC,CAAC;IACH,CAAC;IAED,MAAM,QAAQ,GAAG,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEvC,8CAA8C;IAC9C,MAAM,UAAU,GAAG,YAAY,CAAC;IAChC,IAAI,UAAU,CAAC;IACf,OAAO,CAAC,UAAU,GAAG,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC;QACzD,MAAM,KAAK,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;QAC5B,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,MAAM,CAAC,IAAI,CACT,wBAAwB,KAAK,4BAA4B;gBACzD,+EAA+E;gBAC/E,2FAA2F,CAC5F,CAAC;QACJ,CAAC;IACH,CAAC;AACH,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -11,6 +11,8 @@ export { assessScanMetadataCoverage, type ScanMetadataCoverageInput, type ScanMe
|
|
|
11
11
|
export { runRecipe, cleanDocument, patchDocument, verifyOutput, ensureSourceDocx, checkRecipeSourceDrift, computeSourceStructureSignature, type RecipeRunOptions, type RecipeRunResult, type VerifyResult, type VerifyCheck, } from './core/recipe/index.js';
|
|
12
12
|
export { buildChecklistTemplateContext, ClosingChecklistSchema, ChecklistPatchEnvelopeSchema, ChecklistPatchApplyRequestSchema, ChecklistPatchOperationSchema, PatchCitationSchema, ChecklistPatchModeEnum, JsonPointerSchema, CHECKLIST_PATCH_VALIDATION_TTL_MS, applyChecklistPatchOperations, computeChecklistPatchHash, validateChecklistPatch, getChecklistPatchValidationArtifact, setChecklistPatchValidationStore, getChecklistPatchValidationStore, applyChecklistPatch, setChecklistAppliedPatchStore, getChecklistAppliedPatchStore, setChecklistProposedPatchStore, getChecklistProposedPatchStore, type ClosingChecklist, type ChecklistPatchEnvelope, type ChecklistPatchApplyRequest, type ChecklistPatchOperation, type PatchCitation, type ChecklistPatchMode, type JsonPointer, type ChecklistPatchValidationErrorCode, type ChecklistPatchValidationDiagnostic, type ResolvedChecklistPatchOperation, type ChecklistPatchValidationArtifact, type ChecklistPatchValidationStore, type ValidateChecklistPatchInput, type ChecklistPatchValidationSuccess, type ChecklistPatchValidationFailure, type ChecklistPatchValidationResult, type ChecklistAppliedPatchRecord, type ChecklistAppliedPatchStore, type ChecklistProposedPatchRecord, type ChecklistProposedPatchStore, type ChecklistPatchApplyErrorCode, type ChecklistPatchApplyFailure, type ChecklistPatchApplySuccess, type ChecklistPatchApplyResult, type ApplyChecklistPatchInput, } from './core/checklist/index.js';
|
|
13
13
|
export { ChecklistStageEnum, ChecklistEntryStatusEnum, SignatoryStatusEnum, ChecklistItemStatusEnum, IssueStatusEnum, ResponsibilitySchema, CitationSchema, SignatureArtifactSchema, SignatorySchema, ChecklistDocumentSchema, ChecklistEntrySchema, ActionItemSchema, IssueSchema, type ChecklistStage, type ChecklistEntryStatus, type SignatoryStatus, type ChecklistItemStatus, type IssueStatus, type Responsibility, type Citation, type SignatureArtifact, type Signatory, type ChecklistDocument, type ChecklistEntry, type ActionItem, type Issue, } from './core/checklist/schemas.js';
|
|
14
|
+
export { listTemplateItems, type TemplateListItem, type TemplateListField, } from './core/template-listing.js';
|
|
15
|
+
export { listTemplateEntries, findTemplateDir, type ContentEntry } from './utils/paths.js';
|
|
14
16
|
export type { ToolCommandAdapter } from './core/command-generation/types.js';
|
|
15
17
|
export { ClaudeCodeAdapter } from './core/command-generation/adapters/claude.js';
|
|
16
18
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":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EACvB,eAAe,EACf,uBAAuB,EACvB,oBAAoB,EACpB,gBAAgB,EAChB,WAAW,EACX,KAAK,cAAc,EACnB,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,KAAK,cAAc,EACnB,KAAK,QAAQ,EACb,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACd,KAAK,iBAAiB,EACtB,KAAK,cAAc,EACnB,KAAK,UAAU,EACf,KAAK,KAAK,GACX,MAAM,6BAA6B,CAAC;AAGrC,OAAO,EACL,iBAAiB,EACjB,KAAK,gBAAgB,EACrB,KAAK,iBAAiB,GACvB,MAAM,4BAA4B,CAAC;AAGpC,OAAO,EAAE,mBAAmB,EAAE,eAAe,EAAE,KAAK,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAG3F,YAAY,EAAE,kBAAkB,EAAE,MAAM,oCAAoC,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -19,5 +19,9 @@ export { runRecipe, cleanDocument, patchDocument, verifyOutput, ensureSourceDocx
|
|
|
19
19
|
// Closing checklist
|
|
20
20
|
export { buildChecklistTemplateContext, ClosingChecklistSchema, ChecklistPatchEnvelopeSchema, ChecklistPatchApplyRequestSchema, ChecklistPatchOperationSchema, PatchCitationSchema, ChecklistPatchModeEnum, JsonPointerSchema, CHECKLIST_PATCH_VALIDATION_TTL_MS, applyChecklistPatchOperations, computeChecklistPatchHash, validateChecklistPatch, getChecklistPatchValidationArtifact, setChecklistPatchValidationStore, getChecklistPatchValidationStore, applyChecklistPatch, setChecklistAppliedPatchStore, getChecklistAppliedPatchStore, setChecklistProposedPatchStore, getChecklistProposedPatchStore, } from './core/checklist/index.js';
|
|
21
21
|
export { ChecklistStageEnum, ChecklistEntryStatusEnum, SignatoryStatusEnum, ChecklistItemStatusEnum, IssueStatusEnum, ResponsibilitySchema, CitationSchema, SignatureArtifactSchema, SignatorySchema, ChecklistDocumentSchema, ChecklistEntrySchema, ActionItemSchema, IssueSchema, } from './core/checklist/schemas.js';
|
|
22
|
+
// Template listing
|
|
23
|
+
export { listTemplateItems, } from './core/template-listing.js';
|
|
24
|
+
// Template discovery
|
|
25
|
+
export { listTemplateEntries, findTemplateDir } from './utils/paths.js';
|
|
22
26
|
export { ClaudeCodeAdapter } from './core/command-generation/adapters/claude.js';
|
|
23
27
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,qBAAqB;AAErB,kBAAkB;AAClB,OAAO,EAAE,YAAY,EAAqC,MAAM,kBAAkB,CAAC;AAEnF,+BAA+B;AAC/B,OAAO,EACL,YAAY,EACZ,gBAAgB,EAChB,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,sBAAsB,EACtB,oBAAoB,EACpB,iBAAiB,EACjB,WAAW,EACX,qBAAqB,GAMtB,MAAM,oBAAoB,CAAC;AAE5B,2BAA2B;AAC3B,OAAO,EACL,eAAe,GAGhB,MAAM,0BAA0B,CAAC;AAElC,0CAA0C;AAC1C,OAAO,EACL,oBAAoB,EACpB,wBAAwB,EACxB,sBAAsB,GAEvB,MAAM,oBAAoB,CAAC;AAE5B,sBAAsB;AACtB,OAAO,EAAE,gBAAgB,EAAiC,MAAM,+BAA+B,CAAC;AAChG,OAAO,EAAE,eAAe,EAAgC,MAAM,8BAA8B,CAAC;AAC7F,OAAO,EAAE,cAAc,EAA+B,MAAM,6BAA6B,CAAC;AAC1F,OAAO,EAAE,cAAc,EAA+B,MAAM,6BAA6B,CAAC;AAC1F,OAAO,EAAE,gBAAgB,EAAiC,MAAM,+BAA+B,CAAC;AAChG,OAAO,EACL,0BAA0B,GAG3B,MAAM,oCAAoC,CAAC;AAE5C,gBAAgB;AAChB,OAAO,EACL,SAAS,EACT,aAAa,EACb,aAAa,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2
2
|
"name": "@open-agreements/open-agreements",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"workspaces": [
|
|
5
5
|
"packages/allure-test-factory",
|
|
6
6
|
"packages/contract-templates-mcp",
|
|
@@ -106,7 +106,13 @@
|
|
|
106
106
|
"nvca",
|
|
107
107
|
"template-engine",
|
|
108
108
|
"document-generation",
|
|
109
|
-
"contract-automation"
|
|
109
|
+
"contract-automation",
|
|
110
|
+
"iso-27001",
|
|
111
|
+
"soc-2",
|
|
112
|
+
"compliance",
|
|
113
|
+
"audit",
|
|
114
|
+
"grc",
|
|
115
|
+
"evidence-collection"
|
|
110
116
|
],
|
|
111
117
|
"author": "UseJunior <steven@usejunior.com>",
|
|
112
118
|
"license": "MIT",
|
|
@@ -2,22 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
## How tool references work
|
|
4
4
|
|
|
5
|
-
This skill uses `~~
|
|
5
|
+
This skill uses `~~compliance` placeholders for the Internal ISO Audit MCP server. The skill works without the server configured — it falls back to embedded checklists and CLI command reference.
|
|
6
6
|
|
|
7
7
|
## Connectors for this skill
|
|
8
8
|
|
|
9
|
-
| Category | Placeholder |
|
|
10
|
-
|
|
11
|
-
| Compliance data | `~~compliance` |
|
|
9
|
+
| Category | Placeholder | Server | Endpoint |
|
|
10
|
+
|----------|-------------|--------|----------|
|
|
11
|
+
| Compliance data | `~~compliance` | Internal ISO Audit MCP | `https://internalisoaudit.com/api/mcp` |
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### Internal ISO Audit MCP server
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
The MCP server at `internalisoaudit.com/api/mcp` provides ISO 27001 control guidance via JSON-RPC 2.0 (streamable HTTP). Add it to your MCP client configuration:
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"mcpServers": {
|
|
20
|
+
"internalisoaudit": {
|
|
21
|
+
"type": "url",
|
|
22
|
+
"url": "https://internalisoaudit.com/api/mcp"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
18
27
|
|
|
19
|
-
|
|
28
|
+
#### Available tools
|
|
29
|
+
|
|
30
|
+
| Tool | Description | Key arguments |
|
|
31
|
+
|------|-------------|---------------|
|
|
32
|
+
| `get_control_guidance` | Full audit guidance for a specific control | `control_id` (e.g. `"A.5.15"`, `"Clause 9.2"`) |
|
|
33
|
+
| `list_controls` | List all controls, optionally filtered by domain | `domain?` (`organizational`, `people`, `physical`, `technological`, `isms`) |
|
|
34
|
+
| `get_nist_mapping` | ISO 27001 ↔ NIST SP 800-53 cross-reference | `control_id`, `direction?` (`iso_to_nist`, `nist_to_iso`) |
|
|
35
|
+
| `search_guidance` | Full-text search across control guidance | `query`, `domain?`, `limit?` (1-50) |
|
|
20
36
|
|
|
21
37
|
### Fallback: Reference only
|
|
22
38
|
|
|
23
|
-
Without
|
|
39
|
+
Without the MCP server configured, the skill uses embedded checklists and CLI command reference in the `rules/` directory. No live control lookup is available in this mode.
|
|
@@ -86,8 +86,10 @@ Examples:
|
|
|
86
86
|
Determine what evidence is missing or stale.
|
|
87
87
|
|
|
88
88
|
```
|
|
89
|
-
# If
|
|
90
|
-
|
|
89
|
+
# If Internal ISO Audit MCP server is available:
|
|
90
|
+
search_guidance(query="evidence", domain="organizational") # Find controls needing evidence
|
|
91
|
+
list_controls(domain="technological") # List all tech controls to assess gaps
|
|
92
|
+
get_control_guidance(control_id="A.5.15") # Get evidence requirements for a specific control
|
|
91
93
|
|
|
92
94
|
# If reading local compliance data:
|
|
93
95
|
# Check compliance/evidence/*.md files for upload_status != "OK"
|
|
@@ -230,8 +232,10 @@ Check completeness before submitting to auditor:
|
|
|
230
232
|
5. **Coverage**: Critical-tier controls have at least 2 forms of evidence?
|
|
231
233
|
|
|
232
234
|
```
|
|
233
|
-
# If
|
|
234
|
-
|
|
235
|
+
# If Internal ISO Audit MCP server is available:
|
|
236
|
+
list_controls() # Get all controls to verify evidence coverage
|
|
237
|
+
get_control_guidance(control_id="A.8.8") # Check specific control's evidence expectations
|
|
238
|
+
search_guidance(query="vulnerability scanning evidence") # Find controls related to specific evidence types
|
|
235
239
|
```
|
|
236
240
|
|
|
237
241
|
### Step 5: Generate Evidence Index
|
|
@@ -295,6 +299,6 @@ Evidence collection procedures and control guidance developed with [Internal ISO
|
|
|
295
299
|
|
|
296
300
|
## Runtime Detection
|
|
297
301
|
|
|
298
|
-
1. **
|
|
302
|
+
1. **Internal ISO Audit MCP server available** (best) — Live control guidance lookup, NIST cross-reference, full-text search across all control evidence expectations. Server: `internalisoaudit.com/api/mcp`
|
|
299
303
|
2. **Local compliance data available** (good) — Reads evidence status from `compliance/evidence/*.md`
|
|
300
|
-
3. **Reference only** (baseline) — Uses embedded checklists and command reference
|
|
304
|
+
3. **Reference only** (baseline) — Uses embedded checklists and command reference in `rules/`
|
|
@@ -2,22 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
## How tool references work
|
|
4
4
|
|
|
5
|
-
This skill uses `~~
|
|
5
|
+
This skill uses `~~compliance` placeholders for the Internal ISO Audit MCP server. The skill works without the server configured — it falls back to embedded `rules/` files for procedural guidance.
|
|
6
6
|
|
|
7
7
|
## Connectors for this skill
|
|
8
8
|
|
|
9
|
-
| Category | Placeholder |
|
|
10
|
-
|
|
11
|
-
| Compliance data | `~~compliance` |
|
|
9
|
+
| Category | Placeholder | Server | Endpoint |
|
|
10
|
+
|----------|-------------|--------|----------|
|
|
11
|
+
| Compliance data | `~~compliance` | Internal ISO Audit MCP | `https://internalisoaudit.com/api/mcp` |
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### Internal ISO Audit MCP server
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
The MCP server at `internalisoaudit.com/api/mcp` provides ISO 27001 control guidance via JSON-RPC 2.0 (streamable HTTP). Add it to your MCP client configuration:
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"mcpServers": {
|
|
20
|
+
"internalisoaudit": {
|
|
21
|
+
"type": "url",
|
|
22
|
+
"url": "https://internalisoaudit.com/api/mcp"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
18
27
|
|
|
19
|
-
|
|
28
|
+
#### Available tools
|
|
29
|
+
|
|
30
|
+
| Tool | Description | Key arguments |
|
|
31
|
+
|------|-------------|---------------|
|
|
32
|
+
| `get_control_guidance` | Full audit guidance for a specific control | `control_id` (e.g. `"A.5.15"`, `"Clause 9.2"`) |
|
|
33
|
+
| `list_controls` | List all controls, optionally filtered by domain | `domain?` (`organizational`, `people`, `physical`, `technological`, `isms`) |
|
|
34
|
+
| `get_nist_mapping` | ISO 27001 ↔ NIST SP 800-53 cross-reference | `control_id`, `direction?` (`iso_to_nist`, `nist_to_iso`) |
|
|
35
|
+
| `search_guidance` | Full-text search across control guidance | `query`, `domain?`, `limit?` (1-50) |
|
|
20
36
|
|
|
21
37
|
### Fallback: Reference only
|
|
22
38
|
|
|
23
|
-
Without
|
|
39
|
+
Without the MCP server configured, the skill uses embedded `rules/` files for procedural guidance, control descriptions, and evidence checklists. No live control lookup is available in this mode.
|
|
@@ -97,8 +97,9 @@ For detailed per-control guidance, load `rules/<domain>.md`.
|
|
|
97
97
|
4. **Check data freshness** — If using a monitoring dashboard or automated testing system, verify data is < 7 days old
|
|
98
98
|
|
|
99
99
|
```
|
|
100
|
-
# If
|
|
101
|
-
|
|
100
|
+
# If Internal ISO Audit MCP server is available:
|
|
101
|
+
list_controls() # Get all controls with tier classifications
|
|
102
|
+
get_control_guidance(control_id="Clause 9.2") # Check specific ISMS clause requirements
|
|
102
103
|
|
|
103
104
|
# If reading local files:
|
|
104
105
|
# Check compliance/status/last_refresh.yaml for staleness
|
|
@@ -137,10 +138,11 @@ Work through controls by domain, prioritizing Critical tier:
|
|
|
137
138
|
- Record as conforming or note exception
|
|
138
139
|
|
|
139
140
|
```
|
|
140
|
-
# If
|
|
141
|
-
|
|
142
|
-
get_control_guidance(control_id="A.5.15")
|
|
143
|
-
|
|
141
|
+
# If Internal ISO Audit MCP server is available:
|
|
142
|
+
list_controls(domain="organizational") # List all controls in a domain with tiers
|
|
143
|
+
get_control_guidance(control_id="A.5.15") # Full guidance: auditor hints, pitfalls, evidence
|
|
144
|
+
search_guidance(query="access review", domain="organizational") # Find related controls by keyword
|
|
145
|
+
get_nist_mapping(control_id="A.5.15") # Cross-reference to NIST SP 800-53
|
|
144
146
|
```
|
|
145
147
|
|
|
146
148
|
### Step 4: Evidence Collection
|
|
@@ -258,9 +260,10 @@ Audit procedures and control guidance developed with [Internal ISO Audit](https:
|
|
|
258
260
|
|
|
259
261
|
This skill operates in three modes, detected automatically:
|
|
260
262
|
|
|
261
|
-
1. **
|
|
262
|
-
- Detected by: `
|
|
263
|
-
-
|
|
263
|
+
1. **Internal ISO Audit MCP server available** (best) — Live control guidance lookup with auditor hints, NIST cross-references, and full-text search
|
|
264
|
+
- Detected by: `internalisoaudit` MCP server configured in client
|
|
265
|
+
- Tools: `get_control_guidance`, `list_controls`, `get_nist_mapping`, `search_guidance`
|
|
266
|
+
- Server: `internalisoaudit.com/api/mcp`
|
|
264
267
|
|
|
265
268
|
2. **Local compliance data available** (good) — Reads `compliance/` directory directly
|
|
266
269
|
- Detected by: `compliance/status/last_refresh.yaml` exists
|
|
@@ -2,22 +2,38 @@
|
|
|
2
2
|
|
|
3
3
|
## How tool references work
|
|
4
4
|
|
|
5
|
-
This skill uses `~~
|
|
5
|
+
This skill uses `~~compliance` placeholders for the Internal ISO Audit MCP server. The skill works without the server configured — it falls back to embedded criteria mappings and checklists.
|
|
6
6
|
|
|
7
7
|
## Connectors for this skill
|
|
8
8
|
|
|
9
|
-
| Category | Placeholder |
|
|
10
|
-
|
|
11
|
-
| Compliance data | `~~compliance` |
|
|
9
|
+
| Category | Placeholder | Server | Endpoint |
|
|
10
|
+
|----------|-------------|--------|----------|
|
|
11
|
+
| Compliance data | `~~compliance` | Internal ISO Audit MCP | `https://internalisoaudit.com/api/mcp` |
|
|
12
12
|
|
|
13
|
-
###
|
|
13
|
+
### Internal ISO Audit MCP server
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
The MCP server at `internalisoaudit.com/api/mcp` provides ISO 27001 control guidance via JSON-RPC 2.0 (streamable HTTP). SOC 2 criteria map to ISO 27001 Annex A controls — use `get_nist_mapping` and `search_guidance` to cross-reference. Add it to your MCP client configuration:
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
```json
|
|
18
|
+
{
|
|
19
|
+
"mcpServers": {
|
|
20
|
+
"internalisoaudit": {
|
|
21
|
+
"type": "url",
|
|
22
|
+
"url": "https://internalisoaudit.com/api/mcp"
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
```
|
|
18
27
|
|
|
19
|
-
|
|
28
|
+
#### Available tools
|
|
29
|
+
|
|
30
|
+
| Tool | Description | Key arguments |
|
|
31
|
+
|------|-------------|---------------|
|
|
32
|
+
| `get_control_guidance` | Full audit guidance for a specific control | `control_id` (e.g. `"A.5.15"`, `"Clause 9.2"`) |
|
|
33
|
+
| `list_controls` | List all controls, optionally filtered by domain | `domain?` (`organizational`, `people`, `physical`, `technological`, `isms`) |
|
|
34
|
+
| `get_nist_mapping` | ISO 27001 ↔ NIST SP 800-53 cross-reference | `control_id`, `direction?` (`iso_to_nist`, `nist_to_iso`) |
|
|
35
|
+
| `search_guidance` | Full-text search across control guidance | `query`, `domain?`, `limit?` (1-50) |
|
|
20
36
|
|
|
21
37
|
### Fallback: Reference only
|
|
22
38
|
|
|
23
|
-
Without
|
|
39
|
+
Without the MCP server configured, the skill uses embedded criteria mappings and checklists in the `rules/` directory. No live control lookup is available in this mode.
|
|
@@ -106,8 +106,11 @@ For each applicable Common Criterion (CC), assess whether controls are:
|
|
|
106
106
|
- **Effective** — control achieves its objective (evidence exists)
|
|
107
107
|
|
|
108
108
|
```
|
|
109
|
-
# If
|
|
110
|
-
|
|
109
|
+
# If Internal ISO Audit MCP server is available (SOC 2 maps to ISO 27001 Annex A):
|
|
110
|
+
list_controls(domain="technological") # List tech controls (maps to CC 6-8)
|
|
111
|
+
get_control_guidance(control_id="A.5.15") # Get guidance for ISO control mapped from CC 6.1
|
|
112
|
+
get_nist_mapping(control_id="AC-2", direction="nist_to_iso") # Find ISO controls from NIST reference
|
|
113
|
+
search_guidance(query="incident response") # Search for controls matching SOC 2 criteria
|
|
111
114
|
```
|
|
112
115
|
|
|
113
116
|
### Step 3: Map Controls to Criteria
|
|
@@ -276,7 +279,16 @@ For detailed SOC 2-specific guidance:
|
|
|
276
279
|
|
|
277
280
|
| File | Coverage |
|
|
278
281
|
|------|----------|
|
|
279
|
-
| `rules/
|
|
282
|
+
| `rules/logical-access.md` | CC 6.1–6.8 — access control, provisioning, physical, threat detection |
|
|
283
|
+
| `rules/system-operations.md` | CC 7.1–7.5 — monitoring, anomaly detection, incident response, recovery |
|
|
284
|
+
| `rules/change-vendor-management.md` | CC 8.1, CC 9.1–9.2 — change control, risk mitigation, vendor management |
|
|
285
|
+
| `rules/control-environment.md` | CC 1.1–1.5 — governance, ethics, org structure, competence, accountability |
|
|
286
|
+
| `rules/risk-assessment.md` | CC 3.1–3.4 — risk objectives, identification, fraud risk, change impact |
|
|
287
|
+
| `rules/control-activities.md` | CC 5.1–5.3 — risk mitigation selection, technology controls, policy deployment |
|
|
288
|
+
| `rules/communication-info.md` | CC 2.1–2.3 — internal/external communication, information quality |
|
|
289
|
+
| `rules/monitoring-activities.md` | CC 4.1–4.2 — ongoing monitoring, deficiency evaluation |
|
|
290
|
+
| `rules/optional-categories.md` | A 1.x, PI 1.x, C 1.x — Availability, Processing Integrity, Confidentiality |
|
|
291
|
+
| `rules/privacy-criteria.md` | P 1.x–8.x — Privacy criteria (when PII in scope) |
|
|
280
292
|
|
|
281
293
|
## Attribution
|
|
282
294
|
|
|
@@ -284,6 +296,6 @@ SOC 2 criteria mapping and readiness procedures developed with [Internal ISO Aud
|
|
|
284
296
|
|
|
285
297
|
## Runtime Detection
|
|
286
298
|
|
|
287
|
-
1. **
|
|
299
|
+
1. **Internal ISO Audit MCP server available** (best) — Live ISO 27001 control guidance with NIST cross-references. SOC 2 criteria map to ISO 27001 Annex A controls (~70% overlap); use `get_nist_mapping` for bidirectional lookup. Server: `internalisoaudit.com/api/mcp`
|
|
288
300
|
2. **Local compliance data available** (good) — Reads `compliance/` directory with SOC 2 test metadata
|
|
289
|
-
3. **Reference only** (baseline) — Uses embedded criteria mapping and checklists
|
|
301
|
+
3. **Reference only** (baseline) — Uses embedded criteria mapping and checklists in `rules/`
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# Change and Vendor Management — CC 8.1, CC 9.1–9.2
|
|
2
|
+
|
|
3
|
+
Per-criterion audit guidance for change control, risk mitigation, and third-party management.
|
|
4
|
+
|
|
5
|
+
## CC 8.1 — Change control
|
|
6
|
+
|
|
7
|
+
**Priority**: Critical | **NIST**: CM-3, CM-5, SA-3 | **ISO**: A.8.9, A.8.25, A.8.32
|
|
8
|
+
|
|
9
|
+
Auditors assess whether changes to production systems follow a documented, consistent process — authorization, testing, approval, and deployment. This is one of the top 5 most-tested criteria. Expect auditors to select a sample of production changes and trace each through the full lifecycle.
|
|
10
|
+
|
|
11
|
+
**What auditors test**:
|
|
12
|
+
- Sample 10-15 production deployments: verify each had a code review, testing evidence, and approval before merge
|
|
13
|
+
- Segregation of duties: the person who writes code cannot be the sole approver and deployer
|
|
14
|
+
- Emergency change process: hotfixes still require documentation (even if retroactive)
|
|
15
|
+
- Rollback capability: evidence that changes can be reverted if issues arise
|
|
16
|
+
- Branch protection: direct pushes to production branch are blocked; force-push is disabled
|
|
17
|
+
|
|
18
|
+
**Evidence to prepare**:
|
|
19
|
+
```bash
|
|
20
|
+
# GitHub: merged PRs with review status
|
|
21
|
+
gh pr list --state merged --limit 20 --json number,title,author,reviewDecision,mergedAt,mergedBy
|
|
22
|
+
|
|
23
|
+
# GitHub: branch protection rules
|
|
24
|
+
gh api repos/{owner}/{repo}/branches/main/protection | jq '{
|
|
25
|
+
required_reviews: .required_pull_request_reviews.required_approving_review_count,
|
|
26
|
+
dismiss_stale: .required_pull_request_reviews.dismiss_stale_reviews,
|
|
27
|
+
enforce_admins: .enforce_admins.enabled,
|
|
28
|
+
required_status_checks: .required_status_checks.contexts
|
|
29
|
+
}'
|
|
30
|
+
|
|
31
|
+
# GitHub: check for direct pushes bypassing PR process
|
|
32
|
+
gh api repos/{owner}/{repo}/commits --per-page=20 | \
|
|
33
|
+
jq '[.[] | select(.parents | length == 1)] | .[] | {sha: .sha[0:8], message: .commit.message[0:60], author: .author.login}'
|
|
34
|
+
|
|
35
|
+
# CI/CD: verify automated tests run on PRs
|
|
36
|
+
gh api repos/{owner}/{repo}/actions/workflows --jq '.workflows[] | {name, state}'
|
|
37
|
+
```
|
|
38
|
+
- Change management policy document
|
|
39
|
+
- Emergency change procedure (when and how hotfixes are handled)
|
|
40
|
+
- Deployment runbook or CI/CD pipeline documentation
|
|
41
|
+
|
|
42
|
+
**Startup pitfalls**:
|
|
43
|
+
- Founders bypass branch protection using admin override — auditors see this in the commit history
|
|
44
|
+
- "We review in Slack" — verbal approvals aren't auditable; use PR reviews
|
|
45
|
+
- No emergency change process — every hotfix is undocumented and unreviewed
|
|
46
|
+
- Testing means "it works on my machine" — no automated test suite or staging environment
|
|
47
|
+
|
|
48
|
+
---
|
|
49
|
+
|
|
50
|
+
## CC 9.1 — Risk mitigation activities
|
|
51
|
+
|
|
52
|
+
**Priority**: High | **NIST**: CP-2, RA-7 | **ISO**: A.5.30, C.6.1.3
|
|
53
|
+
|
|
54
|
+
Auditors verify that identified risks have corresponding mitigation activities — controls, insurance, transfer, or documented acceptance. A risk register without linked mitigations is incomplete. The connection between risk assessment (CC 3) and concrete risk treatment is what auditors evaluate here.
|
|
55
|
+
|
|
56
|
+
**What auditors test**:
|
|
57
|
+
- Risk register entries include treatment decisions: mitigate, transfer, accept, or avoid
|
|
58
|
+
- Accepted risks have documented justification and management sign-off
|
|
59
|
+
- Mitigation controls are mapped to specific risks (traceability from risk to control)
|
|
60
|
+
- Business continuity plan addresses the organization's top operational risks
|
|
61
|
+
- Insurance coverage reviewed annually (cyber insurance, E&O, D&O as applicable)
|
|
62
|
+
|
|
63
|
+
**Evidence to prepare**:
|
|
64
|
+
- Risk register with treatment column (mitigate/transfer/accept/avoid) and control mapping
|
|
65
|
+
- Risk acceptance forms signed by management for accepted risks
|
|
66
|
+
- Business continuity plan covering top-5 operational risk scenarios
|
|
67
|
+
- Cyber insurance certificate of coverage (current policy period)
|
|
68
|
+
- Management review minutes where risk treatment decisions were discussed
|
|
69
|
+
|
|
70
|
+
---
|
|
71
|
+
|
|
72
|
+
## CC 9.2 — Vendor and third-party management
|
|
73
|
+
|
|
74
|
+
**Priority**: Critical | **NIST**: AC-20, SA-9 | **ISO**: A.5.19, A.5.22
|
|
75
|
+
|
|
76
|
+
Auditors verify that the organization identifies, assesses, and monitors third-party vendors who access, store, or process data on its behalf. This includes cloud providers, SaaS tools, payment processors, and contractors with system access. The vendor management program should be proportionate to risk.
|
|
77
|
+
|
|
78
|
+
**What auditors test**:
|
|
79
|
+
- Vendor inventory: comprehensive list of vendors with data access, criticality rating, and review dates
|
|
80
|
+
- Risk assessment for critical vendors: documented evaluation of security posture before onboarding
|
|
81
|
+
- SOC 2 or equivalent reports collected annually from critical vendors (cloud providers, data processors)
|
|
82
|
+
- Vendor contracts include security requirements, data handling terms, and breach notification clauses
|
|
83
|
+
- Ongoing monitoring: critical vendor reviews at least annually, not just at initial onboarding
|
|
84
|
+
|
|
85
|
+
**Evidence to prepare**:
|
|
86
|
+
```bash
|
|
87
|
+
# GitHub: list third-party integrations
|
|
88
|
+
gh api orgs/{org}/installations --jq '.installations[] | {app_slug, permissions, events}'
|
|
89
|
+
|
|
90
|
+
# GCP: list external service accounts with access
|
|
91
|
+
gcloud projects get-iam-policy {project} --format=json | \
|
|
92
|
+
jq '.bindings[] | .members[] | select(contains("serviceAccount")) | select(contains("gserviceaccount.com") | not)'
|
|
93
|
+
```
|
|
94
|
+
- Vendor register (name, service, data access level, criticality, last review date)
|
|
95
|
+
- Vendor SOC 2 Type II reports for critical vendors (AWS, GCP, Azure, Stripe, etc.)
|
|
96
|
+
- Vendor security assessment questionnaire template
|
|
97
|
+
- Data processing agreements (DPAs) with vendors handling personal data
|
|
98
|
+
- Vendor onboarding and offboarding procedures
|
|
99
|
+
|
|
100
|
+
**Startup pitfalls**:
|
|
101
|
+
- No vendor inventory — dozens of SaaS tools adopted without tracking who has data access
|
|
102
|
+
- Relying on "they're a big company, they must be secure" instead of collecting SOC 2 reports
|
|
103
|
+
- No DPAs with vendors processing personal data — GDPR and SOC 2 both require this
|
|
104
|
+
- Vendor review is one-and-done at onboarding — no annual reassessment
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Communication and Information — CC 2.1–2.3
|
|
2
|
+
|
|
3
|
+
Per-criterion audit guidance for information quality, internal communication, and external communication.
|
|
4
|
+
|
|
5
|
+
## CC 2.1 — Internal information quality
|
|
6
|
+
|
|
7
|
+
**Priority**: Medium | **NIST**: AU-2, SI-5 | **ISO**: C.7.5.1
|
|
8
|
+
|
|
9
|
+
Auditors assess whether the organization generates and uses quality information to support the functioning of internal controls. This means security-relevant information — logs, metrics, reports, alerts — is accurate, timely, and available to the people who need it for decision-making.
|
|
10
|
+
|
|
11
|
+
**What auditors test**:
|
|
12
|
+
- Security-relevant information is generated: audit logs, access reports, vulnerability scans, incident records
|
|
13
|
+
- Information is accurate and complete: logs capture required fields (who, what, when, where)
|
|
14
|
+
- Information is timely: reports and dashboards are current, not stale exports from months ago
|
|
15
|
+
- Information systems are protected: audit logs cannot be modified or deleted by the users they track
|
|
16
|
+
- Data used for control monitoring is validated (e.g., access review data matches actual system state)
|
|
17
|
+
|
|
18
|
+
**Evidence to prepare**:
|
|
19
|
+
```bash
|
|
20
|
+
# GCP: verify audit logging is enabled
|
|
21
|
+
gcloud projects get-iam-policy {project} --format=json | jq '.auditConfigs'
|
|
22
|
+
|
|
23
|
+
# GCP: verify log integrity (export to separate project or write-once sink)
|
|
24
|
+
gcloud logging sinks list --format=json | jq '.[] | {name, destination}'
|
|
25
|
+
|
|
26
|
+
# GitHub: audit log availability
|
|
27
|
+
gh api orgs/{org}/audit-log --jq '.[0:3] | .[] | {action, actor, created_at}'
|
|
28
|
+
```
|
|
29
|
+
- List of security reports and dashboards with update frequency
|
|
30
|
+
- Audit log configuration showing required event types are captured
|
|
31
|
+
- Log integrity controls (separate storage account, write-once policies)
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## CC 2.2 — Internal communication
|
|
36
|
+
|
|
37
|
+
**Priority**: Medium | **NIST**: PM-2, AT-2 | **ISO**: C.7.4, A.6.3
|
|
38
|
+
|
|
39
|
+
Auditors verify that security-related information — policies, responsibilities, changes, and expectations — is communicated effectively to all personnel. Internal communication isn't just "we have a wiki"; it's demonstrating that people actually receive and understand security requirements.
|
|
40
|
+
|
|
41
|
+
**What auditors test**:
|
|
42
|
+
- Security policies are communicated to all employees (not just published and forgotten)
|
|
43
|
+
- Onboarding includes security expectations, reporting procedures, and acceptable use
|
|
44
|
+
- Changes to security policies or procedures are communicated when they occur
|
|
45
|
+
- Regular security updates: newsletters, all-hands mentions, Slack announcements
|
|
46
|
+
- Employees in interviews can describe their security responsibilities and reporting channels
|
|
47
|
+
|
|
48
|
+
**Evidence to prepare**:
|
|
49
|
+
- Onboarding checklist showing security communication steps
|
|
50
|
+
- Security awareness communication records (email announcements, Slack messages, all-hands slides)
|
|
51
|
+
- Policy change communication evidence (email or message notifying staff of updates)
|
|
52
|
+
- Security training materials covering roles and responsibilities
|
|
53
|
+
- Internal security FAQ or knowledge base
|
|
54
|
+
|
|
55
|
+
**Startup pitfalls**:
|
|
56
|
+
- Security policies exist but nobody outside the security/compliance function knows about them
|
|
57
|
+
- Onboarding mentions security verbally but nothing is documented or acknowledged
|
|
58
|
+
- Policy changes happen silently — no communication when procedures are updated
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
## CC 2.3 — External communication
|
|
63
|
+
|
|
64
|
+
**Priority**: Medium | **NIST**: PM-1 | **ISO**: A.5.14
|
|
65
|
+
|
|
66
|
+
Auditors verify that the organization communicates security-relevant information to external parties — customers, regulators, vendors, and the public — through appropriate channels. This includes the system description, security practices, incident notifications, and contractual commitments.
|
|
67
|
+
|
|
68
|
+
**What auditors test**:
|
|
69
|
+
- Security practices communicated to customers: security page, trust center, or documentation
|
|
70
|
+
- SOC 2 report distribution process: how customers request and receive the report
|
|
71
|
+
- Incident notification: contractual obligations met for customer communication during incidents
|
|
72
|
+
- Regulatory reporting: process for notifying regulators of security events when required
|
|
73
|
+
- Vendor communication: security requirements communicated to third parties in contracts and onboarding
|
|
74
|
+
|
|
75
|
+
**Evidence to prepare**:
|
|
76
|
+
- Security page or trust center URL (public-facing security information)
|
|
77
|
+
- NDA or report request process for SOC 2 report distribution
|
|
78
|
+
- Customer-facing incident communication templates and procedures
|
|
79
|
+
- Contractual breach notification obligations inventory
|
|
80
|
+
- Vendor security requirements (contract clauses, questionnaire, or onboarding materials)
|
|
81
|
+
|
|
82
|
+
**Startup pitfalls**:
|
|
83
|
+
- No public security page — customers can't find any information about security practices
|
|
84
|
+
- SOC 2 report shared openly without NDA — report is meant to be restricted use
|
|
85
|
+
- Incident notification process undefined — scrambling to communicate during an actual incident
|