bcgov / quickstart-openshift

QuickStart template targeted for OpenShift.
https://quickstart-openshift-test-frontend.apps.silver.devops.gov.bc.ca/
Apache License 2.0
29 stars 4 forks source link

feat: backend endpoint verifier #1840

Open DerekRoberts opened 7 months ago

DerekRoberts commented 7 months ago

Idea via and done in collaboration with @RMCampos:

Create a script (bash for example) to parse all backend files (python, java, etc) looking for endpoints and calling them, without authentication, making sure all of them respond with 401 or 403
And put that on QuickStart template, on PR open CI
...
There will be public ones, I know. We could map the public ones somehow.

Relevant? https://github.com/bcgov/nr-spar/tree/main/backend/test/postman

mishraomp commented 7 months ago

I would like to debate this one, we don't need to open backend routes to internet @DerekRoberts