Search
Search decoys with free-text query and filters for kind, status, and annotation key.
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 DecoySearchRequest message.
Filter to decoys that have at least one of these annotation keys set. Empty means no annotation filter. Per-key constraints match the c1api annotation-bag standard (min_len 1, max_len 128, same regex used by every annotation-bag-typed field across c1api).
Filter to decoys that have been used at least once. False / unset means no filter (show all). The "never used" case is not covered in this filter; add an explicit field if needed.
Filter by kind (OR within the list). Empty means any kind.
DECOY_KIND_UNSPECIFIED, DECOY_KIND_USER_CLIENT_CREDENTIAL, DECOY_KIND_CONNECTOR_CLIENT, DECOY_KIND_WORKLOAD_FEDERATION, DECOY_KIND_ACCESS_TOKEN The pageSize field.
The pageToken field.
Free-text query against display_name and description. Empty means no text filter.
Filter by status (OR within the list). Empty means any status.
DECOY_STATUS_FILTER_UNSPECIFIED, DECOY_STATUS_FILTER_ACTIVE, DECOY_STATUS_FILTER_DISABLED