Fix JQ all the things
parent
dc456084e0
commit
05cd86087d
|
@ -3,7 +3,11 @@
|
|||
set -e
|
||||
set -x
|
||||
|
||||
# Seeds sponge, from moreutils
|
||||
|
||||
for dir in lists/*/list.json
|
||||
do
|
||||
cat ${dir} | jq . | tee ${dir}
|
||||
cat ${dir} | jq . | sponge ${dir}
|
||||
done
|
||||
|
||||
cat schema.json | jq . | sponge schema.json
|
||||
|
|
|
@ -11,4 +11,3 @@
|
|||
"cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
"name": "List of known google domains",
|
||||
"version": 2,
|
||||
"description": "Event contains one or more entries of known google domains",
|
||||
"matching_attributes": [ "domain", "hostname", "domain|ip" ],
|
||||
"matching_attributes": [
|
||||
"domain",
|
||||
"hostname",
|
||||
"domain|ip"
|
||||
],
|
||||
"list": [
|
||||
".google.com",
|
||||
".google.ad",
|
||||
|
@ -392,4 +396,3 @@
|
|||
"www.google.cat"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,11 @@
|
|||
"name": "List of known microsoft domains",
|
||||
"version": 1,
|
||||
"description": "Event contains one or more entries of known microsoft domains",
|
||||
"matching_attributes": [ "domain", "hostname", "domain|ip" ],
|
||||
"matching_attributes": [
|
||||
"domain",
|
||||
"hostname",
|
||||
"domain|ip"
|
||||
],
|
||||
"list": [
|
||||
".files-df.1drv.com",
|
||||
".files.1drv.com",
|
||||
|
@ -158,4 +162,3 @@
|
|||
".zune.net"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,7 +2,13 @@
|
|||
"name": "List of known URL Shorteners domains",
|
||||
"version": 2,
|
||||
"description": "Event contains one or more entries of known Shorteners domains",
|
||||
"matching_attributes": [ "domain", "hostname", "domain|ip", "url", "uri" ],
|
||||
"matching_attributes": [
|
||||
"domain",
|
||||
"hostname",
|
||||
"domain|ip",
|
||||
"url",
|
||||
"uri"
|
||||
],
|
||||
"list": [
|
||||
"1url.com",
|
||||
"adcraft.co",
|
||||
|
@ -70,4 +76,3 @@
|
|||
"zpag.es"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,13 @@
|
|||
"name": "List of known domains to know external IP",
|
||||
"version": 2,
|
||||
"description": "Event contains one or more entries of known 'what's is my ip' domains",
|
||||
"matching_attributes": [ "domain", "hostname", "domain|ip", "uri", "url" ],
|
||||
"matching_attributes": [
|
||||
"domain",
|
||||
"hostname",
|
||||
"domain|ip",
|
||||
"uri",
|
||||
"url"
|
||||
],
|
||||
"list": [
|
||||
"api.ipify.org",
|
||||
"checkip.dyndns.com",
|
||||
|
@ -37,4 +43,3 @@
|
|||
"xmyip.com"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue