muqeetkhan20 / JuneSanity

0 stars 0 forks source link

SLA on GET:/api/v1/orgs/allorgs #2075

Open qauser21 opened 3 years ago

qauser21 commented 3 years ago

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

QUICK TIPS

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

IMPORTANT LINKS

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

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

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

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

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

--- apisec Bot ---