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

Adding OpsGenie API key #26

Merged
merged 1 commit into from
Sep 20, 2022
Merged

Adding OpsGenie API key #26

merged 1 commit into from
Sep 20, 2022

Conversation

evanstucker-hates-2fa
Copy link
Contributor

Example output (good):

$ ./keyhacks.sh opsgenie_api_key redacted-reda-cted-reda-ctedredacted
curl https://api.opsgenie.com/v2/alerts -H 'Authorization: GenieKey redacted-reda-cted-reda-ctedredacted'

{"data":[{"seen":true,"id":"b009e3b0-9f2d-4f75-9f7f-f9d04cead481-1659735552430","tinyId":"25812","alias":"fe584c... more JSON

Example output (bad):

$ ./keyhacks.sh opsgenie_api_key redacted-reda-cted-reda-ctedredacted
curl https://api.opsgenie.com/v2/alerts -H 'Authorization: GenieKey redacted-reda-cted-reda-ctedredacted'

{"message":"Could not authenticate","took":0.002,"requestId":"806c0e3d-e10e-40e3-97e3-76e59743c480"}

@gwen001 gwen001 merged commit 4e91a90 into gwen001:master Sep 20, 2022
@gwen001
Copy link
Owner

gwen001 commented Sep 20, 2022

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants