mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-03-01 04:26:23 +00:00
Compare commits
4 Commits
8.18.1
...
update-ela
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
66506056ac | ||
|
|
eb912ce68d | ||
|
|
a805733221 | ||
|
|
9552c3ac92 |
@@ -42,6 +42,6 @@ Thanks to all
|
||||
- Consistent data structures
|
||||
- Simple JSON and/or CSV output
|
||||
- Optionally email the results
|
||||
- Optionally send the results to Elasticsearch and/or Splunk, for use
|
||||
- Optionally send the results to Elasticsearch, Opensearch, and/or Splunk, for use
|
||||
with premade dashboards
|
||||
- Optionally send reports to Apache Kafka
|
||||
|
||||
@@ -345,7 +345,9 @@ def get_service_from_reverse_dns_base_domain(
|
||||
if not (offline or always_use_local_file) and len(reverse_dns_map) == 0:
|
||||
try:
|
||||
logger.debug(f"Trying to fetch reverse DNS map from {url}...")
|
||||
csv_file.write(requests.get(url).text)
|
||||
response = requests.get(url)
|
||||
response.raise_for_status()
|
||||
csv_file.write(response.text)
|
||||
csv_file.seek(0)
|
||||
load_csv(csv_file)
|
||||
except requests.exceptions.RequestException as e:
|
||||
|
||||
@@ -34,8 +34,8 @@ dependencies = [
|
||||
"boto3>=1.16.63",
|
||||
"dateparser>=1.1.1",
|
||||
"dnspython>=2.0.0",
|
||||
"elasticsearch-dsl==7.4.0",
|
||||
"elasticsearch<7.14.0",
|
||||
"elasticsearch-dsl==8.17.1",
|
||||
"elasticsearch<=8.0.0",
|
||||
"expiringdict>=1.1.4",
|
||||
"geoip2>=3.0.0",
|
||||
"google-api-core>=2.4.0",
|
||||
|
||||
Reference in New Issue
Block a user