SecLens.ONE Email Security

v1.0.0
one.seclens/seclens Checked 14 hours ago Published 1 month ago

Assess any domain's email security across SPF, DMARC, DKIM, MTA-STS, DNSSEC, DANE, and TLS-RPT.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

assess_domain Assess Domain Email Security

Start a fresh public email-security check of one domain (SPF, DKIM, DMARC, MTA-STS, TLS-RPT, DANE, DNSSEC, MX and BIMI). Use this when there is no stored result yet or you need an up-to-date one; to read an existing result, call get_result instead. It returns only a queue confirmation, not the report. The response includes poll_after_ms. Wait that long, then poll get_result. A check usually takes a few seconds and is stopped after 45 seconds at most.

ParameterTypeDescription
domain *stringRegistrable domain name without scheme, path or port, for example example.com.

get_result Get Stored Domain Assessment

Return the latest stored public report for one domain: score from 0 to 100, profile (mail, null_mx or no_mx), per-protocol findings, and Remediation.packs with the DNS records to publish. BIMI is reported but does not change the score. Use this to read a report or to poll after assess_domain; use get_summary for figures across all domains instead. If the domain has not been checked yet, or the check is still running, it returns HTTP 404 JSON with error not_found. In that case call assess_domain and poll again. Public reports stay available; the Generated field says when the assessment ran, and…

ParameterTypeDescription
domain *stringRegistrable domain name without scheme, path or port, for example example.com.

get_summary Get Public Corpus Summary

Return totals for every domain in the public SecLens.ONE corpus, plus a list of those domains with their latest score, newest first. "stats" holds the domain count, average score, score bands and per-protocol present and effective counts. "results" holds one row per domain (Domain, Score, Generated, Profile, IsMailEnabled, HasNullMX, NullMXCompliant). Use this for overall adoption figures, not for one domain's details (use get_result instead). By default, results lists the 50 newest domains and is about 8 KB. The maximum limit is 500. Stats always cover the full corpus. Set stats_only to true…

ParameterTypeDescription
limitintegerNewest rows to return. Defaults to 50. Maximum 500. Stats always cover the full corpus.
stats_onlybooleanWhen true, results is an empty list. Stats still cover the full corpus.