Skip to content

Commit

Permalink
[DACS#236] Install wapiti in localhost (#5371)
Browse files Browse the repository at this point in the history
Scan and create an html report

Co-authored-by: Jane Sandberg <[email protected]>
  • Loading branch information
christinach and sandbergja authored Sep 20, 2024
1 parent 5dc158a commit 197daa3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions playbooks/utils/create_wapiti_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
- name: Scan and create a Wapiti report
hosts: localhost
tasks:
- name: Install Wapiti
ansible.builtin.pip:
name:
- wapiti3

- name: scan with wapiti and create report
ansible.builtin.shell: 'wapiti -v2 -u {{ item }'
loop:
- "https://catalog-staging.princeton.edu/catalog/9955667413506421"
- "https://approvals-staging.princeton.edu/"
- "https://dss-staging.princeton.edu/"
- "https://lockers-and-study-spaces-staging.princeton.edu/sign_in"
- "https://bibdata-staging.princeton.edu/sign_in"
- "https://lib-jobs-staging.princeton.edu/sign_in"
- "https://static-tables-staging.princeton.edu/"
- "https://allsearch-staging.princeton.edu/"
- "https://allsearch-api-staging.princeton.edu/"
- "https://slavery-staging.princeton.edu/"
- "https://repec-staging.princeton.edu/"
- "https://geaccirc-staging.princeton.edu/"
- "https://videoreserves-staging.princeton.edu/hrc/vod/clip.php?file=HIS/Days-Of-Heaven-H.mp4"

0 comments on commit 197daa3

Please sign in to comment.