Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled maven OWASP (security check) plugin in all projects #133

Open
yurem opened this issue May 29, 2019 · 1 comment
Open

Enabled maven OWASP (security check) plugin in all projects #133

yurem opened this issue May 29, 2019 · 1 comment
Assignees
Milestone

Comments

@yurem
Copy link
Contributor

yurem commented May 29, 2019

Right now we enabled it only in oxAuth:

			<!-- OWASP plugin -->
			<plugin>
				<groupId>org.owasp</groupId>
				<artifactId>dependency-check-maven</artifactId>
				<executions>
					<execution>
						<goals>
							<goal>check</goal>
						</goals>
					</execution>
				</executions>
			</plugin>

Here is sample output about it scan:

...
00:00  INFO: Vulnerability found: jquery below 3.0.0-beta1
00:00  INFO: Vulnerability found: jquery below 2.2.0
00:00  INFO: Vulnerability found: jquery below 3.4.0
00:00  INFO: Vulnerability found: bootstrap below 3.4.1
00:00  INFO: Vulnerability found: bootstrap below 3.4.0
00:00  INFO: Vulnerability found: bootstrap below 3.4.0
00:00  INFO: Vulnerability found: bootstrap below 3.4.0
00:00  INFO: Vulnerability found: bootstrap below 3.4.1
00:00  INFO: Vulnerability found: bootstrap below 3.4.0
00:00  INFO: Vulnerability found: bootstrap below 3.4.0
00:00  INFO: Vulnerability found: bootstrap below 3.4.0
00:00  INFO: Vulnerability found: jquery below 3.0.0-beta1
00:00  INFO: Vulnerability found: jquery below 2.2.0
00:00  INFO: Vulnerability found: jquery below 3.4.0
00:01  INFO: Vulnerability found: moment.js below 2.11.2
...
@yurem yurem added this to the 4.0 milestone May 29, 2019
@yurem yurem self-assigned this May 29, 2019
@yurem yurem modified the milestones: 4.0, 4.1 Jun 4, 2019
@yuriyz
Copy link
Contributor

yuriyz commented Jul 22, 2019

We can also consider to use https://snyk.io/. It allows to open PR's with fixes. Advantage is that we don't have it inside pom.xml which slow down build time. We can run it once per week and send report. We can also put findbugs there (which consumes a lot of build time) ... Or otherwise if we want to keep it in pom then put it in maven profile and activate when needed to keep build time shorter.
Like 3 stages:

  • build as fast as possible (no tests, no reports)
  • build with tests, no reports
  • build with tests and reports.

@yuriyz yuriyz modified the milestones: 4.1, 4.2 Dec 12, 2019
@yurem yurem modified the milestones: 4.2, 5.0 May 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants