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

Convert I-Score Views to Use API #570

Closed arng4108 closed 1 year ago

arng4108 commented 1 year ago

💡 Summary

Convert all I-Score related database queries to use the API.

Motivation and context

Making direct queries to the database poses a security risk, therefore we need switch to using the API instead.

Implementation notes

Acceptance criteria

arng4108 commented 1 year ago

All I-Score API endpoint code has been added to the CD-pe-reports-api-extended branch. Eventually all this API work will be merged into develop all at once via the api-extended branch. These changes have not been merged into staging.