I’m so glad to hear that you’re getting some value from the CLI!! I’m actively working on it and adding new functionality pretty fast; be sure and let me know if you see ways for it to be more useful.
Regarding adding headers to and transforming the payload of PagerDuty webhooks, I know that this is something that some of us are thinking about a lot, but you’re right in saying that it’s not currently supported in our product… I don’t personally have any insight into whether or when we would add it.
For my own needs, I have solved for this in one of two ways:
(1) PDaltagent can be modified pretty easily to send arbitrary JSON payloads with arbitrary headers. Starting points for doing that would be the ile_to_webhook function in pd.py, and the send_webhook function in tasks.py
(2) Sometimes for simpler needs I will use a Lambda. Especially if you don’t need any persistent state, it’s pretty easy to make a Lambda that listens for PD generic webhooks, transforms them and sends them on their way. Sometimes I will include some rudimentary shared secret in the URL so that nobody stumbles on it “by accident.”
Hope this helps, and thanks for using our stuff!