fix: [publicdns] IP addresses should be cidr
parent
b4785f7fd9
commit
8a2c3dc760
|
@ -1512,6 +1512,6 @@
|
||||||
"domain|ip"
|
"domain|ip"
|
||||||
],
|
],
|
||||||
"name": "List of known IPv4 public DNS resolvers",
|
"name": "List of known IPv4 public DNS resolvers",
|
||||||
"type": "string",
|
"type": "cidr",
|
||||||
"version": 20210604
|
"version": 20210604
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,6 +77,6 @@
|
||||||
"domain|ip"
|
"domain|ip"
|
||||||
],
|
],
|
||||||
"name": "List of known IPv6 public DNS resolvers",
|
"name": "List of known IPv6 public DNS resolvers",
|
||||||
"type": "string",
|
"type": "cidr",
|
||||||
"version": 20210604
|
"version": 20210604
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,7 +26,7 @@ def process(file):
|
||||||
publicdns_ipv4_warninglist = {
|
publicdns_ipv4_warninglist = {
|
||||||
'description': 'Event contains one or more public IPv4 DNS resolvers as attribute with an IDS flag set',
|
'description': 'Event contains one or more public IPv4 DNS resolvers as attribute with an IDS flag set',
|
||||||
'name': 'List of known IPv4 public DNS resolvers',
|
'name': 'List of known IPv4 public DNS resolvers',
|
||||||
'type': 'string',
|
'type': 'cidr',
|
||||||
'matching_attributes': ['ip-src', 'ip-dst', 'domain|ip']
|
'matching_attributes': ['ip-src', 'ip-dst', 'domain|ip']
|
||||||
}
|
}
|
||||||
generate(lipv4, publicdns_ipv4_warninglist, publicdns_ipv4_dst)
|
generate(lipv4, publicdns_ipv4_warninglist, publicdns_ipv4_dst)
|
||||||
|
@ -36,7 +36,7 @@ def process(file):
|
||||||
publicdns_ipv6_warninglist = {
|
publicdns_ipv6_warninglist = {
|
||||||
'description': 'Event contains one or more public IPv6 DNS resolvers as attribute with an IDS flag set',
|
'description': 'Event contains one or more public IPv6 DNS resolvers as attribute with an IDS flag set',
|
||||||
'name': 'List of known IPv6 public DNS resolvers',
|
'name': 'List of known IPv6 public DNS resolvers',
|
||||||
'type': 'string',
|
'type': 'cidr',
|
||||||
'matching_attributes': ['ip-src', 'ip-dst', 'domain|ip']
|
'matching_attributes': ['ip-src', 'ip-dst', 'domain|ip']
|
||||||
}
|
}
|
||||||
generate(lipv6, publicdns_ipv6_warninglist, publicdns_ipv6_dst)
|
generate(lipv6, publicdns_ipv6_warninglist, publicdns_ipv6_dst)
|
||||||
|
|
Loading…
Reference in New Issue