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

Add new events #2692

Merged
merged 5 commits into from
Dec 20, 2022
Merged

Add new events #2692

merged 5 commits into from
Dec 20, 2022

Conversation

M15terHyde
Copy link
Contributor

Description

A plugin in Caldera required knowledge of when facts were added or updated and when a new agent is added. These events can be shared with others.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Each uses the same single function call. If fire_event works, then these will work. No additional tests besides fire_event's are needed.

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works

once a new agent is registered, fire an event so plugins can act on this.
Add ability for plugins to act whenever a fact is updated or added
M15terHyde and others added 2 commits November 23, 2022 16:05
Notifying a human user via logging is fine but for an automated system a plugin will need to trigger on system ready and let connected services know.
@elegantmoose
Copy link
Contributor

@M15terHyde This is on queue to look at. Appreciate your patience.

@elegantmoose elegantmoose merged commit 9057e86 into mitre:master Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants