diff --git a/atomic_red_team/atomic_red_team.rb b/atomic_red_team/atomic_red_team.rb index 1b68172c..46a1266c 100755 --- a/atomic_red_team/atomic_red_team.rb +++ b/atomic_red_team/atomic_red_team.rb @@ -49,7 +49,7 @@ class AtomicRedTeam # techniques that already have one or more Atomic Red Team tests, or the create page for # techniques that have no existing tests for the given OS. # - def github_link_to_technique(technique, include_identifier: false, only_platform: only_platform) + def github_link_to_technique(technique, include_identifier: false, only_platform: self.only_platform) technique_identifier = ATTACK_API.technique_identifier_for_technique(technique).upcase link_display = "#{"#{technique_identifier.upcase} " if include_identifier}#{technique['name']}" yaml_file = "#{ATOMICS_DIRECTORY}/#{technique_identifier}/#{technique_identifier}.yaml"