Skip to content

Commit 9e3dcf4

Browse files
committed
adding sha256 of python 3.9, qemu and spire-agent to identify workloads on cgroupsv2 machines
1 parent 8500e02 commit 9e3dcf4

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

server/app.py

+12-1
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,22 @@ async def handle_client_registration():
128128
"client_id": client_id,
129129
"token": agent_token,
130130
}
131-
131+
132+
# Spire-Agent binary
132133
result = entry_create(
133134
agent_spiffeID, workload_spiffeID, ["unix:sha256:5ebff0fdb3335ec0221c35dcc7d3a4433eb8a5073a15a6dcfdbbb95bb8dbfa8e"]
134135
)
135136

137+
# Python 3.9 binary
138+
result = entry_create(
139+
agent_spiffeID, workload_spiffeID, ["unix:sha256:956a50083eb7a58240fea28ac52ff39e9c04c5c74468895239b24bdf4760bffe"]
140+
)
141+
142+
# Qemu x86_64 (For docker mac) // Could add Rosetta binary
143+
result = entry_create(
144+
agent_spiffeID, workload_spiffeID, ["unix:sha256:3fc6c8fbd8fe429b67276854fbb5ae594118f7f0b10352a508477833b04ee9b7"]
145+
)
146+
136147
# Success
137148
return {
138149
"success": True,

0 commit comments

Comments
 (0)