PromucFlow_constructor/app/server
Arpit Mohan c1dbca6779
fix: Adding checks to prevent disallowed hosts from connecting via Elasticsearch plugin (#15834)
## Description

This PR fixes an issue where a potentially malicious user can connect to disallowed hosts from the Elasticsearch plugin within Appsmith. This is because Elasticsearch client SDK is a HTTP interface underneath the hood. 

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## How Has This Been Tested?

- Junits for the following:
  - create datasource with disallowed host
  - validate datasource with disallowed host
  - test datasource with disallowed host

## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
2022-08-08 21:07:15 +05:30
..
.run feat: Added application templates (#10952) 2022-02-09 23:13:31 +06:00
appsmith-git chore: Update text message for git remote url placeholder (#15553) 2022-08-02 12:55:51 +05:30
appsmith-interfaces chore: Closing resources to ensure there are no memory leaks (#15343) 2022-07-29 19:51:10 +05:30
appsmith-plugins fix: Adding checks to prevent disallowed hosts from connecting via Elasticsearch plugin (#15834) 2022-08-08 21:07:15 +05:30
appsmith-server feat: Added unconfigured datasources to the template API response (#15606) 2022-08-04 09:50:54 +05:30
envs feat: Add disconnect button on auth config pages and form login callout banner (#11389) 2022-03-02 23:48:50 +05:30
mongo-seed
reactive-caching feat: Annotation based Caching library similar to spring's Cacheable with WebFlux support (#14416) 2022-07-28 21:45:47 +05:30
scripts feat: migrate from org to workspace under phase 3 (#14158) 2022-07-20 17:24:16 +05:30
.gitignore
build.sh chore: Upgrade dependencies reported by Dependabot (#13735) 2022-07-19 10:23:27 +05:30
buildpack-run.sh
docker-compose.yml
Dockerfile Add healthcheck to docker (#13154) 2022-05-06 11:45:56 +05:30
entrypoint.sh Remove echo MongoDB URI 2021-12-24 22:01:39 +05:30
pom.xml feat: Annotation based Caching library similar to spring's Cacheable with WebFlux support (#14416) 2022-07-28 21:45:47 +05:30
Procfile
README.md
system.properties

Appsmith Server

This is the server-side repository for the Appsmith framework.

For details on setting up your development machine, please refer to the Setup Guide