Alpine
Alpine copied to clipboard
Add create and last used timestamps for API Keys
Current Behavior in Dependency Track:
The /team API returns a list of API Keys assigned to a team, but does not provide a timestamp for when each key was created or last accessed. This information is needed to enforce API Key rotation schemas.
... "apiKeys": [ { "key": "string" } ] Proposed Behavior:
... "apiKeys": [ { "key": "string", "createdAt": "2021-06-09T18:18:21.710Z", "lastUsed": "2021-06-09T18:18:21.710Z" } ]