File tree Expand file tree Collapse file tree 1 file changed +29
-25
lines changed
docs/user-guide/usage-examples Expand file tree Collapse file tree 1 file changed +29
-25
lines changed Original file line number Diff line number Diff line change @@ -101,32 +101,36 @@ It is also possible to run the zap scan process with a predefined sitemap. In th
101101``` json
102102[
103103 {
104- "name" : " ZAP BodgeIt Scan with given sitemap " ,
105- "location" : " http://bodgeit:8080/bodgeit" ,
106- "attributes" : {
107- "ZAP_BASE_URL" : " http://bodgeit:8080/bodgeit" ,
108- "ZAP_SITEMAP" : [
109- {
110- "request" : {
111- "method" : " GET" ,
112- "url" : " http://bodgeit:8080/bodgeit/search.jsp?q=ZAP" ,
113- "httpVersion" : " HTTP/1.1" ,
114- "headers" : [],
115- "queryString" : [
116- {
117- "name" : " q" ,
118- "value" : " ZAP"
104+ "name" : " zap" ,
105+ "context" : " ZAP BodgeIt Scan" ,
106+ "target" : {
107+ "name" : " BodgeIt-local" ,
108+ "location" : " http://bodgeit:8080/bodgeit" ,
109+ "attributes" : {
110+ "ZAP_BASE_URL" : " http://bodgeit:8080/bodgeit" ,
111+ "ZAP_SITEMAP" : [
112+ {
113+ "request" : {
114+ "method" : " GET" ,
115+ "url" : " http://bodgeit:8080/bodgeit/search.jsp?q=ZAP" ,
116+ "httpVersion" : " HTTP/1.1" ,
117+ "headers" : [],
118+ "queryString" : [
119+ {
120+ "name" : " q" ,
121+ "value" : " ZAP"
122+ }
123+ ],
124+ "postData" : {
125+ "mimeType" : " " ,
126+ "params" : [],
127+ "text" : " "
119128 }
120- ],
121- "postData" : {
122- "mimeType" : " " ,
123- "params" : [],
124- "text" : " "
125- }
126- },
127- "ZAP_BASE_URL" : " http://bodgeit:8080/bodgeit"
128- }
129- ]
129+ },
130+ "ZAP_BASE_URL" : " http://bodgeit:8080/bodgeit"
131+ }
132+ ]
133+ }
130134 }
131135 }
132136]
You can’t perform that action at this time.
0 commit comments