Skip to content

Commit

Permalink
fix TISAX reports in multi-domain units
Browse files Browse the repository at this point in the history
verinice-veo#3117, verinice-veo#3118
  • Loading branch information
jochenkemnade committed Oct 18, 2024
1 parent 2fd8c9c commit 0e3ec61
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/templates/tisax-compact.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ table.maturitytable > tbody > tr > td:nth-child(4) {

<#assign domain=domains?filter(it->it.name == 'TISAX')?filter(it->isa.domains?keys?seq_contains(it.id))?sort_by("createdAt")?last />

<#assign scope = scopes?filter(it->it.domains[domain.id].subType == 'SCP_Organization')?filter(it->it.members?map(it->it._self)?seq_contains(isa._self))?first! />
<#assign scope = scopes?filter(it->(it.domains[domain.id].subType)! == 'SCP_Organization')?filter(it->it.members?map(it->it._self)?seq_contains(isa._self))?first! />

<#assign usedControls = isa.getMembersWithType('control')>

Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/tisax-detailed.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ a[href] {

<#assign domain=domains?filter(it->it.name == 'TISAX')?filter(it->isa.domains?keys?seq_contains(it.id))?sort_by("createdAt")?last />

<#assign scope = scopes?filter(it->it.domains[domain.id].subType == 'SCP_Organization')?filter(it->it.members?map(it->it._self)?seq_contains(isa._self))?first! />
<#assign scope = scopes?filter(it->(it.domains[domain.id].subType)! == 'SCP_Organization')?filter(it->it.members?map(it->it._self)?seq_contains(isa._self))?first! />

<#assign usedControls = isa.getMembersWithType('control')>

Expand Down

0 comments on commit 0e3ec61

Please sign in to comment.