List Portfolio Companies
securityscorecard.list_portfolio_companies
ActionBusiness appsconnection required
Calls the SecurityScorecard API with the connection's credentials.
List the companies a portfolio monitors, with their current scores.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- SecurityScorecard
- Secret shape
- the API token, or {"api_token": "…"}
- Config it needs
- base_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
6 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
portfolio_id The portfolio to act on; securityscorecard.list_portfolios emits it as 'id'. | string | Yes | — | — | 60c8c5f9a0b1e70019d5a9f1 |
grade Return only companies currently holding this letter grade. | string | No | — | one of "A", "B", "C", "D", "F" | — |
industry Return only companies in this industry, using SecurityScorecard's own id. | string | No | — | — | technology |
issue_type Return only companies that have findings of this issue type. | string | No | — | — | cookie_secure_flag |
status Return only companies in this monitoring state. | string | No | — | one of "active", "inactive" | — |
had_breach_within_last_days Return only companies that suffered a breach within this many days. | number | No | — | ≥ 1 | 90 |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"had_breach_within_last_days": 90,
"industry": "technology",
"issue_type": "cookie_secure_flag",
"portfolio_id": "60c8c5f9a0b1e70019d5a9f1"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
companies One entry per company in the portfolio. | array | — |
companies[].domain The company's domain, which every company node takes. | string | — |
companies[].name The company's public name. | string | — |
companies[].score The company's score from 0 to 100. | number | — |
companies[].grade The company's letter grade. | string | — |
companies[].industry The company's industry. | string | — |
companies[].size The company's size band. | string | — |
companies[].last30days_score_change How far the company's score moved over the last 30 days. | number | — |
count How many companies the portfolio holds. | number | — |
portfolio_id The portfolio the companies were listed from. | string | — |
{
"companies": [
{
"domain": "",
"grade": "",
"industry": "",
"last30days_score_change": 0,
"name": "",
"score": 0,
"size": ""
}
],
"count": 0,
"portfolio_id": ""
}See List Portfolio Companies run in a workflow.
In a technical demo we add the SecurityScorecard connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.