Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

agent: fix agent HTTP server audit event implementation access. #16076

Merged
merged 1 commit into from
Feb 7, 2023

Conversation

jrasell
Copy link
Member

@jrasell jrasell commented Feb 7, 2023

#15864 changed the way in which the agent is passed to the HTTP servers by wrapping it in an interface. This removed access to the audit eventer, which is used by the HTTP server to log events for the enterprise codebase.

This change therefore explicitly passes the event.Auditor interface to the agent HTTP servers for use. This change will be needed along with an enterprise specific one, to slightly alter the audit calls to use the new field.

Please see the internal nightly runs to see the original error.

@jrasell jrasell added this to the 1.5.0 milestone Feb 7, 2023
@jrasell jrasell requested review from schmichael and tgross February 7, 2023 08:41
@jrasell jrasell self-assigned this Feb 7, 2023
Copy link
Member

@tgross tgross left a comment

Choose a reason for hiding this comment

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

LGTM! Thanks for picking this up!

Copy link
Member

@schmichael schmichael left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this up James!

@jrasell jrasell merged commit ab3550f into main Feb 7, 2023
@jrasell jrasell deleted the jrasell/b-fix-ent-agent-audit-log branch February 7, 2023 16:20
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.

3 participants