-
Notifications
You must be signed in to change notification settings - Fork 23
Expand file tree
/
Copy pathDeploy Patch with BigFix from Microsoft Teams.icon
More file actions
3333 lines (3333 loc) · 130 KB
/
Deploy Patch with BigFix from Microsoft Teams.icon
File metadata and controls
3333 lines (3333 loc) · 130 KB
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"kom": {
"komandVersion": "1.111.4-0-gb43d1",
"komFileVersion": "2.0.0",
"exportedAt": "2022-09-03T12:44:22.635562362Z",
"workflowVersions": [
{
"name": "Deploy Patch with BigFix from Microsoft Teams",
"type": "runnable",
"version": "",
"description": "# Description\n\nDeploy a patch with HCL BigFix to a target system with a Microsoft Teams message. This workflow accepts a Patch Title and Target Host, searches HCL BigFix for relevant fixlets, and attempts to deploy those fixlets to the Target Host. If successful, a link to the HCL BigFix action is returned in Microsoft Teams.\n\n# Key Features\n\n* Deploy a specific patch to a specific system\n* Receive real-time updates on workflow execution, including links to InsightConnect jobs and HCL BigFix actions\n* Keep your team in the loop when deploying hotfixes or missing patches with patching commands in a Microsoft Teams channel\n\n# Requirements\n\nThe following connections will need to be setup: \n\n* HCL BigFix server URL and credentials\n* Microsoft Teams\n\n# Documentation\n\n## Setup\n\nImport the workflow from the Rapid7 Extension Library and proceed through the Import Workflow wizard in InsightConnect. Import plugins, create or select connections, and rename the workflow as a part of the Import Workflow wizard as necessary.\n\nOnce the workflow has been imported, **the first Microsoft Teams step will need the team name and channel name updated to suit your Microsoft Teams environment!** Edit the input with the preset text of `change_me` in the first Microsoft Teams step in the workflow.\n\nAfter import, activate the workflow in order to trigger it.\n\n## Usage\n\n*This workflow will only trigger in the channel specified in the Microsoft Teams workflow steps.*\n\nTo run the workflow, send a message to the specified Microsoft Teams channel starting with the `!deploy-patch` command. The command accepts two parameters: `patch` and `target`. Input the title (may be a partial match) of the patch that should be deployed and the hostname of the target.\n\nFor example:\n* `!deploy-patch patch=Title of Patch target=HostName`\n\nBoth the `patch` and `target` parameters must be specified in order to run the workflow successfully. This workflow does not support deploying multiple patches to a single target or a single patch to multiple targets.\n\nThe workflow will post status updates throughout execution. When complete, it will post a link to the resulting Action in HCL BigFix.\n\n## Technical Details\n\nPlugins utilized by workflow:\n\n|Plugin|Version|Count|\n|----|----|--------|\n|Microsoft Teams|3.1.0|6|\n|HTML|1.2.1|1|\n|BigFix|7.0.0|2|\n\n## Troubleshooting\n\n_There is no troubleshooting information at this time_\n\n# Version History\n\n* 2.1.0 - Replace the preset text of \"change_me\" with automatic team and channel name extraction in all Microsoft Teams steps except the first one | Update Microsoft Teams to version 3.1.0 | Update documentation\n* 2.0.0 - Updated workflow to use newly branded \"HCL BigFix\" plugin\n* 1.0.1 - Update to make Microsoft Teams plugin the latest version \n* 1.0.0 - Initial workflow\n\n# Links\n\n## References\n\n* [HCL BigFix](https://bigfix.com)\n* [Microsoft Teams](https://www.microsoft.com/en-us/microsoft-365/microsoft-teams/group-chat-software)\n",
"graph": {
"edges": {
"0a8a1c24-f75c-40af-b7c8-3a14351206f9": {
"id": "0a8a1c24-f75c-40af-b7c8-3a14351206f9",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "c27a1286-180c-49e6-81ab-17ccf546b62e",
"toNodeId": "dca80adb-0daa-45bb-ac3e-cc81b04b139f"
},
"1404529c-cd6e-418e-8e9d-d740e203c874": {
"id": "1404529c-cd6e-418e-8e9d-d740e203c874",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "18fe9294-23fd-4ad6-bf4e-59166ca8c5e9",
"toNodeId": "bb24db67-a44f-45a3-87d8-4d59ba1764a0"
},
"1c27291e-c0a1-4f45-b3bc-a4d3dbb6bb82": {
"id": "1c27291e-c0a1-4f45-b3bc-a4d3dbb6bb82",
"name": "Fixlets found",
"description": "",
"parentNodeId": "",
"fromNodeId": "403ce5db-434e-42e3-ae22-5ae8a9fa6596",
"toNodeId": "7e7458c7-e56a-4a00-afbe-1e0834e47bde"
},
"1f2e64e4-8bc2-4060-89d2-ec8ababca742": {
"id": "1f2e64e4-8bc2-4060-89d2-ec8ababca742",
"name": "Fixlets not found",
"description": "Check to see if the Find Relevant Fixlets action returned any results. If the results array is empty, this path is taken.",
"parentNodeId": "",
"fromNodeId": "403ce5db-434e-42e3-ae22-5ae8a9fa6596",
"toNodeId": "5e5e0c79-4233-4685-b292-a27691fdc096"
},
"20a3e624-f242-4b3a-961d-03032352fe2f": {
"id": "20a3e624-f242-4b3a-961d-03032352fe2f",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "a3a30dcc-935c-4654-930e-c950aedc0e52",
"toNodeId": "403ce5db-434e-42e3-ae22-5ae8a9fa6596"
},
"27f93917-8326-4121-aa59-bb45ae947793": {
"id": "27f93917-8326-4121-aa59-bb45ae947793",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "ff7a13a3-21c2-4c9b-a934-8ef541949600",
"toNodeId": "0750b39c-df72-4f6b-8797-65e50d757c92"
},
"464a4240-d58c-422e-831e-ce57de9c7d85": {
"id": "464a4240-d58c-422e-831e-ce57de9c7d85",
"name": "Failed to Deploy",
"description": "",
"parentNodeId": "",
"fromNodeId": "bb24db67-a44f-45a3-87d8-4d59ba1764a0",
"toNodeId": "b55794b2-8ee1-4370-a9cb-55045be4aa23"
},
"5014a3ef-7e20-44cc-a51e-8dad1dd6c0a1": {
"id": "5014a3ef-7e20-44cc-a51e-8dad1dd6c0a1",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "5e5e0c79-4233-4685-b292-a27691fdc096",
"toNodeId": "ff7a13a3-21c2-4c9b-a934-8ef541949600"
},
"5a6db44e-61fa-4403-9f03-4adcfccdd6ee": {
"id": "5a6db44e-61fa-4403-9f03-4adcfccdd6ee",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "7e7458c7-e56a-4a00-afbe-1e0834e47bde",
"toNodeId": "18fe9294-23fd-4ad6-bf4e-59166ca8c5e9"
},
"99162aa3-3f66-4f94-b7fc-b78ae3d81b39": {
"id": "99162aa3-3f66-4f94-b7fc-b78ae3d81b39",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "b310581d-5f67-47a2-a051-5cbde42571d7",
"toNodeId": "a3a30dcc-935c-4654-930e-c950aedc0e52"
},
"afc3e1bb-a4f5-4187-8de3-f4d22ed86b9a": {
"id": "afc3e1bb-a4f5-4187-8de3-f4d22ed86b9a",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "c0c2e771-e88c-48c3-843d-881caaaecf7d",
"toNodeId": "ff7a13a3-21c2-4c9b-a934-8ef541949600"
},
"c2b1d8b1-eb69-4ab8-bd4c-54ac4ef7d928": {
"id": "c2b1d8b1-eb69-4ab8-bd4c-54ac4ef7d928",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "b55794b2-8ee1-4370-a9cb-55045be4aa23",
"toNodeId": "ff7a13a3-21c2-4c9b-a934-8ef541949600"
},
"ea77125e-9be1-48ec-9af0-0a179faf5e7f": {
"id": "ea77125e-9be1-48ec-9af0-0a179faf5e7f",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "dca80adb-0daa-45bb-ac3e-cc81b04b139f",
"toNodeId": "b310581d-5f67-47a2-a051-5cbde42571d7"
},
"ed04c81f-db1f-44a9-9ca2-9c807e50c43b": {
"id": "ed04c81f-db1f-44a9-9ca2-9c807e50c43b",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "efb71ef3-109d-4ba9-ba8f-22f8f4e1f6ee",
"toNodeId": "c27a1286-180c-49e6-81ab-17ccf546b62e"
},
"f50710f0-0c47-40c6-b5ba-dcc875a45549": {
"id": "f50710f0-0c47-40c6-b5ba-dcc875a45549",
"name": "Deployed Successfully",
"description": "",
"parentNodeId": "",
"fromNodeId": "bb24db67-a44f-45a3-87d8-4d59ba1764a0",
"toNodeId": "c0c2e771-e88c-48c3-843d-881caaaecf7d"
},
"f9eb3f98-254d-4da2-bea0-be6130fb8068": {
"id": "f9eb3f98-254d-4da2-bea0-be6130fb8068",
"name": "",
"description": "",
"parentNodeId": "",
"fromNodeId": "0750b39c-df72-4f6b-8797-65e50d757c92",
"toNodeId": ""
}
},
"nodes": {
"0750b39c-df72-4f6b-8797-65e50d757c92": {
"id": "0750b39c-df72-4f6b-8797-65e50d757c92",
"parentNodeId": ""
},
"18fe9294-23fd-4ad6-bf4e-59166ca8c5e9": {
"id": "18fe9294-23fd-4ad6-bf4e-59166ca8c5e9",
"parentNodeId": ""
},
"403ce5db-434e-42e3-ae22-5ae8a9fa6596": {
"id": "403ce5db-434e-42e3-ae22-5ae8a9fa6596",
"parentNodeId": ""
},
"5e5e0c79-4233-4685-b292-a27691fdc096": {
"id": "5e5e0c79-4233-4685-b292-a27691fdc096",
"parentNodeId": ""
},
"7e7458c7-e56a-4a00-afbe-1e0834e47bde": {
"id": "7e7458c7-e56a-4a00-afbe-1e0834e47bde",
"parentNodeId": ""
},
"a3a30dcc-935c-4654-930e-c950aedc0e52": {
"id": "a3a30dcc-935c-4654-930e-c950aedc0e52",
"parentNodeId": ""
},
"b310581d-5f67-47a2-a051-5cbde42571d7": {
"id": "b310581d-5f67-47a2-a051-5cbde42571d7",
"parentNodeId": ""
},
"b55794b2-8ee1-4370-a9cb-55045be4aa23": {
"id": "b55794b2-8ee1-4370-a9cb-55045be4aa23",
"parentNodeId": ""
},
"bb24db67-a44f-45a3-87d8-4d59ba1764a0": {
"id": "bb24db67-a44f-45a3-87d8-4d59ba1764a0",
"parentNodeId": ""
},
"c0c2e771-e88c-48c3-843d-881caaaecf7d": {
"id": "c0c2e771-e88c-48c3-843d-881caaaecf7d",
"parentNodeId": ""
},
"c27a1286-180c-49e6-81ab-17ccf546b62e": {
"id": "c27a1286-180c-49e6-81ab-17ccf546b62e",
"parentNodeId": ""
},
"dca80adb-0daa-45bb-ac3e-cc81b04b139f": {
"id": "dca80adb-0daa-45bb-ac3e-cc81b04b139f",
"parentNodeId": ""
},
"efb71ef3-109d-4ba9-ba8f-22f8f4e1f6ee": {
"id": "efb71ef3-109d-4ba9-ba8f-22f8f4e1f6ee",
"parentNodeId": ""
},
"ff7a13a3-21c2-4c9b-a934-8ef541949600": {
"id": "ff7a13a3-21c2-4c9b-a934-8ef541949600",
"parentNodeId": ""
}
}
},
"steps": {
"0750b39c-df72-4f6b-8797-65e50d757c92": {
"nodeId": "0750b39c-df72-4f6b-8797-65e50d757c92",
"name": "Final Report",
"type": "artifact",
"continueOnFailure": false,
"isDisabled": false,
"parameters": {
"input": {
"content": "# Trigger Info\n* User: {{[efb71ef3-109d-4ba9-ba8f-22f8f4e1f6ee].[message].[from].[user].[displayName]}}\n* Web URL: {{[efb71ef3-109d-4ba9-ba8f-22f8f4e1f6ee].[message].[webUrl]}}\n* Timestamp: {{[efb71ef3-109d-4ba9-ba8f-22f8f4e1f6ee].[message].[createdDateTime]}}\n* Message: {{[efb71ef3-109d-4ba9-ba8f-22f8f4e1f6ee].[message].[body].[content]}}\n\n# Patch Info\n* Target Fixlet Title: {{[dca80adb-0daa-45bb-ac3e-cc81b04b139f].[patchTitle]}}\n* Target Host: {{[dca80adb-0daa-45bb-ac3e-cc81b04b139f].[targetHost]}}\n* Relevant Fixlets Found: {{[a3a30dcc-935c-4654-930e-c950aedc0e52].[results]}}\n\n# BigFix Action Info\n* Name: {{[18fe9294-23fd-4ad6-bf4e-59166ca8c5e9].[action].[Name]}}\n* ID: {{[18fe9294-23fd-4ad6-bf4e-59166ca8c5e9].[action].[ID]}}\n* Resource: {{[18fe9294-23fd-4ad6-bf4e-59166ca8c5e9].[action].[Resource]}}"
},
"type": "markdown"
},
"defaultInputJSONSchema": null,
"defaultOutputJSONSchema": null,
"outputJSONSchema": null,
"defaultImageData": "https://eu.cdn-assets.connect.insight.rapid7.com/step-type-icons/artifact.svg",
"connectionType": "NONE"
},
"18fe9294-23fd-4ad6-bf4e-59166ca8c5e9": {
"nodeId": "18fe9294-23fd-4ad6-bf4e-59166ca8c5e9",
"name": "Deploy Patch -- Create Multi-Action Group",
"type": "action",
"plugin": {
"name": "BigFix",
"slugVendor": "rapid7",
"slugName": "bigfix",
"slugVersion": "7.0.0",
"imageData": "https://eu.cdn-assets.connect.insight.rapid7.com/icons/rapid7/bigfix/7.0.0/icon.png"
},
"identifier": "create_multiaction_group",
"continueOnFailure": true,
"isDisabled": false,
"isCloud": false,
"parameters": {
"input": {
"multiaction_group": {
"Settings": {
"ActionUITitle": "",
"ActiveUserRequirement": "NoRequirement",
"ActiveUserType": "AllUsers",
"AnnounceOffer": false,
"ContinueOnErrors": false,
"DayOfWeekConstraint": {
"Fri": false,
"Mon": false,
"Sat": false,
"Sun": false,
"Thu": false,
"Tue": false,
"Wed": false
},
"EndDateTimeLocalOffset": "P7D",
"EndDateTimeOffset": "",
"HasDayOfWeekConstraint": false,
"HasEndTime": false,
"HasMessage": false,
"HasReapplyInterval": false,
"HasReapplyLimit": false,
"HasRetry": true,
"HasRunningMessage": false,
"HasStartTime": false,
"HasTemporalDistribution": false,
"HasTimeRange": false,
"HasWhose": false,
"IsOffer": false,
"Message": {
"AllowPostponement": false,
"HasTimeout": false,
"MaxPostponementInterval": {
"Value": "PT30M"
},
"PostponementDeadlineOffset": "",
"ShowActionButton": false,
"ShowCancelButton": false,
"Text": "",
"TimeoutInterval": {
"Value": "PT30M"
},
"Title": ""
},
"OfferCategory": "",
"OfferDescriptionHTML": "",
"PostActionBehavior": {
"AllowCancel": false,
"AllowPostponement": false,
"Behavior": "Nothing",
"HasTimeout": false,
"MaxPostponementInterval": {
"Value": "PT15M"
},
"PostActionDeadlineBehavior": {
"Value": "ForceToRun"
},
"PostActionDeadlineInterval": {
"Value": "PT30M"
},
"Text": "",
"TimeoutInterval": {
"Value": "PT30M"
},
"Title": ""
},
"PreAction": {
"AskToSaveWork": false,
"Confirmation": "",
"DeadlineBehavior": {
"Value": "RunAutomatically"
},
"DeadlineInterval": {
"Value": "PT30M"
},
"DeadlineLocalOffset": "",
"DeadlineOffset": "",
"DeadlineType": "Interval",
"ShowActionButton": false,
"ShowCancelButton": false,
"ShowConfirmation": false,
"Text": ""
},
"PreActionCacheDownload": false,
"PreActionShowUI": false,
"Reapply": false,
"ReapplyInterval": {
"Value": "PT30M"
},
"ReapplyLimit": 0,
"RetryCount": 5,
"RetryWait": {
"Behavior": "WaitForInterval",
"Value": {
"Value": "PT1H"
}
},
"RunningMessage": {},
"StartDateTimeLocalOffset": "",
"StartDateTimeOffset": "",
"TemporalDistribution": "",
"TimeRange": {},
"UIGroupConstraints": {},
"UseUTCTime": false,
"Whose": {}
},
"SourceFixlets": "{{[a3a30dcc-935c-4654-930e-c950aedc0e52].[results]}}",
"Target": {
"AllComputers": false,
"ComputerID": [],
"ComputerName": "{{[dca80adb-0daa-45bb-ac3e-cc81b04b139f].[targetHost]}}",
"CustomRelevance": ""
},
"Title": "Rapid7 InsightConnect: Deploy Patch from Slack Action Group: {{[$job].[URL]}}"
}
}
},
"defaultInputJSONSchema": {
"definitions": {
"ActionDeadlineBehavior": {
"properties": {
"Value": {
"description": "The behavior of the Action when the Deadline is reached",
"enum": [
"ForceToRun",
"RunAutomatically"
],
"order": 1,
"title": "Value",
"type": "string"
}
},
"title": "ActionDeadlineBehavior",
"type": "object"
},
"ActionMessageMaxPostponementInterval": {
"properties": {
"Value": {
"description": "The chosen maximum postponement time interval",
"enum": [
"PT15M",
"PT30M",
"PT1H",
"PT2H",
"PT4H",
"PT6H",
"PT8H",
"PT12H",
"P1D",
"P2D",
"P3D",
"P5D",
"P7D",
"P15D",
"P30D"
],
"order": 1,
"title": "Value",
"type": "string"
}
},
"title": "ActionMessageMaxPostponementInterval",
"type": "object"
},
"ActionMessageTimeInterval": {
"properties": {
"Value": {
"description": "The time interval before sending the Action message",
"enum": [
"PT1M",
"PT2M",
"PT3M",
"PT4M",
"PT5M",
"PT10M",
"PT15M",
"PT30M",
"PT1H",
"PT2H",
"PT4H",
"PT6H",
"PT8H",
"PT12H",
"P1D",
"P2D",
"P3D",
"P5D",
"P7D",
"P15D",
"P30D"
],
"order": 1,
"title": "Value",
"type": "string"
}
},
"title": "ActionMessageTimeInterval",
"type": "object"
},
"ActionReapplyInterval": {
"properties": {
"Value": {
"description": "The time interval before an attempt is made to reapply the action",
"enum": [
"PT15M",
"PT30M",
"PT1H",
"PT2H",
"PT4H",
"PT6H",
"PT8H",
"PT12H",
"P1D",
"P2D",
"P3D",
"P5D",
"P7D",
"P15D",
"P30D"
],
"order": 1,
"title": "Value",
"type": "string"
}
},
"title": "ActionReapplyInterval",
"type": "object"
},
"ActionSettings": {
"properties": {
"ActionUITitle": {
"description": "The Action UI title",
"order": 3,
"title": "Action UI Title",
"type": "string"
},
"ActiveUserRequirement": {
"description": "The Active User Requirement setting for the Action",
"enum": [
"NoRequirement",
"RequireUser",
"RequireNoUser"
],
"order": 19,
"title": "Active User Requirement",
"type": "string"
},
"ActiveUserType": {
"description": "The Active User Type of the Action",
"enum": [
"AllUsers",
"LocalUsers",
"UsersOfGroups"
],
"order": 20,
"title": "Active User Type",
"type": "string"
},
"AnnounceOffer": {
"description": "If the Action Offer is announced",
"order": 38,
"title": "Announce Offer",
"type": "boolean"
},
"ContinueOnErrors": {
"description": "If the Action will continue after an error",
"order": 35,
"title": "Continue On Errors",
"type": "boolean"
},
"DayOfWeekConstraint": {
"$ref": "#/definitions/ActionSettingsDayOfWeekConstraint",
"description": "The Day of the Week Constraint(s) for the Action",
"order": 17,
"title": "Day of Week Constraint"
},
"EndDateTimeLocalOffset": {
"description": "The local offset for the Action end date / time. The value must follow the ISO-8601 standard for duration format e.g PT15M for 15 minutes or P2D for 2 days",
"order": 15,
"title": "EndDate Time Local Offset",
"type": "string"
},
"EndDateTimeOffset": {
"description": "The offset for the Action end date / time. The value must follow the ISO-8601 standard for duration format e.g PT15M for 15 minutes or P2D for 2 days",
"order": 14,
"title": "EndDate Time Offset",
"type": "string"
},
"HasDayOfWeekConstraint": {
"description": "If the Action has a Day of the Week Constraint",
"order": 16,
"title": "Has Day of Week Constraint",
"type": "boolean"
},
"HasEndTime": {
"description": "If the Action has an end time",
"order": 13,
"title": "Has End Time",
"type": "boolean"
},
"HasMessage": {
"description": "If the Action has a message",
"order": 1,
"title": "Has Message",
"type": "boolean"
},
"HasReapplyInterval": {
"description": "If the Action has a Reapply interval",
"order": 28,
"title": "Has Reapply Interval",
"type": "boolean"
},
"HasReapplyLimit": {
"description": "If the Action has a Reapply limit",
"order": 26,
"title": "Has Reapply Limit",
"type": "boolean"
},
"HasRetry": {
"description": "If the Action can be retried",
"order": 30,
"title": "Has Retry",
"type": "boolean"
},
"HasRunningMessage": {
"description": "If the Action has a Running message",
"order": 6,
"title": "Has Running Message",
"type": "boolean"
},
"HasStartTime": {
"description": "If the Action has a start time",
"order": 10,
"title": "Has Start Time",
"type": "boolean"
},
"HasTemporalDistribution": {
"description": "If the Action has a Temporal Distribution setting",
"order": 33,
"title": "Has Temporal Distribution",
"type": "boolean"
},
"HasTimeRange": {
"description": "If the Action has a time range",
"order": 8,
"title": "Has Time Range",
"type": "boolean"
},
"HasWhose": {
"description": "If the Action has a Whose setting",
"order": 22,
"title": "Has Whose",
"type": "boolean"
},
"IsOffer": {
"description": "If the Action is an Offer",
"order": 37,
"title": "Is Offer",
"type": "boolean"
},
"Message": {
"$ref": "#/definitions/ActionSettingsMessage",
"description": "The settings for the message of the Action",
"order": 2,
"title": "Message"
},
"OfferCategory": {
"description": "The Offer Category of the Action",
"order": 39,
"title": "Offer Category",
"type": "string"
},
"OfferDescriptionHTML": {
"description": "The HTML description of the Actions offer",
"order": 40,
"title": "Offer Description HTML",
"type": "string"
},
"PostActionBehavior": {
"$ref": "#/definitions/ActionSettingsPostActionBehavior",
"description": "The Action PostAction Behavior settings",
"order": 36,
"title": "PostAction Behavior"
},
"PreAction": {
"$ref": "#/definitions/ActionSettingsPreAction",
"description": "The settings for the PreAction of the Action",
"order": 5,
"title": "PreAction"
},
"PreActionCacheDownload": {
"description": "If the Action has a PreAction cache download",
"order": 24,
"title": "PreAction Cache Download",
"type": "boolean"
},
"PreActionShowUI": {
"description": "If the PreAction shows UI elements",
"order": 4,
"title": "PreAction Show UI",
"type": "boolean"
},
"Reapply": {
"description": "If the Action can be reapplied",
"order": 25,
"title": "Reapply",
"type": "boolean"
},
"ReapplyInterval": {
"$ref": "#/definitions/ActionReapplyInterval",
"description": "The Reapply interval of the Action",
"order": 29,
"title": "Reapply Interval"
},
"ReapplyLimit": {
"description": "The Reapply limit of the Action",
"order": 27,
"title": "Reapply Limit",
"type": "integer"
},
"RetryCount": {
"description": "How many times the Action can be retried",
"order": 31,
"title": "Retry Count",
"type": "integer"
},
"RetryWait": {
"$ref": "#/definitions/ActionSettingsRetryWait",
"description": "The Action Retry Wait settings",
"order": 32,
"title": "Retry Wait"
},
"RunningMessage": {
"$ref": "#/definitions/ActionSettingsRunningMessage",
"description": "The settings for the Running message of the Action",
"order": 7,
"title": "Running Message"
},
"StartDateTimeLocalOffset": {
"description": "The local offset for the Action start date / time. The value must follow the ISO-8601 standard for duration format e.g PT15M for 15 minutes or P2D for 2 days",
"order": 12,
"title": "StartDate Time Local Offset",
"type": "string"
},
"StartDateTimeOffset": {
"description": "The offset for the Action start date / time. The value must follow the ISO-8601 standard for duration format e.g PT15M for 15 minutes or P2D for 2 days",
"order": 11,
"title": "StartDate Time Offset",
"type": "string"
},
"TemporalDistribution": {
"description": "The Temporal Distribution of the Action. The value must be non-negative and follow the ISO-8601 standard for duration format e.g PT15M for 15 minutes or P2D for 2 days",
"order": 34,
"title": "Temporal Distribution",
"type": "string"
},
"TimeRange": {
"$ref": "#/definitions/ActionSettingsTimeRange",
"description": "The settings for the time range of the action",
"order": 9,
"title": "Time Range"
},
"UIGroupConstraints": {
"$ref": "#/definitions/ActionSettingsUIGroupConstraints",
"description": "The UI Group Constraints for the Action",
"order": 21,
"title": "UI Group Constraints"
},
"UseUTCTime": {
"description": "If the Action uses UTC time",
"order": 18,
"title": "Use UTC Time",
"type": "boolean"
},
"Whose": {
"$ref": "#/definitions/ActionSettingsWhose",
"description": "The Whose setting for the Action",
"order": 23,
"title": "Whose"
}
},
"title": "ActionSettings",
"type": "object"
},
"ActionSettingsDayOfWeekConstraint": {
"properties": {
"Fri": {
"description": "If the Action is restricted to running on a Friday",
"order": 6,
"title": "Fri",
"type": "boolean"
},
"Mon": {
"description": "If the Action is restricted to running on a Monday",
"order": 2,
"title": "Mon",
"type": "boolean"
},
"Sat": {
"description": "If the Action is restricted to running on a Saturday",
"order": 7,
"title": "Sat",
"type": "boolean"
},
"Sun": {
"description": "If the Action is restricted to running on a Sunday",
"order": 1,
"title": "Sun",
"type": "boolean"
},
"Thu": {
"description": "If the Action is restricted to running on a Thursday",
"order": 5,
"title": "Thu",
"type": "boolean"
},
"Tue": {
"description": "If the Action is restricted to running on a Tuesday",
"order": 3,
"title": "Tue",
"type": "boolean"
},
"Wed": {
"description": "If the Action is restricted to running on a Wednesday",
"order": 4,
"title": "Wed",
"type": "boolean"
}
},
"title": "ActionSettingsDayOfWeekConstraint",
"type": "object"
},
"ActionSettingsMessage": {
"properties": {
"AllowPostponement": {
"description": "If the Action Message allows Postponement",
"order": 5,
"title": "Allow Postponement",
"type": "boolean"
},
"HasTimeout": {
"description": "If the Action Message has a timeout",
"order": 8,
"title": "Has Timeout",
"type": "boolean"
},
"MaxPostponementInterval": {
"$ref": "#/definitions/ActionMessageMaxPostponementInterval",
"description": "The Action Message maximum Postponement interval",
"order": 6,
"title": "Maximum Postponement Interval"
},
"PostponementDeadlineOffset": {
"description": "The Action Message offset for the Postponement Deadline. The value must follow the ISO-8601 standard for duration format e.g PT15M for 15 minutes or P2D for 2 days",
"order": 7,
"title": "Postponement Deadline Offset",
"type": "string"
},
"ShowActionButton": {
"description": "If the Action Message shows the Action button",
"order": 3,
"title": "Show Action Button",
"type": "boolean"
},
"ShowCancelButton": {
"description": "If the Action Message shows the Cancel button",
"order": 4,
"title": "Show Cancel Button",
"type": "boolean"
},
"Text": {
"description": "The text of the Action Message",
"order": 2,
"title": "Text",
"type": "string"
},
"TimeoutInterval": {
"$ref": "#/definitions/ActionMessageTimeInterval",
"description": "The time interval of the Timeout",
"order": 9,
"title": "Timeout Interval"
},
"Title": {
"description": "The title of the Action Message",
"order": 1,
"title": "Title",
"type": "string"
}
},
"title": "ActionSettingsMessage",
"type": "object"
},
"ActionSettingsPostActionBehavior": {
"properties": {
"AllowCancel": {
"description": "If the PostAction allows the user to cancel",
"order": 3,
"title": "AllowCancel",
"type": "boolean"
},
"AllowPostponement": {
"description": "If the PostAction allows postponement",
"order": 4,
"title": "Allow Postponement",
"type": "boolean"
},
"Behavior": {
"default": "Nothing",
"description": "The PostAction behavior",
"enum": [
"Nothing",
"Restart",
"Shutdown"
],
"order": 10,
"title": "Behavior",
"type": "string"
},
"HasTimeout": {
"description": "If the PostAction has a timeout",
"order": 6,
"title": "Has Timeout",
"type": "boolean"
},
"MaxPostponementInterval": {
"$ref": "#/definitions/ActionMessageMaxPostponementInterval",
"description": "The maximum postponement interval",
"order": 5,
"title": "Max Postponement Interval"
},
"PostActionDeadlineBehavior": {
"$ref": "#/definitions/ActionDeadlineBehavior",
"description": "The deadline behavior of the PostAction",
"order": 8,
"title": "PostAction Deadline Behavior"
},
"PostActionDeadlineInterval": {
"$ref": "#/definitions/ActionMessageTimeInterval",
"description": "The interval to wait",
"order": 9,
"title": "PostAction Deadline Interval"
},
"Text": {
"description": "The text of the PostAction Behavior",
"order": 2,
"title": "Text",
"type": "string"
},
"TimeoutInterval": {
"$ref": "#/definitions/ActionMessageTimeInterval",
"description": "The interval of the PostAction timeout",
"order": 7,
"title": "Timeout Interval"
},
"Title": {
"description": "The title of the PostAction Behavior",
"order": 1,
"title": "Title",
"type": "string"
}
},
"title": "ActionSettingsPostActionBehavior",
"type": "object"
},
"ActionSettingsPreAction": {
"properties": {
"AskToSaveWork": {
"description": "If the Action PreAction asks to save work",
"order": 2,
"title": "Ask To Save Work",
"type": "boolean"
},
"Confirmation": {
"description": "The Action PreAction confirmation message",
"order": 11,
"title": "Confirmation",
"type": "string"
},
"DeadlineBehavior": {
"$ref": "#/definitions/ActionDeadlineBehavior",
"description": "The Action PreAction deadline behavior",
"order": 5,
"title": "Deadline Behavior"
},
"DeadlineInterval": {
"$ref": "#/definitions/ActionMessageTimeInterval",
"description": "The Action PreAction deadline interval",
"order": 7,
"title": "Deadline Interval"
},
"DeadlineLocalOffset": {
"description": "The Action PreAction deadline local offset. The value must follow the ISO-8601 standard for duration format e.g PT15M for 15 minutes or P2D for 2 days",
"order": 9,
"title": "Deadline Local Offset",
"type": "string"
},
"DeadlineOffset": {
"description": "The Action PreAction deadline offset. The value must follow the ISO-8601 standard for duration format e.g PT15M for 15 minutes or P2D for 2 days",
"order": 8,
"title": "Deadline Offset",
"type": "string"
},
"DeadlineType": {
"description": "The Action PreAction deadline type",
"enum": [
"Interval",
"Absolute"
],
"order": 6,
"title": "Deadline Type",
"type": "string"
},
"ShowActionButton": {
"description": "If the Action PreAction shows the Action button",
"order": 3,
"title": "Show Action Button",
"type": "boolean"
},
"ShowCancelButton": {
"description": "If the Action PreAction shows the Cancel button",
"order": 4,
"title": "Show Cancel Button",
"type": "boolean"
},
"ShowConfirmation": {
"description": "If the Action PreAction shows confirmation",
"order": 10,
"title": "Show Confirmation",
"type": "boolean"
},
"Text": {
"description": "The text of the Action PreAction",
"order": 1,
"title": "Text",
"type": "string"
}
},
"title": "ActionSettingsPreAction",
"type": "object"
},
"ActionSettingsRetryWait": {
"properties": {
"Behavior": {
"default": "WaitForInterval",
"description": "The RetryWait behavior of the Action",
"enum": [
"WaitForReboot",
"WaitForInterval"
],
"order": 2,
"title": "Behavior",
"type": "string"
},
"Value": {
"$ref": "#/definitions/RetryWaitInterval",
"description": "The interval to wait before retrying the Action",
"order": 1,
"title": "Value"
}
},
"required": [
"Value"