Skip to main content
Managed Services|MSP Owner / IT Consultant / vCISO

Client Security Assessment for MSPs

Create a repeatable public-domain assessment for MSP clients

Create a repeatable public-domain assessment for MSP clients. Use the API workflow below to collect dated findings, review their scope, and decide which follow-up checks your team needs.

Implementation example by the EdgeDNS team · Updated

The Challenge

Manual assessments are difficult to compare when each engineer collects a different set of observations.

The Solution

Run the email, security, trust, and performance score endpoints for a client domain. Save the findings with scan time, partial-result metadata, and the agreed scope. Discuss the underlying checks with the client before treating a grade as a remediation priority.

Endpoints Used

Combine these EdgeDNS endpoints to build this solution.

GET
/v1/score/emailAPI reference

Email Score: Rate email security (SPF, DKIM, DMARC)

GET
/v1/score/securityAPI reference

Security Score: Composite security score from 10 weighted factors

GET
/v1/score/trustAPI reference

Trust Score: Evaluate domain trustworthiness from 7 signals

GET
/v1/score/performanceAPI reference

Performance Score: Composite speed score from 6 optimization factors

What this workflow helps you do

Use a consistent assessment scope

Run the same endpoint set for each client.

Explain each finding

Review sub-scores and recommendations rather than only the letter grade.

Retain a baseline

Save results in your reporting system for later comparison.

Code Example

Create a repeatable public-domain assessment for MSP clients

javascript
const headers = { Authorization: 'Bearer YOUR_API_KEY' };
const checks = [
  {
    "path": "/v1/score/email",
    "params": {
      "domain": "google.com"
    }
  },
  {
    "path": "/v1/score/security",
    "params": {
      "domain": "cloudflare.com"
    }
  },
  {
    "path": "/v1/score/trust",
    "params": {
      "domain": "example.com"
    }
  }
];

// Run sequentially to keep concurrency bounded. API tier restrictions apply.
for (const { path, params } of checks) {
  const url = new URL(path, 'https://api.edgedns.dev');
  url.search = new URLSearchParams(params).toString();
  const response = await fetch(url, { headers });
  const result = await response.json();
  if (!response.ok) {
    throw new Error(`${path}: ${response.status} ${result.error?.message ?? 'Request failed'}`);
  }
  // Keep the response metadata and any partial/unknown findings for review.
  console.log(path, result);
}

Learn More

Explore industry standards and best practices related to this use case.

Ready to build Client Security Assessment for MSPs?

Get started with 200 free API requests per month. No credit card required.

Other Use Cases

Client Security Assessment for MSPs | EdgeDNS