You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
In order to avoid introducing additional latency to requests, API key usage is buffered in-memory and asynchronously flushed to the database in intervals of 30s.
An API key counts as "used" if authentication with it succeeds.
Also, add support for an optional comment for API keys, as requested in stevespringett#536.
Closesstevespringett#362Closesstevespringett#536
Signed-off-by: nscuro <[email protected]>
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"
}
]
The text was updated successfully, but these errors were encountered: