generated from finos-labs/project-blueprint
-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#687 WIP to help with the Issue discussion
- Loading branch information
Showing
5 changed files
with
107 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
calm/domains-example/security/policies/encryption-in-transit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"$schema": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/domains-example/security/policies/policy-encryption-in-transit.json", | ||
"control-id": "policy-001", | ||
"name": "Encryption in transit", | ||
"description": "Point to point communication must be encrypted", | ||
"statement": "You MUST encrypt all data in transit with an approved protocol using an approved secure cryptographic protocol", | ||
"protocol": "mTLS" | ||
} |
47 changes: 47 additions & 0 deletions
47
calm/domains-example/security/policies/policy-encryption-in-transit.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/domains-example/security/policies/encryption-in-transit.json", | ||
"title": "Encryption in Transit policy", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/domains-example/security/schema/policy.json" | ||
} | ||
], | ||
"properties": { | ||
"control-id": { | ||
"const": "Policy-01" | ||
}, | ||
"name": { | ||
"const": "Encryption in transit" | ||
}, | ||
"description": { | ||
"const": "Point to point communication must be encrypted" | ||
}, | ||
"statement": { | ||
"const": "You MUST encrypt all data in transit with an approved protocol using an approved secure cryptographic protocol" | ||
}, | ||
"protocol": { | ||
"$ref": "#/defs/protocol" | ||
} | ||
|
||
}, | ||
"required": [ | ||
"control-id", | ||
"name", | ||
"description", | ||
"statement", | ||
"protocol" | ||
], | ||
"defs": { | ||
"protocol": { | ||
"enum": [ | ||
"TLS", | ||
"mTLS", | ||
"ssh", | ||
"smpt" | ||
] | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/domains-example/security/schema/policy.json", | ||
"title": "Policy", | ||
"type": "object", | ||
"allOf": [ | ||
{ | ||
"$ref": "https://raw.githubusercontent.com/finos/architecture-as-code/main/calm/draft/2024-08/meta/control-requirement.json" | ||
} | ||
], | ||
"properties": { | ||
"control-id": { | ||
"type": "string", | ||
"description": "Unique id of the control" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Name of the policy" | ||
}, | ||
"description": { | ||
"type": "string", | ||
"description": "Layman's explanation of the policy" | ||
}, | ||
"statement": { | ||
"type": "string", | ||
"description": "The policy statement that the Policy adheres to e.g. YOU MUST ENABLE END TO END ENCRYPTION" | ||
} | ||
}, | ||
"required": [ | ||
"control-id", | ||
"name", | ||
"description", | ||
"statement" | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters