mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
Swapped action
This commit is contained in:
@@ -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": [
|
||||
"*"
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user