spiffe / spiffe/spire-api-sdk

Support a prune RPC in the SPIRE Server's Agent API

Open
#41 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Makefile
Stars
21
Forks
42
PR merge metrics
No merged PRs in 30d

Description

SPIRE PR https://github.com/spiffe/spire/pull/3982 added a spire-server CLI command for pruning old agents out of the database. That work does client-side filtering of agents to determine which need pruning. During review, this was flagged and we agreed that the prune logic is best handled server-side.

Introduce and implement a new RPC to support this server-side prune feature

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the SPIRE Server Agent API service definitions and the existing prune CLI behavior described in the issue. Determine the RPC contract needed to move agent-selection and prune logic server-side; the work is done when the new RPC supports the stated server-side prune feature.

Written by the indexing model from the issue text.

Assessment

Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.