Skip to main content
Guides/Website Security

Security Score: Understand and Use the Results

Evidence-weighted security score from 12 components

EdgeDNS Team·Updated ·6 min read

The single website security grade (and what goes into it)

A website security grade is a single A-to-F letter (or 0–100 composite) that summarizes everything an automated audit found about a site's security posture. The point is to give non-technical stakeholders something they can read in two seconds. "Our security grade is a B+, up from a C- last quarter" lands in a board meeting in a way that "our HSTS max-age is 63072000 seconds with `includeSubDomains` enabled" never will.

You should care because the technical detail of website security is the main reason it gets neglected by the people who make budget decisions about it. A founder, a CMO, or a board member doesn't need to know the difference between TLS 1.2 and TLS 1.3 — they need to know whether website security is a problem worth investing in this quarter. A single letter grade, computed transparently from a defined methodology, is the bridge between the technical detail and the strategic decision.

The seven categories every website security grade rolls up:

  • TLS configuration — protocol versions supported, cipher suites, certificate strength, OCSP stapling, CT log presence. Modern baseline: TLS 1.2 or higher per NIST SP 800-52.

  • Certificate hygiene — is the cert valid, is the chain complete, is it from a trusted CA, when does it expire?

  • HTTP security headers — CSP, HSTS, X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy. Full reference on MDN.

  • HSTS preload — is the domain on the HSTS preload list, which provides the strongest HTTPS enforcement?

  • DNSSEC — is the underlying DNS protected against forgery? Defined in RFC 4033.

  • CAA records — has the domain restricted which CAs can issue certificates for it? Defined in RFC 8659.

  • Known-vulnerability signals — is the site running any software with publicly known issues?

Each category is weighted. TLS and certificate hygiene carry the most weight; CAA and HSTS preload are bonuses. The weighted average becomes the overall grade.

Three questions a single security grade answers:

  • Is our website security health getting better or worse over time?

  • Which category is dragging us down the most?

  • Is the security team's work actually moving the needle?

The cost of not having a single grade is detailed reports that nobody on the leadership team reads. The fix is to roll up the existing detail into one number and one letter, computed the same way every time, and tracked on a recurring schedule. This is the difference between security being a black box and a measurable line item in the IT budget.

The Security Score endpoint, in plain language

Evidence-weighted security score from 12 components

The weighted breakdown helps prioritize observed external configuration findings. Coverage and provisional status show which evidence remains unavailable. Scores support comparable monitoring with the same method; they do not establish breach likelihood or regulatory compliance.

What is actually happening when you call it

Uses shared native certificate, TLS-version and cipher measurements for the relevant score components, while HTTP (HyperText Transfer Protocol) headers and DNS (Domain Name System) policy analysis run on the API (Application Programming Interface). Retains validation outcomes and unavailable components. The same evaluator is used by HTTP requests and scheduled monitoring; CT issuance metadata is not substituted for the live certificate.

Why this specific tool matters

Choose a task: Security Posture Reporting. Generate security scores for all public-facing domains for board-level reporting. Track score trends across quarters to demonstrate security investment ROI. Compare results against your own security baseline and review changes using the same scoring method.

Run the Security Score request below and retain the input and observed result. Before changing configuration, compare the relevant fields with the value or policy you expected. Use the Security Score reference to check the field definitions and supported options.

Info:

Available on the pro plan. The technical details: `GET /v1/score/security`.

When would I actually use this?

Security Posture Reporting

Generate security scores for all public-facing domains for board-level reporting. Track score trends across quarters to demonstrate security investment ROI. Compare results against your own security baseline and review changes using the same scoring method.

Use the finding: Communicate observed security signals through 12 components with explicit coverage and assessment limits.

Vendor & Supply Chain Risk Assessment

Score vendor domains against minimum security thresholds (e.g., require grade B or above) before contract signing. Flag vendors missing critical headers like CSP (Content Security Policy) and HSTS (HTTP Strict Transport Security) that indicate weak security hygiene.

Use the finding: Data-driven vendor risk decisions — identify vendors with weak external security that could impact your supply chain.

Continuous Security Monitoring

Integrate security score checks into automated deployment workflows and monitoring dashboards. Set alerts for score drops that indicate configuration drift, expired certificates, or security headers removed after deployments.

Use the finding: Catch security regressions within hours of deployment instead of waiting for the next quarterly audit cycle.

Compliance Evidence Collection

Map security score component breakdowns to specific compliance control requirements — TLS (Transport Layer Security) and certificate chain scores map to encryption controls, CSP (Content Security Policy) and header scores map to application security controls. Use as automated evidence for NIST CSF, CIS Benchmark, PCI DSS, and SOC 2 (Service Organization Control 2) audits.

Use the finding: Automated, repeatable compliance evidence that reduces audit preparation time and demonstrates continuous monitoring.

The easiest way: just ask your AI assistant

Connect the MCP server. Just ask in plain English:

Use score_security with domain=cloudflare.com. Show the returned findings, identify unavailable evidence, and explain a useful next check.

Confirm the tool and inputs in the client before accepting its summary. For Security Score, use the response fields below to separate observations from recommendations.

Tip:

The dedicated MCP server is available on every plan. Individual tool access and request limits depend on your plan. Management categories and endpoints disabled for the tool catalog are not exposed through MCP.

The technical way: call it from code

This Security Score request uses the example inputs from its API contract. Replace YOUR_API_KEY with a key on the pro plan or higher; adapt the target to your task.

bash
curl --request GET 'https://api.edgedns.dev/v1/score/security?domain=cloudflare.com' \
  --header "Authorization: Bearer YOUR_API_KEY"

Prepare inputs for Security Score

Start with the inputs below. Keep the same hostname, path, and options when comparing Security Score observations. The API reference contains the complete parameter contract, optional settings, and access requirements.

FieldTypeRequired?What it meansExample

domain

string

Yes

The domain to calculate security score for. Analysis is performed over HTTPS (secure HyperText Transfer Protocol).

cloudflare.com

Interpret Security Score findings

Read these fields alongside the full response from your Security Score check. A missing value or failed lookup is different from a passing result. Keep returned errors and confidence or cache metadata when available; do not replace missing evidence with a successful default. See the complete response reference for additional fields.

FieldTypeWhat you'll see in it

domain

string

The scored domain

score

number

Evidence-weighted security score 0–100 across12 components; critical takeover indicators cap the displayed score at29/F. Read assessment coverage before comparing grades.

grade

string|null

Ordinary grade only for complete evidence; null when provisional. Critical takeover indicators retain the explicit F override. Thresholds: A+95, A85, B70, C50, D30.

Words you might be wondering about

DNS (Domain Name System) — The internet's address book. When you type a website name, DNS turns it into the actual numeric address computers use to find each other.

API (Application Programming Interface) — A way for one program to ask another program for something — like a waiter taking your order to the kitchen.

HTTP (HyperText Transfer Protocol) — The language web browsers and websites use to talk to each other.

TLS (Transport Layer Security) — The encryption that puts the 'S' in HTTPS. It scrambles data so nobody between you and a website can read it.

DNSSEC (Domain Name System Security Extensions) — A way to digitally sign DNS records so attackers can't trick your computer into looking up the wrong server.

CSP (Content Security Policy) — A list, sent in a page header, of where the page is allowed to load images, scripts, and other resources from. Stops a lot of common attacks.

HSTS (HTTP Strict Transport Security) — A header that tells browsers "always use HTTPS for this site, never plain HTTP, even if the user types it." Prevents downgrade attacks.

SOC 2 (Service Organization Control 2) — A widely used security audit. Proves to customers that you handle their data responsibly.

Need Programmatic Access?

Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.

Security Score: Results Guide | EdgeDNS