Push Discovery
PushDiscovery records the vocabulary a Time Bandit instance reports for itself — principal, scope, destination, credential recipe, posture and route names — replacing any prior snapshot. Called by timebanditd when its local configuration changes.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Body
The TBControlPlaneServicePushDiscoveryRequest message.
The credentials field.
The destinations field.
The ingressScopes field.
The postures field.
The principals field.
The routes field.
The tbInstanceId field.
Response
Successful response
The TBControlPlaneServicePushDiscoveryResponse message.
TBDiscoverySnapshot is one Time Bandit instance's self-reported vocabulary: the principals, ingress scopes, destinations, credential recipe names, posture names, and route names it knows about. Names only -- never token values or credential material.
Dynamo-only: the control plane has no query pattern that needs Postgres (lookup is always a direct tenant_id+tb_instance_id get).