Skip to content

Add new events#2692

Merged
mkultraWasHere merged 5 commits into
apache:masterfrom
M15terHyde:master
Dec 20, 2022
Merged

Add new events#2692
mkultraWasHere merged 5 commits into
apache:masterfrom
M15terHyde:master

Conversation

@M15terHyde
Copy link
Copy Markdown
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.
@mkultraWasHere
Copy link
Copy Markdown
Contributor

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

@mkultraWasHere mkultraWasHere added the good submission Quality Contribution (Question/Issue/PR are well explained/documented or impactful) label Dec 20, 2022
@mkultraWasHere mkultraWasHere merged commit 9057e86 into apache:master Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

good submission Quality Contribution (Question/Issue/PR are well explained/documented or impactful)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants