In this recipe, we will learn how to set up and use Amazon Macie. Macie is a machine-learning-powered service in AWS and is used primarily to discover, classify, and protect sensitive data. Macie can analyze data in S3 buckets to find sensitive information, such as personally identifiable information (PII), API keys, source code, and so on, and then classify them into different security levels. Macie can be used with CloudWatch to raise alarms and send notifications. Macie can also analyze API calls from CloudTrail to detect anomalies.
Setting up and using Amazon Macie
Getting ready
We need an S3 bucket. The bucket should be in the same region in which we configure Macie. I have created a bucket named aws-sec-cb-macie-demo...