Use bot avatar for security_policy_bot users
Why are we doing this work
Users of type security_policy_bot
can only be identified by name but it's not obvious if we only display the avatar like in the example below:
It would be nice to use a bot avatar for those users.
Relevant links
Non-functional requirements
-
Documentation: -
Feature flag: -
Performance: -
Testing:
Implementation plan
-
Update Security::Orchestration::CreateBotService
to addavatar
params to the user object -
Assign avatar
to the user similar to that of security bot -
Create a new avatar and add it to lib/assets/images/bot_avatars/
-
Create a background migration to update the avatar image to existing security policy bot users
Verification steps
Edited by Sashi Kumar Kumaresan