Skip to content

Commit 2c1026e

Browse files
committed
Add note about WebUI auth
Signed-off-by: David Porter <[email protected]>
1 parent 42bb3d1 commit 2c1026e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/web.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ This UI has one primary resource at `/containers` which exports live information
1010

1111
You can add authentication to the web UI by either HTTP basic or HTTP digest authentication.
1212

13+
NOTE: The Web UI authentication only protects the `/containers` endpoint, and not the other cAdvisor HTTP endpoints such as `/api/...` and `/metrics`. Some of these endpoints can expose sensitive information, so it is not advised to expose these endpoints publicly.
14+
1315
### HTTP basic authentication
1416

1517
You will need to add a *http_auth_file* parameter with a HTTP basic auth file generated using htpasswd to enable HTTP basic auth. By default the auth realm is set as localhost.

0 commit comments

Comments
 (0)