Skip to content

audit: add support for APIKey creation and deletion (logins) #4538

Closed

Description

@Kira-Pilot

We should add audit logging support for APIKey creation and deletion. API Keys, aka session tokens created on login, should be an auditable resource.

An audit log should be generated when a user successfully logs in or out, either via the web UI or via the CLI.

We don't have to worry about audit support for long-lived token creation; that will be handled in this ticket.

Assumption: we don't have to worry about the update of session tokens, even though the table has an updated_at column. Creation and deletion (login and logout) should suffice.

Activity

  1. Kira-Pilot commented on Oct 13, 2022

    @Kira-Pilot
    ContributorAuthor

    @bpmct @coadler @sharkymark Making sure this is on everyone's radar.

  2. bpmct commented on Oct 13, 2022

    @bpmct
    Member

    I agree with the criteria. Should we consider this a Login instead?

  3. Kira-Pilot commented on Oct 14, 2022

    @Kira-Pilot
    ContributorAuthor

    @bpmct I think that term would be a lot clearer.

  4. github-actions commented on Dec 14, 2022

    @github-actions
    Contributor

    This issue is becoming stale. In order to keep the tracker readable and actionable, I'm going close to this issue in 7 days if there isn't more activity.

  5. removed
    staleThis issue is like stale bread.
    on Dec 14, 2022
  6. changed the title [-]audit: add support for APIKey creation and deletion[/-] [+]audit: add support for APIKey creation and deletion (logins)[/+] on Jan 2, 2023
  7. self-assigned this
    on Jan 26, 2023
  8. Kira-Pilot commented on Feb 6, 2023

    @Kira-Pilot
    ContributorAuthor

    resolved by #5925

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions