How to setup a fine-granular tag-based access control for agents?

0

Hello, I look at the official documentation here (1) and cannot find a solution for my current use case. I need to restrict the access to the realtime and historical metrics to department managers. e.g. I have a HQ with three departments; Sales, Support and Backoffice. I have manager1 with only queue Sales. I have manager2 with queue Support and I have manager3 with Sales and Support queues. Hierarchy access control won´t work, because the mangers cannot be assigned more than one hierarchy. With tag-based access control you tag the queue Sales with tag. con_department = "Sales", queue Support with tag con_department = "Support" and queue Backoffice with tag con_department = "Backoffice". Manager 1 now gets the tag con_department = "Sales" But how it would work for manager2 ? What need to be configured in the tags? Is there anywhere a good working example or walkthrough to follow this tagging system in Amazon Connect?

(1) https://docs.aws.amazon.com/connect/latest/adminguide/rtm-tag-based-access-control.html#view-tag-based-agents

asked 6 months ago150 views
2 Answers
0

To set up fine-granular tag-based access control for agents in Amazon Connect, you can use resource tags and access control tags. This approach allows you to apply granular access to users, queues, and routing profiles for both real-time and historical metrics.

For your specific use case with department managers, you can implement the following tagging strategy:

  1. Tag the queues:
  • Sales queue: con_department = "Sales"
  • Support queue: con_department = "Support"
  • Backoffice queue: con_department = "Backoffice"
  1. Tag the managers:
  • Manager1: con_department = "Sales"
  • Manager2: con_department = "Support"
  • Manager3: con_department = ["Sales", "Support"]

To allow Manager2 and Manager3 access to multiple departments, you can use a list of values for the tag. This way, Manager3 can have access to both Sales and Support queues.

After applying these tags, you need to configure the appropriate security profile permissions for each manager. Ensure they have the necessary permissions to access metrics and the specific resources they need to view.

For real-time metrics, managers need:

  • "Analytics and Optimization - Access metrics - Access" permission
  • Access to the specific user, queue, and routing profile resources they should be able to view

For historical metrics reports, managers need:

  • "Analytics and Optimization - Historical metrics - Access" permission
  • Access to the tagged resources (users, queues, and routing profiles) they should be able to view in the reports

Remember that tag-based access control is not supported for dashboards and login/logout reports. Also, there are some limitations to be aware of, such as the inability to filter or group by multiple resources and limitations on the number of resources that can be filtered.

To implement this system, you'll need to use either the Amazon Connect admin website or the TagResource API to configure the tag-based access controls. Make sure to apply the resource tags and access control tags before assigning the required security profile permissions to users.

While there isn't a specific walkthrough provided in the official documentation for this exact scenario, you can follow the general guidelines for adding tags to resources and configuring tag-based access control in Amazon Connect to implement this solution.
Sources
Agent activity audit tag-based access control in Amazon Connect - Amazon Connect
Real-time metrics tag-based access control in Amazon Connect - Amazon Connect
Apply granular access control to historical metrics reports in Amazon Connect - Amazon Connect
Amazon Connect launches more granular access controls (using tags) for your instances

profile picture
answered 6 months ago
  • Thanks for the auto-generated AI answer but in Amazon Connect in the user management where I try to add a tag value in the format ["Sales","Support"] i got the error message : Invalid value send for field tagValue. It seems not to accept arrays or structs

0

When specifying the value of the key for the manager tag, use the format "test1, test2" as the value or use the format test4, test 5. They both worked for me. Note the space after the comma.

Tag Sample

profile pictureAWS
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions