Skip to main content

Check out Port for yourself ➜ 

Manage scorecards

Define scorecards

Port offers a variety of ways to create, edit and delete scorecards:

You can create, edit, or delete scorecards either from the catalog page or the Data model page.

Whether you create, edit, or delete a scorecard, follow the next steps, then proceed with the relevant section below.

  1. Go to the Data model page of your portal.

  2. Expand the relevant blueprint, and click on the Scorecards tab.

To create a new scorecard:

  1. Click on the + New scorecard button.

  2. In the Basic Details tab, specify the scorecard's basic details:

    • Title - The scorecard's title.
    • Identifier - The scorecard's unique identifier (must be unique among all scorecards).
    • Blueprint - This field will already be preselected and non-editable, set to the blueprint you expanded.
    • Filter - Filter which entities the scorecard applies to.
  3. In the Rules tab, define the scorecard's rules:

    • Add or remove levels, as well as edit their names.
    • Add rule elements to each level:
      • Title - The rule's title.
      • Identifier - The rule's identifier.
      • Description - The rule's description.
      • Conditions - The rule's conditions.
  4. Click Save to create the scorecard.

To edit an existing scorecard

  1. Click on the ... button in line that represents your scorecard, then choose Edit.

  2. Make your changes to the scorecard.

  3. Click Save to apply your changes.

To delete a scorecard:

Irreversible delete

A Scorecard cannot be restored after deletion!

  1. Click on the ... button in line that represents your scorecard, then choose Delete.

  2. Confirm the deletion in the pop-up window.

Scorecard JSON structure

Instead of using the form, you can also create or edit scorecards in JSON format.
Click on the {...} Edit JSON button in the top right corner of the scorecard creation or editing form.

Below is an example of a scorecard in JSON format:

Ownership scorecard example (click to expand)
{
"identifier": "Ownership",
"title": "Ownership",
"rules": [
{
"identifier": "hasSlackChannel",
"title": "Has Slack Channel",
"level": "Silver",
"query": {
"combinator": "and",
"conditions": [
{
"operator": "isNotEmpty",
"property": "slackChannel"
}
]
}
},
{
"identifier": "hasTeam",
"title": "Has Team",
"level": "Bronze",
"query": {
"combinator": "and",
"conditions": [
{
"operator": "isNotEmpty",
"property": "$team"
}
]
}
}
]
}

Next steps