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

[FEATURE] Автодополнение статичных полей нормализаций #98

Open
1 task done
DmitryOffsec opened this issue Jun 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@DmitryOffsec
Copy link
Contributor

DmitryOffsec commented Jun 1, 2023

Is there an existing feature request or discussion for this?

  • I have searched the existing feature requests and discussions

Problem

При написании кода правила можно реализовать автодополнение значений статичных полей нормализаций в блоке filter.
Например, вводим msgid == "" и появляется выпадающий список из доступных msgid из нормализаций текущей базы знаний.
Аналогично для event_src.vendor, event_src.title, event_src.category, category.generic, category.high, category.low.

Solution

На стороне Language Server-а можно распарсить статические поля доступных нормализаций и с помощью этих значений реализовать автодополнение.

Improvements

No response

Anything else?

No response

@DmitryOffsec DmitryOffsec added the enhancement New feature or request label Jun 1, 2023
@DmitryOffsec DmitryOffsec moved this to Pending Decision in VSCode XP Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Pending Decision
Development

No branches or pull requests

1 participant