Skip to content

Add lock target to lock.create event#15865

Merged
zmb3 merged 2 commits into
masterfrom
zmb3/add-lock-target-to-audit-event
Aug 30, 2022
Merged

Add lock target to lock.create event#15865
zmb3 merged 2 commits into
masterfrom
zmb3/add-lock-target-to-audit-event

Conversation

@zmb3
Copy link
Copy Markdown
Collaborator

@zmb3 zmb3 commented Aug 26, 2022

This adds the target (which may be a user, role, node, login, etc)
to the lock.create audit event.

In order to do this, I had to break the dependency from events->types,
but that was a minimal change.

Fixes #15644

@github-actions github-actions Bot requested review from hatched and strideynet August 26, 2022 16:56
@zmb3 zmb3 force-pushed the zmb3/add-lock-target-to-audit-event branch 3 times, most recently from f4d06a6 to 031caee Compare August 26, 2022 18:31
Copy link
Copy Markdown
Contributor

@strideynet strideynet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good.

There's a test named TestUpsertDeleteLockEventsEmitted which could be updated to ensure that this field is set properly.

This adds the target (which may be a user, role, node, login, etc)
to the lock.create audit event.

In order to do this, I had to break the dependency from events->types,
but that was a minimal change.

Fixes #15644
@zmb3 zmb3 force-pushed the zmb3/add-lock-target-to-audit-event branch from 031caee to 150d838 Compare August 30, 2022 13:05
@zmb3 zmb3 enabled auto-merge (squash) August 30, 2022 17:59
@zmb3 zmb3 merged commit 10ceaf5 into master Aug 30, 2022
@github-actions
Copy link
Copy Markdown
Contributor

@zmb3 See the table below for backport results.

Branch Result
branch/v10 Failed
branch/v8 Failed
branch/v9 Failed

@zmb3 zmb3 deleted the zmb3/add-lock-target-to-audit-event branch August 30, 2022 20:59
zmb3 added a commit that referenced this pull request Aug 30, 2022
This adds the target (which may be a user, role, node, login, etc)
to the lock.create audit event.

In order to do this, I had to break the dependency from events->types,
but that was a minimal change.

Fixes #15644
zmb3 added a commit that referenced this pull request Aug 30, 2022
This adds the target (which may be a user, role, node, login, etc)
to the lock.create audit event.

Fixes #15644
Backports #15865
zmb3 added a commit that referenced this pull request Aug 31, 2022
Add lock target to lock.create event

This adds the target (which may be a user, role, node, login, etc)
to the lock.create audit event.

Fixes #15644
Backports #15865
zmb3 added a commit that referenced this pull request Aug 31, 2022
Add lock target to lock.create event

This adds the target (which may be a user, role, node, login, etc)
to the lock.create audit event.

Fixes #15644
Backports #15865
zmb3 added a commit that referenced this pull request Aug 31, 2022
Add lock target to lock.create event (#15865)

This adds the target (which may be a user, role, node, login, etc)
to the lock.create audit event.

In order to do this, I had to break the dependency from events->types,
but that was a minimal change.

Fixes #15644
zmb3 added a commit that referenced this pull request Sep 1, 2022
Add lock target to lock.create event

This adds the target (which may be a user, role, node, login, etc)
to the lock.create audit event.

Fixes #15644
Backports #15865
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lock Audit Log entry does not include the resource type or name such as user

3 participants