Commit 1807e9ff authored by Sophie Brun's avatar Sophie Brun
Browse files

New upstream version 2.10.0

parent 390c3eea
......@@ -39,7 +39,7 @@ Docker
ZAP is available on https://hub.docker.com/r/owasp/zap2docker-stable/
For more details of how you can use it see
https://github.com/zaproxy/zaproxy/wiki/Docker
https://www.zaproxy.org/docs/docker/
Headless Environment
--------------------
......
......@@ -3,6 +3,7 @@ table.ps.lastinsert = CALL IDENTITY()
alert.table_name = ALERT
alert.field.alert_index = ALERT_INDEX
alert.field.alertid = ALERTID
alert.field.alertref = ALERTREF
alert.field.scanid = SCANID
alert.field.pluginid = PLUGINID
alert.field.alert = ALERT
......@@ -22,6 +23,7 @@ alert.field.historyid = HISTORYID
alert.field.sourcehistoryid = SOURCEHISTORYID
alert.field.sourceid = SOURCEID
alert.ps.addalertindex = CREATE INDEX ALERT_INDEX ON ALERT (SOURCEHISTORYID)
alert.ps.addalertref = ALTER TABLE ALERT ADD COLUMN ALERTREF VARCHAR(256) DEFAULT ''
alert.ps.addattack = ALTER TABLE ALERT ADD COLUMN ATTACK VARCHAR(32768) DEFAULT ''
alert.ps.addcweid = ALTER TABLE ALERT ADD COLUMN CWEID INT DEFAULT -1
alert.ps.addwascid = ALTER TABLE ALERT ADD COLUMN WASCID INT DEFAULT -1
......@@ -37,7 +39,7 @@ alert.ps.getalertsforhistoryid = SELECT * FROM ALERT WHERE SOURCEHISTORYID = ?
alert.ps.getalertsforsession = SELECT ALERTID FROM ALERT INNER JOIN SCAN ON ALERT.SCANID = SCAN.SCANID WHERE SESSIONID = ?
alert.ps.getallalertids = SELECT ALERTID FROM ALERT
alert.ps.insert = INSERT INTO ALERT (SCANID, PLUGINID, ALERT, RISK, RELIABILITY, DESCRIPTION, URI, PARAM, ATTACK, OTHERINFO, \
SOLUTION, REFERENCE, EVIDENCE, CWEID, WASCID, HISTORYID, SOURCEHISTORYID, SOURCEID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
SOLUTION, REFERENCE, EVIDENCE, CWEID, WASCID, HISTORYID, SOURCEHISTORYID, SOURCEID, ALERTREF) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
alert.ps.update = UPDATE ALERT SET ALERT = ?, RISK = ?, RELIABILITY = ?, DESCRIPTION = ?, URI = ?, PARAM = ?, ATTACK = ?,\
OTHERINFO = ?, SOLUTION = ?, REFERENCE = ?, EVIDENCE = ?, CWEID = ?, WASCID = ?, SOURCEHISTORYID = ? WHERE ALERTID = ?
alert.ps.updatehistoryid = UPDATE ALERT SET HISTORYID = ?, SOURCEHISTORYID = ? WHERE ALERTID = ?
......
......@@ -3,6 +3,7 @@ table.ps.lastinsert = SELECT LAST_INSERT_ID()
alert.table_name = ALERT
alert.field.alert_index = ALERT_INDEX
alert.field.alertid = ALERTID
alert.field.alertref = ALERTREF
alert.field.scanid = SCANID
alert.field.pluginid = PLUGINID
alert.field.alert = ALERT
......@@ -22,6 +23,7 @@ alert.field.historyid = HISTORYID
alert.field.sourcehistoryid = SOURCEHISTORYID
alert.field.sourceid = SOURCEID
alert.ps.addalertindex = CREATE INDEX ALERT_INDEX ON ALERT (SOURCEHISTORYID)
alert.ps.addalertref = ALTER TABLE ALERT ADD COLUMN ALERTREF VARCHAR(256) DEFAULT ''
alert.ps.addattack = ALTER TABLE ALERT ADD COLUMN ATTACK VARCHAR(32768) DEFAULT ''
alert.ps.addcweid = ALTER TABLE ALERT ADD COLUMN CWEID INT DEFAULT -1
alert.ps.addwascid = ALTER TABLE ALERT ADD COLUMN WASCID INT DEFAULT -1
......@@ -37,7 +39,7 @@ alert.ps.getalertsforhistoryid = SELECT * FROM ALERT WHERE SOURCEHISTORYID = ?
alert.ps.getalertsforsession = SELECT ALERTID FROM ALERT INNER JOIN SCAN ON ALERT.SCANID = SCAN.SCANID WHERE SESSIONID = ?
alert.ps.getallalertids = SELECT ALERTID FROM ALERT
alert.ps.insert = INSERT INTO ALERT (SCANID, PLUGINID, ALERT, RISK, RELIABILITY, DESCRIPTION, URI, PARAM, ATTACK, OTHERINFO, \
SOLUTION, REFERENCE, EVIDENCE, CWEID, WASCID, HISTORYID, SOURCEHISTORYID, SOURCEID) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
SOLUTION, REFERENCE, EVIDENCE, CWEID, WASCID, HISTORYID, SOURCEHISTORYID, SOURCEID, ALERTREF) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
alert.ps.update = UPDATE ALERT SET ALERT = ?, RISK = ?, RELIABILITY = ?, DESCRIPTION = ?, URI = ?, PARAM = ?, ATTACK = ?,\
OTHERINFO = ?, SOLUTION = ?, REFERENCE = ?, EVIDENCE = ?, CWEID = ?, WASCID = ?, SOURCEHISTORYID = ? WHERE ALERTID = ?
alert.ps.updatehistoryid = UPDATE ALERT SET HISTORYID = ?, SOURCEHISTORYID = ? WHERE ALERTID = ?
......
......@@ -42,6 +42,7 @@ CREATE TABLE `ALERT` (
`CWEID` int(11) DEFAULT '-1',
`WASCID` int(11) DEFAULT '-1',
`SOURCEID` int(11) DEFAULT '0',
`ALERTREF` varchar(256) DEFAULT '''',
PRIMARY KEY (`ALERTID`),
KEY `ALERT_INDEX` (`SOURCEHISTORYID`)
) ENGINE=InnoDB AUTO_INCREMENT=9436 DEFAULT CHARSET=latin1;
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment