Skip to content

Commit 9da6bc0

Browse files
committed
Fixed WAF issue and added info to azure AD app
1 parent d8a4114 commit 9da6bc0

File tree

4 files changed

+15
-4
lines changed

4 files changed

+15
-4
lines changed

aws-waf/1.0.0/src/app.py

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import sys
12
import socket
23
import asyncio
34
import time

microsoft-identity-and-access/1.0.0/README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
## Microsoft Identity and Access
22
- An app to interact with Active Directory in Azure.
33

4-
## How to register app in Active Directory on Azure portal ?
4+
**PS: If you want to Reset a password in Azure AD, please use the "Azure AD Delegated" app, and use ONLY delegated permissions for this.**
5+
6+
## How to register app in Active Directory on Azure portal?
57

68
### Step 1: Go to the Azure portal
79

shuffle-subflow/1.0.0/src/app.py

+10-2
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,19 @@ def __init__(self, redis, logger, console_logger=None):
2424
"""
2525
super().__init__(redis, logger, console_logger)
2626

27+
# Should run user input
2728
#def run_userinput(self, sms, email, subflow, argument):
2829
# url = "%s/api/v1/workflows/%s/execute" % (self.url, workflow)
2930

3031
# if len(sms) > 0:
3132

32-
def run_subflow(self, user_apikey, workflow, argument, source_workflow="", source_execution="", source_node="", source_auth="", startnode=""):
33+
def run_subflow(self, user_apikey, workflow, argument, source_workflow="", source_execution="", source_node="", source_auth="", startnode="", backend_url=""):
3334
#print("STARTNODE: %s" % startnode)
3435
url = "%s/api/v1/workflows/%s/execute" % (self.url, workflow)
3536

36-
params = {}
37+
params = {
38+
"User-Agent": "Subflow 1.0.0"
39+
}
3740
if len(str(source_workflow)) > 0:
3841
params["source_workflow"] = source_workflow
3942
else:
@@ -59,6 +62,11 @@ def run_subflow(self, user_apikey, workflow, argument, source_workflow="", sourc
5962
else:
6063
print("No startnode")
6164

65+
if len(str(backend_url)) > 0:
66+
url = "%s/api/v1/workflows/%s/execute" % (backend_url, workflow)
67+
print("[INFO] Changed URL to %s for this execution" % url)
68+
69+
6270
headers = {
6371
"Authorization": "Bearer %s" % user_apikey,
6472
}

shuffle-tools/1.2.0/src/app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,7 @@ def filter_list(self, input_list, field, check, value, opposite):
594594

595595
input_list = [input_list]
596596

597-
if str(value).lower() == "null":
597+
if str(value).lower() == "null" or str(value).lower() == "none":
598598
value = "none"
599599

600600
self.logger.info(f"\nRunning with check \"%s\" on list of length %d\n" % (check, len(input_list)))

0 commit comments

Comments
 (0)