Skip to content

Commit

Permalink
Branch was auto-updated.
Browse files Browse the repository at this point in the history
  • Loading branch information
srv-rr-gh-researchbt committed Aug 18, 2023
2 parents b581e3a + 8f7f913 commit c025008
Show file tree
Hide file tree
Showing 7 changed files with 170 additions and 278 deletions.
25 changes: 13 additions & 12 deletions playbooks/AD_LDAP_Account_Locking.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"targetPort": "4_in"
}
],
"hash": "e2151613eb48da444660dc3d67d4f817f1f0dc67",
"hash": "732595dc155a58ef5d12b3104904aa7b3237d745",
"nodes": {
"0": {
"data": {
Expand All @@ -67,8 +67,8 @@
"id": "0",
"type": "start",
"warnings": {},
"x": 20,
"y": 0
"x": 19.999999999999986,
"y": -6.394884621840902e-14
},
"1": {
"data": {
Expand All @@ -91,6 +91,8 @@
"advanced": {
"customName": "username filter",
"customNameId": 0,
"delimiter": ",",
"delimiter_enabled": true,
"description": "Filter user name inputs to route inputs to appropriate actions.",
"join": [],
"note": "Filter user name inputs to route inputs to appropriate actions."
Expand Down Expand Up @@ -118,11 +120,7 @@
"errors": {},
"id": "2",
"type": "filter",
"warnings": {
"config": [
"Reconfigure invalid datapath."
]
},
"warnings": {},
"x": 60,
"y": 140
},
Expand Down Expand Up @@ -205,6 +203,8 @@
"advanced": {
"customName": "filter disable account",
"customNameId": 0,
"delimiter": ",",
"delimiter_enabled": true,
"description": "filter check if the user is disabled successfully.",
"join": [],
"note": "filter check if the user is disabled successfully."
Expand Down Expand Up @@ -262,10 +262,10 @@
],
"playbook_type": "data",
"python_version": "3",
"schema": "5.0.9",
"version": "6.0.0.114895"
"schema": "5.0.10",
"version": "6.0.1.123902"
},
"create_time": "2023-05-25T08:14:08.217934+00:00",
"create_time": "2023-08-17T18:46:35.895213+00:00",
"draft_mode": false,
"labels": [
"*"
Expand All @@ -274,6 +274,7 @@
"user",
"microsoft_ad_ldap",
"disable_account",
"D3-AL"
"D3-AL",
"active_directory"
]
}
6 changes: 4 additions & 2 deletions playbooks/AD_LDAP_Account_Locking.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ def username_filter(action=None, success=None, container=None, results=None, han
conditions=[
["playbook_input:user", "!=", ""]
],
name="username_filter:condition_1")
name="username_filter:condition_1",
delimiter=",")

# call connected blocks if filtered artifacts or results
if matched_artifacts_1 or matched_results_1:
Expand Down Expand Up @@ -136,7 +137,8 @@ def filter_disable_account(action=None, success=None, container=None, results=No
conditions=[
["disable_user_account:action_result.status", "==", "success"]
],
name="filter_disable_account:condition_1")
name="filter_disable_account:condition_1",
delimiter=",")

# call connected blocks if filtered artifacts or results
if matched_artifacts_1 or matched_results_1:
Expand Down
Loading

0 comments on commit c025008

Please sign in to comment.