Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve filters of Admin REST API for GET https://localhost:9443/api/am/admin/v1/throttling/blacklist to filter exact matches of "/context/version" #3084

Closed
ksankeerth opened this issue Aug 29, 2024 · 0 comments

Comments

@ksankeerth
Copy link

Problem

Currently, conditionValue = "/context/version" filter returns all the API have substrings of context. It is better if it could be improved to return exact blocking condition for matching context and version.

https://127.0.0.1:9443/api/am/admin/v1/throttling/policies/blacklist?query=conditionType:api&conditionValue="/test/1.0.0"

Solution

Improve filter:

Eg: conditionValue="/test/1.0.0"

https://127.0.0.1:9443/api/am/admin/v1/throttling/policies/blacklist?query=conditionType:api&conditionValue="/test/1.0.0"

Affected Component

APIM

Version

3.2.1

Implementation

No response

Related Issues

No response

Suggested Labels

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants