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 getSubdomain() Convert to API Endpoint #702

Closed arng4108 closed 4 months ago

arng4108 commented 5 months ago

💡 Summary

Replace the existing TSQL function with a new REST endpoint that does the same thing Specifically: Convert "getSubdomain()" 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

schmelz21 commented 4 months ago

Closing s all endpoint testing has moved to this https://github.com/cisagov/pe-reports/issues/705.