diff --git a/.DS_Store b/.DS_Store index 5b433ba..b019a3e 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/CODE/.DS_Store b/CODE/.DS_Store index 38f875f..4394659 100644 Binary files a/CODE/.DS_Store and b/CODE/.DS_Store differ diff --git a/CODE/__pycache__/generate_DISARM_pages.cpython-38.pyc b/CODE/__pycache__/generate_DISARM_pages.cpython-38.pyc index bac3d12..6b0f2a3 100644 Binary files a/CODE/__pycache__/generate_DISARM_pages.cpython-38.pyc and b/CODE/__pycache__/generate_DISARM_pages.cpython-38.pyc differ diff --git a/CODE/generate_DISARM_pages.ipynb b/CODE/generate_DISARM_pages.ipynb index ff25246..025ad31 100644 --- a/CODE/generate_DISARM_pages.ipynb +++ b/CODE/generate_DISARM_pages.ipynb @@ -18,7 +18,7 @@ }, { "cell_type": "code", - "execution_count": 3, + "execution_count": 1, "metadata": { "scrolled": true }, @@ -33,13 +33,10 @@ "updated ../generated_files/disarm_blue_framework_clickable.html\n", "Temp: objecttype phase\n", "updated ../generated_pages/phases_index.md\n", - "Updating ../generated_pages/phases/P04.md\n", "Temp: objecttype tactic\n", "updated ../generated_pages/tactics_index.md\n", "Updating ../generated_pages/tactics/TA01.md\n", "Updating ../generated_pages/tactics/TA02.md\n", - "Updating ../generated_pages/tactics/TA03.md\n", - "Updating ../generated_pages/tactics/TA04.md\n", "Updating ../generated_pages/tactics/TA05.md\n", "Updating ../generated_pages/tactics/TA06.md\n", "Updating ../generated_pages/tactics/TA07.md\n", @@ -52,265 +49,16 @@ "Updating ../generated_pages/tactics/TA14.md\n", "Updating ../generated_pages/tactics/TA15.md\n", "Updating ../generated_pages/tactics/TA16.md\n", + "Updating ../generated_pages/tactics/TA17.md\n", + "Updating ../generated_pages/tactics/TA18.md\n", "Temp: objecttype technique\n", "updated ../generated_pages/techniques_index.md\n", - "Updating ../generated_pages/techniques/T0001.md\n", - "Updating ../generated_pages/techniques/T0002.md\n", - "Updating ../generated_pages/techniques/T0003.md\n", - "Updating ../generated_pages/techniques/T0004.md\n", - "Updating ../generated_pages/techniques/T0005.md\n", - "Updating ../generated_pages/techniques/T0006.md\n", - "Updating ../generated_pages/techniques/T0007.md\n", - "Updating ../generated_pages/techniques/T0008.md\n", - "Updating ../generated_pages/techniques/T0009.md\n", - "Updating ../generated_pages/techniques/T0010.md\n", - "Updating ../generated_pages/techniques/T0011.md\n", - "Updating ../generated_pages/techniques/T0012.md\n", - "Updating ../generated_pages/techniques/T0013.md\n", - "Updating ../generated_pages/techniques/T0014.md\n", - "Updating ../generated_pages/techniques/T0015.md\n", - "Updating ../generated_pages/techniques/T0016.md\n", - "Updating ../generated_pages/techniques/T0017.md\n", - "Updating ../generated_pages/techniques/T0018.md\n", - "Updating ../generated_pages/techniques/T0019.md\n", - "Updating ../generated_pages/techniques/T0020.md\n", - "Updating ../generated_pages/techniques/T0021.md\n", - "Updating ../generated_pages/techniques/T0022.md\n", - "Updating ../generated_pages/techniques/T0023.md\n", - "Updating ../generated_pages/techniques/T0024.md\n", - "Updating ../generated_pages/techniques/T0025.md\n", - "Updating ../generated_pages/techniques/T0026.md\n", - "Updating ../generated_pages/techniques/T0027.md\n", - "Updating ../generated_pages/techniques/T0028.md\n", - "Updating ../generated_pages/techniques/T0029.md\n", - "Updating ../generated_pages/techniques/T0030.md\n", - "Updating ../generated_pages/techniques/T0031.md\n", - "Updating ../generated_pages/techniques/T0032.md\n", - "Updating ../generated_pages/techniques/T0033.md\n", - "Updating ../generated_pages/techniques/T0034.md\n", - "Updating ../generated_pages/techniques/T0035.md\n", - "Updating ../generated_pages/techniques/T0036.md\n", - "Updating ../generated_pages/techniques/T0037.md\n", - "Updating ../generated_pages/techniques/T0038.md\n", - "Updating ../generated_pages/techniques/T0039.md\n", - "Updating ../generated_pages/techniques/T0040.md\n", - "Updating ../generated_pages/techniques/T0041.md\n", - "Updating ../generated_pages/techniques/T0042.md\n", - "Updating ../generated_pages/techniques/T0043.md\n", - "Updating ../generated_pages/techniques/T0044.md\n", - "Updating ../generated_pages/techniques/T0045.md\n", - "Updating ../generated_pages/techniques/T0046.md\n", - "Updating ../generated_pages/techniques/T0047.md\n", - "Updating ../generated_pages/techniques/T0048.md\n", - "Updating ../generated_pages/techniques/T0049.md\n", - "Updating ../generated_pages/techniques/T0050.md\n", - "Updating ../generated_pages/techniques/T0051.md\n", - "Updating ../generated_pages/techniques/T0052.md\n", - "Updating ../generated_pages/techniques/T0053.md\n", - "Updating ../generated_pages/techniques/T0054.md\n", - "Updating ../generated_pages/techniques/T0055.md\n", - "Updating ../generated_pages/techniques/T0056.md\n", - "Updating ../generated_pages/techniques/T0057.md\n", - "Updating ../generated_pages/techniques/T0058.md\n", - "Updating ../generated_pages/techniques/T0059.md\n", - "Updating ../generated_pages/techniques/T0060.md\n", - "Updating ../generated_pages/techniques/T0061.md\n", - "Updating ../generated_pages/techniques/T0062.md\n", - "Updating ../generated_pages/techniques/T0063.md\n", - "Updating ../generated_pages/techniques/T0064.md\n", - "Updating ../generated_pages/techniques/T0065.md\n", - "Updating ../generated_pages/techniques/T0066.md\n", - "Updating ../generated_pages/techniques/T0067.md\n", - "Updating ../generated_pages/techniques/T0068.md\n", - "Updating ../generated_pages/techniques/T0069.md\n", - "Updating ../generated_pages/techniques/T0070.md\n", - "Updating ../generated_pages/techniques/T0071.md\n", - "Updating ../generated_pages/techniques/T0072.md\n", - "Updating ../generated_pages/techniques/T0073.md\n", - "Updating ../generated_pages/techniques/T0074.md\n", - "Updating ../generated_pages/techniques/T0075.md\n", - "Updating ../generated_pages/techniques/T0076.md\n", - "Updating ../generated_pages/techniques/T0077.md\n", - "Updating ../generated_pages/techniques/T0078.md\n", - "Updating ../generated_pages/techniques/T0079.md\n", - "Updating ../generated_pages/techniques/T0080.md\n", - "Updating ../generated_pages/techniques/T0081.md\n", - "Updating ../generated_pages/techniques/T0082.md\n", - "Updating ../generated_pages/techniques/T0083.md\n", - "Updating ../generated_pages/techniques/T0084.md\n", - "Updating ../generated_pages/techniques/T0085.md\n", - "Updating ../generated_pages/techniques/T0086.md\n", - "Updating ../generated_pages/techniques/T0087.md\n", - "Updating ../generated_pages/techniques/T0088.md\n", - "Updating ../generated_pages/techniques/T0089.md\n", - "Updating ../generated_pages/techniques/T0090.md\n", - "Updating ../generated_pages/techniques/T0091.md\n", - "Updating ../generated_pages/techniques/T0092.md\n", - "Updating ../generated_pages/techniques/T0093.md\n", - "Updating ../generated_pages/techniques/T0094.md\n", - "Updating ../generated_pages/techniques/T0095.md\n", - "Updating ../generated_pages/techniques/T0096.md\n", - "Updating ../generated_pages/techniques/T0097.md\n", "Temp: objecttype task\n", "updated ../generated_pages/tasks_index.md\n", "Temp: objecttype incident\n", "updated ../generated_pages/incidents_index.md\n", - "Updating ../generated_pages/incidents/I00002.md\n", - "Updating ../generated_pages/incidents/I00005.md\n", - "Updating ../generated_pages/incidents/I00006.md\n", - "Updating ../generated_pages/incidents/I00007.md\n", - "Updating ../generated_pages/incidents/I00009.md\n", - "Updating ../generated_pages/incidents/I00010.md\n", - "Updating ../generated_pages/incidents/I00015.md\n", - "Updating ../generated_pages/incidents/I00017.md\n", - "Updating ../generated_pages/incidents/I00022.md\n", - "Updating ../generated_pages/incidents/I00029.md\n", - "Updating ../generated_pages/incidents/I00032.md\n", - "Updating ../generated_pages/incidents/I00033.md\n", - "Updating ../generated_pages/incidents/I00034.md\n", - "Updating ../generated_pages/incidents/I00042.md\n", - "Updating ../generated_pages/incidents/I00044.md\n", - "Updating ../generated_pages/incidents/I00047.md\n", - "Updating ../generated_pages/incidents/I00049.md\n", - "Updating ../generated_pages/incidents/I00050.md\n", - "Updating ../generated_pages/incidents/I00051.md\n", - "Updating ../generated_pages/incidents/I00053.md\n", - "Updating ../generated_pages/incidents/I00056.md\n", - "Updating ../generated_pages/incidents/I00063.md\n", "Temp: objecttype counter\n", "updated ../generated_pages/counters_index.md\n", - "Updating ../generated_pages/counters/C00006.md\n", - "Updating ../generated_pages/counters/C00008.md\n", - "Updating ../generated_pages/counters/C00009.md\n", - "Updating ../generated_pages/counters/C00010.md\n", - "Updating ../generated_pages/counters/C00011.md\n", - "Updating ../generated_pages/counters/C00012.md\n", - "Updating ../generated_pages/counters/C00013.md\n", - "Updating ../generated_pages/counters/C00014.md\n", - "Updating ../generated_pages/counters/C00016.md\n", - "Updating ../generated_pages/counters/C00017.md\n", - "Updating ../generated_pages/counters/C00019.md\n", - "Updating ../generated_pages/counters/C00021.md\n", - "Updating ../generated_pages/counters/C00022.md\n", - "Updating ../generated_pages/counters/C00024.md\n", - "Updating ../generated_pages/counters/C00026.md\n", - "Updating ../generated_pages/counters/C00027.md\n", - "Updating ../generated_pages/counters/C00029.md\n", - "Updating ../generated_pages/counters/C00030.md\n", - "Updating ../generated_pages/counters/C00031.md\n", - "Updating ../generated_pages/counters/C00032.md\n", - "Updating ../generated_pages/counters/C00034.md\n", - "Updating ../generated_pages/counters/C00036.md\n", - "Updating ../generated_pages/counters/C00040.md\n", - "Updating ../generated_pages/counters/C00042.md\n", - "Updating ../generated_pages/counters/C00044.md\n", - "Updating ../generated_pages/counters/C00046.md\n", - "Updating ../generated_pages/counters/C00047.md\n", - "Updating ../generated_pages/counters/C00048.md\n", - "Updating ../generated_pages/counters/C00051.md\n", - "Updating ../generated_pages/counters/C00052.md\n", - "Updating ../generated_pages/counters/C00053.md\n" - ] - }, - { - "name": "stdout", - "output_type": "stream", - "text": [ - "Updating ../generated_pages/counters/C00058.md\n", - "Updating ../generated_pages/counters/C00059.md\n", - "Updating ../generated_pages/counters/C00060.md\n", - "Updating ../generated_pages/counters/C00065.md\n", - "Updating ../generated_pages/counters/C00066.md\n", - "Updating ../generated_pages/counters/C00067.md\n", - "Updating ../generated_pages/counters/C00070.md\n", - "Updating ../generated_pages/counters/C00071.md\n", - "Updating ../generated_pages/counters/C00072.md\n", - "Updating ../generated_pages/counters/C00073.md\n", - "Updating ../generated_pages/counters/C00074.md\n", - "Updating ../generated_pages/counters/C00076.md\n", - "Updating ../generated_pages/counters/C00078.md\n", - "Updating ../generated_pages/counters/C00080.md\n", - "Updating ../generated_pages/counters/C00081.md\n", - "Updating ../generated_pages/counters/C00082.md\n", - "Updating ../generated_pages/counters/C00084.md\n", - "Updating ../generated_pages/counters/C00085.md\n", - "Updating ../generated_pages/counters/C00086.md\n", - "Updating ../generated_pages/counters/C00087.md\n", - "Updating ../generated_pages/counters/C00090.md\n", - "Updating ../generated_pages/counters/C00091.md\n", - "Updating ../generated_pages/counters/C00092.md\n", - "Updating ../generated_pages/counters/C00093.md\n", - "Updating ../generated_pages/counters/C00094.md\n", - "Updating ../generated_pages/counters/C00096.md\n", - "Updating ../generated_pages/counters/C00097.md\n", - "Updating ../generated_pages/counters/C00098.md\n", - "Updating ../generated_pages/counters/C00099.md\n", - "Updating ../generated_pages/counters/C00100.md\n", - "Updating ../generated_pages/counters/C00101.md\n", - "Updating ../generated_pages/counters/C00103.md\n", - "Updating ../generated_pages/counters/C00105.md\n", - "Updating ../generated_pages/counters/C00106.md\n", - "Updating ../generated_pages/counters/C00107.md\n", - "Updating ../generated_pages/counters/C00111.md\n", - "Updating ../generated_pages/counters/C00112.md\n", - "Updating ../generated_pages/counters/C00113.md\n", - "Updating ../generated_pages/counters/C00114.md\n", - "Updating ../generated_pages/counters/C00115.md\n", - "Updating ../generated_pages/counters/C00116.md\n", - "Updating ../generated_pages/counters/C00117.md\n", - "Updating ../generated_pages/counters/C00118.md\n", - "Updating ../generated_pages/counters/C00119.md\n", - "Updating ../generated_pages/counters/C00120.md\n", - "Updating ../generated_pages/counters/C00121.md\n", - "Updating ../generated_pages/counters/C00122.md\n", - "Updating ../generated_pages/counters/C00123.md\n", - "Updating ../generated_pages/counters/C00124.md\n", - "Updating ../generated_pages/counters/C00125.md\n", - "Updating ../generated_pages/counters/C00126.md\n", - "Updating ../generated_pages/counters/C00128.md\n", - "Updating ../generated_pages/counters/C00129.md\n", - "Updating ../generated_pages/counters/C00130.md\n", - "Updating ../generated_pages/counters/C00131.md\n", - "Updating ../generated_pages/counters/C00133.md\n", - "Updating ../generated_pages/counters/C00135.md\n", - "Updating ../generated_pages/counters/C00136.md\n", - "Updating ../generated_pages/counters/C00138.md\n", - "Updating ../generated_pages/counters/C00142.md\n", - "Updating ../generated_pages/counters/C00143.md\n", - "Updating ../generated_pages/counters/C00144.md\n", - "Updating ../generated_pages/counters/C00147.md\n", - "Updating ../generated_pages/counters/C00148.md\n", - "Updating ../generated_pages/counters/C00149.md\n", - "Updating ../generated_pages/counters/C00153.md\n", - "Updating ../generated_pages/counters/C00154.md\n", - "Updating ../generated_pages/counters/C00155.md\n", - "Updating ../generated_pages/counters/C00156.md\n", - "Updating ../generated_pages/counters/C00160.md\n", - "Updating ../generated_pages/counters/C00161.md\n", - "Updating ../generated_pages/counters/C00162.md\n", - "Updating ../generated_pages/counters/C00164.md\n", - "Updating ../generated_pages/counters/C00165.md\n", - "Updating ../generated_pages/counters/C00169.md\n", - "Updating ../generated_pages/counters/C00172.md\n", - "Updating ../generated_pages/counters/C00174.md\n", - "Updating ../generated_pages/counters/C00176.md\n", - "Updating ../generated_pages/counters/C00178.md\n", - "Updating ../generated_pages/counters/C00182.md\n", - "Updating ../generated_pages/counters/C00184.md\n", - "Updating ../generated_pages/counters/C00188.md\n", - "Updating ../generated_pages/counters/C00189.md\n", - "Updating ../generated_pages/counters/C00190.md\n", - "Updating ../generated_pages/counters/C00195.md\n", - "Updating ../generated_pages/counters/C00197.md\n", - "Updating ../generated_pages/counters/C00200.md\n", - "Updating ../generated_pages/counters/C00202.md\n", - "Updating ../generated_pages/counters/C00203.md\n", - "Updating ../generated_pages/counters/C00205.md\n", - "Updating ../generated_pages/counters/C00207.md\n", - "Updating ../generated_pages/counters/C00211.md\n", - "Updating ../generated_pages/counters/C00212.md\n", - "Updating ../generated_pages/counters/C00216.md\n", - "Updating ../generated_pages/counters/C00219.md\n", "Temp: objecttype metatechnique\n", "updated ../generated_pages/metatechniques_index.md\n", "Temp: objecttype actortype\n", diff --git a/CODE/generate_DISARM_pages.py b/CODE/generate_DISARM_pages.py index 13ead1c..34fabb0 100644 --- a/CODE/generate_DISARM_pages.py +++ b/CODE/generate_DISARM_pages.py @@ -241,7 +241,7 @@ class Disarm: tactic_techniques = self.df_techniques[self.df_techniques['tactic_id']==tactic_id] row_string = '| [{0} {1}]({2}techniques/{0}.md) |\n' for index, row in tactic_techniques.sort_values('disarm_id').iterrows(): - table_string += row_string.format(row['disarm_id'], row['name'], GENERATED_PAGES_DIR) + table_string += row_string.format(row['disarm_id'], row['name'], '') return table_string diff --git a/generated_files/disarm_red_framework_clickable.html b/generated_files/disarm_red_framework_clickable.html index 5f6e84e..9ba5766 100644 --- a/generated_files/disarm_red_framework_clickable.html +++ b/generated_files/disarm_red_framework_clickable.html @@ -62,161 +62,125 @@ function handleTechniqueClick(box) {