envoyproxy/envoy

RBAC policy for unix socket peer uid/gid

Open

#6,193 建立於 2019年3月6日

在 GitHub 查看
 (2 留言) (0 反應) (1 負責人)C++ (5,373 fork)batch import
area/rbacdesign proposalhelp wanted

倉庫指標

Star
 (27,997 star)
PR 合併指標
 (平均合併 8天) (30 天內合併 378 個 PR)

描述

It would be nice to be able to specify a RBAC policy based on the UID or GID of the downstream connection when it's coming through a unix socket.

This would involve exposing the UID/GID on the Connection if applicable. This would be done by using SO_PEERCRED to get the peer credentials from the socket.

A RBAC policy would then be added to read this data.

The use case we have in mind here is restricting certain routes to be available only to users that can assume a specific unix group.

貢獻者指南