Extreme number of reports breaks ability to load threatboard feed page
Closed this issue · 0 comments
If there are too many potential + actual reports on a threatboard, the query to retrieve the report information fails. The GET request being generated puts every report ID on the URL, and will eventually exceed the URL length limit. For a short term fix, we will:
-
Remove the State department Travel feed from the list of threat ingest sources. It was added originally to show how much "spam" can be thrown into the potentials list, conceptually, and yet never provides anything actionable, so let's scuttle it.
-
Force a limit on the number of reports requested. This is a band-aid to the current boards, not a long term solution. REST requests should rarely, if ever, have these long lists of requested items, and GET requests should never have them. Long term solutions would either involve asking for the reports for a threatboard, and/or requesting a page of reports by filter and index.