-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Milestone
Description
The dashboard needs to be secure. The following endpoints need to be verified that they are hardened:
-
GET /api/pipelinesandGET /api/pipelines/:pidmust only expose relevant information. -
GET /api/pipelines/:pid/configandPOST /api/pipelines/:pid/configmust only be accessible to assignees. -
GET /api/runs/:pid/:rid/logandGET /api/runs/:pid/:rid/archivedare accessible only if the pipeline is public or the requester is assigned. -
POST /trigger/:tokenneeds to be widely accessible.
Furthermore, CORS and cookie include needs to be set:
- When running in production, only allow same origin for
modeandcookiesinfetch. - Otherwise, allow cross origin requests.
Lastly:
- An instance of the dashboard should be tested against SSLLabs and receive an A+.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed