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
…#2672)
Use the `Last-Modified` header (or the latest `modified` vuln date if
the header is missing) to set the REST SourceRepository's
`last_update_date`, instead of using the time when the importer ran.
Should alleviate #2670 for well-behaved REST sources, though it still
doesn't handle cases where the source itself adds a record with date
before the previous updated date.
While I was here, I also tidied up the `ignore_last_import_time` logic a
bit (because the long line splitting was annoying).
The importer uses
last_update_date
to compare both the Last-Modified of the HEAD request and themodified
time of the individual records.last_update_date
gets set to the time when the importer started processing the source.This can cause an edge case where we miss a few updates:
Here, the importer won't detect the vulnerabilities from the REST source that were modified between
00:10 - 00:15
.The text was updated successfully, but these errors were encountered: