Quarantine

From wyre-technology/msp-claude-plugins · View interactive version

Quarantine is an AI agent skill from the GitHub repository wyre-technology/msp-claude-plugins. Proofpoint quarantine management fundamentals: quarantine reasons and folders, message states, search/filter parameters, and release/delete workflows for admin and end-user quarantine.

How to use this skill

Skill file

Proofpoint Quarantine Management

Overview

Proofpoint quarantine holds messages that have been identified as threats, spam, or policy violations. The quarantine API allows administrators to search, preview, release, and delete quarantined messages. This is a critical workflow for MSP help desk teams who need to respond to "missing email" requests from end users.

Quarantine operates at two levels:

Anti-triggers

only holds mail that was stopped before delivery. Pulling a delivered

message back out of Microsoft 365 or Google Workspace is TRAP

auto-pull and search-and-destroy: use proofpoint-forensics.

carries the scores but not the threat event, its classification, or

its campaign; use proofpoint-tap.

and re-checking urldefense.proofpoint.com URLs is

proofpoint-url-defense.

shared across the stack. Checkpoint Harmony is

avanan-quarantine, SpamTitan is spamtitan-quarantine,

and Mimecast calls it the held queue: mimecast-queue-management.

Key Concepts

Quarantine Reasons

| Reason | Description | Default Retention |

|--------|-------------|-------------------|

| spam | Message scored above spam threshold | 30 days |

| phish | Message identified as phishing | 30 days |

| malware | Message contained malware | 30 days |

| impostor | Message flagged as BEC/impostor | 30 days |

| bulk | Bulk/marketing email | 14 days |

| adult | Adult content filter match | 30 days |

| policy | Custom policy rule match | Configurable |

| dmarc | Failed DMARC authentication | 30 days |

| dkim | Failed DKIM verification | 30 days |

| spf | Failed SPF check | 30 days |

Quarantine Folders

| Folder | Contents | Release Allowed |

|--------|----------|-----------------|

| quarantine | Admin quarantine (threats, policy) | Admin only |

| spam | End-user spam quarantine | End-user or admin |

| bulk | Bulk/graymail quarantine | End-user or admin |

Message States

| State | Description |

|-------|-------------|

| quarantined | Message is held in quarantine |

| released | Message was released to recipient |

| deleted | Message was permanently deleted |

| expired | Message exceeded retention period and was removed |

Field Reference

Quarantine Message Fields

| Field | Type | Description |

|-------|------|-------------|

| id | string | Unique quarantine message identifier |

| GUID | string | Message GUID (links to TAP events) |

| QID | string | Queue ID from mail server |

| sender | string | Envelope sender address |

| recipients | string[] | List of recipient addresses |

| subject | string | Message subject line |

| date | datetime | When the message was received |

| quarantineDate | datetime | When the message was quarantined |

| reason | string | Why the message was quarantined |

| folder | string | Which quarantine folder holds the message |

| size | int | Message size in bytes |

| headerFrom | string | Display From address (may differ from envelope sender) |

| replyTo | string | Reply-To address if present |

| spamScore | int | Spam confidence score |

| phishScore | int | Phishing confidence score |

| malwareScore | int | Malware confidence score |

| impostorScore | int | Impostor/BEC confidence score |

Search Parameters

| Parameter | Type | Description |

|-----------|------|-------------|

| sender | string | Filter by sender address (exact or partial) |

| recipient | string | Filter by recipient address |

| subject | string | Filter by subject (substring match) |

| startDate | datetime | Start of date range |

| endDate | datetime | End of date range |

| reason | string | Filter by quarantine reason |

| folder | string | Filter by quarantine folder |

| limit | int | Maximum results (default 25, max 500) |

| offset | int | Pagination offset |

MCP Tools

| Tool | Description | Key Parameters |

|------|-------------|----------------|

| proofpoint_quarantine_list | List quarantined messages with sender, recipient, subject and reason | sender, recipient, subject, startDate, endDate, folder, page, per_page |

| proofpoint_quarantine_search | Keyword search across sender, recipient and subject | query (required), startDate, endDate, page, per_page |

| proofpoint_quarantine_release | ⚠ High-impact. Deliver a quarantined message to its recipient | message_id (required) |

| proofpoint_quarantine_delete | ⚠ Destructive, irreversible. Permanently delete a quarantined message | message_id (required) |

Note the split: _list is the structured, field-filtered query and _search

is a single free-text query across three fields. Reach for _list when you

know the sender or recipient — _search cannot filter by them.

Not available through this plugin

quarantine_preview and no get-by-ID. _list and _search return

metadata — sender, recipient, subject, reason — and nothing more. **A

release decision here is made on metadata alone.** If the subject line

is not enough to judge legitimacy, escalate to someone with Proofpoint

console access rather than releasing on a guess.

message_id. Multiple messages means multiple calls, each one a

separate decision — which is a feature, not a limitation to work

around.

Common Workflows

User Reports Missing Email

  1. Get the sender and approximate time from the user
  2. Call proofpoint_quarantine_list with recipient=<user>,

sender=<expected_sender> and an appropriate date range

  1. Judge legitimacy from the metadata you have — sender, subject, and the

quarantine reason. You cannot read the body; if the metadata does

not settle it, do not release, escalate

  1. If legitimate, call proofpoint_quarantine_release with the

message_id

  1. If the sender is consistently quarantined, consider adding a safe sender

policy in the Proofpoint console — this plugin has no policy-write tool

Daily Quarantine Review

  1. Call proofpoint_quarantine_list with folder=quarantine and

per_page=100

  1. Review messages grouped by reason
  2. Release any false positives — one proofpoint_quarantine_release call

per message

  1. Delete confirmed threats, one proofpoint_quarantine_delete at a time
  2. Note recurring senders for blocklist consideration

Release for a Known-Good Sender

  1. Call proofpoint_quarantine_list with sender=<known_good_sender>
  2. Collect the message IDs from the results and confirm the list is what

you expect — there is no bulk tool, so each release is its own call and

its own decision

  1. Call proofpoint_quarantine_release once per message_id
  2. Recommend adding the sender to the organization's safe sender list

Investigate Quarantine Spike

  1. Call proofpoint_quarantine_list with a narrow time window
  2. Group results by reason to identify what type of messages increased
  3. Group by sender to identify if a single source is responsible
  4. Cross-reference with TAP data using message identifiers
  5. Determine if this is a targeted attack or spam campaign

Clean Up Expired Threats

  1. Call proofpoint_quarantine_list with a date range older than 14 days

and review what is still held

  1. Confirm each message is a genuine threat before removing it — the

quarantine store is the only copy, and deleting forecloses any later

forensic question

  1. Call proofpoint_quarantine_delete per message_id
  2. Document any messages that were released for the audit trail

Error Handling

Common API Errors

| Code | Message | Resolution |

|------|---------|------------|

| 400 | Invalid date range | Ensure startDate is before endDate |

| 400 | Invalid folder | Use quarantine, spam, or bulk |

| 401 | Authentication failed | Verify service principal and secret |

| 403 | Insufficient permissions | Ensure quarantine management is enabled |

| 404 | Message not found | Message may have expired or been deleted |

| 409 | Message already released | Message was already released by another admin |

| 429 | Rate limit exceeded | Implement backoff; limit bulk operations |

Release Failures

If a release fails:

Search Returning Too Many Results

Best Practices

  1. Preview before release - Always preview a message before releasing to verify it is legitimate
  2. Document releases - Keep a log of released messages for audit purposes
  3. Use bulk operations carefully - Bulk release should only be used for verified false positives
  4. Monitor quarantine volume - Spikes may indicate a targeted attack or misconfigured policy
  5. Set up digests - Enable end-user quarantine digests to reduce help desk load
  6. Review retention policies - Ensure quarantine retention matches your compliance requirements
  7. Never release confirmed threats - If a message is confirmed malware or phishing, delete it
  8. Cross-reference with TAP - Use the GUID to check TAP threat data before releasing
  9. Safe sender lists - For recurring false positives, add the sender to the safe sender list rather than releasing each time
  10. Train users - Educate users on checking their quarantine digest before contacting the help desk

Related Skills

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.