SECVET DOCUMENTATION

Quickstart & Public API v1

Everything you need to verify target ownership, trigger autonomous security assessments, and enforce CI/CD security gates.

1. Target Ownership Verification (3 Methods)

Before launching any scan against a domain, prove ownership in app.secvet.com/targets using any one of the three supported methods:

Method A · DNS TXT Record
_secvet-verify.app.example.com IN TXT "secvet-verify=<your_token>"
Method B · Well-Known File
https://app.example.com/.well-known/secvet-verify.txt → secvet-verify-<your_token>
Method C · HTML Meta Tag (Ideal for SPAs)
<meta name="secvet-verify" content="secvet-verify-<your_token>" />

2. Public API v1 Authentication

Generate a tenant-scoped API key (sv_live_...) under Settings → API Keys and pass it via Bearer auth:

# List verified targets
curl -H "Authorization: Bearer sv_live_your_key" \
  https://api.secvet.com/v1/targets

# Trigger a distributed autonomous scan
curl -X POST https://api.secvet.com/v1/scans \
  -H "Authorization: Bearer sv_live_your_key" \
  -H "Content-Type: application/json" \
  -d '{"project_id":"proj_123","profile":"standard","region":"us"}'

# Poll scan status & evaluate CI/CD gate (fails if High or Critical findings exist)
curl -H "Authorization: Bearer sv_live_your_key" \
  "https://api.secvet.com/v1/scans/run_abc123?fail_on=high"

3. Scan Profiles & Testing Directions

quick · 1 Credit

Attack Surface, TLS & Security Config, Input & Injection, and API & Access Control. Built for PR checks.

standard · 2 Credits

Adds deep Authentication & Session Security testing. Ideal for staging & pre-release gates.

deep · 3 Credits

All 6 Security Testing Directions including Business Logic & Client-Side Security.