From e7bea792e1547de86373841bd668e2d53574b2f3 Mon Sep 17 00:00:00 2001 From: "W. Kosior" Date: Wed, 18 Dec 2024 09:29:49 +0100 Subject: Typeset technique names as links to mitre.org. --- techniques_table.py | 4 +++- techniques_table_doc.tex | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/techniques_table.py b/techniques_table.py index bee4027..13c9212 100644 --- a/techniques_table.py +++ b/techniques_table.py @@ -69,12 +69,14 @@ for tid in all_tids: group_count = sum([len(groups_by_techniques_by_origin[origin].get(tid, [])) for origin in all_origins]) + name_href_markup = \ + f"\\href{{https://attack.mitre.org/techniques/{tid}/}}{{{name}}}" group_precents_markup = ' & '.join( f"{round(technique_use_percent(tid, origin))}\\% groups" for origin in all_origins ) - print(f"{name} & {group_precents_markup} & {group_count} \\\\") + print(f"{name_href_markup} & {group_precents_markup} & {group_count} \\\\") print("\\end{longtable}") print("}") diff --git a/techniques_table_doc.tex b/techniques_table_doc.tex index ba7cb50..12968cb 100644 --- a/techniques_table_doc.tex +++ b/techniques_table_doc.tex @@ -7,6 +7,11 @@ \usepackage[a4paper, total={6in, 8in}, margin=1in]{geometry} \usepackage{longtable} \usepackage[table]{xcolor} +\usepackage{hyperref} +\hypersetup{ + colorlinks, + urlcolor={blue!80!black} +} \input{tlp.tex} -- cgit v1.2.3 2ac8e95dbafc21b415af4aab6db591f4eba4b941'>commitdiff
path: root/gnu/build/linux-boot.scm
AgeCommit message (Expand)Author
2022-09-04linux-boot: Resume from hibernation after pre-boot....* gnu/build/linux-boot.scm (boot-system): Call resume-if-hibernated after pre-mount. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Jack Hill