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. Navigate to the Software Catalog page.

  2. Go to a Scorecard catalog page in your catalog section.

    Creating a scorecards catalog page

    If you don't have a scorecards catalog page, you can create one. To learn more, refer to the catalog page documentation.

To create a new scorecard:

  1. Click the + Scorecard button in the top right corner of the page.

  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 - Select the blueprint you want to add the scorecard to.
    • 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 and colors.
    • 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 in the table, then choose Edit.

  2. Edit 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 in the table, 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