Skip to content

Duo Chat doesn't set Project\Namespace as resource when the question was asked in scope of Project\Namespace

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Summary

During Investigate why in-product Duo Chat events are ... (#555013 - closed) we found that majority of Duo Chat calls set no resource or set user as resource which results in empty namespace association for corresponding usage events. namespace association is essential for access control and hierarchy checks for all Duo Chat metrics, so this behavior leads to many "orphan" usage records => making it impossible to create meaningful Duo Chat usage analytics.

See comment 1 and comment 2 for examples.

Proposal

  • Pass namespace when Duo Chat is used in scope of a group.
  • Pass project when Duo Chat is used in scope of a project.
  • Make sure project or namespace is properly detected where possible on backend side and passed to InternalEvents system.
  • Make sure Agentic Chat also sets project and\or namespace properly.
Edited by 🤖 GitLab Bot 🤖