/owldency

Action that checks if your application uses dependencies with known vulnerabilities.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

Owldency - Vulnerable Dependencies Hunter

License

Owldency is a GitHub action that checks if your application uses dependencies with known vulnerabilities. Actually it supports applications that use Maven, Gradle, and npm as the package manager. Under the hood, it uses OWASP Dependency-Check and npm audit to check the dependencies.

Finishing the analysis, Owldency will generate an artifact that has a HTML file containing the results. For applications that use Maven or Gradle, the HTML file will be generated by OWASP Dependency-Check, and for applications that use npm, it will be generated by npm-audit-html plugin.


Usage icon Usage

The simplest way to add Owldency in your workflow is just adding it as a step of your current workflow.

- name: Owldency
  uses: ZupIT/owldency@v1

Pre-requisites icon Pre-requisites

If you are using Maven or Gradle as your package manager, you must add the OWASP dependency-check plugin in your dependency manager file because the results will be much more accurate. If you're using npm, you can skip this section.

Maven Plugin Example - pom.xml

<plugin>
  <groupId>org.owasp</groupId>
    <artifactId>dependency-check-maven</artifactId>
    <version>6.1.2</version>
    <configuration>
      <formats>
        <format>HTML</format>
        <format>JSON</format>
      </formats>
    </configuration>
    <executions>
      <execution>
        <goals>
          <goal>check</goal>
        </goals>
      </execution>
    </executions>
</plugin>

Gradle Plugin Example - build.gradle

plugins {
  id 'org.owasp.dependencycheck' version '6.1.2'
}

dependencyCheck {
  formats = ['HTML', 'JSON']
}

Take care with your .gitignore file, because this action needs gradlew file to execute dependency-check plugin, if your .gitignore file is ignoring gradle-wrapper.jar and gradle-wrapper.properties, this action will not run as expected.


GitHub Actions icon Workflow Example

name: Owldency

on: push

jobs:
  owldency:
    runs-on: ubuntu-latest

    steps:
    - name: Checkout
      uses: actions/checkout@v2

    - name: Owldency
      uses: ZupIT/owldency@v1

Licenses icon Licenses

Owldency project icons made by Freepik, Roundicons, Icongeek26 and Darius Dan from Flaticon. The source code is licensed under Apache-2.0.