ansible / eda-server

Event Driven Ansible for AAP
Apache License 2.0
66 stars 42 forks source link

fix: check for valid settings before creating EventStreams #1001

Closed mkanoor closed 1 month ago

mkanoor commented 1 month ago

JIRA: https://issues.redhat.com/browse/AAP-29132

Before we create event streams we have to check the settings are proper. If the EDA_WEBHOOK_BASE_URL is missing we should not allow users to create event streams that use non mTLS webhooks.

If the EDA_WEBHOOK_MTLS_BASE_URL is missing we should not allow users to create event streams that use mTLS webhook.

Screenshot 2024-08-12 at 12 29 13 PM Screenshot 2024-08-12 at 12 28 47 PM
sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud