[AMBARI-23123] Fixing BlackDuck found security issues in Ambari Server #538
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this pull request?
During BlackDuck check there were several security vulnerabilities found which we needed to eliminate (or at least mitigate). All of these changes have been reviewed/tested one-by-one on branch-2.6 earlier in the past weeks:
How was this patch tested?
Latest uni test results in ambari-server:
In addition to uni testing I checked Maven's dependency resolution and executed integration testing in my local test environment:
I replaced the content of usr/lib/ambari-server in my vagrant host with the content from
ambari-server/target/ambari-server-2.6.0.0.0-dist/usr/lib/ambari-server(where the relevant JAR(s) were replaced/removed with their expected version) and restarted the server; logged in and did some actions (in this case I used the REST API to create a cluster via BPs); there were no any issues.