SQLmap automation


I’m automating SQL injection using sqlmap. Is there someone who managed to parse sqlmap console output to only report critical findings (vulnerable pages to SQL injection)?

The tool doesn’t support output as JSON, and running the tool as API server, the results are in JSON format but it still reports all findings (basically converting all console output to JSON file).

Is there an efficient way to automate the SQLmap tool that I’m not aware of?