@agent-ix/quoin 0.22.5 → 0.24.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 +8 -258
- package/bin/launcher.js +138 -0
- package/package.json +22 -119
- package/.agents/plugins/marketplace.json +0 -14
- package/.claude-plugin/marketplace.json +0 -16
- package/.claude-plugin/plugin.json +0 -8
- package/.codex-plugin/plugin.json +0 -27
- package/.github/plugin/marketplace.json +0 -16
- package/bin/quoin.js +0 -21
- package/default-modules.yaml +0 -107
- package/dist/advisor/advise.d.ts +0 -199
- package/dist/advisor/advise.d.ts.map +0 -1
- package/dist/advisor/index.d.ts +0 -10
- package/dist/advisor/index.d.ts.map +0 -1
- package/dist/advisor/methods.d.ts +0 -60
- package/dist/advisor/methods.d.ts.map +0 -1
- package/dist/advisor-BkgwDKvQ.js +0 -63
- package/dist/assurance/graph.d.ts +0 -87
- package/dist/assurance/graph.d.ts.map +0 -1
- package/dist/assurance/index.d.ts +0 -9
- package/dist/assurance/index.d.ts.map +0 -1
- package/dist/assurance/render.d.ts +0 -3
- package/dist/assurance/render.d.ts.map +0 -1
- package/dist/auditor/audit.d.ts +0 -146
- package/dist/auditor/audit.d.ts.map +0 -1
- package/dist/auditor/combinatorial.d.ts +0 -53
- package/dist/auditor/combinatorial.d.ts.map +0 -1
- package/dist/auditor/index.d.ts +0 -9
- package/dist/auditor/index.d.ts.map +0 -1
- package/dist/auditor-C3bSmPD_.js +0 -340
- package/dist/base-CqKNs2Kd.js +0 -137
- package/dist/base.d.ts +0 -23
- package/dist/base.d.ts.map +0 -1
- package/dist/catalog.d.ts +0 -33
- package/dist/catalog.d.ts.map +0 -1
- package/dist/cli.d.ts +0 -61
- package/dist/cli.d.ts.map +0 -1
- package/dist/cli.js +0 -34
- package/dist/commands/advise.d.ts +0 -16
- package/dist/commands/advise.d.ts.map +0 -1
- package/dist/commands/advise.js +0 -234
- package/dist/commands/assurance.d.ts +0 -14
- package/dist/commands/assurance.d.ts.map +0 -1
- package/dist/commands/assurance.js +0 -204
- package/dist/commands/catalog/index.d.ts +0 -2
- package/dist/commands/catalog/index.d.ts.map +0 -1
- package/dist/commands/catalog/index.js +0 -2
- package/dist/commands/catalog/list.d.ts +0 -11
- package/dist/commands/catalog/list.d.ts.map +0 -1
- package/dist/commands/catalog/list.js +0 -22
- package/dist/commands/catalog/methods.d.ts +0 -12
- package/dist/commands/catalog/methods.d.ts.map +0 -1
- package/dist/commands/catalog/methods.js +0 -43
- package/dist/commands/catalog/show.d.ts +0 -13
- package/dist/commands/catalog/show.d.ts.map +0 -1
- package/dist/commands/catalog/show.js +0 -25
- package/dist/commands/catalog/validate.d.ts +0 -10
- package/dist/commands/catalog/validate.d.ts.map +0 -1
- package/dist/commands/catalog/validate.js +0 -27
- package/dist/commands/completeness.d.ts +0 -16
- package/dist/commands/completeness.d.ts.map +0 -1
- package/dist/commands/completeness.js +0 -49
- package/dist/commands/config/doctor.d.ts +0 -7
- package/dist/commands/config/doctor.d.ts.map +0 -1
- package/dist/commands/config/doctor.js +0 -15
- package/dist/commands/config/edit.d.ts +0 -7
- package/dist/commands/config/edit.d.ts.map +0 -1
- package/dist/commands/config/edit.js +0 -13
- package/dist/commands/config/get.d.ts +0 -11
- package/dist/commands/config/get.d.ts.map +0 -1
- package/dist/commands/config/get.js +0 -20
- package/dist/commands/config/index.d.ts +0 -2
- package/dist/commands/config/index.d.ts.map +0 -1
- package/dist/commands/config/index.js +0 -2
- package/dist/commands/config/set.d.ts +0 -12
- package/dist/commands/config/set.d.ts.map +0 -1
- package/dist/commands/config/set.js +0 -26
- package/dist/commands/evidence/affirm.d.ts +0 -17
- package/dist/commands/evidence/affirm.d.ts.map +0 -1
- package/dist/commands/evidence/affirm.js +0 -65
- package/dist/commands/evidence/audit.d.ts +0 -34
- package/dist/commands/evidence/audit.d.ts.map +0 -1
- package/dist/commands/evidence/audit.js +0 -107
- package/dist/commands/evidence/baseline.d.ts +0 -14
- package/dist/commands/evidence/baseline.d.ts.map +0 -1
- package/dist/commands/evidence/baseline.js +0 -89
- package/dist/commands/evidence/gc.d.ts +0 -13
- package/dist/commands/evidence/gc.d.ts.map +0 -1
- package/dist/commands/evidence/gc.js +0 -35
- package/dist/commands/evidence/index.d.ts +0 -8
- package/dist/commands/evidence/index.d.ts.map +0 -1
- package/dist/commands/evidence/index.js +0 -18
- package/dist/commands/evidence/inspect-mocks.d.ts +0 -16
- package/dist/commands/evidence/inspect-mocks.d.ts.map +0 -1
- package/dist/commands/evidence/inspect-mocks.js +0 -49
- package/dist/commands/evidence/record.d.ts +0 -22
- package/dist/commands/evidence/record.d.ts.map +0 -1
- package/dist/commands/evidence/record.js +0 -140
- package/dist/commands/matrix.d.ts +0 -14
- package/dist/commands/matrix.d.ts.map +0 -1
- package/dist/commands/matrix.js +0 -15
- package/dist/commands/measurement/index.d.ts +0 -7
- package/dist/commands/measurement/index.d.ts.map +0 -1
- package/dist/commands/measurement/index.js +0 -11
- package/dist/commands/measurement/record.d.ts +0 -10
- package/dist/commands/measurement/record.d.ts.map +0 -1
- package/dist/commands/measurement/record.js +0 -35
- package/dist/commands/module/ensure-defaults.d.ts +0 -8
- package/dist/commands/module/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/module/ensure-defaults.js +0 -17
- package/dist/commands/module/index.d.ts +0 -2
- package/dist/commands/module/index.d.ts.map +0 -1
- package/dist/commands/module/index.js +0 -2
- package/dist/commands/module/install.d.ts +0 -11
- package/dist/commands/module/install.d.ts.map +0 -1
- package/dist/commands/module/install.js +0 -22
- package/dist/commands/module/list.d.ts +0 -8
- package/dist/commands/module/list.d.ts.map +0 -1
- package/dist/commands/module/list.js +0 -13
- package/dist/commands/module/remove.d.ts +0 -10
- package/dist/commands/module/remove.d.ts.map +0 -1
- package/dist/commands/module/remove.js +0 -16
- package/dist/commands/plugin/deprecation.d.ts +0 -10
- package/dist/commands/plugin/deprecation.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.d.ts +0 -8
- package/dist/commands/plugin/ensure-defaults.d.ts.map +0 -1
- package/dist/commands/plugin/ensure-defaults.js +0 -12
- package/dist/commands/plugin/index.d.ts +0 -2
- package/dist/commands/plugin/index.d.ts.map +0 -1
- package/dist/commands/plugin/index.js +0 -2
- package/dist/commands/plugin/install.d.ts +0 -8
- package/dist/commands/plugin/install.d.ts.map +0 -1
- package/dist/commands/plugin/install.js +0 -12
- package/dist/commands/plugin/list.d.ts +0 -8
- package/dist/commands/plugin/list.d.ts.map +0 -1
- package/dist/commands/plugin/list.js +0 -12
- package/dist/commands/plugin/remove.d.ts +0 -8
- package/dist/commands/plugin/remove.d.ts.map +0 -1
- package/dist/commands/plugin/remove.js +0 -12
- package/dist/commands/report.d.ts +0 -15
- package/dist/commands/report.d.ts.map +0 -1
- package/dist/commands/report.js +0 -70
- package/dist/commands/review.d.ts +0 -14
- package/dist/commands/review.d.ts.map +0 -1
- package/dist/commands/review.js +0 -15
- package/dist/commands/to-plan.d.ts +0 -14
- package/dist/commands/to-plan.d.ts.map +0 -1
- package/dist/commands/to-plan.js +0 -15
- package/dist/commands/update.d.ts +0 -13
- package/dist/commands/update.d.ts.map +0 -1
- package/dist/commands/update.js +0 -34
- package/dist/commands/validate.d.ts +0 -13
- package/dist/commands/validate.d.ts.map +0 -1
- package/dist/commands/validate.js +0 -123
- package/dist/commands/write.d.ts +0 -16
- package/dist/commands/write.d.ts.map +0 -1
- package/dist/commands/write.js +0 -33
- package/dist/completeness/assess.d.ts +0 -82
- package/dist/completeness/assess.d.ts.map +0 -1
- package/dist/completeness/bundle.d.ts +0 -52
- package/dist/completeness/bundle.d.ts.map +0 -1
- package/dist/completeness/declarations.d.ts +0 -46
- package/dist/completeness/declarations.d.ts.map +0 -1
- package/dist/completeness/index.d.ts +0 -11
- package/dist/completeness/index.d.ts.map +0 -1
- package/dist/completeness/run.d.ts +0 -35
- package/dist/completeness/run.d.ts.map +0 -1
- package/dist/completeness-DamWradt.js +0 -228
- package/dist/config-schema-Dp-vlxuR.js +0 -13
- package/dist/config-schema.d.ts +0 -52
- package/dist/config-schema.d.ts.map +0 -1
- package/dist/deprecation-fRxUHoxv.js +0 -4
- package/dist/evidence/adapters/agent-eval.d.ts +0 -26
- package/dist/evidence/adapters/agent-eval.d.ts.map +0 -1
- package/dist/evidence/adapters/audit-script.d.ts +0 -25
- package/dist/evidence/adapters/audit-script.d.ts.map +0 -1
- package/dist/evidence/adapters/cargo-mutants.d.ts +0 -3
- package/dist/evidence/adapters/cargo-mutants.d.ts.map +0 -1
- package/dist/evidence/adapters/junit.d.ts +0 -17
- package/dist/evidence/adapters/junit.d.ts.map +0 -1
- package/dist/evidence/adapters/registry.d.ts +0 -63
- package/dist/evidence/adapters/registry.d.ts.map +0 -1
- package/dist/evidence/adapters/sarif.d.ts +0 -35
- package/dist/evidence/adapters/sarif.d.ts.map +0 -1
- package/dist/evidence/adapters/sbom.d.ts +0 -35
- package/dist/evidence/adapters/sbom.d.ts.map +0 -1
- package/dist/evidence/adapters/types.d.ts +0 -55
- package/dist/evidence/adapters/types.d.ts.map +0 -1
- package/dist/evidence/index.d.ts +0 -24
- package/dist/evidence/index.d.ts.map +0 -1
- package/dist/evidence/mock-inspection.d.ts +0 -16
- package/dist/evidence/mock-inspection.d.ts.map +0 -1
- package/dist/evidence/record.d.ts +0 -58
- package/dist/evidence/record.d.ts.map +0 -1
- package/dist/evidence/store.d.ts +0 -215
- package/dist/evidence/store.d.ts.map +0 -1
- package/dist/evidence/types.d.ts +0 -281
- package/dist/evidence/types.d.ts.map +0 -1
- package/dist/evidence-DD0CHzJ0.js +0 -533
- package/dist/flow-command-BfFNY0Rv.js +0 -88
- package/dist/flow-command.d.ts +0 -25
- package/dist/flow-command.d.ts.map +0 -1
- package/dist/flows.d.ts +0 -7
- package/dist/flows.d.ts.map +0 -1
- package/dist/hooks/command-not-found.d.ts +0 -23
- package/dist/hooks/command-not-found.d.ts.map +0 -1
- package/dist/hooks/command-not-found.js +0 -8
- package/dist/index.d.ts +0 -12
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js +0 -10
- package/dist/measurement/compare.d.ts +0 -4
- package/dist/measurement/compare.d.ts.map +0 -1
- package/dist/measurement/index.d.ts +0 -9
- package/dist/measurement/index.d.ts.map +0 -1
- package/dist/measurement/plans.d.ts +0 -4
- package/dist/measurement/plans.d.ts.map +0 -1
- package/dist/measurement/portfolio.d.ts +0 -48
- package/dist/measurement/portfolio.d.ts.map +0 -1
- package/dist/measurement/profiles.d.ts +0 -9
- package/dist/measurement/profiles.d.ts.map +0 -1
- package/dist/measurement/report.d.ts +0 -44
- package/dist/measurement/report.d.ts.map +0 -1
- package/dist/measurement/store.d.ts +0 -7
- package/dist/measurement/store.d.ts.map +0 -1
- package/dist/measurement/types.d.ts +0 -83
- package/dist/measurement/types.d.ts.map +0 -1
- package/dist/measurement/validate.d.ts +0 -9
- package/dist/measurement/validate.d.ts.map +0 -1
- package/dist/measurement-CzB74Q07.js +0 -595
- package/dist/modules-ez9httBA.js +0 -23
- package/dist/modules.d.ts +0 -10
- package/dist/modules.d.ts.map +0 -1
- package/dist/org.d.ts +0 -61
- package/dist/org.d.ts.map +0 -1
- package/dist/plugins-C-ta0llj.js +0 -77
- package/dist/plugins.d.ts +0 -13
- package/dist/plugins.d.ts.map +0 -1
- package/dist/quire/contract.d.ts +0 -87
- package/dist/quire/contract.d.ts.map +0 -1
- package/dist/quire/exec.d.ts +0 -66
- package/dist/quire/exec.d.ts.map +0 -1
- package/dist/quire/index.d.ts +0 -12
- package/dist/quire/index.d.ts.map +0 -1
- package/dist/quire/types.d.ts +0 -415
- package/dist/quire/types.d.ts.map +0 -1
- package/dist/quire/validate.d.ts +0 -34
- package/dist/quire/validate.d.ts.map +0 -1
- package/dist/quire-D8tCpgyA.js +0 -4961
- package/dist/schemas/coverage-v1.schema.json +0 -1111
- package/dist/schemas/properties-v1.schema.json +0 -159
- package/dist/store--2sAv12X.js +0 -219
- package/dist/validators/gates.d.ts +0 -18
- package/dist/validators/gates.d.ts.map +0 -1
- package/dist/validators/index.d.ts +0 -2
- package/dist/validators/index.d.ts.map +0 -1
- package/dist/version-Dg0e6CZU.js +0 -17
- package/dist/version.d.ts +0 -3
- package/dist/version.d.ts.map +0 -1
- package/dist/write-DElwS9xc.js +0 -157
- package/dist/write.d.ts +0 -28
- package/dist/write.d.ts.map +0 -1
- package/skills/assurance-status-report/SKILL.md +0 -135
- package/skills/assurance-status-report/references/report-contract.md +0 -110
- package/skills/gap-analysis/SKILL.md +0 -111
- package/skills/gap-analysis/references/step-1-target-selection.md +0 -53
- package/skills/gap-analysis/references/step-2-plan-completion.md +0 -49
- package/skills/gap-analysis/references/step-3-matrix-verification.md +0 -147
- package/skills/gap-analysis/references/step-4-underspecified-code.md +0 -63
- package/skills/gap-analysis/references/step-5-semantic-review.md +0 -51
- package/skills/gap-analysis/references/step-6-specreview-artifact.md +0 -107
- package/skills/spec-app-review/SKILL.md +0 -51
- package/skills/spec-app-review/references/checklist.md +0 -197
- package/skills/spec-architecture-evaluation/SKILL.md +0 -30
- package/skills/spec-correctness/SKILL.md +0 -96
- package/skills/spec-correctness/assets/strategy-table.md +0 -101
- package/skills/spec-correctness/assets/templates/fast-check.ts.md +0 -169
- package/skills/spec-correctness/assets/templates/hypothesis.py.md +0 -156
- package/skills/spec-correctness/assets/templates/proptest.rs.md +0 -147
- package/skills/spec-correctness/references/step-0-scope-and-harness.md +0 -94
- package/skills/spec-correctness/references/step-1-census.md +0 -53
- package/skills/spec-correctness/references/step-2-clause-grounding.md +0 -159
- package/skills/spec-correctness/references/step-3-strategy-selection.md +0 -85
- package/skills/spec-correctness/references/step-4-generate-tests.md +0 -117
- package/skills/spec-correctness/references/step-5-second-pass.md +0 -81
- package/skills/spec-correctness/references/step-6-review-artifact.md +0 -134
- package/skills/spec-correctness/references/step-7-report-and-handoff.md +0 -102
- package/skills/spec-dependency-analysis/SKILL.md +0 -90
- package/skills/spec-ears-analysis/SKILL.md +0 -102
- package/skills/spec-evidence-analysis/SKILL.md +0 -156
- package/skills/spec-failure-domain-analysis/SKILL.md +0 -59
- package/skills/spec-fuzz/SKILL.md +0 -132
- package/skills/spec-fuzz/assets/templates/atheris.py.md +0 -74
- package/skills/spec-fuzz/assets/templates/cargo-fuzz.rs.md +0 -83
- package/skills/spec-fuzz/assets/templates/fast-check.ts.md +0 -76
- package/skills/spec-fuzz/references/step-0-scope-and-harness.md +0 -51
- package/skills/spec-fuzz/references/step-1-select-obligations.md +0 -47
- package/skills/spec-fuzz/references/step-2-ground-entry-point.md +0 -55
- package/skills/spec-fuzz/references/step-3-emit-targets.md +0 -65
- package/skills/spec-fuzz/references/step-4-report.md +0 -56
- package/skills/spec-ideation/SKILL.md +0 -46
- package/skills/spec-integrity-analysis/SKILL.md +0 -62
- package/skills/spec-matrix/SKILL.md +0 -186
- package/skills/spec-matrix/assets/test-cases/TC-001.md +0 -35
- package/skills/spec-matrix/assets/test-cases/TC-002.md +0 -37
- package/skills/spec-matrix/assets/test-cases/TC-006.md +0 -50
- package/skills/spec-matrix/assets/test-matrix-example.md +0 -104
- package/skills/spec-matrix/assets/test-matrix-template.md +0 -123
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-matrix/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-matrix/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/SKILL.md +0 -35
- package/skills/spec-matrix/workflow-assets/skills/matrix/scripts/invariants.js +0 -1
- package/skills/spec-matrix/workflow-assets/skills/matrix/templates/report/default.md +0 -30
- package/skills/spec-matrix/workflow-assets/skills/matrix/workflows/matrix/def.yaml +0 -82
- package/skills/spec-object-review/SKILL.md +0 -125
- package/skills/spec-object-review/references/object-type-guide.md +0 -118
- package/skills/spec-review/SKILL.md +0 -92
- package/skills/spec-review/references/checklist.md +0 -50
- package/skills/spec-review/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-review/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-review/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-review/workflow-assets/skills/review/SKILL.md +0 -96
- package/skills/spec-review/workflow-assets/skills/review/scripts/invariants.js +0 -61
- package/skills/spec-review/workflow-assets/skills/review/workflows/review/def.yaml +0 -68
- package/skills/spec-risk-complexity-analysis/SKILL.md +0 -92
- package/skills/spec-scope-boundary-analysis/SKILL.md +0 -101
- package/skills/spec-security-analysis/SKILL.md +0 -84
- package/skills/spec-security-analysis/assets/security-analysis-example.md +0 -89
- package/skills/spec-security-analysis/assets/security-analysis-template.md +0 -73
- package/skills/spec-security-analysis/references/component-type-mapping.md +0 -161
- package/skills/spec-security-analysis/references/gdpr/ChII-Principles.md +0 -58
- package/skills/spec-security-analysis/references/gdpr/ChIII-DataSubjectRights.md +0 -84
- package/skills/spec-security-analysis/references/gdpr/ChIV-ControllerProcessor.md +0 -83
- package/skills/spec-security-analysis/references/gdpr/ChV-DataTransfers.md +0 -62
- package/skills/spec-security-analysis/references/gdpr/index.md +0 -54
- package/skills/spec-security-analysis/references/iso27001/A5-OrganizationalControls.md +0 -64
- package/skills/spec-security-analysis/references/iso27001/A6-PeopleControls.md +0 -30
- package/skills/spec-security-analysis/references/iso27001/A7-PhysicalControls.md +0 -35
- package/skills/spec-security-analysis/references/iso27001/A8-TechnologicalControls.md +0 -66
- package/skills/spec-security-analysis/references/iso27001/index.md +0 -43
- package/skills/spec-security-analysis/references/nist-800-53/AC-AccessControl.md +0 -57
- package/skills/spec-security-analysis/references/nist-800-53/AU-AuditAccountability.md +0 -49
- package/skills/spec-security-analysis/references/nist-800-53/CM-ConfigurationManagement.md +0 -36
- package/skills/spec-security-analysis/references/nist-800-53/IA-IdentificationAuthentication.md +0 -44
- package/skills/spec-security-analysis/references/nist-800-53/SA-SystemServicesAcquisition.md +0 -50
- package/skills/spec-security-analysis/references/nist-800-53/SC-SystemCommunications.md +0 -53
- package/skills/spec-security-analysis/references/nist-800-53/SI-SystemInformationIntegrity.md +0 -52
- package/skills/spec-security-analysis/references/nist-800-53/index.md +0 -58
- package/skills/spec-security-analysis/references/owasp-asvs/V1-Architecture.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V10-MaliciousCode.md +0 -33
- package/skills/spec-security-analysis/references/owasp-asvs/V11-BusinessLogic.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/V12-Files.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V13-API.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V14-Configuration.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V2-Authentication.md +0 -36
- package/skills/spec-security-analysis/references/owasp-asvs/V3-SessionManagement.md +0 -35
- package/skills/spec-security-analysis/references/owasp-asvs/V4-AccessControl.md +0 -39
- package/skills/spec-security-analysis/references/owasp-asvs/V5-Validation.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V6-Cryptography.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V7-ErrorLogging.md +0 -37
- package/skills/spec-security-analysis/references/owasp-asvs/V8-DataProtection.md +0 -34
- package/skills/spec-security-analysis/references/owasp-asvs/V9-Communication.md +0 -32
- package/skills/spec-security-analysis/references/owasp-asvs/index.md +0 -59
- package/skills/spec-security-analysis/references/soc2/CC1-ControlEnvironment.md +0 -31
- package/skills/spec-security-analysis/references/soc2/CC2-CommunicationInformation.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC3-RiskAssessment.md +0 -29
- package/skills/spec-security-analysis/references/soc2/CC4-MonitoringActivities.md +0 -27
- package/skills/spec-security-analysis/references/soc2/CC5-ControlActivities.md +0 -28
- package/skills/spec-security-analysis/references/soc2/CC6-LogicalPhysicalAccess.md +0 -45
- package/skills/spec-security-analysis/references/soc2/CC7-SystemOperations.md +0 -42
- package/skills/spec-security-analysis/references/soc2/CC8-ChangeManagement.md +0 -32
- package/skills/spec-security-analysis/references/soc2/CC9-RiskMitigation.md +0 -34
- package/skills/spec-security-analysis/references/soc2/index.md +0 -46
- package/skills/spec-security-analysis/references/standards-index.md +0 -46
- package/skills/spec-to-plan/SKILL.md +0 -88
- package/skills/spec-to-plan/references/step-0-plan-selection.md +0 -121
- package/skills/spec-to-plan/references/step-1-analysis.md +0 -88
- package/skills/spec-to-plan/references/step-2-test-plan.md +0 -43
- package/skills/spec-to-plan/references/step-3-execution-plan.md +0 -218
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts +0 -146
- package/skills/spec-to-plan/workflow-assets/dist/index.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/dist/index.js +0 -7525
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts +0 -6
- package/skills/spec-to-plan/workflow-assets/dist/invariants.d.ts.map +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/SKILL.md +0 -35
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/scripts/invariants.js +0 -1
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/templates/implementation-plan/default.md +0 -44
- package/skills/spec-to-plan/workflow-assets/skills/to-plan/workflows/to-plan/def.yaml +0 -85
- package/skills/specify/SKILL.md +0 -154
- package/skills/specify/assets/app-spec-template.md +0 -143
- package/skills/specify/assets/spec-template.md +0 -299
- package/skills/specify/references/integration-tests.md +0 -72
- package/skills/specify/references/us-to-fr.md +0 -40
- package/skills/specify/references/writing-good-requirements.md +0 -61
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
# Component Type to Security Standards Mapping
|
|
2
|
-
|
|
3
|
-
Use this reference to identify which security controls are most relevant based on component type.
|
|
4
|
-
|
|
5
|
-
> [!IMPORTANT]
|
|
6
|
-
> ALL standards apply to ALL components. This guide identifies PRIMARY focus areas - you must still evaluate every standard for comprehensive coverage.
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
## Authorization & Access Control Components
|
|
11
|
-
|
|
12
|
-
**Examples**: py-permissions, py-auth, auth-service
|
|
13
|
-
|
|
14
|
-
### Primary Focus
|
|
15
|
-
|
|
16
|
-
| Standard | Controls | Rationale |
|
|
17
|
-
|----------|----------|-----------|
|
|
18
|
-
| SOC 2 | CC6.1-CC6.3, CC6.6 | Core logical access controls |
|
|
19
|
-
| ISO 27001 | A.9.x (all) | Access control is primary function |
|
|
20
|
-
| NIST | AC-1 through AC-8, AC-19 | Access enforcement and management |
|
|
21
|
-
| OWASP ASVS | V4 (all) | Access control verification |
|
|
22
|
-
| GDPR | Art. 25, 32 | Processing authorization |
|
|
23
|
-
|
|
24
|
-
### Secondary Focus
|
|
25
|
-
- AU controls (audit logging of access decisions)
|
|
26
|
-
- CC7.2 (security event monitoring)
|
|
27
|
-
|
|
28
|
-
---
|
|
29
|
-
|
|
30
|
-
## Data Services & Storage Components
|
|
31
|
-
|
|
32
|
-
**Examples**: data-store, pg-data-service, cache services
|
|
33
|
-
|
|
34
|
-
### Primary Focus
|
|
35
|
-
|
|
36
|
-
| Standard | Controls | Rationale |
|
|
37
|
-
|----------|----------|-----------|
|
|
38
|
-
| SOC 2 | CC6.7 (transmission), CC7.x | Data protection and operations |
|
|
39
|
-
| ISO 27001 | A.9.4.1, A.18.1.4 | Information restriction, privacy |
|
|
40
|
-
| NIST | AC-4 (flow), AU-2/AU-9 | Information flow, audit protection |
|
|
41
|
-
| OWASP ASVS | V5 (validation) | Input/output validation |
|
|
42
|
-
| GDPR | Art. 17, 20, 30, 32 | Erasure, portability, records |
|
|
43
|
-
|
|
44
|
-
### Secondary Focus
|
|
45
|
-
- Encryption at rest/transit (Art. 32(1)(a))
|
|
46
|
-
- Retention policies (CC7.3, A.12.4.1)
|
|
47
|
-
|
|
48
|
-
---
|
|
49
|
-
|
|
50
|
-
## API Gateway & BFF Components
|
|
51
|
-
|
|
52
|
-
**Examples**: gateway, k8s-gateway, BFF services
|
|
53
|
-
|
|
54
|
-
### Primary Focus
|
|
55
|
-
|
|
56
|
-
| Standard | Controls | Rationale |
|
|
57
|
-
|----------|----------|-----------|
|
|
58
|
-
| SOC 2 | CC6.1, CC6.6, CC6.7 | Boundary and transmission |
|
|
59
|
-
| ISO 27001 | A.9.1.2, A.9.4.1 | Network and information access |
|
|
60
|
-
| NIST | AC-3, AC-4, AU-2 | Enforcement, flow, events |
|
|
61
|
-
| OWASP ASVS | V4.1.2 (enforcement points) | Gateway as enforcement |
|
|
62
|
-
| GDPR | Art. 32(1)(b) | Confidentiality/integrity |
|
|
63
|
-
|
|
64
|
-
### Secondary Focus
|
|
65
|
-
- Rate limiting and abuse prevention
|
|
66
|
-
- Request/response validation (V5)
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## Worker & Background Processing Services
|
|
71
|
-
|
|
72
|
-
**Examples**: deploy-worker, scenario-runner, secret-refresh-controller
|
|
73
|
-
|
|
74
|
-
### Primary Focus
|
|
75
|
-
|
|
76
|
-
| Standard | Controls | Rationale |
|
|
77
|
-
|----------|----------|-----------|
|
|
78
|
-
| SOC 2 | CC6.1, CC7.2, CC7.3 | Access, monitoring, response |
|
|
79
|
-
| ISO 27001 | A.9.2.3, A.12.4.1 | Privileged access, logging |
|
|
80
|
-
| NIST | AC-5 (separation), AC-6 (least privilege), AU-x | Duty separation, minimal access |
|
|
81
|
-
| OWASP ASVS | V4.1.3, V4.3.1 | Privilege controls |
|
|
82
|
-
| GDPR | Art. 32(4) | Authorized processing only |
|
|
83
|
-
|
|
84
|
-
### Secondary Focus
|
|
85
|
-
- Credential handling (A.9.2.4)
|
|
86
|
-
- Error handling (V7)
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
## Event & Messaging Components
|
|
91
|
-
|
|
92
|
-
**Examples**: event-monitor, FastStream consumers/publishers
|
|
93
|
-
|
|
94
|
-
### Primary Focus
|
|
95
|
-
|
|
96
|
-
| Standard | Controls | Rationale |
|
|
97
|
-
|----------|----------|-----------|
|
|
98
|
-
| SOC 2 | CC7.2, CC7.3 | Event monitoring, response |
|
|
99
|
-
| ISO 27001 | A.12.4.1-4 | Event logging, protection |
|
|
100
|
-
| NIST | AU-2 through AU-12 | Full audit family |
|
|
101
|
-
| OWASP ASVS | V7 (all) | Error handling and logging |
|
|
102
|
-
| GDPR | Art. 30, 32(1)(d) | Processing records, testing |
|
|
103
|
-
|
|
104
|
-
### Secondary Focus
|
|
105
|
-
- Message integrity
|
|
106
|
-
- Non-repudiation (AU-10)
|
|
107
|
-
|
|
108
|
-
---
|
|
109
|
-
|
|
110
|
-
## Libraries (Non-Service Components)
|
|
111
|
-
|
|
112
|
-
**Examples**: py-permissions, flowkit, naming-lib
|
|
113
|
-
|
|
114
|
-
### Primary Focus
|
|
115
|
-
|
|
116
|
-
| Standard | Controls | Rationale |
|
|
117
|
-
|----------|----------|-----------|
|
|
118
|
-
| SOC 2 | Varies by library function | Function-specific |
|
|
119
|
-
| ISO 27001 | A.9.4.5 (source code access) | Code security |
|
|
120
|
-
| NIST | SA-15, SA-24 | Supply chain (Rev 5.2.0) |
|
|
121
|
-
| OWASP ASVS | V5 (if handles input) | Validation |
|
|
122
|
-
| GDPR | Art. 25(1) | Privacy by design |
|
|
123
|
-
|
|
124
|
-
### Key Considerations
|
|
125
|
-
- **Fail-Safe Defaults**: NFR for DENY on error
|
|
126
|
-
- **Information Leakage**: Error messages must not leak data
|
|
127
|
-
- **Auditability**: Must support (not implement) audit logging
|
|
128
|
-
|
|
129
|
-
---
|
|
130
|
-
|
|
131
|
-
## Infrastructure & Platform Components
|
|
132
|
-
|
|
133
|
-
**Examples**: KIND cluster, DNS, Kubernetes orchestration
|
|
134
|
-
|
|
135
|
-
### Primary Focus
|
|
136
|
-
|
|
137
|
-
| Standard | Controls | Rationale |
|
|
138
|
-
|----------|----------|-----------|
|
|
139
|
-
| SOC 2 | CC6.4, CC6.5, CC7.4, CC7.5 | Physical, continuity, recovery |
|
|
140
|
-
| ISO 27001 | A.6.2, A.9.1.2 | Teleworking, network access |
|
|
141
|
-
| NIST | AC-17, AC-18 | Remote/wireless access |
|
|
142
|
-
| OWASP ASVS | Limited applicability | Application-focused |
|
|
143
|
-
| GDPR | Art. 32(1)(c) | Availability/resilience |
|
|
144
|
-
|
|
145
|
-
### Typically Out of Scope
|
|
146
|
-
These controls are typically assigned to Infrastructure, not application components.
|
|
147
|
-
|
|
148
|
-
---
|
|
149
|
-
|
|
150
|
-
## Control Assignment Matrix
|
|
151
|
-
|
|
152
|
-
Quick reference for common out-of-scope assignments:
|
|
153
|
-
|
|
154
|
-
| Control | Description | Typically Assigned To |
|
|
155
|
-
|---------|-------------|----------------------|
|
|
156
|
-
| CC6.4, CC6.5 | Physical access | Infrastructure |
|
|
157
|
-
| A.9.2.1, A.9.2.2 | User provisioning | Auth Service |
|
|
158
|
-
| AC-17, AC-18 | Remote/wireless | Network Layer |
|
|
159
|
-
| GDPR Art. 17 | Right to erasure | Data Service |
|
|
160
|
-
| GDPR Art. 20 | Data portability | Data Service |
|
|
161
|
-
| A.6.2 | Mobile/teleworking | HR/IT Policy |
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
# Chapter II - Principles
|
|
2
|
-
|
|
3
|
-
**Articles**: 5-11
|
|
4
|
-
**Focus**: Core data processing principles
|
|
5
|
-
|
|
6
|
-
## When to Read This Chapter
|
|
7
|
-
|
|
8
|
-
Read this chapter when:
|
|
9
|
-
- Defining what data to collect
|
|
10
|
-
- Determining processing purposes
|
|
11
|
-
- Establishing legal basis for processing
|
|
12
|
-
- Setting data retention policies
|
|
13
|
-
|
|
14
|
-
## Key Articles
|
|
15
|
-
|
|
16
|
-
### Art. 5 - Principles Relating to Processing
|
|
17
|
-
|
|
18
|
-
**Read this when**: Defining data model or processing rules
|
|
19
|
-
|
|
20
|
-
| Principle | Article | Description |
|
|
21
|
-
|-----------|---------|-------------|
|
|
22
|
-
| Lawfulness | 5(1)(a) | Process lawfully, fairly, transparently |
|
|
23
|
-
| Purpose Limitation | 5(1)(b) | Collect for specified purposes only |
|
|
24
|
-
| Data Minimization | 5(1)(c) | Collect only what's necessary |
|
|
25
|
-
| Accuracy | 5(1)(d) | Keep data accurate and current |
|
|
26
|
-
| Storage Limitation | 5(1)(e) | Retain only as long as needed |
|
|
27
|
-
| Integrity/Confidentiality | 5(1)(f) | Process securely |
|
|
28
|
-
|
|
29
|
-
**Map to**:
|
|
30
|
-
- NFR for data minimization → 5(1)(c)
|
|
31
|
-
- NFR for retention → 5(1)(e)
|
|
32
|
-
- FR for access control → 5(1)(f)
|
|
33
|
-
|
|
34
|
-
### Art. 6 - Lawfulness of Processing
|
|
35
|
-
|
|
36
|
-
**Read this when**: Determining legal basis
|
|
37
|
-
|
|
38
|
-
| Basis | Article | When to Use |
|
|
39
|
-
|-------|---------|-------------|
|
|
40
|
-
| Consent | 6(1)(a) | User explicitly agrees |
|
|
41
|
-
| Contract | 6(1)(b) | Necessary for service |
|
|
42
|
-
| Legal Obligation | 6(1)(c) | Required by law |
|
|
43
|
-
| Vital Interests | 6(1)(d) | Life-threatening situations |
|
|
44
|
-
| Public Interest | 6(1)(e) | Public authority functions |
|
|
45
|
-
| Legitimate Interest | 6(1)(f) | Balanced with user rights |
|
|
46
|
-
|
|
47
|
-
### Art. 9 - Special Categories (Sensitive Data)
|
|
48
|
-
|
|
49
|
-
**Read this when**: Processing health, biometric, racial, political, religious data
|
|
50
|
-
|
|
51
|
-
Requires explicit consent or specific legal basis.
|
|
52
|
-
|
|
53
|
-
## Mapping Guidance
|
|
54
|
-
|
|
55
|
-
Chapter II principles are primarily **organizational/policy** but software should enforce:
|
|
56
|
-
- Data minimization via schema design
|
|
57
|
-
- Storage limitation via retention policies
|
|
58
|
-
- Integrity/confidentiality via access control
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
# Chapter III - Rights of the Data Subject
|
|
2
|
-
|
|
3
|
-
**Articles**: 12-23
|
|
4
|
-
**Focus**: User rights over their data
|
|
5
|
-
|
|
6
|
-
## When to Read This Chapter
|
|
7
|
-
|
|
8
|
-
Read this chapter when your component:
|
|
9
|
-
- Provides user-facing data APIs
|
|
10
|
-
- Allows users to view their data
|
|
11
|
-
- Implements data export functionality
|
|
12
|
-
- Handles data deletion requests
|
|
13
|
-
- Manages user consent/preferences
|
|
14
|
-
|
|
15
|
-
## Key Articles
|
|
16
|
-
|
|
17
|
-
### Art. 15 - Right of Access
|
|
18
|
-
|
|
19
|
-
**Read this when**: Users can view their stored data
|
|
20
|
-
|
|
21
|
-
| Obligation | Description | Assign To |
|
|
22
|
-
|------------|-------------|-----------|
|
|
23
|
-
| Art. 15(1-3) | Provide copy of personal data | Data Service |
|
|
24
|
-
|
|
25
|
-
### Art. 16 - Right to Rectification
|
|
26
|
-
|
|
27
|
-
**Read this when**: Users can modify their data
|
|
28
|
-
|
|
29
|
-
| Obligation | Description | Assign To |
|
|
30
|
-
|------------|-------------|-----------|
|
|
31
|
-
| Art. 16 | Correct inaccurate data | Data Service |
|
|
32
|
-
|
|
33
|
-
### Art. 17 - Right to Erasure ("Right to be Forgotten")
|
|
34
|
-
|
|
35
|
-
**Read this when**: Users can delete their data
|
|
36
|
-
|
|
37
|
-
| Obligation | Description | Assign To |
|
|
38
|
-
|------------|-------------|-----------|
|
|
39
|
-
| Art. 17(1) | Delete data on request | Data Service |
|
|
40
|
-
| Art. 17(2) | Inform other controllers | Data Service |
|
|
41
|
-
|
|
42
|
-
### Art. 18 - Right to Restriction
|
|
43
|
-
|
|
44
|
-
**Read this when**: Users can limit processing
|
|
45
|
-
|
|
46
|
-
| Obligation | Description | Assign To |
|
|
47
|
-
|------------|-------------|-----------|
|
|
48
|
-
| Art. 18 | Restrict processing | Data Service |
|
|
49
|
-
|
|
50
|
-
### Art. 20 - Right to Data Portability
|
|
51
|
-
|
|
52
|
-
**Read this when**: Users can export their data
|
|
53
|
-
|
|
54
|
-
| Obligation | Description | Assign To |
|
|
55
|
-
|------------|-------------|-----------|
|
|
56
|
-
| Art. 20(1) | Provide data in portable format | Data Service |
|
|
57
|
-
| Art. 20(2) | Transfer to another controller | Data Service |
|
|
58
|
-
|
|
59
|
-
### Art. 21 - Right to Object
|
|
60
|
-
|
|
61
|
-
**Read this when**: Users can opt-out of processing
|
|
62
|
-
|
|
63
|
-
| Obligation | Description | Assign To |
|
|
64
|
-
|------------|-------------|-----------|
|
|
65
|
-
| Art. 21 | Stop processing on objection | Business Logic |
|
|
66
|
-
|
|
67
|
-
### Art. 22 - Automated Decision-Making
|
|
68
|
-
|
|
69
|
-
**Read this when**: Using algorithms/ML for decisions affecting users
|
|
70
|
-
|
|
71
|
-
| Obligation | Description | Assign To |
|
|
72
|
-
|------------|-------------|-----------|
|
|
73
|
-
| Art. 22(1) | Right not to be subject to automated decisions | ML/AI Service |
|
|
74
|
-
| Art. 22(3) | Right to human intervention | ML/AI Service |
|
|
75
|
-
|
|
76
|
-
## Mapping Guidance
|
|
77
|
-
|
|
78
|
-
Most Chapter III rights are assigned to **Data Service** components, not authorization or infrastructure components.
|
|
79
|
-
|
|
80
|
-
**For auth/permissions components**: Chapter III is typically **OUT OF SCOPE** - document as:
|
|
81
|
-
```
|
|
82
|
-
Art. 15-20 (Data Subject Rights) → Data Service Layer
|
|
83
|
-
Art. 22 (Automated Decisions) → ML/AI Service
|
|
84
|
-
```
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
# Chapter IV - Controller and Processor
|
|
2
|
-
|
|
3
|
-
**Articles**: 24-43
|
|
4
|
-
**Focus**: Security obligations and accountability
|
|
5
|
-
|
|
6
|
-
## When to Read This Chapter
|
|
7
|
-
|
|
8
|
-
Read this chapter when your component:
|
|
9
|
-
- Processes personal data in any way
|
|
10
|
-
- Implements security controls
|
|
11
|
-
- Logs user actions
|
|
12
|
-
- Could be involved in a data breach
|
|
13
|
-
- Requires privacy impact assessment
|
|
14
|
-
|
|
15
|
-
**This is the PRIMARY chapter for most software components.**
|
|
16
|
-
|
|
17
|
-
## Key Articles
|
|
18
|
-
|
|
19
|
-
### Art. 25 - Data Protection by Design and Default
|
|
20
|
-
|
|
21
|
-
**Read this when**: Designing new features or data models
|
|
22
|
-
|
|
23
|
-
| Obligation | Description | Software Implementation |
|
|
24
|
-
|------------|-------------|------------------------|
|
|
25
|
-
| Art. 25(1) | Protection by design | Build privacy into architecture |
|
|
26
|
-
| Art. 25(2) | Protection by default | Minimize data collection by default |
|
|
27
|
-
|
|
28
|
-
**Map to**: NFR for privacy-by-design, FR for default settings
|
|
29
|
-
|
|
30
|
-
### Art. 30 - Records of Processing
|
|
31
|
-
|
|
32
|
-
**Read this when**: Documenting what data you process
|
|
33
|
-
|
|
34
|
-
| Obligation | Description | Software Implementation |
|
|
35
|
-
|------------|-------------|------------------------|
|
|
36
|
-
| Art. 30(1) | Maintain processing records | Document data flows |
|
|
37
|
-
|
|
38
|
-
**Map to**: Documentation requirements, data flow diagrams
|
|
39
|
-
|
|
40
|
-
### Art. 32 - Security of Processing
|
|
41
|
-
|
|
42
|
-
**Read this when**: Implementing any security control
|
|
43
|
-
|
|
44
|
-
| Obligation | Description | Software Implementation |
|
|
45
|
-
|------------|-------------|------------------------|
|
|
46
|
-
| Art. 32(1)(a) | Pseudonymization/Encryption | Encrypt PII |
|
|
47
|
-
| Art. 32(1)(b) | Confidentiality/Integrity | Access control, data integrity |
|
|
48
|
-
| Art. 32(1)(c) | Availability/Resilience | Recovery, failover |
|
|
49
|
-
| Art. 32(1)(d) | Testing/Evaluation | Security testing |
|
|
50
|
-
| Art. 32(4) | Authorized Processing | Access control enforcement |
|
|
51
|
-
|
|
52
|
-
**Map to**:
|
|
53
|
-
- FR for access control → Art. 32(1)(b), 32(4)
|
|
54
|
-
- NFR for encryption → Art. 32(1)(a)
|
|
55
|
-
- NFR for testing → Art. 32(1)(d)
|
|
56
|
-
- NFR for availability → Art. 32(1)(c)
|
|
57
|
-
|
|
58
|
-
### Art. 33-34 - Breach Notification
|
|
59
|
-
|
|
60
|
-
**Read this when**: Implementing incident response
|
|
61
|
-
|
|
62
|
-
| Obligation | Description | Software Implementation |
|
|
63
|
-
|------------|-------------|------------------------|
|
|
64
|
-
| Art. 33 | Notify authority within 72 hours | Incident detection, alerting |
|
|
65
|
-
| Art. 34 | Notify data subjects | User notification capability |
|
|
66
|
-
|
|
67
|
-
**Map to**: FR/NFR for incident detection, alerting
|
|
68
|
-
|
|
69
|
-
### Art. 35 - Data Protection Impact Assessment
|
|
70
|
-
|
|
71
|
-
**Read this when**: High-risk processing (profiling, large-scale, sensitive data)
|
|
72
|
-
|
|
73
|
-
Usually organizational, but software should support DPIA requirements.
|
|
74
|
-
|
|
75
|
-
## Mapping Guidance
|
|
76
|
-
|
|
77
|
-
```
|
|
78
|
-
FR-001 (Permission Check) → Art. 32(1)(b), Art. 32(4)
|
|
79
|
-
FR-002 (Enforcement) → Art. 32(4)
|
|
80
|
-
FR-007 (Org Tenancy) → Art. 32(1)(b) (data isolation)
|
|
81
|
-
FR-013 (Audit) → Art. 32(1)(b), Art. 30
|
|
82
|
-
NFR-002 (Fail-Safe) → Art. 32(1)(c)
|
|
83
|
-
```
|
|
@@ -1,62 +0,0 @@
|
|
|
1
|
-
# Chapter V - Transfers of Personal Data
|
|
2
|
-
|
|
3
|
-
**Articles**: 44-50
|
|
4
|
-
**Focus**: International data transfers
|
|
5
|
-
|
|
6
|
-
## When to Read This Chapter
|
|
7
|
-
|
|
8
|
-
Read this chapter when your component:
|
|
9
|
-
- Transfers data to non-EU countries
|
|
10
|
-
- Uses cloud services outside EU
|
|
11
|
-
- Integrates with US-based services
|
|
12
|
-
- Replicates data across regions
|
|
13
|
-
|
|
14
|
-
## Key Articles
|
|
15
|
-
|
|
16
|
-
### Art. 44 - General Principle for Transfers
|
|
17
|
-
|
|
18
|
-
**Read this when**: Any data leaves EU/EEA
|
|
19
|
-
|
|
20
|
-
| Obligation | Description |
|
|
21
|
-
|------------|-------------|
|
|
22
|
-
| Art. 44 | Transfers only with appropriate safeguards |
|
|
23
|
-
|
|
24
|
-
### Art. 45 - Adequacy Decisions
|
|
25
|
-
|
|
26
|
-
**Read this when**: Transferring to countries with EU adequacy
|
|
27
|
-
|
|
28
|
-
Adequacy countries (data can flow freely): UK, Switzerland, Japan, South Korea, Canada (commercial), etc.
|
|
29
|
-
|
|
30
|
-
### Art. 46 - Appropriate Safeguards
|
|
31
|
-
|
|
32
|
-
**Read this when**: Transferring to non-adequate countries (e.g., US)
|
|
33
|
-
|
|
34
|
-
| Mechanism | Description |
|
|
35
|
-
|-----------|-------------|
|
|
36
|
-
| SCCs | Standard Contractual Clauses |
|
|
37
|
-
| BCRs | Binding Corporate Rules |
|
|
38
|
-
| Codes | Approved codes of conduct |
|
|
39
|
-
|
|
40
|
-
### Art. 49 - Derogations
|
|
41
|
-
|
|
42
|
-
**Read this when**: No other transfer mechanism available
|
|
43
|
-
|
|
44
|
-
| Derogation | When Allowed |
|
|
45
|
-
|------------|--------------|
|
|
46
|
-
| Explicit Consent | User explicitly consents to transfer |
|
|
47
|
-
| Contract | Necessary for contract with user |
|
|
48
|
-
| Public Interest | Important public interest reasons |
|
|
49
|
-
|
|
50
|
-
## Mapping Guidance
|
|
51
|
-
|
|
52
|
-
Chapter V is typically **Infrastructure/Legal** responsibility.
|
|
53
|
-
|
|
54
|
-
For software components, document:
|
|
55
|
-
```
|
|
56
|
-
Art. 44-49 (International Transfers) → Infrastructure/Legal
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
However, software should support:
|
|
60
|
-
- Data residency configuration
|
|
61
|
-
- Region selection for storage
|
|
62
|
-
- Transfer logging
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# EU GDPR 2016/679
|
|
2
|
-
|
|
3
|
-
**Version**: 2016/679
|
|
4
|
-
**Scope**: Personal data protection
|
|
5
|
-
**Region**: EU/EEA (applies globally to EU data subjects)
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
Apply GDPR when your component:
|
|
10
|
-
- Processes personal data of EU residents
|
|
11
|
-
- Stores user information
|
|
12
|
-
- Logs user activity
|
|
13
|
-
- Handles consent or preferences
|
|
14
|
-
|
|
15
|
-
## Chapter Selection Guide
|
|
16
|
-
|
|
17
|
-
**Use this to decide which chapter to investigate:**
|
|
18
|
-
|
|
19
|
-
| If your component... | Read Chapter |
|
|
20
|
-
|---------------------|--------------|
|
|
21
|
-
| Handles ANY personal data | [ChIV-ControllerProcessor](ChIV-ControllerProcessor.md) |
|
|
22
|
-
| Needs to implement data subject requests | [ChIII-DataSubjectRights](ChIII-DataSubjectRights.md) |
|
|
23
|
-
| Transfers data outside EU | [ChV-DataTransfers](ChV-DataTransfers.md) |
|
|
24
|
-
| Defines data processing principles | [ChII-Principles](ChII-Principles.md) |
|
|
25
|
-
|
|
26
|
-
## Chapter Overview
|
|
27
|
-
|
|
28
|
-
| Chapter | Articles | Primary Focus | Read When |
|
|
29
|
-
|---------|----------|---------------|-----------|
|
|
30
|
-
| [ChII-Principles](ChII-Principles.md) | 5-11 | Lawfulness, purpose limitation | Defining data model, processing rules |
|
|
31
|
-
| [ChIII-DataSubjectRights](ChIII-DataSubjectRights.md) | 12-23 | Access, erasure, portability | User-facing data APIs |
|
|
32
|
-
| [ChIV-ControllerProcessor](ChIV-ControllerProcessor.md) | 24-43 | Security, DPIA, breach notification | **Any data processing** |
|
|
33
|
-
| [ChV-DataTransfers](ChV-DataTransfers.md) | 44-50 | International transfers | Cross-border data flow |
|
|
34
|
-
|
|
35
|
-
## Key Articles for Software
|
|
36
|
-
|
|
37
|
-
Most software maps primarily to Chapter IV (Controller/Processor):
|
|
38
|
-
|
|
39
|
-
| Article | Name | Apply When |
|
|
40
|
-
|---------|------|------------|
|
|
41
|
-
| Art. 25 | Data Protection by Design/Default | Any new feature design |
|
|
42
|
-
| Art. 30 | Records of Processing | Any data processing |
|
|
43
|
-
| Art. 32 | Security of Processing | **All components** |
|
|
44
|
-
| Art. 33-34 | Breach Notification | Incident handling |
|
|
45
|
-
| Art. 35 | DPIA | High-risk processing |
|
|
46
|
-
|
|
47
|
-
## Common Out-of-Scope Assignments
|
|
48
|
-
|
|
49
|
-
| Article | Responsibility | Assign To |
|
|
50
|
-
|---------|---------------|-----------|
|
|
51
|
-
| Art. 15-18 | Data access/rectification/restriction | Data Service |
|
|
52
|
-
| Art. 17 | Right to erasure | Data Service |
|
|
53
|
-
| Art. 20 | Data portability | Data Service |
|
|
54
|
-
| Art. 37-39 | DPO | Legal/Compliance |
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
# A.5 - Organizational Controls
|
|
2
|
-
|
|
3
|
-
**Theme**: Organizational
|
|
4
|
-
**Controls**: 37
|
|
5
|
-
**Focus**: Policies, roles, asset management, supplier relations, incident management
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
A.5 controls are organizational-level but many have direct software implications:
|
|
10
|
-
- Information classification affects data handling
|
|
11
|
-
- Supplier controls affect dependency management
|
|
12
|
-
- Incident management affects logging and response
|
|
13
|
-
|
|
14
|
-
## Controls
|
|
15
|
-
|
|
16
|
-
| Control | Name | Description | Software Relevance |
|
|
17
|
-
|---------|------|-------------|-------------------|
|
|
18
|
-
| A.5.1 | Policies for Information Security | Management-approved policies | LOW - Policy docs |
|
|
19
|
-
| A.5.2 | Information Security Roles | Define security responsibilities | LOW - Organizational |
|
|
20
|
-
| A.5.3 | Segregation of Duties | Separate conflicting duties | **HIGH** - RBAC |
|
|
21
|
-
| A.5.4 | Management Responsibilities | Require security compliance | LOW - Organizational |
|
|
22
|
-
| A.5.5 | Contact with Authorities | Maintain authority contacts | LOW - Organizational |
|
|
23
|
-
| A.5.6 | Contact with Special Interest Groups | Security group contacts | LOW - Organizational |
|
|
24
|
-
| A.5.7 | Threat Intelligence | Collect threat intelligence | MEDIUM - Vuln scanning |
|
|
25
|
-
| A.5.8 | Security in Project Management | Integrate security in projects | MEDIUM - SDLC |
|
|
26
|
-
| A.5.9 | Inventory of Information Assets | Maintain asset inventory | MEDIUM - SBOM |
|
|
27
|
-
| A.5.10 | Acceptable Use of Information Assets | Define acceptable use | LOW - Policy |
|
|
28
|
-
| A.5.11 | Return of Assets | Return on termination | LOW - HR process |
|
|
29
|
-
| A.5.12 | Classification of Information | Classify information | **HIGH** - Data classification |
|
|
30
|
-
| A.5.13 | Labeling of Information | Label per classification | MEDIUM - Metadata |
|
|
31
|
-
| A.5.14 | Information Transfer | Secure information transfer | **HIGH** - API security |
|
|
32
|
-
| A.5.15 | Access Control | Define access requirements | **HIGH** - Authz |
|
|
33
|
-
| A.5.16 | Identity Management | Manage identity lifecycle | **HIGH** - Identity |
|
|
34
|
-
| A.5.17 | Authentication Information | Manage credentials | **HIGH** - Secrets |
|
|
35
|
-
| A.5.18 | Access Rights | Assign per policy | **HIGH** - RBAC/ABAC |
|
|
36
|
-
| A.5.19 | Information Security in Supplier Relationships | Supplier security | MEDIUM - Dependencies |
|
|
37
|
-
| A.5.20 | Addressing Information Security Within Supplier Agreements | Security clauses | LOW - Contracts |
|
|
38
|
-
| A.5.21 | Managing Information Security in the ICT Supply Chain | Supply chain security | **HIGH** - SBOM, deps |
|
|
39
|
-
| A.5.22 | Monitoring, Review, and Change Management of Supplier Services | Monitor suppliers | LOW - Vendor mgmt |
|
|
40
|
-
| A.5.23 | Information Security for Use of Cloud Services | Cloud security | **HIGH** - Cloud config |
|
|
41
|
-
| A.5.24 | Information Security Incident Management Planning | Incident planning | MEDIUM - Response |
|
|
42
|
-
| A.5.25 | Assessment and Decision on Information Security Events | Event assessment | MEDIUM - Triage |
|
|
43
|
-
| A.5.26 | Response to Information Security Incidents | Incident response | MEDIUM - Response |
|
|
44
|
-
| A.5.27 | Learning from Information Security Incidents | Post-incident learning | LOW - Process |
|
|
45
|
-
| A.5.28 | Collection of Evidence | Evidence collection | **HIGH** - Audit logs |
|
|
46
|
-
| A.5.29 | Information Security During Disruption | Continuity security | MEDIUM - Graceful degradation |
|
|
47
|
-
| A.5.30 | ICT Readiness for Business Continuity | ICT continuity | MEDIUM - Recovery |
|
|
48
|
-
| A.5.31 | Legal, Statutory, Regulatory, and Contractual Requirements | Compliance | LOW - Legal |
|
|
49
|
-
| A.5.32 | Intellectual Property Rights | IP protection | LOW - Legal |
|
|
50
|
-
| A.5.33 | Protection of Records | Record protection | **HIGH** - Data retention |
|
|
51
|
-
| A.5.34 | Privacy and Protection of PII | PII protection | **HIGH** - Privacy |
|
|
52
|
-
| A.5.35 | Independent Review of Information Security | Security audits | LOW - Audit |
|
|
53
|
-
| A.5.36 | Compliance with Policies, Rules and Standards | Policy compliance | LOW - Audit |
|
|
54
|
-
| A.5.37 | Documented Operating Procedures | Document procedures | MEDIUM - Runbooks |
|
|
55
|
-
|
|
56
|
-
## Mapping Guidance
|
|
57
|
-
|
|
58
|
-
High-priority mappings for software:
|
|
59
|
-
- **A.5.3** (Segregation) → FR for role separation
|
|
60
|
-
- **A.5.12-18** (Access) → FR/NFR for auth/authz
|
|
61
|
-
- **A.5.21** (Supply Chain) → NFR for dependency management
|
|
62
|
-
- **A.5.23** (Cloud) → NFR for cloud security config
|
|
63
|
-
- **A.5.28** (Evidence) → FR for audit logging
|
|
64
|
-
- **A.5.33-34** (Records/PII) → FR/NFR for data protection
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
# A.6 - People Controls
|
|
2
|
-
|
|
3
|
-
**Theme**: People
|
|
4
|
-
**Controls**: 8
|
|
5
|
-
**Focus**: Personnel security throughout employment lifecycle
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
A.6 controls are primarily HR/organizational. Software components typically inherit these controls.
|
|
10
|
-
|
|
11
|
-
## Controls
|
|
12
|
-
|
|
13
|
-
| Control | Name | Description | Software Relevance |
|
|
14
|
-
|---------|------|-------------|-------------------|
|
|
15
|
-
| A.6.1 | Screening | Background verification | LOW - HR process |
|
|
16
|
-
| A.6.2 | Terms and Conditions of Employment | Security in contracts | LOW - HR process |
|
|
17
|
-
| A.6.3 | Information Security Awareness, Education and Training | Security training | LOW - Training |
|
|
18
|
-
| A.6.4 | Disciplinary Process | Security violation handling | LOW - HR process |
|
|
19
|
-
| A.6.5 | Responsibilities After Termination or Change of Employment | Post-employment obligations | LOW - HR process |
|
|
20
|
-
| A.6.6 | Confidentiality or Non-Disclosure Agreements | NDAs | LOW - Legal |
|
|
21
|
-
| A.6.7 | Remote Working | Secure remote work | MEDIUM - Remote auth |
|
|
22
|
-
| A.6.8 | Information Security Event Reporting | Event reporting | **HIGH** - Error/incident reporting |
|
|
23
|
-
|
|
24
|
-
## Mapping Guidance
|
|
25
|
-
|
|
26
|
-
For software components:
|
|
27
|
-
- **A.6.7** (Remote Working) → Auth requirements for remote access
|
|
28
|
-
- **A.6.8** (Event Reporting) → FR for security event logging, error reporting
|
|
29
|
-
|
|
30
|
-
Most A.6 controls are out of scope for software, assigned to HR/Management.
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# A.7 - Physical Controls
|
|
2
|
-
|
|
3
|
-
**Theme**: Physical
|
|
4
|
-
**Controls**: 14
|
|
5
|
-
**Focus**: Physical security of premises and equipment
|
|
6
|
-
|
|
7
|
-
## When to Apply
|
|
8
|
-
|
|
9
|
-
A.7 controls are infrastructure-level. Software components typically assign these to Infrastructure team.
|
|
10
|
-
|
|
11
|
-
## Controls
|
|
12
|
-
|
|
13
|
-
| Control | Name | Description | Software Relevance |
|
|
14
|
-
|---------|------|-------------|-------------------|
|
|
15
|
-
| A.7.1 | Physical Security Perimeters | Secure perimeters | LOW - Infrastructure |
|
|
16
|
-
| A.7.2 | Physical Entry | Secure entry points | LOW - Infrastructure |
|
|
17
|
-
| A.7.3 | Securing Offices, Rooms and Facilities | Secure premises | LOW - Infrastructure |
|
|
18
|
-
| A.7.4 | Physical Security Monitoring | Monitor for intrusion | LOW - Infrastructure |
|
|
19
|
-
| A.7.5 | Protecting Against Physical and Environmental Threats | Threat protection | LOW - Infrastructure |
|
|
20
|
-
| A.7.6 | Working in Secure Areas | Secure area procedures | LOW - Infrastructure |
|
|
21
|
-
| A.7.7 | Clear Desk and Clear Screen | Clear desk policy | LOW - Organizational |
|
|
22
|
-
| A.7.8 | Equipment Siting and Protection | Equipment placement | LOW - Infrastructure |
|
|
23
|
-
| A.7.9 | Security of Assets Off-Premises | Off-site protection | LOW - Infrastructure |
|
|
24
|
-
| A.7.10 | Storage Media | Media management | MEDIUM - Data at rest |
|
|
25
|
-
| A.7.11 | Supporting Utilities | Utility protection | LOW - Infrastructure |
|
|
26
|
-
| A.7.12 | Cabling Security | Cable protection | LOW - Infrastructure |
|
|
27
|
-
| A.7.13 | Equipment Maintenance | Equipment maintenance | LOW - Infrastructure |
|
|
28
|
-
| A.7.14 | Secure Disposal or Re-Use of Equipment | Equipment disposal | LOW - Infrastructure |
|
|
29
|
-
|
|
30
|
-
## Mapping Guidance
|
|
31
|
-
|
|
32
|
-
For software components:
|
|
33
|
-
- **A.7.10** (Storage Media) → NFR for encryption at rest if component handles persistent storage
|
|
34
|
-
|
|
35
|
-
All other A.7 controls → Assign to Infrastructure team.
|