diff --git a/timesketch/frontend-ng/src/components/Explore/EventDetail.vue b/timesketch/frontend-ng/src/components/Explore/EventDetail.vue
index 7738e99083..8120353164 100644
--- a/timesketch/frontend-ng/src/components/Explore/EventDetail.vue
+++ b/timesketch/frontend-ng/src/components/Explore/EventDetail.vue
@@ -28,7 +28,7 @@ limitations under the License.
@mouseleave="c_key = -1"
>
-
+ |
@@ -49,13 +49,7 @@ limitations under the License.
-
+
mdi-filter-plus-outline
@@ -106,15 +100,11 @@ limitations under the License.
|
-
+ |
mdi-content-copy
-
@@ -128,6 +118,35 @@ limitations under the License.
+
+
+
+
+
+
+
+
+
+
+
+
+
- {{ item }} (ext.)
+ {{ item }} (ext.)
{{ item }}
-
-
-
-
-
-
-
-
-
-
-
-
@@ -334,7 +334,6 @@ export default {
this.redirectWarnDialog = false
}
}
-
}
}
},
diff --git a/timesketch/frontend-ng/src/components/Explore/UnfurlDialog.vue b/timesketch/frontend-ng/src/components/Explore/UnfurlDialog.vue
index 32bf0cd3cf..5936f6a46a 100644
--- a/timesketch/frontend-ng/src/components/Explore/UnfurlDialog.vue
+++ b/timesketch/frontend-ng/src/components/Explore/UnfurlDialog.vue
@@ -12,66 +12,61 @@ limitations under the License.
-->
-
-
-
+
+
+
+
- Input: {{ url }}
+ Input: {{ url }}
+
+ Selected node info:
+
+
+ Select a node in the graph below to get more information.
+
-
-
-
-
- Selected node context:
-
-
+
+
+
+
+
+
+
+ mdi-fit-to-page-outline
+
+
+ resize graph
+
+
+
+
+ mdi-plus
+
+
+ zoom in
+
+
+
+
+ mdi-minus
+
+
+ zoom out
+
+
+
+
+
-
-
-
-
-
-
-
-
-
- mdi-fit-to-page-outline
-
-
- resize graph
-
-
-
-
- mdi-plus
-
-
- zoom in
-
-
-
-
- mdi-minus
-
-
- zoom out
-
-
-
-
+
-
- Powered by dfir-unfurl
+
+ Powered by dfir-unfurl
@@ -85,6 +80,9 @@ import ApiClient from '../../utils/RestApiClient'
import cytoscape from 'cytoscape'
import dagre from 'cytoscape-dagre'
+import DOMPurify from 'dompurify'
+import { marked } from 'marked'
+
cytoscape.use(dagre)
export default {
@@ -157,9 +155,6 @@ export default {
}
},
computed: {
- nodeContextValue() {
- return this.nodeContext
- },
getUnfurlLogo() {
if (this.$vuetify.theme.dark) {
return '/unfurl-logo-dark.png'
@@ -169,6 +164,9 @@ export default {
},
},
methods: {
+ sanitizeHtml(html) {
+ return DOMPurify.sanitize(marked(html))
+ },
clearAndCancel: function () {
this.$emit('cancel')
},
|