Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 536 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 536 Bytes

How to use this script

Install requirements

pip3 install -r requirements.txt

Enable all mediun severity policies

In the main() function, uncomment following lines to edit policies:

changePolicyStatusPerSeverity(API_ENDPOINT, token, 'medium', 'true')

Disable all low severity policies

In the main() function, uncomment following lines to edit policies:

changePolicyStatusPerSeverity(API_ENDPOINT, token, 'low', 'false')

Run the script

python3 main.py