Skip to content

SimOnPanw/cspm-turn-on-policies

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages