> For the complete documentation index, see [llms.txt](https://docs.wehost.co.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.wehost.co.in/grup-labs/amazon-macie-lab-spotting-sensitive-data-like-a-boss.md).

# Amazon Macie Lab: Spotting Sensitive Data Like a Boss

<a href="https://github.com/nathaniel-security/Amazon_Macie_labs" class="button primary">Link to Github Project</a>

#### **What’s This Lab All About?**

**Amazon\_Macie\_labs** is a purpose-built playground to test out AWS Macie’s swagger when it comes to sniffing out sensitive info. Inside, there's a nifty `main.py` that spins up a `credit.csv` file stuffed with fake PII think names, SSNs, credit card numbers all randomly generated

<figure><img src="/files/wFJf6Wj3AFBIBNdVjdTZ" alt="" width="188"><figcaption></figcaption></figure>

#### **How It Rolls**

* Fire off:

```
python src/main.py
```

* Upload that CSV to an S3 bucket.
* Head over to AWS Macie in the console. Make sure it’s enabled and properly configured to scan your bucket. If needed, spin up a new discovery job targeting it.
* Once Macie wraps up scanning, dive into the findings. You should see clear detection of those fake credit card nuggets and PII—proof that Macie is sharper than your average watchdog

#### **Why This Matters?**

* **Real‑world testing, zero risk**: You’re working with mock data, but replicating how Macie behaves in serious scenarios.
* **Quick feedback loop**: Generate → upload → scan → review = rapid validation.
* **Perfect for proof-of-concepts or demos**: Show stakeholders that Macie isn’t just hype it actually flags sensitive info


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.wehost.co.in/grup-labs/amazon-macie-lab-spotting-sensitive-data-like-a-boss.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
