Hello
in Our jira server, some rest api ( add below ) can be reached anonymous. we want to reach with only authentication. how can we solve the issue ?
the anonymous reaching api;
https://itsupport.vodafone.com.tr/rest/menu/latest/admin
https://itsupport.vodafone.com.tr/rest/api/2/projectCategory?maxResults=1000
https://itsupport.vodafone.com.tr/rest/api/2/resolution
Hi Hüseyin
i do not think that there is a out of the box solution to enforce authentication for the mentioned endpoints
The only REST resources that allow such kind of access are those that are meant for anonymous access. These have to be explicitly marked with @AnonymousAllowed
or they will automatically reject any anonymous request. In addition i think that some endpoints need to be accessible before any authentication might take place (not sure if that is the case for the ones you listed, but i could think of some scenarios=
One option you could think of would be to block them explicitly on the load balancer (if in use) at least for access from the internet.
Looking at the first rest call, the information returned is related to the configured app links, which could also be extracted from the WebUI
Cheers
Kurt
Hi Kurt
For first api call is as you said. But other api calls can be reached with authentication at WebGUI. so we need to reach with authentication.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hüseyin Çam , sorry. How you resolved please ? Thanks a loto for the info. We have the same problem. Have you blocked directly on the load balancer ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Hüseyin Çam
I know it's a bit late, but I stumbled upon your post today and wanted to drop a quick comment.
I'm Ananjan from the miniOrange team. Just wanted to share that we have an app in the Atlassian marketplace that can help you easily address this use case. If you are interested feel free to check the app here: Enhance API Security for Jira REST APIs with OAuth/API Token | Atlassian Marketplace
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.