-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[Cloud Security] Fix for Deprecated error message #119796
[Cloud Security] Fix for Deprecated error message #119796
Conversation
/ci |
@@ -437,7 +438,8 @@ static RoleDescriptor kibanaSystem(String name) { | |||
"index", | |||
"delete", | |||
TransportIndicesAliasesAction.NAME, | |||
TransportUpdateSettingsAction.TYPE.name() | |||
TransportUpdateSettingsAction.TYPE.name(), | |||
TransportAutoPutMappingAction.TYPE.name() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@animehart Just want to clarify my understanding. The auto_put
mapping privilege is being added because in v9.0, it will no longer be implicitly included/allowed with just the index
privilege. And the auto_put
mapping privilege is needed here to be able to update existing index templates when these ("logs-cloud_security_posture.findings_latest-default*", "logs-cloud_security_posture.scores-default*", "logs-cloud_security_posture.vulnerabilities_latest-default*") indices are created. Is that correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is correct. However, we only experience the deprecation warning with logs-cloud_security_posture.scores-default*
, so it might be a good idea to add auto_put
only to this index pattern.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we only experience the deprecation warning with logs-cloud_security_posture.scores-default*, so it might be a good idea to add auto_put only to this index pattern
++ on this
If we can limit where the additional privilege is granted then we should.
…lasticsearch into fix-deprecated-message-index
This PR is to address Deprecated error message that pops out on Kibana logs
The error/warning message is the following:
the fix involves adding privileges to the affected index
more details of this is in this ticket and it will also resolve that ticket