Extract complianceportal package from trust and probo
Split the compliance portal into an admin-facing management side and a public-facing visitor side under pkg/complianceportal. Trust-center CRUD, domains, custom links, frameworks, files and accesses move out of pkg/probo, and the visitor read logic moves out of pkg/trust. IAM actions migrate onto compliance-portal scopes. Signed-off-by: Bryan Frimin <bryan@probo.com>
This commit is contained in:
40
pkg/complianceportal/visitor/compliance.md.tmpl
Normal file
40
pkg/complianceportal/visitor/compliance.md.tmpl
Normal file
@@ -0,0 +1,40 @@
|
||||
# {{ .OrgName }} — Compliance
|
||||
{{ if .Description }}
|
||||
{{ .Description }}
|
||||
{{ end }}{{ if .Details }}
|
||||
{{ range .Details }}- **{{ .Label }}**: {{ .Value }}
|
||||
{{ end }}{{ end }}{{ if .Frameworks }}
|
||||
## Compliance Frameworks
|
||||
|
||||
{{ range .Frameworks }}- {{ .Name }}{{ if .Description }}: {{ .Description }}{{ end }}
|
||||
{{ end }}{{ end }}{{ if .Documents }}
|
||||
## Documents
|
||||
|
||||
| Title | Type |
|
||||
|-------|------|
|
||||
{{ range .Documents }}| {{ cell .Title }} | {{ cell .Type }} |
|
||||
{{ end }}{{ end }}{{ if .Audits }}
|
||||
## Audits
|
||||
|
||||
| Name | Framework | Valid From | Valid Until |
|
||||
|------|-----------|------------|-------------|
|
||||
{{ range .Audits }}| {{ cell .Name }} | {{ cell .Framework }} | {{ .ValidFrom }} | {{ .ValidUntil }} |
|
||||
{{ end }}{{ end }}{{ if .Vendors }}
|
||||
## Subprocessors
|
||||
|
||||
| Name | Category | Countries | Website |
|
||||
|------|----------|-----------|---------|
|
||||
{{ range .Vendors }}| {{ cell .Name }} | {{ cell .Category }} | {{ cell .Countries }} | {{ cell .Website }} |
|
||||
{{ end }}{{ end }}{{ if .References }}
|
||||
## References
|
||||
|
||||
| Name | Description | Website |
|
||||
|------|-------------|---------|
|
||||
{{ range .References }}| {{ cell .Name }} | {{ cell .Description }} | {{ cell .Website }} |
|
||||
{{ end }}{{ end }}{{ if .CustomLinks }}
|
||||
## External Links
|
||||
|
||||
| Name | URL |
|
||||
|------|-----|
|
||||
{{ range .CustomLinks }}| {{ cell .Name }} | {{ cell .URL }} |
|
||||
{{ end }}{{ end }}
|
||||
Reference in New Issue
Block a user