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

Audit log filter and marker #45456

Merged

Conversation

albertzaharovits
Copy link
Contributor

@albertzaharovits albertzaharovits commented Aug 12, 2019

This adds a log marker and a marker filter for the audit log.

Closes #47251

@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-security

@albertzaharovits
Copy link
Contributor Author

@elasticmachine run elasticsearch-ci/2

@colings86 colings86 added v7.5.0 and removed v7.4.0 labels Aug 30, 2019
@@ -151,6 +158,8 @@
"indices",
(key) -> Setting.listSetting(key, Collections.singletonList("*"), Function.identity(), Property.NodeScope, Property.Dynamic));

private static final Marker AUDIT_MARKER = MarkerManager.getMarker("AUDIT");
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we prefix this with ES_? I hope none of our dependencies are using Marker objects, but if they are we want to be extra sure that we don't get name conflicts.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point! I have renamed the marker to org.elasticsearch.xpack.security.audit .

Please take another look.

@albertzaharovits
Copy link
Contributor Author

@elasticmachine update branch

@albertzaharovits albertzaharovits merged commit 5775ca8 into elastic:master Nov 15, 2019
@albertzaharovits albertzaharovits deleted the filter_for_audit_log branch November 15, 2019 10:30
albertzaharovits added a commit that referenced this pull request Nov 15, 2019
This adds a log marker and a marker filter for the audit log.

Closes #47251
albertzaharovits added a commit that referenced this pull request Nov 15, 2019
This adds a log marker and a marker filter for the audit log.

Closes #47251
@jimczi jimczi added v7.5.0 and removed v7.5.1 labels Nov 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cluster level log settings can inadvertently enable the deprecated *_access log
8 participants