You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3231897
Browse filesBrowse the repository at this point in the historyBrowse files
feat(audit): name created and updated resources and record no-op mutations (#5611)
Mutation records for creates, updates, and lifecycle changes named no
resource, so an operator could not tell which sandbox was started, which
template was created, or which workspace member was added. A provider
attach that was already in place, a replayed request_id, and a profile
import that failed validation all looked like ordinary successful changes.
Hook the create, update, and lifecycle RPCs for sandboxes, templates,
services, provider attachments, provider profiles, workspaces, and rootfs
staging to record the workspace and the requested resources before the
call starts, completed with the name and ID of each resource the gateway
produced. Record no_op:unchanged and no_op:already_absent for attach and
detach calls that changed nothing, no_op:replayed for answers served from
a stored request_id result, and rejected:invalid_argument for provider
profile imports and updates that failed validation, including their
replays. A record lists at most 16 resources and counts the rest.
Refs #2911
Signed-off-by: Kris Hicks <khicks@nvidia.com>
0 commit comments