Swapped action

This commit is contained in:
Lou Stella
2023-06-23 08:38:35 -05:00
parent 28fb02b4db
commit c63e3de426
2 changed files with 6 additions and 6 deletions
+5 -5
View File
@@ -52,7 +52,7 @@
"targetPort": "4_in"
}
],
"hash": "fa54af4718791760fe2785872ae29512a7d81b01",
"hash": "85c138bc0705f11d9270fa531198bfc3d38605cd",
"nodes": {
"0": {
"data": {
@@ -67,8 +67,8 @@
"id": "0",
"type": "start",
"warnings": {},
"x": 20,
"y": 0
"x": 19.999999999999986,
"y": -6.394884621840902e-14
},
"1": {
"data": {
@@ -126,7 +126,7 @@
},
"3": {
"data": {
"action": "unlock account",
"action": "enable account",
"actionType": "generic",
"advanced": {
"customName": "unlock user account",
@@ -265,7 +265,7 @@
"schema": "5.0.10",
"version": "6.0.1.123902"
},
"create_time": "2023-06-22T14:53:39.397912+00:00",
"create_time": "2023-06-23T13:36:38.402119+00:00",
"draft_mode": false,
"labels": [
"*"
+1 -1
View File
@@ -73,7 +73,7 @@ def unlock_user_account(action=None, success=None, container=None, results=None,
## Custom Code End
################################################################################
phantom.act("unlock account", parameters=parameters, name="unlock_user_account", assets=["microsoft ad ldap"], callback=filter_unlock_account)
phantom.act("enable account", parameters=parameters, name="unlock_user_account", assets=["microsoft ad ldap"], callback=filter_unlock_account)
return