#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if(description)
{
script_id(92756);
script_version("1.6");
script_set_attribute(attribute:"plugin_modification_date", value:"2026/04/24");
script_name(english:"Set Reporting Items for Nessus Agents");
script_summary(english:"Sets reporting items for Nessus agents.");
script_set_attribute(attribute:"synopsis", value:
"This internal plugin adds an XML tag in the report about the agent
host.");
script_set_attribute(attribute:"description", value:
"Nessus was able to determine information about the agent host. This
plugin, which does not show up in the report, reports information
for this host as an XML tag in the Nessus reports.");
script_set_attribute(attribute:"solution", value:"n/a");
script_set_attribute(attribute:"risk_factor", value:"None");
script_set_attribute(attribute:"plugin_publication_date", value:"2016/08/05");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"agent", value:"all");
script_set_attribute(attribute:"always_run", value:TRUE);
script_end_attributes();
script_category(ACT_END);
script_family(english:"Settings");
script_dependencies("netstat_parse.nasl", "ssh_get_info.nasl", "wmi_list_interfaces.nbin",
"wmi_system_hostname.nbin");
script_copyright(english:"This script is Copyright (C) 2016-2026 Tenable Network Security, Inc.");
exit(0);
}
include("agent.inc");
if (!agent())
exit(0, "This plugin is only for Nessus agents.");
ip_addr = agent_get_ip();
if(empty_or_null(ip_addr)) ip_addr = get_host_ip();
if(!empty_or_null(ip_addr))
report_xml_tag(tag:"host-ip", value:ip_addr);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation