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

Failing ES Promotion: detection engine api security and spaces enabled deleting signals migrations rejects the request if the user does not have sufficient privileges #97923

Closed
spalger opened this issue Apr 21, 2021 · 3 comments
Assignees
Labels
failed-es-promotion Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.

Comments

@spalger
Copy link
Contributor

spalger commented Apr 21, 2021

The 7.12 ES snapshot promotion is currently failing because of another ES security error message change that is validated in the tests:

1)    detection engine api security and spaces enabled
       
         deleting signals migrations
           rejects the request if the user does not have sufficient privileges:


       Error: expected { message: 'security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst], this action is granted by the index privileges [manage,all]',
   status_code: 403 } to sort of equal { message: 'security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the index privileges [manage,all]',
   status_code: 403 }
       + expected - actual
 
        {
       -  "message": "security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst], this action is granted by the index privileges [manage,all]"
       +  "message": "security_exception: action [indices:admin/settings/update] is unauthorized for user [t1_analyst] on indices [], this action is granted by the index privileges [manage,all]"
          "status_code": 403
        }
       
       at Assertion.assert (/dev/shm/workspace/parallel/23/kibana/packages/kbn-expect/expect.js:100:11)
       at Assertion.eql (/dev/shm/workspace/parallel/23/kibana/packages/kbn-expect/expect.js:244:8)
       at Context.<anonymous> (test/detection_engine_api_integration/security_and_spaces/tests/delete_signals_migrations.ts:131:41)
       at Object.apply (/dev/shm/workspace/parallel/23/kibana/packages/kbn-test/src/functional_test_runner/lib/mocha/wrap_function.js:73:16)

7.12: badd0a7

@spalger spalger added blocker skipped-test failed-es-promotion Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v7.12.2 labels Apr 21, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

@MindyRS MindyRS added the Team:Detections and Resp Security Detection Response Team label Mar 15, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-detections-response (Team:Detections and Resp)

@e40pud e40pud self-assigned this Jul 13, 2023
@e40pud
Copy link
Contributor

e40pud commented Jul 14, 2023

Fixed by #94391

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
failed-es-promotion Team:Detections and Resp Security Detection Response Team Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc.
Projects
None yet
Development

No branches or pull requests

5 participants