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

PUT insert sixgill alerts #653

Closed edujosemena closed 7 months ago

edujosemena commented 10 months ago

💡 Summary

Add new REST endpoints that mirror existing sql queries and replace existing sql query with REST Specifically: Convert "insert_sixgill_alerts" 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 7 months ago

Endpoint has been created and integrated in the accessor. Required a slight adjustment so that the input data is broken up into chunks instead of being passed in all at once