Skip to content

Scan open ports with vulnerabilities and report results as JSON.

License

Notifications You must be signed in to change notification settings

MTES-MCT/nmap-action

Repository files navigation

nmap-action

Scan open ports with vulnerabilities and report results as JSON.

units-test

Github action that scan open ports with nmap and its vulners script and report results as JSON.

Usage

jobs:
  scan:
    runs-on: ubuntu-latest
    steps:
      - uses: "MTES-MCT/nmap-action@main"
        with:
          host: scanme.nmap.org
          outputDir: 'scans'
          outputFile: 'nmapvuln.json'
          raw: false
          withVulnerabilities: true

You can choose your withVulnerabilities or not. You can choose directory output and file name.

See action.yml for details and default inputs.

Hacking

To test locally, install act.

npm run all
act -j units

About

Scan open ports with vulnerabilities and report results as JSON.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published