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

Updates to allow for use of additional PD-CEF fields #53

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Mar 18, 2024

  1. 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 <anguswilliams@gmail.com>
    anguswilliams committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    b808fcf View commit details
    Browse the repository at this point in the history