Skip to content

Commit

Permalink
Merge pull request #350 from center-for-threat-informed-defense/fix-r…
Browse files Browse the repository at this point in the history
…etrieve-techniques-for-matrix

Bug fix: duplicate names in matrix tactics
  • Loading branch information
ElJocko authored May 23, 2024
2 parents 1c28982 + 60700c7 commit 828d031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/matrices-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ exports.retrieveTechniquesForMatrix = function(stixId, modified, callback) {
}
// Add techniques to tactic & store tactic
tactic.techniques = parentTechniques;
tacticsTechniques[tactic.stix.name] = tactic;
tacticsTechniques[tactic.stix.id] = tactic;
}
}
return callback(null, tacticsTechniques);
Expand Down

0 comments on commit 828d031

Please sign in to comment.