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

Update security analytics roles to include custom log type cluster permissions #3951

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

sbcd90
Copy link
Contributor

@sbcd90 sbcd90 commented Jan 16, 2024

Description

update security analytics roles with custom log type cluster permissions

  • Category (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
    Security Analytics Role enhancement

  • Why these changes are required?

Custom Log Types were introduced in 2.10 but they were only available for admin users. This pr allows non-admin users to access custom log types.

  • What is the old behavior before changes and new behavior after changes?

Issues Resolved

[List any issues this PR will resolve]

Is this a backport? If so, please add backport PR # and/or commits #

Testing

[Please provide details of testing done: unit testing, integration testing and manual testing]

Check List

  • New functionality includes testing
  • New functionality has been documented
  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 65.41%. Comparing base (d734b2e) to head (31cc3b0).
Report is 334 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #3951      +/-   ##
==========================================
- Coverage   65.42%   65.41%   -0.01%     
==========================================
  Files         298      298              
  Lines       21219    21219              
  Branches     3457     3457              
==========================================
- Hits        13883    13881       -2     
- Misses       5616     5617       +1     
- Partials     1720     1721       +1     

see 1 file with indirect coverage changes

@peternied peternied changed the title update security analytics roles with custom log type cluster permissions Update security analytics roles to include custom log type cluster permissions Jan 16, 2024
@peternied peternied merged commit 7273936 into opensearch-project:main Jan 16, 2024
82 checks passed
@peternied peternied added the backport 2.x backport to 2.x branch label Jan 16, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jan 16, 2024
…rmissions (#3951)

Signed-off-by: Subhobrata Dey <[email protected]>
(cherry picked from commit 7273936)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
peternied pushed a commit that referenced this pull request Jan 17, 2024
…type cluster permissions (#3954)

Backport 7273936 from #3951.

Signed-off-by: Subhobrata Dey <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
dlin2028 pushed a commit to dlin2028/security that referenced this pull request May 1, 2024
@jowg-amazon
Copy link
Contributor

Hi can we backport this PR to 2.9 and 2.11 as well? We started supporting custom log types on these two versions
@peternied @willyborankin

@DarshitChanpura DarshitChanpura added backport 2.9 Backport to 2.9 branch backport 2.11 Backport to 2.11 branch labels Dec 23, 2024
opensearch-trigger-bot bot pushed a commit that referenced this pull request Dec 23, 2024
…rmissions (#3951)

Signed-off-by: Subhobrata Dey <[email protected]>
(cherry picked from commit 7273936)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Dec 23, 2024
…rmissions (#3951)

Signed-off-by: Subhobrata Dey <[email protected]>
(cherry picked from commit 7273936)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.x backport to 2.x branch backport 2.9 Backport to 2.9 branch backport 2.11 Backport to 2.11 branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants