As your environment or requirements change over time, you can evaluate existing tags for your Amazon Macie resources and change the tags as necessary. A tag is a label that you define and assign to one or more AWS resources, including certain types of Macie resources. Each tag consists of a required tag key and an optional tag value. A tag key is a general label that acts as a category for a more specific tag value. A tag value acts as a descriptor for a tag key.
Tags can help you identify, categorize, and manage resources in different ways, such as by purpose, owner, environment, or other criteria. For example, you can use tags to: apply policies, allocate costs, distinguish between versions of resources, or identify resources that support certain compliance requirements or workflows.
You can assign tags to the following types of Macie resources:
-
Allow lists
-
Custom data identifiers
-
Filter rules and suppression rules for findings
-
Sensitive data discovery jobs
If you're the Macie administrator for an organization, you can also assign tags to member accounts in your organization. A resource can have as many as 50 tags.
Reviewing tags for Macie resources
You can review the tags for an Amazon Macie resource by using Macie or AWS Resource Groups. AWS Resource Groups is a service that's designed to help you group and manage AWS resources as a single unit instead of individually. If you use Macie, you can review the tags for one resource at a time. With AWS Resource Groups, you can review tags in bulk for multiple existing resources spanning multiple AWS services, including Macie.
To review the tags for a Macie resource
To review the tags for an individual Macie resource, you can use the Amazon Macie console or the Amazon Macie API. To review tags for multiple Macie resources at the same time, use the Tag Editor on the AWS Resource Groups console or the tagging operations of the AWS Resource Groups Tagging API. For more information, see the Tagging AWS Resources User Guide.
Follow these steps to review a resource's tags by using the Amazon Macie console.
To review the tags for a resource
Open the Amazon Macie console at https://console.aws.amazon.com/macie/
. -
Depending on the type of resource whose tags you want to review, do one of the following:
-
For an allow list, choose Allow lists in the navigation pane. In the table, select the checkbox for the list. Then choose Manage tags on the Actions menu.
-
For a custom data identifier, choose Custom data identifiers in the navigation pane. In the table, select the checkbox for the custom data identifier. Then choose Manage tags on the Actions menu.
-
For a filter or suppression rule, choose Findings in the navigation pane. In the Saved rules list, choose the edit icon (
) next to the rule. Then choose Manage tags.
-
For a member account in your organization, choose Accounts in the navigation pane. In the table, select the checkbox for the account. Then choose Manage tags on the Actions menu.
-
For a sensitive data discovery job, choose Jobs in the navigation pane. In the table, select the checkbox for the job. Then choose Manage tags on the Actions menu.
The Manage tags window lists all the tags that are currently assigned to the resource. For example, the following image shows the tags that are assigned to a custom data identifier.
In this example, three tags are assigned to the custom data identifier: the CostCenter tag key with 12345 as an associated tag value; the Owner tag key with no associated tag value (–); and, the Stack tag key with Production as an associated tag value.
-
-
When you finish reviewing the tags, choose Cancel to close the window.
Editing tags for Macie resources
To edit the tags (tag keys or tag values) for an Amazon Macie resource, you can use Macie or AWS Resource Groups. If you use Macie, you can edit the tags for one resource at a time. If you use AWS Resource Groups, you can edit tags in bulk for multiple existing resources spanning multiple AWS services, including Macie.
To edit the tags for a Macie resource
To edit the tags for an individual Macie resource, you can use the Amazon Macie console or the Amazon Macie API. To edit tags for multiple Macie resources at the same time, use the Tag Editor on the AWS Resource Groups console or the tagging operations of the AWS Resource Groups Tagging API.
Important
Editing the tags for a resource can affect access to the resource. Before you edit a tag key or value for a resource, review any AWS Identity and Access Management (IAM) policies that might use the tag to control access to resources. For more information, see Controlling access to AWS resources using tags in the IAM User Guide.
Follow these steps to edit a resource's tags by using the Amazon Macie console.
To edit the tags for a resource
Open the Amazon Macie console at https://console.aws.amazon.com/macie/
. -
Depending on the type of resource whose tags you want to edit, do one of the following:
-
For an allow list, choose Allow lists in the navigation pane. In the table, select the checkbox for the list. Then choose Manage tags on the Actions menu.
-
For a custom data identifier, choose Custom data identifiers in the navigation pane. In the table, select the checkbox for the custom data identifier. Then choose Manage tags on the Actions menu.
-
For a filter or suppression rule, choose Findings in the navigation pane. In the Saved rules list, choose the edit icon (
) next to the rule. Then choose Manage tags.
-
For a member account in your organization, choose Accounts in the navigation pane. In the table, select the checkbox for the account. Then choose Manage tags on the Actions menu.
-
For a sensitive data discovery job, choose Jobs in the navigation pane. In the table, select the checkbox for the job. Then choose Manage tags on the Actions menu.
The Manage tags window lists all the tags that are currently assigned to the resource.
-
-
In the Manage tags window, choose Edit tags.
-
Do any of the following:
-
To add a tag value to a tag key, enter the value in the Value box next to the tag key.
-
To change an existing tag key, choose Remove next to the tag. Then choose Add tag. In the Key box that appears, enter the new tag key. Optionally enter an associated tag value in the Value box.
-
To change an existing tag value, choose X in the Value box that contains the value. Then enter the new tag value in the Value box.
-
To remove an existing tag value, choose X in the Value box that contains the value.
-
To remove an existing tag (both the tag key and tag value), choose Remove next to the tag.
A resource can have as many as 50 tags. A tag key can contain as many as 128 characters. A tag value can contain as many as 256 characters. The characters can be letters, numbers, spaces, or the following symbols: _ . : / = + - @
-
-
When you finish editing the tags, choose Save.