muqeetkhan20 / JuneSanity

0 stars 0 forks source link

SLA on GET:/api/v1/orgs #2097

Open qauser21 opened 3 years ago

qauser21 commented 3 years ago

Title: SLA Vulnerability on GET:/api/v1/orgs Project: Sanity 7th July Description: This took more time to return than the expected SLA. It might impact the overall performance of the application.

Assertion Performance SLA scanning allows endpoint performance monitoring from one or more regions based on your customer usage. Keep historical data and identify bottlenecks before they become much worse.Risk: SLA Severity: Medium API Endpoint: http://95.217.118.53:8080/api/v1/orgs?page=1001&pageSize=1001 Environment: Master Playbook: ApiV1OrgsGetQueryParamPageSla Researcher: [apisec Bot]

QUICK TIPS

Suggestion: Improve the performance of this call. Effort Estimate: 1.0 Hrs Wire Logs: 00:46:55 [D] [AVOGQPPSla] : Endpoint [http://95.217.118.53:8080/api/v1/orgs?page=1001&pageSize=1001] 00:46:55 [D] [AVOGQPPSla] : Method [GET] 00:46:55 [D] [AVOGQPPSla] : Authorization [Default] 00:46:55 [D] [AVOGQPPSla] : Request headers [[Accept:"application/json", Content-Type:"application/json", Authorization=[**]]] 00:46:55 [D] [AVOGQPPSla] : Request [] 00:46:55 [D] [AVOGQPPSla] : Status code [200] 00:46:55 [D] [AVOGQPPSla] : Response headers [[X-Content-Type-Options:"nosniff", X-XSS-Protection:"1; mode=block", Cache-Control:"no-cache, no-store, max-age=0, must-revalidate", Pragma:"no-cache", Expires:"0", X-Frame-Options:"DENY", Set-Cookie:"SESSION=MTBlZDFjNDItYmRhNi00NDM3LWFkNDQtOTAxZGU3NmJmMzRk; Path=/; HttpOnly", Content-Type:"application/json;charset=UTF-8", Transfer-Encoding:"chunked", Date:"Mon, 23 Aug 2021 00:46:55 GMT"]] 00:46:55 [D] [AVOGQPPSla] : Response [{ "requestId" : "None", "requestTime" : "2021-08-23T00:46:55.266+0000", "errors" : false, "messages" : [ ], "data" : [ ], "totalPages" : 0, "totalElements" : 77131 }] 00:46:55 [D] [AVOGQPPSla] : Response time [2114] 00:46:55 [D] [AVOGQPPSla] : Response size [141] 00:46:55 [E] [AVOGQPPSla] : Assertion [@StatusCode == 200 AND @ResponseTime < 1000] resolved-to [200 == 200 AND 2114 < 1000] result [Failed]

IMPORTANT LINKS

Vulnerability Details: https://cloud.fxlabs.io/#/app/projects/8a8093567a8012b6017a803bf31114fd/dashboard/8a8093407b5d617c017b70797ecc0713/details

Project: https://cloud.fxlabs.io/#/app/projects/8a8093567a8012b6017a803bf31114fd/allScans

Environment: https://cloud.fxlabs.io/#/app/projects/8a8093567a8012b6017a803bf31114fd/environments/8a8093567a8012b6017a803bf3181500/edit

Scan Dashboard: https://cloud.fxlabs.io/#/app/projects/8a8093567a8012b6017a803bf31114fd/profiles/8a8093567a8012b6017a803c070d16cb/runs/8a8093407b5d617c017b7074c6c77f89

Playbook: https://cloud.fxlabs.io/#/app/projects/8a8093567a8012b6017a803bf31114fd/playbooks/ApiV1OrgsGetQueryParamPageSla

Coverage: https://cloud.fxlabs.io/#/app/projects/8a8093567a8012b6017a803bf31114fd/categories

Code Sample: https://cloud.fxlabs.io/#/app/projects/8a8093567a8012b6017a803bf31114fd/dashboard/8a8093407b5d617c017b70797ecc0713/codesamples

PS: Please contact support@apisec.ai for apisec access and login issues.

--- apisec Bot ---