Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

API Security Dashboard

Review API exposure, open issues, test coverage, threat activity, and traffic in the API Security dashboard of Harness Runtime Protection Agent (RPA).

The API Security Board in Harness Runtime Protection Agent (RPA) provides a consolidated view of your API security posture. It brings together data on API exposure, security issues, test coverage, threat activity, and traffic patterns. Use it to identify risky APIs, track how issues and threats change over time, and decide what to investigate first. You can filter the data by environment and time range, and then navigate to the relevant pages to investigate individual APIs, issues, or security events

What you will learn from this topic

By the end of this topic, you will be able to:

  • Navigate to the API Security dashboard and its sections.

  • Filter the data by environment and time range.

  • Understand the widgets and analyze their metrics.


Before you begin

The dashboard reflects the data that Harness collects, so some widgets show no data until you set up the following:

  • API traffic: Harness must receive traffic from your applications. Without traffic, the overview shows no APIs, issues, or threat activity.

  • API documentation (optional): Upload documentation for your APIs so that Harness can identify shadow APIs in the API Classification widget. For more information about API conformance, see Conformance Analysis.

  • API scans (optional): Run Application Security Testing (AST) scans on your APIs so that the API Test Coverage card can count tested APIs. For more information about scan results, see Scan Details.


Overview

The API Security dashboard organizes API security data into summary cards and widgets.

The full API Security dashboard, with four summary cards across the top, the API Classification and APIs with Toxic Combinations widgets, the framework references table, and the Issues Trend, Traffic Distribution, and Threat Actors widgets
API Security dashboard

The page has the following sections:

  • Summary cards: Total APIs, open critical and high-severity issues, API test coverage, and total threat traffic.

  • API Classification: How your APIs break down by exposure and risk.

  • APIs with Toxic Combinations: Attribute combinations that indicate greater exposure.

  • Open Issues & Security Events by Framework References: Open issues mapped to references from security and compliance frameworks, along with related security events and threat activities.

  • Trend widgets: Charts that plot data over time:

    • Issues Trend: Opened and resolved issues.

    • Traffic Distribution: Total traffic against monitored and blocked threat traffic.

  • Threat Actors: The current number of threat actors at each severity level.


The API Security dashboard is displayed by default when you log in to Harness RPA. To navigate to it from another page, do one of the following:

  • Click the Harness RPA icon.

  • Navigate to Insights → API Security.

The Insights menu expanded in the left navigation, with API Security selected above AI Security, Explore Data, Custom Boards, and Reports
API Security dashboard navigation

Environment and time filters

The environment and time range filters at the top of the API Security dashboard control which data the widgets display.

The All Environments dropdown, the time range dropdown set to Last 30 days, and the Refresh button, highlighted at the top of the dashboard
Environment and time filters

To view data for a specific environment and time period, follow these steps:

  1. Select an environment from the All Environments dropdown.

  2. Select a time range of up to 90 days, such as Last 30 days.

  3. Click Refresh to reload the data.

The page updates to reflect the selected environment and time range. Not every value responds to the time range, so a label below each widget title tells you how the selected range applies. For example, if you select Last 30 days:

  • A widget labeled in selected range includes only data from the last 30 days.

  • A widget labeled as of today shows the current total, regardless of the range you selected.

  • A widget labeled Time filter is not applied here applies only to API inventory data. It displays statistics based on the current inventory counts and classifications, regardless of the selected time range.

Change indicators

A change indicator appears below the headline number on the following cards and widgets. It shows, as a percentage, how much the value changed for the selected time range:

  • Open Critical & High Sev Issues

  • Total Threat Traffic

  • Issues Trend

  • Traffic Distribution

Two comparison bases are in use. The Open Critical & High Sev Issues card compares the number of open issues at each end of the range. The other three sum their values across the range and compare that sum with the preceding period of the same length. Because the bases differ, the same time range can produce very different percentages.

The Open Critical & High Sev Issues and Total Threat Traffic cards with their change indicators highlighted
Change Indicator

Open Critical & High Sev Issues

The headline number is the count of issues open on the last day of the selected time range. The change indicator compares it with the count that was open on the first day of that range.

Harness calculates the change as follows:

Change = (Open issues on the last day of the range − Open issues on the first day of the range) ÷ Open issues on the first day of the range × 100

A range such as Last 30 days ends today, so the headline number is the current count. A custom range ends on the date you select, so the headline number is the count on that date.

The following example shows the same card with three time ranges selected:

Time range
Headline number (open at end of range)
Open at start of range
Change

Last 30 days

142 (today)

152 (30 days ago)

(142 − 152) ÷ 152 × 100 = −6.6%

Last 60 days

142 (today)

130 (60 days ago)

(142 − 130) ÷ 130 × 100 = +9.2%

August 1 to August 31

128 (August 31)

140 (August 1)

(128 − 140) ÷ 140 × 100 = −8.6%

Every last range ends today, so it always shows today's count, even if the range goes far back. In this example, today's count is 142, so both last rows show 142 and differ only in their starting count. The custom range ends on August 31, so its headline number is the count on that day. A negative value means fewer issues were open at the end of the range than at the start.

Total Threat Traffic and the trend widgets

The Total Threat Traffic card, the Issues Trend widget, and the Traffic Distribution widget share the same comparison. The headline number is the sum of values across every day in the selected time range. The change indicator compares it with the sum for the period of the same length immediately before that range.

Harness calculates the change as follows:

Change = (Sum of daily values in range − Sum of daily values in preceding period) ÷ Sum of daily values in preceding period × 100

The following example shows the Total Threat Traffic card with three time ranges selected:

Time range
Headline number (sum for range)
Preceding period
Sum for preceding period
Change

Last 1 week

820,000

8 to 14 days ago

640,000

(820,000 − 640,000) ÷ 640,000 × 100 = +28.1%

Last 30 days

3,500,000 (3.5M)

31 to 60 days ago

3,300,000

(3.5M − 3.3M) ÷ 3.3M × 100 = +6.1%

Last 60 days

6,800,000 (6.8M)

61 to 120 days ago

Not available

Not shown

Unlike the Open Critical & High Sev Issues card, this card sums threat traffic across the selected time range, so its headline value changes with the range. For Last 60 days, the preceding 60-day period falls outside Harness’s 90-day data retention window, so the change indicator is not shown.

When you change the time range, both the headline number and the comparison update accordingly.

Change indicator limits

Harness retains data for 90 days, which limits how far back a change indicator can compare:

  • Total Threat Traffic, Issues Trend, and Traffic Distribution: Not shown for time ranges longer than 45 days, because the comparison needs a preceding period of the same length.

  • Open Critical & High Sev Issues: Available for all time ranges.


Schedule and download reports

You can share the API Security dashboard as a scheduled email report or as a PDF. Both options are in the menu that opens when you click the More icon () at the top of the page.

The More menu open on the API Security dashboard, showing the Schedule Report and Download PDF options
Download or schedule reports

When you reviews the numbers regularly, schedule a report so that Harness automatically emails the overview. The following interactive demo shows you how to set one up with an hourly, daily, or weekly frequency:

Follow these steps to schedule a report:

The Schedule Dashboard Report panel with Name, Format, Environment, Frequency, Time, and Email fields, showing the message that at least one valid email address is required
Schedule Dashboard Report
  1. Click the More () icon, then click Schedule Report.

  2. In the Schedule Dashboard Report panel, enter a Name for the report. Harness prefills a default name that you can replace.

  3. Select the Format of the report: PDF or CSV.

  4. Select the Environment to include in the report, such as All Environments.

  5. Select the Frequency: Hourly, Daily, or Weekly.

  6. Select the Time at which Harness sends the report, such as 7:00 PM.

  7. In the Email(s) field, enter the recipient email addresses, separated by commas.

  8. Click Save.

A recipient is required to schedule a report

Add at least one valid email address to save the schedule. If no recipient is provided, you cannot save the schedule.

If you need only a one-time copy, such as one for an audit or a review meeting, click Download PDF in the same menu instead.


Widgets and analyze metrics

The following sections describe the widgets in the order in which they appear on the page.

Summary cards

The four summary cards, Total APIs, Open Critical & High Sev Issues, API Test Coverage, and Total Threat Traffic, each labeled with the time scope it uses
Summary cards

The following table describes the summary cards at the top of the page:

Card
Description
Time scope

Total APIs

The number of unique APIs that Harness has discovered. For more information about discovered APIs, see API Endpoints.

As of today

Open Critical & High Sev Issues

The number of issues with Critical or High severity that are awaiting remediation, with a trend line. For more information about issue types, sources, severity, and the Issues page, see Issues Overview.

Selected time range

API Test Coverage

The number of discovered APIs that were tested. For more information about scan results, see Scan Details.

Selected time range

Total Threat Traffic

The number of malicious requests across all traffic, with a trend line. For more information about security events, see Security Events.

Selected time range

API Classification

The API Classification widget shows how many APIs belong to each classification category. Each row displays the category, a bar for comparing categories, and the number of APIs.

The API Classification widget listing eight categories, from Internet Facing through Unused in last 60 days, each with a comparison bar and an API count
API Classification

The following table describes the categories in the widget:

Category
Description

Internet Facing

APIs that are accessible from the public internet. Harness identifies these APIs from labels that you apply or from whether the IP addresses in their traffic are public.

Unauthenticated

APIs that do not enforce authentication. Harness determines authentication from the headers, tokens, and other credentials in API traffic.

Unencrypted APIs

APIs that are not encrypted. Lack of encryption contributes to a higher risk score.

Shadow APIs

APIs that Harness observes in traffic but that are not defined in the API documentation that you uploaded. For more information about API conformance, see Conformance Analysis.

APIs with Sensitive Data

APIs through which sensitive data flows. Harness identifies sensitive data based on the data types in Data Classification.

High Risk APIs

APIs that have a high risk score. For more information about risk scores, see Risk Scoring.

AI APIs

APIs that Harness discovers as AI assets. For more information about AI assets, see AI Assets.

Unused in last 60 days

APIs that have not been used in the last 60 days.

Category counts can exceed the total

An API can belong to more than one category. For example, an API can be both internet-facing and unauthenticated. As a result, the category counts can add up to more than the Total APIs value.

API with Toxic Combinations

The API with Toxic Combinations widget lists combinations of attributes from the API Classification widget, along with the number of APIs that match each combination. For example, one combination identifies APIs that are internet-facing, unauthenticated, and handle sensitive data. The widget ranks combinations by exposure, not by count.

The widget helps identify groups of APIs with multiple risk factors that might not be apparent from individual category counts.

The APIs with Toxic Combinations widget listing attribute combinations such as Internet Facing, Unauthenticated, and Sensitive Data, each with the number of matching APIs
API with Toxic Combinations

The widget displays the following information for each combination:

Column

Description

Toxic Combination

The attributes that define the combination, such as Internet Facing and Unused (60d). The Unused (60d) attribute corresponds to the Unused in last 60 days category.

Count

The number of APIs that match all attributes in the combination.

Attribute combinations are fixed

The widget displays predefined attribute combinations. You cannot customize them.

Open Issues & Security Events by Framework References

The Open Issues & Security Events by Framework References widget maps open issues to references from security and compliance frameworks, such as OWASP API 2023:API9, CWE-282, and DORA-Art.5. It also shows the security events and threat activities related to each reference. The widget helps you review open issues against the frameworks that your organization follows and see which references also have related security events and threat activities.

The Open Issues & Security Events by Framework References table, with columns for the framework reference, framework name, mapped issues, counts by severity, and related security events
Open Issues & Security Events by Framework References

The widget displays the following information for each row:

Column
Description

Framework References

The framework reference to which the issues map, for example, OWASP API 2023:API9 or T1190. For more information about issue policies, see Policies.

Framework Name

The name of the framework reference. For example, Improper Inventory Management for OWASP API 2023:API9.

Issue

The open issues mapped to the reference, for example, TA005. When more than one issue maps to the reference, a +N chip shows the number of additional issues.

By Severity

The number of open issues for each severity: C (Critical), H (High), M (Medium), and L (Low). Severities without open issues do not appear.

Security Events

The number of security events related to the framework reference. A security event is a security-relevant API activity that Harness detects at runtime.

Trend widgets

The Issues Trend and Traffic Distribution widgets plot data over time. Below each chart, a legend identifies each line by color. To hide a line, select its entry in the legend. The chart then shows only the remaining lines. The following sections describe what each trend widget shows and how to interpret it.

Issues Trend

The Issues Trend widget compares opened and resolved issues over time. Summary values at the top of the widget show the Total Issues and the number of issues for each severity level: Critical, High, Medium, and Low. The chart plots two lines, Opened and Resolved.

The Issues Trend widget, with Total Issues and per-severity values above a chart plotting opened and resolved issues across the selected range
Issues Trend

When the Resolved line keeps pace with the Opened line, your team is resolving issues as fast as new ones appear. If the Opened line rises while the Resolved line stays flat, unresolved issues are accumulating. For more information about issue management, see Issue Management.

Traffic Distribution

The Traffic Distribution widget compares total traffic with threat traffic. Summary values at the top of the widget show the totals, and the chart plots each type of traffic over time.

The Traffic Distribution widget, with Total Traffic, Total Threat Traffic, Total Monitored, and Total Blocked values above a chart plotting each traffic type over time
Traffic Distribution

The widget displays the following information for each type of traffic:

Summary value
Chart line
Description

Total Traffic

Traffic (Green)

The total traffic that Harness processed.

Total Threat Traffic

Threat Traffic (Orange)

Traffic that Harness considers malicious, that is, traffic with the Monitored or Blocked status.

Total Monitored

Monitored Threat Traffic (Blue)

Threat traffic that is logged (monitored) but not blocked.

Total Blocked

Blocked Threat Traffic (Red)

Threat traffic that is actively blocked.

Whether threat traffic is monitored or blocked depends on the actions in your protection policies. For example, you can monitor threats first and then move to enforcement. For more information about protection policies, see Protection Policy Types.

The chart helps identify traffic spikes and correlate them with attack attempts. When total traffic is much larger than threat traffic, the threat traffic lines appear close to the horizontal axis. For more information about the breakdown of threat traffic by threat type, source, and destination, see Protection dashboards.

Threat Actors

The Threat Actors widget shows the threat actors that Harness has observed and their distribution by severity. Summary values at the top of the widget show the Total Actors and the number of actors for each severity level: Critical, High, Medium, and Low. The chart plots the number of actors for each severity over time.

The Threat Actors widget showing the number of threat actors at Critical, High, Medium, and Low severity, each with a comparison bar
Threat Actors

Harness labels a traffic source as a threat actor as the number of anomalies from that source increases. It identifies anonymous sources by IP address and authenticated users by user ID. Each threat actor accumulates a threat score, which determines the actor's severity. You can configure the scoring values and thresholds for each severity level. For more information about threat actors and threat scoring, see Threat Actors and Threat Scoring.


Next steps

The following topics cover each area in more detail:

Last updated

Was this helpful?