# Scrub secrets from any dataset - live demo

**Use case:** 

Watch the egress firewall clean records with planted secrets: passwords and tokens scrubbed at any depth, every catch itemized in a leak report receipt.

## Input

```json
{
  "allowFields": [
    "url",
    "title",
    "text",
    "meta",
    "user"
  ],
  "items": [
    {
      "url": "https://example.com/pricing",
      "title": "Pricing",
      "text": "Start on the free plan today.",
      "api_key": "SECRET-not-for-shipping",
      "internal_notes": "do not ship this field",
      "meta": {
        "lang": "en",
        "session_token": "abc-999"
      }
    },
    {
      "url": "https://example.com/about",
      "title": "About",
      "text": "We build doors.",
      "meta": {
        "lang": "en"
      },
      "user": {
        "name": "demo",
        "password": "hunter2"
      }
    }
  ],
  "mode": "scrub",
  "stampProvenance": true,
  "maxItems": 10000
}
```

## Output

```json
{
  "url": {
    "label": "URL",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "provenance": {
    "label": "Provenance seal",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Dataset Egress Firewall — Allowlist, Leak Report, Provenance](https://apify.com/equ1n0x/dataset-egress-firewall) with a specific input configuration. Visit the [Actor detail page](https://apify.com/equ1n0x/dataset-egress-firewall) to learn more, explore other use cases, and run it yourself.