Skip to main content

Get Component Scorecard

Retrieves a scorecard by its unique identifier (ID).

Parameters

ParameterDescription
Component IDThe unique internal component's ID. Can be retrieved using "List Components".
Scorecard IDThe unique internal scorecard's ID. Can be retrieved using "List Component Scorecards".

Example Output

{
"data": {
"compass": {
"scorecard": {
"id": "ari:cloud:compass:f76f31ea-43d4-40ee-98e8-2fcc90f19324:scorecard/222a3b0b-da6f-4622-99c4-7eb55a6dfb69/8ef553b3-48c8-43a7-934f-5f2acc9dab39",
"name": "d67503e3-1d95-4749-bcb8-97611395b2b2",
"description": "Scorecard",
"componentTypeIds": [
"SERVICE"
],
"importance": "REQUIRED",
"componentLabels": [],
"scorecardScore": {
"totalScore": 100,
"maxTotalScore": 100
},
"criterias": [
{
"id": "a50b089a-f3a5-45f2-8065-5d3cb8c3bd43",
"weight": 100,
"scorecardCriteriaScore": {
"score": 100,
"maxScore": 100
}
}
],
"appliedToComponents": {
"totalCount": 3
},
"owner": {
"name": "MyPlugin Account",
"picture": "https://secure.gravatar.com/avatar/0744ae3c0aa87de71b2795eac96542bf?d=https%3A%2F%2Favatar-management--avatars.us-west-2.prod.public.atl-paas.net%2Finitials%2FMA-2.png"
}
}
}
},
"extensions": {
"gateway": {
"request_id": "517d0a15902e4b6ca30a00e4eea93164",
"crossRegion": false,
"edgeCrossRegion": false
}
}
}

Workflow Library Example

Get Component Scorecard with Compass and Send Results Via Email

Workflow LibraryPreview this Workflow on desktop