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

[7.14] [Alerting] Allow rule types to extract/inject saved object references on rule CRU (#101896) #106642

Closed
wants to merge 1 commit into from

Conversation

ymao1
Copy link
Contributor

@ymao1 ymao1 commented Jul 23, 2021

No description provided.

… on rule CRU (elastic#101896)

* Adding function hooks into rule type definition and call extract fn on rule create

* Adding hooks for extracting and injecting saved object references. Adding extractReferences to create and update workflow

* Adding type template for extracted params

* Adding type template for extracted params

* Adding type template for extracted params

* Adding type template for extracted params

* Calling injectReferences function if defined. Finishing unit tests for create and update

* Adding tests for get

* Adding tests for find

* Cleanup

* Fixing types check

* Fixing functional tests

* Fixing functional tests

* Fixing tests

* Updating README

* Throwing boom error instead of normal error

* Adding framework level prefix to extracted saved object reference names

* Fixing types

* Fixing types

* PR fixes

Co-authored-by: Kibana Machine <[email protected]>
@ymao1 ymao1 added the backport label Jul 23, 2021
@ymao1 ymao1 enabled auto-merge (squash) July 23, 2021 12:49
@ymao1 ymao1 closed this Jul 23, 2021
auto-merge was automatically disabled July 23, 2021 12:49

Pull request was closed

@kibanamachine
Copy link
Contributor

kibanamachine commented Jul 23, 2021

💔 Build Failed

Failed CI Steps

Metrics [docs]

✅ unchanged

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants