Security Engineering

A SOAR platform exposes an HTTPS endpoint that receives webhook calls from a code repository to start secret-revocation playbooks. The team fears forged events could trigger playbooks. Which control best proves each call came from the repository?

Show the answer

Correct answerA. Validate the payload's HMAC signature against a shared secret

AWhy this is right: Recomputing the HMAC with the shared secret proves the sender holds the secret and the payload is unaltered.

BWhy not this: Logging supports detection after the fact but does not stop a forged event from triggering a playbook.

CWhy not this: Rate limiting reduces flooding but does not authenticate the sender of any single event.

DWhy not this: TLS protects data in transit but any attacker can still connect and post a forged event.

Webhook senders sign each payload with a shared secret. The receiver recomputes the HMAC and rejects mismatches, which authenticates the sender and protects integrity. TLS encrypts the channel but does not show who sent the request, since anyone can open a TLS connection.