13 lines
419 B
C++
13 lines
419 B
C++
// 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");
|
||
|
|
}
|