muqeetkhan20 / JuneSanity

0 stars 0 forks source link

SLA on GET:/api/v1/orgs/find-by-name/{name} #2105

Open qauser21 opened 3 years ago

qauser21 commented 3 years ago

Title: SLA Vulnerability on GET:/api/v1/orgs/find-by-name/{name} 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/find-by-name/12345?page=1001&pageSize=1001 Environment: Master Playbook: ApiV1OrgsFindByNameNameGetQueryParamPageSla Researcher: [apisec Bot]

QUICK TIPS

Suggestion: Improve the performance of this call. Effort Estimate: 1.0 Hrs Wire Logs: 00:48:03 [D] [AVOFBNNGQPPSla] : Endpoint [http://95.217.118.53:8080/api/v1/orgs/find-by-name/12345?page=1001&pageSize=1001] 00:48:03 [D] [AVOFBNNGQPPSla] : Method [GET] 00:48:03 [D] [AVOFBNNGQPPSla] : Authorization [Default] 00:48:03 [D] [AVOFBNNGQPPSla] : Request headers [[Accept:"application/json", Content-Type:"application/json", Authorization=[**]]] 00:48:03 [D] [AVOFBNNGQPPSla] : Request [] 00:48:03 [D] [AVOFBNNGQPPSla] : Status code [200] 00:48:03 [D] [AVOFBNNGQPPSla] : 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=Mjc4NWEzYzQtNTk3NC00YjJhLTk0YWItZjdlMjE4YjVkMjA0; Path=/; HttpOnly", Content-Type:"application/json;charset=UTF-8", Transfer-Encoding:"chunked", Date:"Wed, 08 Sep 2021 00:48:03 GMT"]] 00:48:03 [D] [AVOFBNNGQPPSla] : Response [{ "requestId" : "None", "requestTime" : "2021-09-08T00:48:03.783+0000", "errors" : true, "messages" : [ { "type" : "ERROR", "key" : "", "value" : "No value present" } ], "data" : null, "totalPages" : 0, "totalElements" : 0 }] 00:48:03 [D] [AVOFBNNGQPPSla] : Response time [1245] 00:48:03 [D] [AVOFBNNGQPPSla] : Response size [190] 00:48:03 [E] [AVOFBNNGQPPSla] : Assertion [@StatusCode == 200 AND @ResponseTime < 1000] resolved-to [200 == 200 AND 1245 < 1000] result [Failed]

IMPORTANT LINKS

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

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

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

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

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

--- apisec Bot ---