[EAGLE-1102] Integrate CVE maven plugin
Purpose
Purpose of this pull request is to integrate the CVE maven plugin for eagle to check security vulnerabilities in dependencies during build time. This will help to detect publicly disclosed vulnerabilities contained within eagle’s dependencies (and the dependencies of all child modules).
Usage
This plugin configuration is attached to the
mvn verifyphase. Therefore, this will run automatically when we perform amvn clean verify. Once themvnprocess is completed, the plugin will create adependency-check-report.htmlreport intarget/dir with the detect vulnerabilities.In case if you need to skip this plugin, use
owasp.check.skip=trueproperty (i.emvn clean verify -Dowasp.check.skip=true).Remarks
- Fixes https://issues.apache.org/jira/browse/EAGLE-1102
- https://issues.apache.org/jira/browse/EAGLE-1100
- https://github.com/jeremylong/DependencyCheck
- https://jeremylong.github.io/DependencyCheck/dependency-check-maven/aggregate-mojo.html
- https://jeremylong.github.io/DependencyCheck/general/suppression.html
Be sure to do all of the following to help us incorporate your contribution quickly and easily:
- Make sure the PR title is formatted like:
[EAGLE-<Jira issue #>] Description of pull request- Make sure tests pass via
mvn clean verify. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).- Replace
<Jira issue #>in the title with the actual Jira issuenumber, if there is one.- If this contribution is large, please file an Apache
[Individual Contributor License Agreement](https://www.apache.org/licenses/icla.txt).
Author: Grainier grainier@wso2.com
Closes #1005 from grainier/EAGLE-1102.
Apache Eagle
Apache® Eagle™ is an open source analytics solution for identifying security and performance issues instantly on big data platforms e.g. Apache Hadoop, Apache Spark, NoSQL etc. It analyzes data activities, yarn applications, jmx metrics, and daemon logs etc., provides state-of-the-art alert engine to identify security breach, performance issues and shows insights.
For more details, please visit https://eagle.apache.org
Documentation
You can find the latest Eagle documentation on https://eagle.apache.org. This README file only contains basic setup instructions.
Downloads
Getting Started
Prerequisites
Version 1.8Version 3.xVersion 3.xBuilding Eagle
Eagle is built using Apache Maven. NPM should be installed (On MAC OS try “brew install node”). To build Eagle, run:
After successfully building, you will find eagle binary tarball at:
Testing Eagle
Developing Eagle
(Optional) Install/Start HDP Sandbox which provide an all-in-one virtual machine with most dependency services like Zookeeper, Kafka, HBase, etc and monitored hadoop components.
Import Eagle as maven project with popular IDE like IntelliJ IDEA
Start Eagle Server in
debugmode by running (default http port:9090, default smtp port:5025)Which will start some helpful services for convenient development:
http://localhost:9090localhost:5025with REST API athttp://localhost:9090/rest/mailStart Eagle Apps with Eagle Web UI in
LOCAL MODE.Getting Help
FAQ
https://cwiki.apache.org/confluence/display/EAG/FAQ
Contributing
Please review the Contribution to Eagle Guide for information on how to get started contributing to the project.
License
Licensed under the Apache License, Version 2.0. More details, please refer to LICENSE file.