-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to allow for use of additional PD-CEF fields
- Add `--client-name` and `--sensu-base-url`. If provided, these options add a link to the Sensu dashboard from the Pagerduty Alert. - Add `--link-annotations` option. If set, this option will any links provided in the check or entity annotations as links in the Pagerduty Event. - Add ability to template additional [PD-CEF][PD-CEF] Fields from Sensu event data: - Add `--use-event-timestamp` option. If set this option will set the `Timestamp` field to the timestamp of the Sensu event. - Add `--class-template`, `--group-template` and `--component-template` option. If provided, this option allows for the `Class`, `Group` and `Component` [PD-CEF][PD-CEF] fields to be templated from Sensu event data. Note the `Component` field is set to the Sensu events `.Check.Name` by default if no template is provided to retain compatibility. Signed-off-by: Angus Williams <[email protected]>
- Loading branch information
1 parent
ada996f
commit 9f91885
Showing
3 changed files
with
649 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.