You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When running AIP (development branch), it starts searching and attempting to find data from 2020:
DEBUG: PROCESSING DATE 2020-07-04
2023-07-26 14:59:15,647 - aip.data.access - DEBUG - Creating attacks for dates ['2020-07-04']
2023-07-26 14:59:15,647 - aip.data.access - DEBUG - Making dataset from raw data for dates ['2020-07-04']
2023-07-26 14:59:15,776 - root - DEBUG - Downloading data for 2020-07-04
Describe the bug
When running AIP (development branch), it starts searching and attempting to find data from 2020:
To Reproduce
Steps to reproduce the behavior:
git clone https://github.com/stratosphereips/AIP.git
docker run -ti -v /root/AIP/:/home/aip/AIP -v /opt/zeek/logs/:/home/aip/AIP/data/raw:ro -v /root/AIP/data/:/home/aip/AIP/data/:rw --name aip aip:latest bin/aip
Looking at the code, it seems the starting date is hardcoded in the code:
AIP/lib/aip/models/all.py
Line 43 in a81a85b
AIP/lib/aip/models/prioritize.py
Line 113 in a81a85b
AIP/lib/aip/utils/generate_historical_blocklists.py
Line 45 in a81a85b
Expected behavior
The starting date should be read from the earliest date seen on
honeypots_public_ips.csv
or from a parameter or variable.The text was updated successfully, but these errors were encountered: