Skip to content

Endpoint inventory Since v0.1 ​

The inventory counts the endpoints your application answers (method, path template, error counts, first and last seen) and compares them with your OpenAPI descriptions. It needs no description: it starts counting as soon as API protection is on.

Before you begin ​

  • Role: viewer can read the inventory.
  • API protection is on for the application, and Endpoint inventory (discovery.enabled, default true) is not switched off.
  • To find shadow endpoints, add at least one description. For details, see Schema enforcement.

List endpoints ​

text
1. Open Applications > All applications > the application > Request checks > API protection.
2. Open the Inventory tab.
3. Choose the time range, and filter by status with the chips.
4. Select a row to see its details and a generated description entry.
sh
waap api inventory -app shop -status shadow -window 30d

Act on what you find ​

StatusMeaningWhat to do
describedSeen, and in a description.Nothing.
shadowSeen, in no description.Add the generated entry to the description, or find the owner and block the path with an access rule.
staleSeen, but described as deprecated.Find the callers before you remove it.
unusedIn a description, not seen in the time range.A candidate to retire.
observedSeen; the application has no description to compare with.Add a description.

Settings reference ​

SettingWhat it doesDefaultAllowed valuesApplies in
Endpoint inventory (discovery.enabled)Counts the endpoints answered.truetrue, falseAPI protection on
Window (-window)How far back the report looks.7dup to 90dall
Status (-status)Shows only endpoints with this status.noneone of the statuses aboveall

Limits ​

LimitValue
Time rangeup to 90 days

Troubleshooting ​

The inventory is empty ​

  • Cause: API protection is off, Endpoint inventory is off, or no traffic arrived in the range.
  • Fix: turn them on, or widen the window.