Skip to content
Back to skills

Implementing Vulnerability Management With Greenbone

ASecurity

Deploy and operate Greenbone/OpenVAS vulnerability management using the

  • 65 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added June 3, 2026
securitypythonapisecurity

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 4 files and shows the line behind each finding

Scanned June 3, 2026

npx -y skills add 26zl/cybersec-toolkit --skill implementing-vulnerability-management-with-greenbone --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Implementing Vulnerability Management With Greenbone?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Implementing Vulnerability Management With Greenbone
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/26zl-implementing-vulnerability-management-with-greenbo/badge)](https://www.skillsdirectory.com/skills/26zl-implementing-vulnerability-management-with-greenbo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: implementing-vulnerability-management-with-greenbone
description: Deploy and operate Greenbone/OpenVAS vulnerability management using the
  python-gvm library to create scan targets, execute vulnerability scans, and parse
  scan reports via GMP protocol.
domain: cybersecurity
subdomain: vulnerability-management
tags:
- openvas
- greenbone
- vulnerability-scanning
- gmp
- python-gvm
- vulnerability-management
- compliance
version: '1.0'
author: mahipal
license: Apache-2.0
nist_csf:
- ID.RA-01
- ID.RA-02
- ID.IM-02
- ID.RA-06
mitre_attack:
- T1190
- T1203
- T1068
- T1046
---
# Implementing Vulnerability Management with Greenbone

## Overview

Greenbone Vulnerability Management (GVM) is the open-source framework behind OpenVAS, providing comprehensive vulnerability scanning with over 100,000 Network Vulnerability Tests (NVTs). The python-gvm library provides a Python API to interact with GVM through the Greenbone Management Protocol (GMP), enabling programmatic creation of scan targets, task management, scan execution, and report retrieval. This skill covers connecting to GVM via Unix socket or TLS, authenticating, creating scan configs and targets, launching scans, and parsing XML-based vulnerability reports to produce actionable findings.


## When to Use

- When deploying or configuring implementing vulnerability management with greenbone capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation

## Prerequisites

- Greenbone Community Edition or Greenbone Enterprise Appliance installed
- Python 3.9+ with `python-gvm` (`pip install python-gvm`)
- GMP access credentials (username/password)
- Network connectivity to GVM daemon (Unix socket or TCP/TLS)
- Understanding of CVSS scoring and vulnerability classification

## Steps

1. Install python-gvm: `pip install python-gvm`
2. Establish a GMP connection via `UnixSocketConnection` or `TLSConnection`
3. Authenticate with `gmp.authenticate(username, password)`
4. Create a target with `gmp.create_target(name, hosts=[...], port_list_id=...)`
5. Create a scan task with `gmp.create_task(name, config_id, target_id, scanner_id)`
6. Start the scan with `gmp.start_task(task_id)`
7. Monitor scan progress with `gmp.get_task(task_id)`
8. Retrieve results with `gmp.get_report(report_id, report_format_id=...)`
9. Parse the XML report for vulnerabilities, CVSS scores, and affected hosts
10. Generate a JSON summary report with severity distribution and remediation priorities

## Expected Output

A JSON report containing total vulnerabilities found, severity breakdown (critical/high/medium/low), per-host findings with CVE references and CVSS scores, and scan metadata including duration and NVT feed version.

Files in this skill

  • LICENSE11 KB
  • SKILL.md2.8 KB
  • references/api-reference.md2.5 KB
  • scripts/agent.py5.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…