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

Fixes ECS audit logging config settings for docker environments #92497

Merged
merged 2 commits into from
Feb 23, 2021

Conversation

jportner
Copy link
Contributor

Resolves #92046.

Copy link
Contributor Author

@jportner jportner left a comment

Choose a reason for hiding this comment

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

Author's notes for reviewers.

Comment on lines +263 to +275
xpack.security.audit.appender.type
xpack.security.audit.appender.layout.type
xpack.security.audit.appender.layout.highlight
xpack.security.audit.appender.layout.pattern
xpack.security.audit.appender.legacyLoggingConfig
xpack.security.audit.appender.fileName
xpack.security.audit.appender.policy.type
xpack.security.audit.appender.policy.interval
xpack.security.audit.appender.policy.modulate
xpack.security.audit.appender.policy.size
xpack.security.audit.appender.strategy.type
xpack.security.audit.appender.strategy.max
xpack.security.audit.appender.strategy.pattern
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Many of these keys changed in 7.12 via #90764 -- kind -> type, and path -> fileName.

Since we don't have anyone using these values in Docker yet, I think we should only support the new values, and we should not backport this PR to 7.11.

xpack.security.audit.appender.strategy.type
xpack.security.audit.appender.strategy.max
xpack.security.audit.appender.strategy.pattern
xpack.security.audit.ignore_filters
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The ignore_filters setting is an array. Users would configure .ignore_filters[].actions[], .ignore_filters[].categories[], etc. But I think that we shouldn't specify actions, categories`, etc. in the Docker kibana vars. Is that correct?

Copy link
Member

Choose a reason for hiding this comment

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

👍 for now, open issue at #39595

@jportner jportner marked this pull request as ready for review February 23, 2021 19:09
@jportner jportner requested a review from a team as a code owner February 23, 2021 19:09
@jportner jportner requested a review from legrego February 23, 2021 19:09
Copy link
Member

@legrego legrego 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 the fix!

@jportner jportner added the auto-backport Deprecated - use backport:version if exact versions are needed label Feb 23, 2021
@jportner jportner enabled auto-merge (squash) February 23, 2021 20:45
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Backport successful

7.12 / #92523
7.x / #92524

Successful backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Feb 23, 2021
…92523)

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Feb 23, 2021
…92524)

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
@jportner jportner deleted the fix-audit-logging-docker branch February 24, 2021 21:23
@timroes timroes added the Team:Operations Team label for Operations Team label Mar 16, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed release_note:fix Team:Operations Team label for Operations Team v7.12.0 v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New audit options missing from kibana-docker
6 participants