-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
mandeepdhiman123
committed
Aug 19, 2020
1 parent
5d3deb2
commit 3f6b305
Showing
7 changed files
with
31 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
10 changes: 3 additions & 7 deletions
10
mosip-security-playbook/roles/api-scanning/robot-file/playbook.robot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- name: Run Api Scanning using Zap | ||
command: "robot {{ roles_dir }}/api-scanning/robot-file/play.robot" | ||
- become: yes | ||
|
5 changes: 3 additions & 2 deletions
5
mosip-security-playbook/roles/packages/copy-python-libs/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
- name: Copy python libraries to python lib | ||
copy: | ||
src: "{{ lib_dir }}" | ||
src: "{{ item }}" | ||
dest: "{{ python_lib_dir }}" | ||
mode: 0774 | ||
with_fileglob: | ||
- *.py | ||
- "{{ lib_dir }}/*.py" |
14 changes: 14 additions & 0 deletions
14
mosip-security-playbook/roles/packages/zap-download/tasks/main.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#- name: Download Zap | ||
# get_url: | ||
# url: https://github.com/zaproxy/zaproxy/releases/download/v2.9.0/ZAP_2.9.0_Linux.tar.gz | ||
# dest: "{{ tools_lib}}" | ||
# mode: 0755 | ||
# checksum: 4c72ba9d9ba60f58dc7eb26c5818cf98a38ba58b9bf2313aadd69832d85e9cb1 | ||
# group: mosipuser | ||
# owner: mosipuser | ||
- name: Download and Unarchive zap | ||
unarchive: | ||
src: https://github.com/zaproxy/zaproxy/releases/download/v2.9.0/ZAP_2.9.0_Linux.tar.gz | ||
dest: "{{ tools_lib }}/zap/" | ||
mode: 0755 | ||
remote_src: yes |