Files
moloapp/tests/example/agent/registry/identity_audit_test.cpp
T

13 lines
419 B
C++
Raw Normal View History

// Route: POST /agent/registry/identity/audit
#include "agent/registry/cases.hpp"
using namespace molo::example::test;
int main() {
check_google_post_route("/agent/registry/identity/audit",
"{\"principal\":\"principal://agents.global.org-1.system.id.goog/aiplatform/e1\"}",
"{\"principal\":\"user:a@b.c\"}",
"a principal that is not an agent");
return finish("agent/registry/identity/audit");
}