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.
/v1/score/emailAPI referenceEmail Score: Rate email security (SPF, DKIM, DMARC)
/v1/score/securityAPI referenceSecurity Score: Composite security score from 10 weighted factors
/v1/score/trustAPI referenceTrust Score: Evaluate domain trustworthiness from 7 signals
/v1/score/performanceAPI referencePerformance 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
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
Vendor Security Assessment
Add external domain observations to third-party risk reviews
Fraud Analyst / Risk ManagerE-commerce Fraud Detection
Add domain and IP signals to transaction risk review
Email Marketing / DevOpsEmail Deliverability Monitoring
Check published sender authentication before a campaign