Open aHenryJard opened 2 months ago
Take also a look to other ingester.
There is no cursor for CSV Feed and RSS Feed, so I don't think we need to change anything there.
There is no start date but a still a state that cannot be reset. So its more about giving the possibility to reset the state maybe.
Proposal:
Description
Date added after and next cursor are during ingestion set by the taxii server, but when the date is changed manually on taxii feed configuration the cursor should be reset. In current implementation the cursor is reset only when all data is consume (more = false in server response).
Use case is: for some reason if users wants to restart from another date than the current one that is set up, dependeing on taxii server implementation behavior can ignore date and take cursor.
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
Expected Output
Update taxii feed date, cursor is empty.
Actual Output
Update taxii feed date, cursor is not reset.
Additional information
Screenshots (optional)