-
Notifications
You must be signed in to change notification settings - Fork 0
Adding Checks
Kyri Lea edited this page Apr 28, 2025
·
1 revision
If vulnerability checking involves running a command in OMVS or a UNIX command:
- Copy
checks/ssh/ssh_template.pyinto thechecks/ssh/directory, rename it to name of vulnerability. - Replace components in curly braces with proper information, including command to run and parsing the output.
- In
checks/run_ssh_checks.pyadd a linefrom .ssh.new_file import *and in thessh_checksfunction, add your new function name.
If vulnerability checking involves running a TSO command or a command from ISPF:
- Copy
checks/tso/tso_template.pyinto thechecks/tso/directory, rename it to name of vulnerability. - Replace components in curly braces with proper information, including command to run and parsing the output.
- In
checks/run_tso_checks.pyadd a linefrom .tso.new_file import *and in thetso_checksfunction, add your new function name.
- Add a REXX or SH script to the
ext/scripts/directory - Ensure first line of a REXX script is
/* rexx */in lower case (/* REXX */may not work) - Modify
ext/run_external_scripts.pyto add a name and description of the script and allow the user to choose if they wish to run it