Skip to content

Instantly share code, notes, and snippets.

@Pobek
Pobek / datapower_rule_by_schema.py
Last active August 20, 2019 12:10
This python script will return data about a rule from policy if the schema name matchs
import requests
import urllib3
import json
urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)
def build_json(mpgws):
output = {
"mpgws" : mpgws
}