Skip to content

test: prove allowed_ips is ignored on key and policy level

13e0158
Select commit
Loading
Failed to load commit list.
Open

test: prove allowed_ips is ignored on key and policy level #7970

test: prove allowed_ips is ignored on key and policy level
13e0158
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Apr 4, 2026 in 1m 46s

Quality Gate failed

Failed conditions
C Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 131 in gateway/mw_mock_response_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "/listen-path/get" 3 times.

See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ1XfcoMHkM_Q1xdsBdn&open=AZ1XfcoMHkM_Q1xdsBdn&pullRequest=7970

Check failure on line 70 in gateway/mw_mock_response_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "application/json" 14 times.

See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ1XfcoMHkM_Q1xdsBdl&open=AZ1XfcoMHkM_Q1xdsBdl&pullRequest=7970

Check failure on line 143 in gateway/mw_mock_response_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Define a constant instead of duplicating this literal "application/xml" 4 times.

See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ1XfcoMHkM_Q1xdsBdm&open=AZ1XfcoMHkM_Q1xdsBdm&pullRequest=7970

Check warning on line 15 in user/session_allowed_ips_test.go

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

File is not properly formatted

See more on https://sonarcloud.io/project/issues?id=TykTechnologies_tyk&issues=AZ1XfcrKHkM_Q1xdsBdo&open=AZ1XfcrKHkM_Q1xdsBdo&pullRequest=7970