diff --git a/src/app/component/mapping/mapping.component.html b/src/app/component/mapping/mapping.component.html index fc6e3fbc..3f8cefb7 100644 --- a/src/app/component/mapping/mapping.component.html +++ b/src/app/component/mapping/mapping.component.html @@ -164,114 +164,116 @@ Usefulness Implementation Assessment - Evidence Comments Depends On SAMM ISO 27001:2017 ISO 27001:2022 - {{ team }} + {{ team + '- Implemented' }} + + + {{ team + '- Evidence' }} - {{ item.dimension | slice : 0 : 32767 }} + {{ item.dimension | slice : 0 : 32767 }} + - {{ item.subDimension | slice : 0 : 32767 }} + {{ item.subDimension | slice : 0 : 32767 }} + - {{ item.activityName | slice : 0 : 32767 }} + {{ item.activityName | slice : 0 : 32767 }} + - {{ item.description | slice : 0 : 32767 }} + {{ item.description | slice : 0 : 32767 }} + - {{ item.risk | slice : 0 : 32767 }} + {{ item.risk | slice : 0 : 32767 }} + - {{ item.measure | slice : 0 : 32767 }} + {{ item.measure | slice : 0 : 32767 }} + - {{ item.knowledge | slice : 0 : 32767 }} + {{ item.knowledge | slice : 0 : 32767 }} + - {{ item.resources | slice : 0 : 32767 }} + {{ item.resources | slice : 0 : 32767 }} + - {{ item.time | slice : 0 : 32767 }} + {{ item.time | slice : 0 : 32767 }} + - {{ item.usefulness | slice : 0 : 32767 }} + {{ item.usefulness | slice : 0 : 32767 }} + - {{ item.implementation | slice : 0 : 32767 }} + {{ item.implementation | slice : 0 : 32767 }} + - {{ item.assessment | slice : 0 : 32767 }} - - - - {{ item.evidence | slice : 0 : 32767 }} + {{ item.assessment | slice : 0 : 32767 }} + - {{ item.comments | slice : 0 : 32767 }} + {{ item.comments | slice : 0 : 32767 }} + - {{ item.dependsOn | slice : 0 : 32767 }} + {{ item.dependsOn | slice : 0 : 32767 }} + - {{ item.samm2 | slice : 0 : 32767 }} + {{ item.samm2 | slice : 0 : 32767 }} + - {{ item.ISO17 | slice : 0 : 32767 }} + {{ item.ISO17 | slice : 0 : 32767 }} + - {{ item.ISO22 | slice : 0 : 32767 }} + {{ item.ISO22 | slice : 0 : 32767 }} + {{ item.teamImplementation[key] }} + + + {{ item.teamsEvidence[key] }} + + diff --git a/src/app/component/mapping/mapping.component.ts b/src/app/component/mapping/mapping.component.ts index 103bab85..254859f5 100644 --- a/src/app/component/mapping/mapping.component.ts +++ b/src/app/component/mapping/mapping.component.ts @@ -42,13 +42,15 @@ export interface MappingElementSortedByISO17 { time: string; usefulness: string; dependsOn: string[]; - evidence: string; comments: string; assessment: string; implementation: any; teamImplementation: { [key: string]: boolean; }; + teamsEvidence: { + [key: string]: string; + }; } export interface MappingElementSortedByISO22 { @@ -317,9 +319,6 @@ export class MappingComponent implements OnInit { var CurrentUsefulness: string = this.generalLabels[this.YamlObject[dim][subDim][activity]['usefulness']]; - var CurrentEvidence: string = - this.YamlObject[dim][subDim][activity]['evidence']; - var CurrentComments: string = this.YamlObject[dim][subDim][activity]['comments']; @@ -343,6 +342,9 @@ export class MappingComponent implements OnInit { var CurrentTeamsAndImplementation = this.YamlObject[dim][subDim][activity]['teamsImplemented']; + var CurrentTeamsEvidence = + this.YamlObject[dim][subDim][activity]['teamsEvidence']; + this.temporaryMappingElement = { dimension: dim, subDimension: subDim, @@ -359,10 +361,10 @@ export class MappingComponent implements OnInit { usefulness: CurrentUsefulness, dependsOn: CurrentDependsOn, implementation: CurrentImplementation, - evidence: CurrentEvidence, comments: CurrentComments, assessment: CurrentAssessment, teamImplementation: CurrentTeamsAndImplementation, + teamsEvidence: CurrentTeamsEvidence, }; console.log(this.temporaryMappingElement);