December 2017
Intermediate to advanced
364 pages
7h 30m
English
The following playbook runs the Docker Baseline scan against a given website URL. It also stores the output of the Baseline's scan in the host system in HTML, Markdown, and XML formats:
- name: Running OWASP ZAP Baseline Scan hosts: zap remote_user: "{{ remote_user_name }}" gather_facts: no become: yes vars: remote_user_name: ubuntu owasp_zap_image_name: owasp/zap2docker-weekly website_url: {{ website_url }} reports_location: /zapdata/ scan_name: owasp-zap-base-line-scan-dvws tasks: - name: adding write permissions to reports directory file: path: "{{ reports_location }}" state: directory owner: root group: root recurse: yes mode: 0770 - name: running owasp zap baseline scan container against "{{ website_url ...