Skip to content

fix(api): gate /alerts/ingest on alerts:ingest API key scope - #4208

Merged
dipexplorer merged 1 commit into
RatLoopz:mainfrom
Kirtan-pc:fix/4199-api-key-scope-gate-on-alerts-ingest
Aug 8, 2026
Merged

fix(api): gate /alerts/ingest on alerts:ingest API key scope#4208
dipexplorer merged 1 commit into
RatLoopz:mainfrom
Kirtan-pc:fix/4199-api-key-scope-gate-on-alerts-ingest

fix(api): gate /alerts/ingest on alerts:ingest API key scope

96f97c8
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Aug 7, 2026 in 1m 32s

Annotations

Check failure on line 199 in apps/api/src/routes/alerts.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 37 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=RatLoopz_sahidawa-india&issues=AZ_cVWkdHpVEGdmuKVYx&open=AZ_cVWkdHpVEGdmuKVYx&pullRequest=4208