a-oneil / Indicator-Search

Web application and API designed for rapid aggregation of OSINT results for enrichment.
8 stars 0 forks source link

Add tool outcome object to results #35

Closed a-oneil closed 11 months ago

a-oneil commented 11 months ago

This PR adds the following object to each tool to better track what happened with the run of that tool. I had to change the UI as well to look at this new object to determine what type of UI segment will be displayed.

"outcome": {
    "status": str,
    "error_message": str,
    "status_code": int,
    "reason": str,
}