muqeetkhan20 / JuneSanity

0 stars 0 forks source link

SLA on GET:/api/v1/orgs/search #2082

Open qauser21 opened 3 years ago

qauser21 commented 3 years ago

Title: SLA Vulnerability on GET:/api/v1/orgs/search 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/search?page=1001&pageSize=1001 Environment: Master Playbook: ApiV1OrgsSearchGetQueryParamPageSla Researcher: [apisec Bot]

QUICK TIPS

Suggestion: Improve the performance of this call. Effort Estimate: 1.0 Hrs Wire Logs: 00:43:50 [D] [AVOSGQPPSla] : Endpoint [http://95.217.118.53:8080/api/v1/orgs/search?page=1001&pageSize=1001] 00:43:50 [D] [AVOSGQPPSla] : Method [GET] 00:43:50 [D] [AVOSGQPPSla] : Authorization [Default] 00:43:50 [D] [AVOSGQPPSla] : Request headers [[Accept:"application/json", Content-Type:"application/json", Authorization=[**]}] 00:43:50 [D] [AVOSGQPPSla] : Request [] 00:43:50 [D] [AVOSGQPPSla] : Status code [200] 00:43:50 [D] [AVOSGQPPSla] : 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=YmFkOTMyMGUtNDRjNy00ZjliLWI1ZjgtZWQzNDM4MGNlNjA3; Path=/; HttpOnly", Content-Type:"application/json;charset=UTF-8", Transfer-Encoding:"chunked", Date:"Tue, 03 Aug 2021 00:43:50 GMT"]] 00:43:50 [D] [AVOSGQPPSla] : Response [{ "requestId" : "None", "requestTime" : "2021-08-03T00:43:50.850+0000", "errors" : false, "messages" : [ ], "data" : [ ], "totalPages" : 0, "totalElements" : 33798 }] 00:43:50 [D] [AVOSGQPPSla] : Response time [1048] 00:43:50 [D] [AVOSGQPPSla] : Response size [141] 00:43:50 [E] [AVOSGQPPSla] : Assertion [@StatusCode == 200 AND @ResponseTime < 1000] resolved-to [200 == 200 AND 1048 < 1000] result [Failed]

IMPORTANT LINKS

Vulnerability Details: https://cloud.fxlabs.io/#/app/projects/8a8093567a8012b6017a803bf31114fd/dashboard/8a8093e87b0686f1017b09777e9e4f29/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/8a8093e87b0686f1017b0975967e4c31

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

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

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

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

--- apisec Bot ---