muqeetkhan20 / JuneSanity

0 stars 0 forks source link

SLA on GET:/api/v1/savings-transaction #2111

Open qauser21 opened 3 years ago

qauser21 commented 3 years ago

Title: SLA Vulnerability on GET:/api/v1/savings-transaction 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/savings-transaction?pageSize=1001 Environment: Master Playbook: ApiV1SavingsTransactionGetQueryParamPagesizeSla Researcher: [apisec Bot]

QUICK TIPS

Suggestion: Improve the performance of this call. Effort Estimate: 1.0 Hrs Wire Logs: 00:43:42 [D] [AVSTGQPPSla] : Endpoint [http://95.217.118.53:8080/api/v1/savings-transaction?pageSize=1001] 00:43:42 [D] [AVSTGQPPSla] : Method [GET] 00:43:42 [D] [AVSTGQPPSla] : Authorization [Default] 00:43:42 [D] [AVSTGQPPSla] : Request headers [[Accept:"application/json", Content-Type:"application/json", Authorization=[**]]] 00:43:42 [D] [AVSTGQPPSla] : Request [] 00:43:42 [D] [AVSTGQPPSla] : Status code [200] 00:43:42 [D] [AVSTGQPPSla] : 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=NDllZjFkNTAtZTVkYi00YmIzLTk0YmYtMTc5ZTQzMmQ1NTZm; Path=/; HttpOnly", Content-Type:"application/json;charset=UTF-8", Transfer-Encoding:"chunked", Date:"Mon, 13 Sep 2021 00:43:41 GMT"]] 00:43:42 [D] [AVSTGQPPSla] : Response [{ "requestId" : "None", "requestTime" : "2021-09-13T00:43:42.227+0000", "errors" : false, "messages" : [ ], "data" : [ ], "totalPages" : 0, "totalElements" : 0 }] 00:43:42 [D] [AVSTGQPPSla] : Response time [1479] 00:43:42 [D] [AVSTGQPPSla] : Response size [137] 00:43:42 [E] [AVSTGQPPSla] : Assertion [@StatusCode == 200 AND @ResponseTime < 1000] resolved-to [200 == 200 AND 1479 < 1000] result [Failed]

IMPORTANT LINKS

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

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

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

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

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

--- apisec Bot ---