cisagov / pe-reports

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

VE team api endpoint to get ownership of IP addresses #577

Open cduhn17 opened 1 year ago

cduhn17 commented 1 year ago

What is the work, as a high-level summary?

Add new REST endpoint

Why does this work belong in this project?

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

Replace the need to know t-sql Off load data aggregation to fastapi parallel workers Implementation notes Gather existing queries from code. Create new endpoints at fastapi. Secure new endpoints in same fashion as existing endpoint.