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

FR: Add custom events in packs #1806

Open
pyhedgehog opened this issue May 10, 2023 · 0 comments
Open

FR: Add custom events in packs #1806

pyhedgehog opened this issue May 10, 2023 · 0 comments

Comments

@pyhedgehog
Copy link
Contributor

pyhedgehog commented May 10, 2023

problem
If you are using custom event in trigger (either in when_trigger field or in configuration.eventType field of emit_event action or in emitEvent() function) and then move this trigger to other instance with pack/install custom event will not (and CAN NOT) be moved with it.

Proposed solutions

  1. Add "events" to kind of objects that can be packed.
  2. Add any event in when_trigger to custom if not defined.

First option is better as more explicit.
Second option doesn't saves oevent options (like hasChannel field and switch in event_log_settings config).

@pyhedgehog pyhedgehog changed the title Custom events and packs FR: Add custom events in packs May 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant