From 2d551a8f4c0efc1f2bcbe0ef6ee9b0a680f233ea Mon Sep 17 00:00:00 2001 From: Vault Automation Date: Thu, 11 Sep 2025 21:53:51 -0600 Subject: [PATCH] [VAULT-38468] Cumulative namespace counts API (#9186) (#9308) * add endpoint * add tests * split out deleted namespace test * add responses for openapi spec * fix test flakiness and address comments * add comment Co-authored-by: Jenny Deng --- vault/logical_system.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vault/logical_system.go b/vault/logical_system.go index c77fdda534..b72f4cf6ad 100644 --- a/vault/logical_system.go +++ b/vault/logical_system.go @@ -7161,6 +7161,11 @@ This path responds to the following HTTP methods. "Count of active clients so far this month.", "Count of active clients so far this month.", }, + "activity-cumulative": { + "Cumulative count of clients under each namespace.", + `Cumulative count of clients under each namespace. + A cumulative count is the sum of the clients belonging to a namespace and all its child namespaces.`, + }, "activity-config": { "Control the collection and reporting of client counts.", "Control the collection and reporting of client counts.",