Skip to content

feat: include template ID in re-emitted boundary logs#21618

Merged
zedkipp merged 1 commit intomainfrom
zedkipp/template-id
Jan 22, 2026
Merged

feat: include template ID in re-emitted boundary logs#21618
zedkipp merged 1 commit intomainfrom
zedkipp/template-id

Conversation

@zedkipp
Copy link
Contributor

@zedkipp zedkipp commented Jan 21, 2026

Boundary policies are currently defined at the template level, so including the template ID in audit logs allows policy creators to filter and observe boundary activity for specific templates. This makes it easier to verify that policies are working as expected and to debug issues with specific template configurations.

@github-actions
Copy link

github-actions bot commented Jan 21, 2026

@coder-tasks
Copy link
Contributor

coder-tasks bot commented Jan 21, 2026

Documentation Check

Updates Needed

  • docs/ai-coder/boundary/agent-boundary.md - Add template_id field to the "Log Contents" table (around line 130). The table currently documents fields like workspace_id, workspace_name, owner, etc., but is missing the new template_id field added by this PR.

Suggested addition:

Field Description
template_id The UUID of the template that the workspace was created from

This should be added after the workspace_name or owner row in the existing table for consistency with the other workspace-related fields.


Automated review via Coder Tasks

Boundary policies are currently defined at the template level, so including
the template ID in audit logs allows policy creators to filter and observe
boundary activity for specific templates. This makes it easier to verify
that policies are working as expected and to debug issues with specific
template configurations.
@zedkipp zedkipp force-pushed the zedkipp/template-id branch from 89c92d6 to 1afa4af Compare January 21, 2026 22:26
@coder-tasks
Copy link
Contributor

coder-tasks bot commented Jan 21, 2026

Documentation Check

Previous Feedback

Addressed - The template_id field has been added to the documentation table in docs/ai-coder/boundary/agent-boundary.md.

No Additional Changes Needed

The documentation update correctly documents the new template_id field in the audit log entry table. The description matches the implementation and is placed appropriately with other workspace-related fields.


Automated review via Coder Tasks

@zedkipp zedkipp merged commit 6d8e6d4 into main Jan 22, 2026
33 checks passed
@zedkipp zedkipp deleted the zedkipp/template-id branch January 22, 2026 15:37
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants