Appearance
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:
viewercan read the inventory. - API protection is on for the application, and Endpoint inventory (
discovery.enabled, defaulttrue) 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 30dAct on what you find
| Status | Meaning | What to do |
|---|---|---|
described | Seen, and in a description. | Nothing. |
shadow | Seen, in no description. | Add the generated entry to the description, or find the owner and block the path with an access rule. |
stale | Seen, but described as deprecated. | Find the callers before you remove it. |
unused | In a description, not seen in the time range. | A candidate to retire. |
observed | Seen; the application has no description to compare with. | Add a description. |
Settings reference
| Setting | What it does | Default | Allowed values | Applies in |
|---|---|---|---|---|
Endpoint inventory (discovery.enabled) | Counts the endpoints answered. | true | true, false | API protection on |
Window (-window) | How far back the report looks. | 7d | up to 90d | all |
Status (-status) | Shows only endpoints with this status. | none | one of the statuses above | all |
Limits
| Limit | Value |
|---|---|
| Time range | up 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.