-
Notifications
You must be signed in to change notification settings - Fork 444
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
[ti_rapid7_threat_command] Fix required stack capabilities #8268
Conversation
Two versions 1.10.0 and 1.11.0 should be removed: $ curl -s "https://epr.elastic.co/search?package=ti_rapid7_threat_command&spec.min=3.0&all=true" | jq -r '.[]|.version'
1.10.0
1.11.0 |
🌐 Coverage report
|
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.
LGTM
Just a suggestion to update changelog link
changes: | ||
- description: 'Fix required stack capabilities' | ||
type: bugfix | ||
link: https://github.com/elastic/integrations/pull/1 |
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.
Nit
link: https://github.com/elastic/integrations/pull/1 | |
link: https://github.com/elastic/integrations/pull/8268 |
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.
Thanks!
Package ti_rapid7_threat_command - 1.11.1 containing this change is available at https://epr.elastic.co/search?package=ti_rapid7_threat_command |
## Summary [Fleet] Improve error handling on epm endpoints. Currently most errors occurring when doing any operation with packages will throw and result in a `500` in the correspondent endpoint. This PR is an attempts to handle those errors in a more comprehensive way and to return meaningful responses. Where I can I'm replacing the generic `Error` with `FleetError`; it calls `Logger.error` and checks if the error belongs to a specific type, if not defaults to 500. The error described in elastic/integrations#8268 will now return a 400: https://github.com/elastic/kibana/pull/171722/files#diff-952b3c1842d5d24d9e70833cae1683e2d78df7b489dc99665dab723cc10927c1R349-R352 ### Checklist - [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Proposed commit message
This package fails to start in stacks without the security plugin, as it requires
the security rule object type.
When trying to install with
elastic-package install
:Add the required capabilities to the manifest.
As a follow up we will need to remove the 1.10.0 and 1.11.0 versions of the package from the registry. cc @mrodm
Checklist
changelog.yml
file.Related issues
Screenshots