cisagov / pe-reports

Automated process to build and distribute Posture & Exposure Reports' bi-weekly to customers.
Creative Commons Zero v1.0 Universal
17 stars 5 forks source link

POST Get IntelX Breaches #641

Closed arng4108 closed 11 months ago

arng4108 commented 11 months ago

💡 Summary

Add new REST endpoints that mirror existing sql queries and replace existing sql query with REST Specifically: Convert "get_intelx_breaches(source_uid)" TSQL query to an API endpoint

Motivation and context

There are two major reasons to use endpoints in place of sql queries.

Implementation notes

Acceptance criteria

arng4108 commented 11 months ago

This API endpoint has been completed, code reviewed, and added the CD-pe-reports-api-extended branch