-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[SIEM] [DETECTION ENGINE] Details and Edit view for a rule #53252
[SIEM] [DETECTION ENGINE] Details and Edit view for a rule #53252
Conversation
Pinging @elastic/siem (Team:SIEM) |
...legacy/plugins/siem/server/lib/detection_engine/routes/schemas/query_signals_index_schema.ts
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/detection_engine/signals/use_query.tsx
Outdated
Show resolved
Hide resolved
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
x-pack/legacy/plugins/siem/public/pages/detection_engine/components/signals/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/detection_engine/signals/api.ts
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/detection_engine/signals/translations.ts
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/details/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/detection_engine/translations.ts
Outdated
Show resolved
Hide resolved
add feature to not edit immutable rule
1023188
to
7311d9a
Compare
7311d9a
to
0acda85
Compare
…n-engine-rule-detail
export const RuleSchema = t.intersection([ | ||
t.type({ | ||
created_at: t.string, |
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.
x-pack/legacy/plugins/siem/public/containers/detection_engine/rules/api.ts
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/containers/detection_engine/signals/use_query.tsx
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/details/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/detection_engine/components/signals_info/index.tsx
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/detection_engine/rules/edit/index.tsx
Show resolved
Hide resolved
x-pack/legacy/plugins/siem/public/pages/detection_engine/translations.ts
Outdated
Show resolved
Hide resolved
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.
Checked out/tested locally, and performed code review. Great stuff here @XavierM, and good job on the handling immutables and editing of rules. Really comes together and you can get a feel for the whole flow with this addition! LGTM! 👍 🚀 🕵 🚒
…n-engine-rule-detail
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
…3252) * re-structure detection engine + change routing name * add editing/details feature for a rule add feature to not edit immutable rule * review I * review II * change constant * review III
Summary
FYI: Reviewers, we still need to work on bringing back where the user was on the page. Instead, to do it manually, I mean we have the history so we should be able to that. I will create another PR for that.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.[ ] This was checked for cross-browser compatibility, including a check against IE11[ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support[ ] Documentation was added for features that require explanation or tutorials[ ] Unit or functional tests were updated or added to match the most common scenarios[ ] This was checked for keyboard-only and screenreader accessibilityFor maintainers
[ ] This was checked for breaking API changes and was labeled appropriately[ ] This includes a feature addition or change that requires a release note and was labeled appropriately