Skip to content
Lesson 2 of 80 completed · Sign in to track completionCourse overview →Glossary ↗
Course contents · Establish scope and collection
  1. 1. Bound the customer mail population before accepting response coverageFree
  2. 2. Reconcile TAP collection windows without losing late threat evidenceFree
  3. 3. Join message and click evidence without confusing recipients or copiesFree account
  4. 4. Use campaign and forensic context to choose the next investigationPremium
  5. 5. Review CTR workflow scope before accepting automated message actionsPremium
  6. 6. Verify quarantine by mailbox copy and explain skipped outcomesPremium
  7. 7. Verify message restoration while preserving independent incident follow-upPremium
  8. 8. Hand over email operations with explicit evidence and unresolved scopePremium

Reconcile TAP collection windows without losing late threat evidence

Track requested windows, response status and durable ingestion separately. Replays must preserve changed observations, and an empty successful result must remain distinguishable from a failed or unauthorized collection.

25 MIN

By AISecurityInterviews · Updated

Keep a return link on this browser. No account needed.

TL;DR: Track requested windows, response status and durable ingestion separately. Replays must preserve changed observations, and an empty successful result must remain distinguishable from a failed or unauthorized collection.

Where you are. Turn the agreed population into a defensible collection record.

Reference and lab. Enterprise Targeted Attack Protection (TAP) SIEM, Campaign, Forensics and People APIs v2, Dashboard Reports API v1 and Cloud Threat Response (CTR) public guidance, checked November 2026. This scopes the documentation, not a recommended release. Northwater Logistics, its staff and exercise records are fictional. Python runs offline. Optional read-only inspection requires an existing explicitly authorized training deployment, applicable entitlements and customer-approved credentials. No vendor login, mailbox operation or live API request was performed during authoring.

Build a collector ledger before interpreting silence

Leena receives no new events during a dispatch shift. Ben cannot decide whether that means no matching threat evidence, a credential problem or a missing interval. The collector therefore needs a ledger independent of the incident queue. For each request, store the customer, endpoint, filters, UTC interval, completion status, returned count and durable-processing result. Do not advance the accepted checkpoint merely because the scheduler started a job.

The official SIEM API reference specifies HTTPS GET with Basic service credentials, known-threat message and click events, windows from thirty seconds to one hour, a seven-day lookback and no pagination. Results can arrive unordered. Queries use event creation time; older message or click activity can therefore appear in a newer query. Overlap can repeat records. Defaults include active and cleared threats; include falsePositive explicitly when needed.

This documentation-checked read template uses customer-approved service credentials already held in the environment. TAP_INTERVAL is an authorized recent UTC interval within those limits. It was not executed against Proofpoint.

curl --fail-with-body --get 'https://tap-api-v2.proofpoint.com/v2/siem/all' \
  --user "$TAP_PRINCIPAL:$TAP_SECRET" \
  --data-urlencode "interval=$TAP_INTERVAL" \
  --data-urlencode 'format=json' \
  --data-urlencode 'threatStatus=active' \
  --data-urlencode 'threatStatus=cleared' \
  --data-urlencode 'threatStatus=falsePositive'

Do not put credentials in a saved command transcript or enable verbose authorization logging. A read-only API operation still returns sensitive customer evidence. Inspect or store its output only in the approved evidence location. This lesson's executable model contains invented fields and does not authenticate anywhere.

Keep transport, ingestion and investigation separate

The reference distinguishes empty JSON success, authentication failure, customer authorization failure and throttling. Preserve these outcomes. An access failure is not an empty threat population. A rate limit needs a bounded retry and gap record, not a new identity created to evade the limit.

Northwater's collector first validates the response shape and customer context, then durably stores accepted observations, then records the completed interval. A crash between storage and checkpointing may replay data. The exercise models that replay deliberately. Its observation key contains a fictional event key and revision. Repeating the same observation must not create another incident task; a changed threat state must remain visible.

Do not adopt the exercise tuple as a complete production deduplication algorithm. Design the real key from the documented fields for each event family and test it against representative authorized records. Keep collection revisions available for audit instead of overwriting a previous conclusion without explanation. Two clicks on the same message can be separate observations, while one transport retry can repeat an observation.

Make gaps visible to the incident owner

A gap that exceeds the API's retrieval horizon cannot be repaired by endlessly widening a request. Ben receives the missing interval, its cause, the recovery attempts and the affected conclusions. Nadia checks separately retained mail-system evidence where authorized. The report states what remains unknown; it does not replace the gap with a zero.

At shift handover, another operator should be able to distinguish a healthy empty collection from a failed attempt using the ledger alone. The exercise removes an accepted interval and asks you to identify the missing coverage before interpreting event counts. This is a collector acceptance check, not a claim about the customer's threat rate.

PROOFPOINT · EMAIL OPERATIONS
A checkpoint follows durable ingestion

Request interval

customer and filters

Validate response

status and schema

Store observations

replay and revisions

Accept checkpoint

otherwise retain gap

observations = [("evt-a", "active"), ("evt-a", "active"), ("evt-a", "cleared")]
accepted = set(observations)
expected_windows = {"10:00-10:30", "10:30-11:00"}
completed_windows = {"10:00-10:30"}
assert len(accepted) == 2
assert expected_windows - completed_windows == {"10:30-11:00"}
print(len(accepted), len(expected_windows - completed_windows))  # => 2 1
# Fictional observation keys; this is not a production API deduplicator.

Do this before moving on

Write a collector ledger for one successful empty interval, one failed interval and one replay. Run the model, then add the missing completed window. Explain why preserving the cleared revision matters even though the event key is unchanged.

Go deeper

Key takeaways

  • Checkpoint only after validated observations are durably processed.
  • Keep repeated observations separate from changed threat states.
  • Report collection gaps without converting missing evidence into zero.

Check yourself

Say or write your answer first, then reveal. Explaining it from memory, in your own words, is the skill an interviewer is checking.

  1. 1An older message appears in a recent query. What should you check first?

  2. 2A collection request is forbidden for this customer. What does its empty incident queue mean?

Sign in to track which lessons you have finished.