# Data Compliance

> See what data you collect and when it started. When legal, security or an auditor asks what user data your product sends, AutoDocs answers from the events themselves, not from a tracking plan that may be out of date.

A use case for [AutoDocs](https://aggregations.io/autodocs.md).

## An inventory of collected data

The [Events Explorer](https://aggregations.io/autodocs/events-explorer.md) lists every event and property you collect, with types, sample values and the date and version each first appeared, built from what's actually sent. When a new property shows up, the [Versions Explorer](https://aggregations.io/autodocs/versions-explorer.md) shows which release added it.

## Finding a property across events

Search by property key to see every event that carries it, at any depth. Searching `email` might return:

| Event | Path | Since |
| --- | --- | --- |
| ProfileUpdated | `$.email` | 1.0.0 |
| SignUp | `$.email` | 1.0.0 |
| InviteSent | `$.invitee.email` | 2.6.0 |
| SupportTicket | `$.contact.email` | 4.0.0 |

## Controls per property

| Setting | What AutoDocs keeps |
| --- | --- |
| Collected | Type, counts, distinct count and sample values |
| No samples | Type, counts and distinct count only; values are never stored |
| Ignored | Nothing; the property and everything under it are left out |

Changing a property to no samples or ignored clears existing samples, usually within an hour. Distinct counts are computed on hashed values, so they stay accurate without samples. This lets you document that you collect a property without storing what was collected. [Restricting properties](https://aggregations.io/docs/autodocs/config.md#restricting-properties)

## Questions it answers

- **Which events include an email address?** Search for `email`; every event and nested path is listed.
- **When did we start collecting location?** Each property shows the version and date it was first seen, and the Versions Explorer shows the release that added it.
- **Did that field really go away?** Last seen shows the most recent version and date a property was sent.
- **Are we sending free text?** Sample values and distinct counts show which string properties hold open-ended input rather than a short list of values.
