SQL Tables Format for NessusWX

NessusWX creates SQl command files assuming that target database will have the following tables:


SESSIONS

This table contains information about scanning sessions and should have the following structure:

FieldTypeDescription
idintegerUnique session identifier
namevarchar(255)Session name
ownervarchar(255)Scan owner (user who did the scan).
NOTE: this field was added in version 1.4.0
time_startdatetimeDate and time when scan was started
time_finishdatetimeDate and time when scan was finished
time_elapsedintegerScan duration in seconds



RESULTS

This table contains actual scanning results and should have the following structure:

FieldTypeDescription
session_idintegerIdentifier of a session this result record belongs to
hostvarchar(128)Host name or IP address
servicevarchar(48)Service name and port number
plugin_idintegerID of plugin generated this record
typeintegerRecord type: 0 - open port, 2 - warning, 3 - hole
is_falsebool1 if this record was marked as "false positive"
descriptionblobSecurity hole description
risk_factorvarchar(32)Risk factor extracted from original description
cve_idvarchar(32)Security hole's CVE ID
solutionblobSolution for a problem (extracted from original description)



Here you can find SQL command file for tables creation.


Last updated 21 Sep 2002