Scores Information

Scores Information

Get Score Summary for Scorecards

Securityx-api-key
Request
query Parameters
entity_identifier
required
string

Identifier for entity to get the scores for score card

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Responses
200

Example response

get/v1/scores/summary
Request samples
Response samples
application/json
{
  • "scorecards_summary": [
    ]
}

Get Scores for Scorecards

Securityx-api-key
Request
query Parameters
entity_identifier
required
string

Identifier for entity to get the scores for score card

header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Responses
200

Response for scorecards score

get/v1/scores
Request samples
Response samples
application/json
{
  • "scorecard_scores": [
    ],
  • "overall_score": 0
}

Get Aggregated Scores for backstage entities

Securityx-api-key
Request
header Parameters
Harness-Account
string

Identifier field of the account the resource is scoped to. This is required for Authorization methods other than the x-api-key header. If you are using the x-api-key header, this can be skipped.

Request Body schema: application/json
kind
required
string
type
required
string
owners
Array of strings
tags
Array of strings
lifecycle
Array of strings
Responses
200

Response for all the entity scores

post/v1/scores/aggregate
Request samples
application/json
{
  • "kind": "string",
  • "type": "string",
  • "owners": [
    ],
  • "tags": [
    ],
  • "lifecycle": [
    ]
}
Response samples
application/json
[
  • {
    }
]