Skip to content

Example purecsv parser for nessus export records

Notifications You must be signed in to change notification settings

derekmorr/nessus-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nessus CSV loader

Sample loader for Nessus CSV export files, using the PureCSV library.

Prerequisites

You will need Java 8 installed. The app will download any additional dependencies.

Running the app:

To run the sample program:

./sbt "run nessus_test.csv" 

The app uses sbt to build and package the app. If you don't have sbt installed, you can use the bundled sbt runner (./sbt).

The first time you build the app, it will need to download dependencies and compile support code. This will take several minutes, but it only happens on the first build.

Testing the app

To run unit tests, run

./sbt test

Code coverage report

To generate a code coverage report run,

./sbt clean coverage test coverageReport

The HTML report will be written to target/scala-2.12/scoverage-report/index.html.

Code quality analysis

The project uses the scapegoat tool for code quality analysis. To generate a scapegoat report, run

./sbt scapegoat

The HTML report will be written to target/scala-2.12/scapegoat-report/scapegoat.html

Vulnerability checks

The project uses the sbt-dependency-check tool to query the OWASP Dependency Check database. You can check the project's depenencies for known security vulnerability by running

 ./sbt check

The HTML report will be written to target/scala-2.12/dependency-check-report.html

Note - the first time you run this command it will take much longer than normal because it has to download the vulnerability database from OWASP.

Manually installing dependencies

The project depends on Scala and its build tool, sbt. If the sbt script fails to install Scala and SBT, you can manually install them.

On OS X, assuming you have homebrew installed, the easiest way to install these is via:

brew install scala sbt

Alternatively, you can download native OS packages from the links above.

About

Example purecsv parser for nessus export records

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published