Skip to content

Commit

Permalink
Add static site and MITRE ATT&CK Navigator
Browse files Browse the repository at this point in the history
  • Loading branch information
Darkiros committed Oct 22, 2024
1 parent 7650606 commit 2a4f10d
Show file tree
Hide file tree
Showing 150 changed files with 21 additions and 22 deletions.
3 changes: 1 addition & 2 deletions site/index.html → docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ <h3 style="text-align: center;">list of CVEs</h3>
var mitre_button = document.createElement('div');
mitre_button.className = 'col-md-6';
mitre_button.style.textAlign = 'center';
mitre_button.innerHTML = '<button type="button" class="btn btn-primary" style="margin-top: 2%; width: 50%;" onclick="window.open(\'/mitre/\', \'_blank\')" id="mitre_buton">Open MITRE ATT&CK Navigator</button>';
mitre_button.innerHTML = '<button type="button" class="btn btn-primary" style="margin-top: 2%; width: 50%;" onclick="window.open(\'mitre/\', \'_blank\')" id="mitre_buton">Open MITRE ATT&CK Navigator</button>';
control_row.appendChild(mitre_button);
}

Expand All @@ -325,7 +325,6 @@ <h3 style="text-align: center;">list of CVEs</h3>

// Get the list of techniques, some node.to maybe null
var techniques_list = data_cleaned.filter(node => node.to !== null);
console.log(techniques_list);
var max_score = 0;


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

"default_layers": {
"enabled": true,
"urls": ["mitre/assets/export.json"]
"urls": ["CVE2CAPEC/mitre/assets/export.json"]
},

"comment_color": "yellow",
Expand Down
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions docs/mitre/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<base href="/"/>

<meta name="viewport" content="width=device-width, initial-scale=1"/>
<link rel="icon" type="image/x-icon" href="favicon.ico"/>
<link rel="stylesheet" href="CVE2CAPEC/mitre/styles.css"></head>
<body>
<app-root></app-root>
<script src="CVE2CAPEC/mitre/runtime.js" type="module"></script><script src="CVE2CAPEC/mitre/polyfills.js" type="module"></script><script src="CVE2CAPEC/mitre/scripts.js" defer></script><script src="CVE2CAPEC/mitre/vendor.js" type="module"></script><script src="CVE2CAPEC/mitre/main.js" type="module"></script></body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions site/mitre/main.js → docs/mitre/main.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/mitre/main.js.map

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion site/mitre/styles.css.map → docs/mitre/styles.css.map

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
13 changes: 0 additions & 13 deletions site/mitre/index.html

This file was deleted.

1 change: 0 additions & 1 deletion site/mitre/main.js.map

This file was deleted.

0 comments on commit 2a4f10d

Please sign in to comment.