After you create an allow list, you can change most of the list's settings in Amazon Macie. For example, you can change the list's name and description. You can also add and edit tags for the list. The only setting that you can't change is a list's type. For example, if an existing list specifies a regular expression (regex), you can't change its type to predefined text.
If an allow list specifies predefined text, you can also change the entries in the list. To do this, update the file that contains the entries. Then upload the new version of the file to Amazon Simple Storage Service (Amazon S3). The next time Macie prepares to use the list, Macie retrieves the latest version of the file from Amazon S3. When you upload the new file, ensure that you store it in the same S3 bucket and object. Or, if you change the name of the bucket or object, ensure that you update the list's settings in Macie.
To change the settings for an allow list
You can change the settings for an allow list by using the Amazon Macie console or the Amazon Macie API.
Follow these steps to change an allow list's settings by using the Amazon Macie console.
To change an allow list's settings by using the console
Open the Amazon Macie console at https://console.aws.amazon.com/macie/
. -
In the navigation pane, under Settings, choose Allow lists.
-
On the Allow lists page, choose the name of the allow list that you want to change. The allow list page opens and displays the current settings for the list.
-
To add or edit tags for the allow list, choose Manage tags in the Tags section. Then change the tags as necessary. When you finish, choose Save.
-
To change other settings for the allow list, choose Edit in the List settings section. Then change the settings that you want:
-
Name – Enter a new name for the list. The name can contain as many as 128 characters.
-
Description – Enter a new description of the list. The description can contain as many as 512 characters.
-
If the allow list specifies predefined text:
-
S3 bucket name – Enter the name of the bucket that stores the list.
In Amazon S3, you can find this value in the Name field of the bucket's properties. This value is case sensitive. In addition, don't use wildcard characters or partial values when you enter the name.
-
S3 object name – Enter the name of the S3 object that stores the list.
In Amazon S3, you can find this value in the Key field of the object's properties. If the name includes a path, be sure to include the complete path when you enter the name, for example
allowlists/macie/mylist.txt
. This value is case sensitive. In addition, don't use wildcard characters or partial values when you enter the name.
-
-
If the allow list specifies a regular expression (regex), enter a new regex in the Regular expression box. The regex can contain as many as 512 characters.
After you enter the new regex, optionally test it. To do this, enter up to 1,000 characters in the Sample data box, and then choose Test. Macie evaluates the sample data and reports the number of occurrences of text that match the regex. You can repeat this step as many times as you like to refine and optimize the regex before you save your changes.
-
When you finish, choose Save.
Macie tests the list's settings. For a list of predefined text, Macie also verifies that it can retrieve the list from Amazon S3 and parse the list's content. For a regex, Macie also verifies that it can compile the expression. If an error occurs, Macie displays a message that describes the error. For detailed information that can help you troubleshoot the error, see Configuration options and requirements for allow lists. After you address any errors, you can save your changes.