SecurityScorecard
Overview
The SecurityScorecard integration connects Praetorian Guard Platform (PGP) to the SecurityScorecard API to import third-party security ratings data. It is a read-only integration — PGP pulls data from SecurityScorecard but never modifies your SecurityScorecard account.
Once connected, PGP automatically discovers every company domain across all your SecurityScorecard portfolios and imports their overall scores, letter grades, individual risk factor scores, six months of score history, and active security issues (mapped as Risks with severity levels).
What the Integration Does
When the integration runs, it performs the following steps:
- Validates your API key by calling the SecurityScorecard portfolios endpoint.
- Lists all portfolios in your SecurityScorecard account.
- Paginates through companies in each portfolio (50 companies per page, up to 200 pages per portfolio).
- For each unique company domain:
- Creates a domain Asset in PGP.
- Emits
scoreandgradeAttributes on the Asset. - Fetches the company's risk factor scores and emits each as an Attribute.
- Fetches active security issues and creates Risks with mapped severity.
- Fetches six months of monthly score history and emits
score_historyAttributes.
Companies are processed concurrently (up to 10 in parallel) for performance.
Severity Mapping
SecurityScorecard issue severities are mapped to PGP risk status codes as follows:
Risk Factors
SecurityScorecard evaluates companies across ten risk factor categories. The integration imports each factor's numeric score (0-100) as an Attribute on the domain Asset. The ten standard SecurityScorecard risk factors are:
- Network Security — open ports, SSL configurations, insecure protocols
- DNS Health — DNS configuration issues, DNSSEC, MX records
- Patching Cadence — speed of applying security patches
- Endpoint Security — endpoint protection and configuration
- IP Reputation — malicious activity associated with IP ranges
- Application Security — web application vulnerabilities and headers
- Cubit Score — proprietary threat intelligence signal
- Hacker Chatter — dark web and underground forum mentions
- Information Leak — exposed credentials and sensitive data
- Social Engineering — phishing and social engineering susceptibility
Note: The factor names are returned dynamically by the SecurityScorecard API (e.g., network_security, dns_health). PGP stores whatever factor names the API returns as Attribute keys on each domain Asset.
Prerequisites
- An active SecurityScorecard account with API access.
- A SecurityScorecard API key (token-based authentication).
- At least one portfolio with companies in your SecurityScorecard account.
How to Get Your API Key
- Log in to your SecurityScorecard account.
- Navigate to My Settings (gear icon in the top-right).
- Select API from the left sidebar.
- Click Generate New API Token (or copy your existing token).
- Copy the token — you will paste it into PGP during setup.
For full API documentation, see the SecurityScorecard API Reference.
Setup
- In PGP, navigate to Integrations from the left sidebar.
- Locate the SecurityScorecard card.
- Click the card to open the configuration form.
- Enter your API Key in the provided field.
- Click Connect to save and activate the integration.
Field Reference
Data Mapping
The integration maps SecurityScorecard data into PGP entities as follows:
Assets
Attributes
Risks
API Endpoints Used
All API calls are made to https://api.securityscorecard.io using the header Authorization: Token {api_key} (note: Token format, not Bearer).
Troubleshooting
Authentication Failed (HTTP 401)
If you see a credential validation error, verify that:
- Your API key has not expired or been revoked in SecurityScorecard.
- You copied the full API key without leading or trailing spaces.
- Your SecurityScorecard account has API access enabled.
No Data Imported
- Ensure your SecurityScorecard account has at least one portfolio containing companies.
- Check your PGP asset filters — domains may be filtered out by your VM filter configuration.
Missing Active Issues for Some Companies
The SecurityScorecard /active-issues endpoint may return HTTP 500 errors for certain companies. PGP treats this as a non-fatal warning and continues processing. The company's Asset, score, grade, and risk factors will still be imported — only the active issues will be missing for that company.
Large Portfolios / Pagination Limits
Each portfolio is paginated at 50 companies per page with a safety limit of 200 pages (10,000 companies per portfolio). If you have more than 10,000 companies in a single portfolio, a warning is logged and remaining companies are skipped. Consider splitting very large portfolios.
Integration Timeout
The integration has a timeout of 120 seconds. If you have a very large number of portfolios and companies, the integration may time out. Contact support if this occurs consistently.
Duplicate Domain Handling
If the same domain appears in multiple portfolios, PGP processes it only once. The deduplication is automatic.