We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8148e1 commit b15b63fCopy full SHA for b15b63f
insights/attachments/links_domains.yml
@@ -1,12 +1,29 @@
1
name: "Domains in attachments"
2
type: "query"
3
source: |
4
- filter(
5
- map(attachments,
6
- map(file.explode(.),
7
- distinct(map(.scan.url.urls, .domain.domain), .)
8
- )
9
- ),
10
- length(.) > 0
+ filter(map(attachments,
+ map(file.explode(.),
+ distinct(map(filter(.scan.url.urls,
+ .domain.root_domain not in $org_domains
+ and .domain.root_domain not in (
+ "sublimesecurity.com",
+ "wps.cn"
11
+ )
12
+ and .domain.domain not in~ (
13
+ "schemas.openxmlformats.org",
14
+ "schemas.microsoft.com",
15
+ "purl.org",
16
+ "www.w3.org",
17
+ "purl.oclc.org",
18
+ "schemas.apple.com"
19
20
+ ),
21
+ .url
22
23
+ .
24
25
26
27
+ length(.) > 0
28
)
29
severity: "informational"
0 commit comments