Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note on HOST_PROC environment variable #50217

Open
wants to merge 2 commits into from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,25 @@ available to be used when configuring rules for `tbot`'s Workload API service:

| Field | Description |
|-------------------|------------------------------------------------------------------------------|
| `unix.attested` | Indicates that the workload has been attested by the Unix Workload Attestor. |
| `unix.attested` | Indicates that the workload has been attested by the Unix Workload Attestor. |
| `unix.pid` | The process ID of the attested workload. |
| `unix.uid` | The effective user ID of the attested workload. |
| `unix.gid` | The effective primary group ID of the attested workload. |

### Support for non-standard /proc mounting

To resolve information about a process from the PID, the Unix Workload Attestor
reads information from the `/proc` filesystem.

In some cases, the `/proc` filesystem may not be mounted at the default
strideynet marked this conversation as resolved.
Show resolved Hide resolved
location. If this is the case, you can configure the Unix Workload Attestor to
read from a different location by setting the `HOST_PROC` environment variable.

This is a sensitive configuration option, and you should ensure that it is
set correctly or not set at all. If misconfigured, an attacker could provide
falsified information about processes, and this could lead to the issuance of
SVIDs to unauthorized workloads.

## Kubernetes

The Kubernetes Workload Attestor allows you to restrict the issuance of SVIDs
Expand Down
Loading