jenkinsci / jenkinsci/cloudbees-folder-plugin
[JENKINS-32433] folders should have a depth limit for rest api calls
- Dominant language
- Java
- Stars
- 59
- Forks
- 117
- PR merge metrics
- No merged PRs in 30d
Description
When users are using the rest api interface with a folder, the depth limit allows very large amounts of data to be returned, which can overload Jenkins.
There is no way to stop this in Jenkins, only by using apache in front of Jenkins and blocking patterns and query strings is this possible.
CB published an article on how to use tree to limit this
https://www.cloudbees.com/blog/taming-jenkins-json-api-depth-and-tree
---
Originally reported by mjbros, imported from: folders should have a depth limit for rest api calls
jglick
Raw content of original issue
When users are using the rest api interface with a folder, the depth limit allows very large amounts of data to be returned, which can overload Jenkins.
There is no way to stop this in Jenkins, only by using apache in front of Jenkins and blocking patterns and query strings is this possible.
CB published an article on how to use tree to limit this
https://www.cloudbees.com/blog/taming-jenkins-json-api-depth-and-tree
- environment:
Cloudbees Jenkins 14.11
Contributor guide
Assessment
This issue has not been assessed yet.