"type": "cidr",

pull/54/head
eCrimeLabs 2018-02-21 23:29:30 +01:00 committed by GitHub
parent 2093121c96
commit ab4bca460e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@ warninglist['name'] = 'List of known Amazon AWS IP address ranges'
warninglist['version'] = int(datetime.date.today().strftime('%Y%m%d'))
warninglist['description'] = 'Amazon AWS IP address ranges (https://ip-ranges.amazonaws.com/ip-ranges.json)'
warninglist['list'] = sorted(set(l))
warninglist['matching_attributes'] = ["ip-src", "ip-dst", "domain|ip"]
warninglist['matching_attributes'] = ["ip-src", "ip-dst", "domain|ip"], ["type": "cidr"]
print(json.dumps(warninglist))
"type": "cidr",