Arraying / Arraying/Candor

[Dashboard] Security

Abierto
#8 3 comentarios 0 reacciones 2 asignados Reclamado por @martinmladenov Ver en GitHub
enhancement help wanted
Lenguaje dominante
TypeScript
Estrellas
8
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

The dashboard needs to be secure. The following endpoints need to be verified that they are hardened:
- [ ] `GET /api/pipelines` and `GET /api/pipelines/:pid` must only expose relevant information.
- [ ] `GET /api/pipelines/:pid/config` and `POST /api/pipelines/:pid/config` must only be accessible to assignees.
- [ ] `GET /api/runs/:pid/:rid/log` and `GET /api/runs/:pid/:rid/archived` are accessible only if the pipeline is public or the requester is assigned.
- [ ] `POST /trigger/:token` needs to be widely accessible.

Furthermore, CORS and cookie include needs to be set:
- [ ] When running in production, only allow same origin for `mode` and `cookies` in `fetch`.
- [ ] Otherwise, allow cross origin requests.

Lastly:
- [x] An instance of the dashboard should be tested against SSLLabs and receive an A+.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.