pipelines/frontend/server/handlers
James Liu 83d7e719d0
fix(frontend): Introduce ALLOWED_ARTIFACT_DOMAIN_REGEX flag to prevent accessing undesired domains. Remove user input string from server response. (#9844)
* fix(frontend): Introduce ALLOWED_ARTIFACT_DOMAIN_REGEX flag to prevent accessing undesired domains. Remove user input string from server response.

1. Remove user query parameter string from server response.
2. Introduce ALLOWED_ARTIFACT_DOMAIN_REGEX to allow configuration of allowed domains querying.
3. By default, ALLOWED_ARTIFACT_DOMAIN_REGEX is match all. Default configuration is meant to be demo purpose and not for production.
4. Users can provide ALLOWED_ARTIFACT_DOMAIN_REGEX environment variable to restrict object storage endpoint querying domains.

* add test
2023-08-11 18:44:33 +00:00
..
artifacts.ts fix(frontend): Introduce ALLOWED_ARTIFACT_DOMAIN_REGEX flag to prevent accessing undesired domains. Remove user input string from server response. (#9844) 2023-08-11 18:44:33 +00:00
domain-checker.ts fix(frontend): Introduce ALLOWED_ARTIFACT_DOMAIN_REGEX flag to prevent accessing undesired domains. Remove user input string from server response. (#9844) 2023-08-11 18:44:33 +00:00
gke-metadata.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
healthz.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
index-html.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
pod-info.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
pod-logs.ts feat(frontend): make container name configurable (#9433) 2023-05-17 23:37:06 +00:00
tensorboard.ts feat: customizable tensorboard image and env + sample pipeline with minio. Fixes #5471, fixes #4714, fixes #5449, fixes #699, fixes #4290 (#5515) 2021-05-11 00:45:42 -07:00
vis.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00