-
Notifications
You must be signed in to change notification settings - Fork 0
/
report-suspicious-activity-asl.json
86 lines (86 loc) · 2.32 KB
/
report-suspicious-activity-asl.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
{
"StartAt": "Mark Activities as Reported",
"Comment": "Steps function to handles reporting of suspicious activity",
"States": {
"Mark Activities as Reported": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"OutputPath": "$.Payload",
"Parameters": {
"Payload.$": "$",
"FunctionName": "${MarkActivityReportedFunctionName}"
},
"Retry": [
{
"ErrorEquals": ["States.ALL"],
"IntervalSeconds": 10,
"Comment": "Retry Indefinitely",
"BackoffRate": 2,
"MaxAttempts": 10000000,
"JitterStrategy": "FULL"
}
],
"Next": "Create Zendesk Ticket"
},
"Create Zendesk Ticket": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"Parameters": {
"FunctionName": "${CreateZendeskTicketFunctionName}",
"Payload.$": "$"
},
"Retry": [
{
"ErrorEquals": ["States.ALL"],
"IntervalSeconds": 10,
"Comment": "Retry Indefinitely",
"BackoffRate": 2,
"MaxAttempts": 10000000,
"JitterStrategy": "FULL"
}
],
"Next": "Send Acknowledge Email",
"OutputPath": "$.Payload"
},
"Send Acknowledge Email": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"OutputPath": "$.Payload",
"Parameters": {
"Payload.$": "$",
"FunctionName": "${SendAcknowledgeFunctionName}"
},
"Retry": [
{
"ErrorEquals": ["States.ALL"],
"IntervalSeconds": 10,
"Comment": "Retry Indefinitely",
"BackoffRate": 2,
"MaxAttempts": 10000000,
"JitterStrategy": "FULL"
}
],
"Next": "Send Activity Log to TxMA"
},
"Send Activity Log to TxMA": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"OutputPath": "$.Payload",
"Parameters": {
"Payload.$": "$",
"FunctionName": "${SendToTxMAFunctionName}"
},
"Retry": [
{
"ErrorEquals": ["States.ALL"],
"IntervalSeconds": 10,
"Comment": "Retry Indefinitely",
"BackoffRate": 2,
"MaxAttempts": 10000000,
"JitterStrategy": "FULL"
}
],
"End": true
}
}
}