aquasecurity / aquasecurity/postee

Opsgenie URL hardcoded "ApiUrl: api.opsgenie.com". Not possible to change to "api.eu.opsgenie.com"

Open
#492 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
204
Forks
65
Avg merge
6d 21h
Merged PRs (30d)
1

Description

## Description

## What did you expect to happen?
To be able to add in the config file the URL, something like:
url: https://api.eu.opsgenie.com

## What happened instead?

## Output of run with `POSTEE_DEBUG=true`:
postee INFO[2022-11-09T15:42:34.961970252Z] Client is configured with ApiUrl: api.opsgenie.com, LogLevel: info, RetryMaxCount: 4
```
(paste your output here)
```

## Additional details (environment setup, networking info...):

Contributor guide

Open the contributing guide

Research direction

Start by locating the Opsgenie client configuration and the hardcoded ApiUrl value, then inspect how configuration values are parsed. Done means the Opsgenie URL can be set to api.eu.opsgenie.com through the configuration and the resulting client uses that value.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.