-
Notifications
You must be signed in to change notification settings - Fork 275
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
Added a new trigger on node maintenance task #4948
Conversation
lib/pf/node.pm
Outdated
'tid' => 'node_maintenance', | ||
'type' => 'internal', | ||
); | ||
$apiclient->call('trigger_violation', %violation_data); |
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.
trigger_violation
and %violation_data
need to be renamed to security_event
.
b5120b2
to
b5d1927
Compare
@nqb, take another look and merge |
lib/pf/node.pm
Outdated
'tid' => 'node_maintenance', | ||
'type' => 'internal', | ||
); | ||
$apiclient->call('security_event', %security_event); |
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.
$apiclient->call('security_event', %security_event); | |
$apiclient->notify('trigger_security_event', %security_event); |
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.
Make following change and I will merge.
BUMP |
Description
Add a security event trigger on node maintenance task
Impacts
pfmon
Delete branch after merge
YES
Checklist
NEWS file entries
Enhancements