Hi Simon,
I tried that new AF scan in ZAP (GUI). It is quiet simple and better than typical AF scan and the new AF scan found more vulnerabilities than the old one. Thank you for this new feature.
The new generated report was quiet informative than the old report but the UI was not much that good to see long time and without those additional .js and .css file, it was hard to read it. I hope this would be fix in future releases.
And I have two vulnerability report from Full packaged scan and new AF scan. Full packaged scan found more vulnerabilities than the new AF scan.
ZAP full packaged scan
docker run -v $(pwd)/zap-report:/zap/wrk/:rw -t owasp/zap2docker-stable zap-full-scan.py -t http://example.com/myapp -j -a -r report-stable-fullscan.html
new ZAP AF scan (GUI)
generated .yml file from this scan
---
env:
contexts:
- name: "myapp"
urls:
includePaths: []
excludePaths: []
parameters:
failOnError: true
failOnWarning: false
progressToStdout: true
vars: {}
jobs:
- parameters:
updateAddOns: true
name: "addOns"
type: "addOns"
- parameters:
scanOnlyInScope: true
enableTags: false
rules: []
name: "passiveScan-config"
type: "passiveScan-config"
- parameters: {}
name: "spider"
type: "spider"
tests:
- onFail: "INFO"
statistic: "automation.spider.urls.added"
operator: ">="
value: 100
name: "At least 100 URLs found"
type: "stats"
- parameters: {}
name: "spiderAjax"
type: "spiderAjax"
tests:
- onFail: "INFO"
statistic: "spiderAjax.urls.added"
operator: ">="
value: 100
name: "At least 100 URLs found"
type: "stats"
- parameters: {}
name: "passiveScan-wait"
type: "passiveScan-wait"
- parameters: {}
policyDefinition:
rules: []
name: "activeScan"
type: "activeScan"
- parameters:
template: "modern"
reportDir: "C:\\Users\\Administrator"
name: "report"
type: "report"
So, what is the difference between these two scan?
new AF scan took around 3-5 minutes to complete the scan but full packaged scan took around 2.75 hours to complete the scan. Why?
Can I use the generated .yml file from new AF scan in cmd (like old AF scan) for the automation purpose?
Regards,
Khopi