Arraying / Arraying/Candor

[Dashboard] Security

Đang mở
#8 3 bình luận 0 reaction 2 người được giao Được @martinmladenov nhận Xem trên GitHub
enhancement help wanted
Ngôn ngữ chính
TypeScript
Star
8
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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+.

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.