ceopaludetto / owasp-to-xml

Transform your owasp vulnerabilities into xml supression

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Owasp to XML Supression

Convert your owasp vulnerabilities string into XML supressions automatically

How to use

I don't want to transform this code into a package, so you'll need:

  1. To clone the repo and install deps:
pnpm i
  1. Create a input.txt file with the owasp result:
aws-json-protocol-2.17.267.jar (pkg:maven/software.amazon.awssdk/aws-json-protocol@2.17.267, cpe:2.3:a:amazon:aws-sdk-java:2.17.267:*:*:*:*:*:*:*, cpe:2.3:a:json-java_project:json-java:2.17.267:*:*:*:*:*:*:*) : CVE-2022-45688
jackson-core-2.13.4.jar (pkg:maven/com.fasterxml.jackson.core/jackson-core@2.13.4, cpe:2.3:a:fasterxml:jackson-modules-java8:2.13.4:*:*:*:*:*:*:*, cpe:2.3:a:json-java_project:json-java:2.13.4:*:*:*:*:*:*:*) : CVE-2022-45688
  1. Run the script with:
pnpm start
  1. See generated output.xml

Why?

I hate to write owasp supressions manually, then I've created this script to write it down for me! 🤓

About

Transform your owasp vulnerabilities into xml supression

License:MIT License


Languages

Language:TypeScript 100.0%