diff --git a/README.md b/README.md index 7bf0bbcea..1fc2d2db1 100644 --- a/README.md +++ b/README.md @@ -244,8 +244,8 @@ - UptimeKume
- UptimeKume + UptimeKuma
+ UptimeKuma
diff --git a/docs/providers/documentation/uptimekuma-provider.mdx b/docs/providers/documentation/uptimekuma-provider.mdx index b52f02769..06f45f486 100644 --- a/docs/providers/documentation/uptimekuma-provider.mdx +++ b/docs/providers/documentation/uptimekuma-provider.mdx @@ -24,8 +24,8 @@ Obtain UptimeKuma Host URL, Username and Password 1. Connect to UptimeKuma provider with the required parameters. 2. Use the Keep Backend API URL as the Host URL in UptimeKuma. [https://api.keephq.dev](https://api.keephq.dev) (Default) -3. Navigate to Account Settings in Keep, proceed to API Keys, and generate a API Key for Webhook. +3. Navigate to Account Settings in Keep, proceed to API Keys, and generate an API Key for Webhook. -## Usefull Links +## Useful Links - [UptimeKuma](https://uptime.kuma.pet/) diff --git a/keep/providers/uptimekuma_provider/uptimekuma_provider.py b/keep/providers/uptimekuma_provider/uptimekuma_provider.py index f5c8f7728..aeb159b17 100644 --- a/keep/providers/uptimekuma_provider/uptimekuma_provider.py +++ b/keep/providers/uptimekuma_provider/uptimekuma_provider.py @@ -15,9 +15,9 @@ @pydantic.dataclasses.dataclass -class UptimekumaProviderAuthConfig: +class UptimeKumaProviderAuthConfig: """ - UptimekumaProviderAuthConfig is a class that holds the authentication information for the UptimekumaProvider. + UptimeKumaProviderAuthConfig is a class that holds the authentication information for the UptimekumaProvider. """ host_url: str = dataclasses.field( @@ -48,7 +48,7 @@ class UptimekumaProviderAuthConfig: ) -class UptimekumaProvider(BaseProvider): +class UptimeKumaProvider(BaseProvider): PROVIDER_DISPLAY_NAME = "UptimeKuma" PROVIDER_TAGS = ["alert"] PROVIDER_CATEGORY = ["Monitoring"] @@ -87,7 +87,7 @@ def validate_scopes(self): return {"alerts": False} def validate_config(self): - self.authentication_config = UptimekumaProviderAuthConfig( + self.authentication_config = UptimeKumaProviderAuthConfig( **self.config.authentication ) if self.authentication_config.host_url is None: @@ -189,7 +189,7 @@ def _format_alert( }, ) - provider = UptimekumaProvider( + provider = UptimeKumaProvider( context_manager=context_manager, provider_id="uptimekuma", config=config,