[ { "name": "Tenable.io - CSV", "enabled": true, "config": [ { "type": "csv", "headerExists": true, "skipRowsUntilHeader": 0, "columns": [ { "name": "IP Address", "index": -1, "regex": [ { "value": ".*", "group": 0 } ] }, { "name": "FQDN", "index": -1, "regex": [ { "value": ".*", "group": 0 } ] }, { "type": "if", "if": { "type": "and", "columns": [ { "name": "Plugin Family", "index": -1, "regex": [ { "value": "^Windows : Microsoft Bulletins$", "group": 0 } ] } ] }, "then": { "type": "or", "columns": [ { "name": "Name", "index": -1, "regex": [ { "value": "^(KB\\d+):.*$", "group": 1 } ] }, { "name": "Solution", "index": -1, "regex": [ { "value": "(KB\\d+)", "group": 1, "matchFullLine": false } ] } ] }, "else": { "type": "and", "columns": [ { "name": "Name", "index": -1, "regex": [ { "value": "^RHEL.*\\((RHSA-\\d*[:-]\\d*)\\).*$", "group": 1 }, { "value": "^CentOS.*\\((CESA-\\d*[:-]\\d*)\\).*$", "group": 1 }, { "value": "^Oracle Linux.*\\((ELSA-\\d*[:-]\\d*)\\).*$", "group": 1 }, { "value": "^Amazon Linux.*\\((ALAS-\\d*[:-]\\d*)\\).*$", "group": 1 } ] } ] } }, { "name": "CVE", "index": -1, "regex": [ { "value": ".*", "group": 0 } ] } ] } ] }, { "name": "Nessus", "enabled": true, "config": [ { "type": "csv", "headerExists": true, "skipRowsUntilHeader": 0, "columns": [ { "name": "IP Address", "index": -1, "regex": [ { "value": ".*", "group": 0 } ] }, { "name": "DNS Name", "index": -1, "regex": [ { "value": ".*", "group": 0 } ] }, { "type": "if", "if": { "type": "and", "columns": [ { "name": "Family", "index": -1, "regex": [ { "value": "^Windows : Microsoft Bulletins$", "group": 0 } ] } ] }, "then": { "type": "or", "columns": [ { "name": "Plugin Name", "index": -1, "regex": [ { "value": "^(KB\\d+):.*$", "group": 1 } ] }, { "name": "Solution", "index": -1, "regex": [ { "value": "(KB\\d+)", "group": 1, "matchFullLine": false } ] } ] }, "else": { "type": "and", "columns": [ { "name": "Plugin Name", "index": -1, "regex": [ { "value": "^RHEL.*\\((RHSA-\\d*[:-]\\d*)\\).*$", "group": 1 }, { "value": "^CentOS.*\\((CESA-\\d*[:-]\\d*)\\).*$", "group": 1 }, { "value": "^Oracle Linux.*\\((ELSA-\\d*[:-]\\d*)\\).*$", "group": 1 }, { "value": "^Amazon Linux.*\\((ALAS-\\d*[:-]\\d*)\\).*$", "group": 1 } ] } ] } }, { "name": "CVE", "index": -1, "regex": [ { "value": ".*", "group": 0 } ] } ] } ] }, { "name": "CSV", "enabled": true, "config": [ { "type": "csv", "headerExists": false, "columns": [ { "name": "IP", "index": 0, "regex": [ { "value": ".*", "group": 0 } ] }, { "name": "Hostname", "index": 1, "regex": [ { "value": ".*", "group": 0 } ] }, { "name": "PatchID", "index": 2, "regex": [ { "value": ".*", "group": 0 } ] }, { "name": "CVE", "required": false, "index": 3, "regex": [ { "value": ".*", "group": 0 } ] } ] } ] } ]