-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
PrismaCloudV2.yml
2128 lines (2128 loc) · 85.8 KB
/
PrismaCloudV2.yml
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
sectionOrder:
- Connect
- Collect
commonfields:
id: PrismaCloud v2
version: -1
name: PrismaCloud v2
display: Prisma Cloud v2
category: Network Security
description: Prisma Cloud secures infrastructure, workloads and applications, across the entire cloud-native technology stack.
configuration:
- additionalinfo: 'Prisma Cloud service tenant admin console URL. The URL for the Prisma Cloud service varies depending on the cluster on which your tenant is deployed. For more information see: https://pan.dev/prisma-cloud/api/cspm/api-urls/.'
name: url
display: Server URL
defaultvalue: https://api.prismacloud.io/
type: 0
required: true
section: Connect
- display: Username / Access Key ID
name: credentials
required: true
type: 9
displaypassword: Password / Access Key Secret
section: Connect
- name: proxy
display: Use system proxy settings
defaultvalue: 'false'
type: 8
section: Connect
advanced: true
required: false
- name: insecure
display: Trust any certificate (not secure)
defaultvalue: 'false'
type: 8
section: Connect
advanced: true
required: false
- display: Incident type
name: incidentType
type: 13
section: Connect
required: false
- additionalinfo: Maximum is limited to 200.
defaultvalue: '50'
display: Maximum number of incidents to fetch
name: max_fetch
type: 0
section: Collect
required: false
- additionalinfo: Date or relative timestamp to start fetching incidents from, in the format of <number> <time unit>. For example, 2 minutes, 12 hours, 6 days, 2 weeks, 3 months, 1 year, ISO timestamp. Default is 3 days.
defaultvalue: 3 days
display: First fetch time interval
name: first_fetch
type: 0
section: Collect
required: false
- additionalinfo: Use this parameter to determine how far back to look in the search for incidents that were created before the last run time and did not match the query when they were created. When choosing to increase this value, duplicate incidents might occur at increase time.
defaultvalue: 20
display: 'Advanced: Time in minutes to look back when fetching incidents'
name: look_back
type: 0
section: Collect
advanced: true
required: false
- display: Fetch only incidents matching these filters
defaultvalue: 'alert.status=open'
name: filters
type: 0
additionalinfo: 'Comma-separated list of filter name and value, in the following format: filtername1=filtervalue1,filtername2=filtervalue2,etc. Names and possible values for filters can be found by running the "prisma-cloud-alert-filter-list" command.'
section: Collect
advanced: true
required: false
- display: Fetch incidents
name: isFetch
type: 8
section: Collect
- additionalinfo: 'Choose the direction to mirror the incident: Incoming (from Prisma Cloud to Cortex XSOAR), Outgoing (from Cortex XSOAR to Prisma Cloud), or Incoming and Outgoing (from/to Cortex XSOAR and Prisma Cloud).'
defaultvalue: None
display: Incident Mirroring Direction
name: mirror_direction
options:
- None
- Incoming
- Outgoing
- Incoming And Outgoing
required: false
type: 15
section: Collect
- additionalinfo: When selected, closing and re-opening the Prisma Cloud alert is mirrored in Cortex XSOAR.
defaultvalue: 'false'
display: Close Mirrored XSOAR Incident
name: close_incident
required: false
type: 8
section: Collect
- additionalinfo: When selected, closing and re-opening the Cortex XSOAR incident is mirrored in Prisma Cloud.
defaultvalue: 'false'
display: Close Mirrored Prisma Cloud Alert
name: close_alert
required: false
type: 8
section: Collect
- name: output_old_format
display: Output results of V1 commands to the context data in the old format
defaultvalue: 'false'
type: 8
section: Connect
advanced: true
required: false
script:
script: ''
type: python
subtype: python3
dockerimage: demisto/python3:3.10.13.84405
isfetch: true
isremotesyncin: true
isremotesyncout: true
commands:
- arguments:
- description: Comma-separated list of alert IDs to be dismissed.
isArray: true
name: alert_ids
- description: Comma-separated list of policy IDs.
isArray: true
name: policy_ids
- description: The amount of time for snoozing alert. Both snooze value and unit must be specified if snoozing.
name: snooze_value
- auto: PREDEFINED
description: The time unit for snoozing alert. Both snooze value and unit must be specified if snoozing.
name: snooze_unit
predefined:
- hour
- day
- week
- month
- year
- description: Reason for dismissal.
name: dismissal_note
required: true
- description: 'Start time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_from
- description: 'End time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_to
- auto: PREDEFINED
description: 'The search time unit. The "login" and "epoch" options are only available if "time_range_value" is not provided.'
name: time_range_unit
predefined:
- hour
- day
- week
- month
- year
- login
- epoch
- description: The amount of "time_range_unit" to go back in time. For example, 3 days, 5 weeks, etc.
name: time_range_value
- description: 'Comma-separated list of filter name and value, in the following format: filtername1=filtervalue1,filtername2=filtervalue2,etc. Names and possible values for filters can be found by running the "prisma-cloud-alert-filter-list" command.'
isArray: true
name: filters
description: Dismiss or snooze the alerts matching the given filter. Either policy IDs or alert IDs must be provided. When no absolute time nor relative time arguments are provided, the default time range is all times. For snoozing, provide "snooze_unit" and "snooze_value" arguments.
execution: true
name: prisma-cloud-alert-dismiss
- arguments:
- default: true
description: The alert ID.
name: alert_id
required: true
- auto: PREDEFINED
defaultValue: 'true'
description: Whether to retrieve the entire / trimmed alert model.
name: detailed
predefined:
- 'true'
- 'false'
description: Gets the details of an alert based on the alert ID.
name: prisma-cloud-alert-get-details
outputs:
- contextPath: PrismaCloud.Alert.id
description: The alert ID.
type: String
- contextPath: PrismaCloud.Alert.status
description: The alert status.
type: String
- contextPath: PrismaCloud.Alert.reason
description: The alert reason.
type: String
- contextPath: PrismaCloud.Alert.alertTime
description: The time of the alert.
type: Date
- contextPath: PrismaCloud.Alert.firstSeen
description: The time the alert was first seen.
type: Date
- contextPath: PrismaCloud.Alert.lastSeen
description: The time the alert was last seen.
type: Date
- contextPath: PrismaCloud.Alert.eventOccurred
description: The time the event occurred.
type: Date
- contextPath: PrismaCloud.Alert.alertRules
description: Names of the alert rules that triggered this alert.
type: String
- contextPath: PrismaCloud.Alert.resource.resourceApiName
description: The resource API name.
type: String
- contextPath: PrismaCloud.Alert.resource.id
description: The resource ID.
type: String
- contextPath: PrismaCloud.Alert.resource.account
description: The resource account.
type: String
- contextPath: PrismaCloud.Alert.resource.accountId
description: The resource account ID.
type: String
- contextPath: PrismaCloud.Alert.resource.resourceType
description: The resource type.
type: String
- contextPath: PrismaCloud.Alert.policy.policyId
description: The policy ID.
type: String
- contextPath: PrismaCloud.Alert.policy.name
description: The policy name.
type: String
- contextPath: PrismaCloud.Alert.policy.policyType
description: The type of policy.
type: String
- contextPath: PrismaCloud.Alert.policy.severity
description: The policy severity.
type: String
- contextPath: PrismaCloud.Alert.policy.recommendation
description: The policy recommendation.
type: String
- contextPath: PrismaCloud.Alert.policy.remediation.description
description: The policy remediation description.
type: String
- contextPath: PrismaCloud.Alert.policy.remediation.cliScriptTemplate
description: The policy remediation CLI script template.
type: String
- contextPath: PrismaCloud.Alert.policy.description
description: The policy description.
type: String
- contextPath: PrismaCloud.Alert.policy.labels
description: The policy labels.
type: Unknown
- contextPath: PrismaCloud.Alert.resource.cloudType
description: The resource cloud type.
type: String
- contextPath: PrismaCloud.Alert.resource.rrn
description: The restricted resource name.
type: String
- contextPath: PrismaCloud.Alert.resource.regionId
description: The resource region ID.
type: String
- contextPath: PrismaCloud.Alert.resource.url
description: The resource URL.
type: String
- contextPath: PrismaCloud.Alert.policy.remediable
description: Whether the policy is remediable.
type: Boolean
- contextPath: PrismaCloud.Alert.policy.systemDefault
description: Whether the policy is the system default.
type: Boolean
- contextPath: PrismaCloud.Alert.policy.deleted
description: Whether the policy was deleted.
type: Boolean
- description: List the acceptable filters and values for alerts.
name: prisma-cloud-alert-filter-list
outputs:
- contextPath: PrismaCloud.AlertFilters.filterName
description: The filter name.
type: String
- contextPath: PrismaCloud.AlertFilters.options
description: The filter value options.
type: String
- contextPath: PrismaCloud.AlertFilters.staticFilter
description: Whether the filter is static.
type: Unknown
- arguments:
- description: Comma-seperated list of alert IDs for which to get remediation details. Provided alert IDs must be associated with the same policy. If a policy is specified, all the alerts specified must belong to that policy.
isArray: true
name: alert_ids
- description: Policy ID for which to get remediation details.
name: policy_id
- description: 'Start time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_from
- description: 'End time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_to
- auto: PREDEFINED
description: 'The search time unit. The "login" and "epoch" options are only available if "time_range_value" is not provided.'
name: time_range_unit
predefined:
- hour
- day
- week
- month
- year
- login
- epoch
- description: The amount of "time_range_unit" to go back in time. For example, 3 days, 5 weeks, etc.
name: time_range_value
- defaultValue: '50'
description: Maximum number of entries to return.
name: limit
- auto: PREDEFINED
description: Whether to retrieve all results. The "limit" argument will be ignored.
name: all_results
predefined:
- 'true'
- 'false'
description: Generates and returns a list of remediation commands for the specified alerts and policies. Data returned for a successful call include fully constructed commands for remediation. Either a policy ID or alert IDs must be provided. The returned information can be retrieved in the UI by clicking the "Remediate" button under the "Actions" column for supported alerts. When no absolute time nor relative time arguments are provided, the default time range is all times.
name: prisma-cloud-remediation-command-list
outputs:
- contextPath: PrismaCloud.AlertRemediation.description
description: Description of CLI remediation instructions.
type: String
- contextPath: PrismaCloud.AlertRemediation.scriptImpact
description: Impact of CLI remediation instructions.
type: String
- contextPath: PrismaCloud.AlertRemediation.alertId
description: The ID of the alert to which the remediation details apply.
type: String
- contextPath: PrismaCloud.AlertRemediation.CLIScript
description: The exact CLI command string.
type: String
- arguments:
- default: true
description: The alert ID.
name: alert_id
required: true
name: prisma-cloud-alert-remediate
description: Remediates the alert with the specified ID, if that alert is associated with a remediable policy. In order to check what remediation would run, use the "prisma-cloud-remediation-command-list" command first.
execution: true
outputs:
- contextPath: PrismaCloud.AlertRemediation.alertId
description: The ID of the alert to which the remediation apply.
type: String
- contextPath: PrismaCloud.AlertRemediation.successful
description: Whether the remediation was successful.
type: Boolean
- contextPath: PrismaCloud.AlertRemediation.failureReason
description: The failure reason for the remediation.
type: String
- contextPath: PrismaCloud.AlertRemediation.errorValue
description: The error value for the remediation.
type: String
- arguments:
- description: Comma-separated list of alert IDs to be reopened.
isArray: true
name: alert_ids
- description: Comma-separated list of policy IDs.
isArray: true
name: policy_ids
- description: 'Start time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_from
- description: 'End time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_to
- auto: PREDEFINED
description: 'The search time unit. The "login" and "epoch" options are only available if "time_range_value" is not provided.'
name: time_range_unit
predefined:
- hour
- day
- week
- month
- year
- login
- epoch
- description: The amount of "time_range_unit" to go back in time. For example, 3 days, 5 weeks, etc.
name: time_range_value
- description: 'Comma-separated list of filter name and value, in the following format: filtername1=filtervalue1,filtername2=filtervalue2,etc. Names and possible values for filters can be found by running the "prisma-cloud-alert-filter-list" command.'
isArray: true
name: filters
description: Re-open the alerts matching the given filter. Either policy IDs or alert IDs must be provided. When no absolute time nor relative time arguments are provided, the default time range is all times.
execution: true
name: prisma-cloud-alert-reopen
- arguments:
- description: 'Start time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_from
- description: 'End time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_to
- auto: PREDEFINED
description: 'The search time unit. The "login" and "epoch" options are only available if "time_range_value" is not provided.'
name: time_range_unit
predefined:
- hour
- day
- week
- month
- year
- login
- epoch
- description: The amount of "time_range_unit" to go back in time. For example, 3 days, 5 weeks, etc.
name: time_range_value
- description: 'Comma-separated list of filter name and value, in the following format: filtername1=filtervalue1,filtername2=filtervalue2,etc. Names and possible values for filters can be found by running the "prisma-cloud-alert-filter-list" command.'
isArray: true
name: filters
- auto: PREDEFINED
defaultValue: 'true'
description: Whether to retrieve the entire / trimmed alert model.
name: detailed
predefined:
- 'true'
- 'false'
- defaultValue: '50'
description: Maximum number of entries to return.
name: limit
- description: Token of the next page to retrive. When provided, other arguments are ignored.
name: next_token
- description: 'The field to sort the results by. Possible values are: alertTime,firstSeen,lastSeen,lastUpdated.'
name: sort_field
auto: PREDEFINED
predefined:
- alertTime
- firstSeen
- lastSeen
- lastUpdated
- description: 'The direction to sort the results by. Sort field must be specified if sorting. Possible values are: asc, desc. Default is asc.'
name: sort_direction
defaultValue: asc
auto: PREDEFINED
predefined:
- asc
- desc
description: Search alerts on the Prisma Cloud platform. When no absolute time nor relative time arguments are provided, the search will show alerts from the last 7 days.
name: prisma-cloud-alert-search
outputs:
- contextPath: PrismaCloud.AlertPageToken.nextPageToken
description: Next page token.
type: String
- contextPath: PrismaCloud.Alert.id
description: The ID of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.status
description: The status of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.reason
description: The reason of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.lastSeen
description: The time the returned alert was last seen.
type: String
- contextPath: PrismaCloud.Alert.firstSeen
description: The time the returned alert was first seen.
type: String
- contextPath: PrismaCloud.Alert.lastUpdated
description: The time the returned alert was last updated.
type: String
- contextPath: PrismaCloud.Alert.alertTime
description: The time of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.policyId
description: The policy ID of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.name
description: The policy name of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.policyType
description: The policy type of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.severity
description: The policy severity of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.remediable
description: Whether the policy is remediable.
type: Boolean
- contextPath: PrismaCloud.Alert.policy.description
description: The policy description of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.recommendation
description: The policy recommendation of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.remediation.description
description: The policy remediation description of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.remediation.cliScriptTemplate
description: The policy CLI script template description of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.policy.systemDefault
description: Whether the policy is the system default.
type: Boolean
- contextPath: PrismaCloud.Alert.policy.deleted
description: Whether the policy was deleted.
type: Boolean
- contextPath: PrismaCloud.Alert.resource.resourceType
description: The resource type of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.resource.name
description: The resource name of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.resource.account
description: The resource account of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.resource.cloudType
description: The resource cloud type of the returned alert.
type: String
- contextPath: PrismaCloud.Alert.resource.rrn
description: The restricted resource name of the returned alert.
type: String
- arguments:
- description: 'Start time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_from
- description: 'End time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_to
- auto: PREDEFINED
description: 'The search time unit. The "login" and "epoch" options are only available if "time_range_value" is not provided.'
name: time_range_unit
predefined:
- hour
- day
- week
- month
- year
- login
- epoch
- description: The amount of "time_range_unit" to go back in time. For example, 3 days, 5 weeks, etc.
name: time_range_value
- description: 'Query to run in Prisma Cloud config API using RQL language. For more information see: https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-rql-reference/rql-reference/config-query.'
name: query
required: true
- defaultValue: '50'
description: Maximum number of entries to return.
name: limit
- description: Search ID. Can be used to rerun the same search.
name: search_id
- auto: PREDEFINED
defaultValue: 'desc'
description: The direction to sort the results by. Both sort direction and field must be specified if sorting.
name: sort_direction
predefined:
- asc
- desc
- auto: PREDEFINED
defaultValue: 'insertTs'
description: The field to sort the results by. Both sort direction and field must be specified if sorting.
name: sort_field
predefined:
- id
- time
- apiName
- customerId
- insertTs
- json
- cloudAccount
- cloudRegion
- stateId
description: Search configuration inventory on the Prisma Cloud platform using RQL language. Use this command for all queries that start with "config". When no absolute time nor relative time arguments are provided, the default time range is all times.
name: prisma-cloud-config-search
outputs:
- contextPath: PrismaCloud.Config.accountId
description: Cloud account ID.
type: String
- contextPath: PrismaCloud.Config.accountName
description: Cloud account name.
type: String
- contextPath: PrismaCloud.Config.allowDrillDown
description: Whether to allow drill down.
type: Boolean
- contextPath: PrismaCloud.Config.cloudType
description: Cloud type.
type: String
- contextPath: PrismaCloud.Config.deleted
description: Whether the asset was deleted.
type: Boolean
- contextPath: PrismaCloud.Config.hasExtFindingRiskFactors
description: Whether the configuration has external finding risk factors.
type: Boolean
- contextPath: PrismaCloud.Config.hasExternalFinding
description: Whether the configuration has an external finding.
type: Boolean
- contextPath: PrismaCloud.Config.hasExternalIntegration
description: Whether the configuration has an external integration.
type: Boolean
- contextPath: PrismaCloud.Config.hasNetwork
description: Whether the configuration has a network.
type: Boolean
- contextPath: PrismaCloud.Config.id
description: Prisma Cloud configuration ID.
type: String
- contextPath: PrismaCloud.Config.assetId
description: Prisma Cloud asset ID.
type: String
- contextPath: PrismaCloud.Config.data
description: Prisma Cloud asset specific data.
type: Unknown
- contextPath: PrismaCloud.Config.insertTs
description: Insert timestamp.
type: Date
- contextPath: PrismaCloud.Config.createdTs
description: Created timestamp.
type: Date
- contextPath: PrismaCloud.Config.name
description: Asset name.
type: String
- contextPath: PrismaCloud.Config.regionId
description: Cloud region ID.
type: String
- contextPath: PrismaCloud.Config.regionName
description: Cloud region name.
type: String
- contextPath: PrismaCloud.Config.resourceType
description: Cloud resource type.
type: String
- contextPath: PrismaCloud.Config.rrn
description: Cloud restricted resource name.
type: String
- contextPath: PrismaCloud.Config.service
description: Cloud service.
type: String
- contextPath: PrismaCloud.Config.stateId
description: State ID.
type: String
- arguments:
- description: 'Start time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_from
- description: 'End time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_to
- auto: PREDEFINED
description: The search time unit. The "login" and "epoch" options are only available if "time_range_value" is not provided.
name: time_range_unit
predefined:
- hour
- day
- week
- month
- year
- login
- epoch
- description: The amount of "time_range_unit" to go back in time. For example, 3 days, 5 weeks, etc.
name: time_range_value
- description: 'Query to run in Prisma Cloud event API using RQL language. For more information see: https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-rql-reference/rql-reference/event-query.'
name: query
required: true
- defaultValue: '50'
description: Maximum number of entries to return.
name: limit
- description: 'The field to sort the results by. Possible values are: cloudService, operation, cloudAccount, cloudRegion, id, time, crud, user.'
name: sort_field
auto: PREDEFINED
predefined:
- cloudService
- operation
- cloudAccount
- cloudRegion
- id
- time
- crud
- user
- description: 'The direction to sort the results by. Sort field must be specified if sorting. Possible values are: asc, desc. Default is asc.'
name: sort_direction
defaultValue: asc
auto: PREDEFINED
predefined:
- asc
- desc
description: Search events inventory on the Prisma Cloud platform using RQL language. Use this command for all queries that start with "event". When no absolute time nor relative time arguments are provided, the default time range is all times.
name: prisma-cloud-event-search
outputs:
- contextPath: PrismaCloud.Event.subject
description: Cloud event subject.
type: String
- contextPath: PrismaCloud.Event.accountName
description: Cloud event account name.
type: String
- contextPath: PrismaCloud.Event.name
description: Cloud event name.
type: String
- contextPath: PrismaCloud.Event.source
description: Cloud event source.
type: String
- contextPath: PrismaCloud.Event.ip
description: Cloud event IP address.
type: String
- contextPath: PrismaCloud.Event.eventTs
description: Cloud event timestamp.
type: Date
- contextPath: PrismaCloud.Event.countryName
description: Cloud event country name.
type: String
- contextPath: PrismaCloud.Event.stateName
description: Cloud event state name.
type: String
- contextPath: PrismaCloud.Event.cityName
description: Cloud event city name.
type: String
- contextPath: PrismaCloud.Event.location
description: Cloud event location.
type: String
- contextPath: PrismaCloud.Event.account
description: Cloud event account.
type: String
- contextPath: PrismaCloud.Event.regionId
description: Cloud event region ID.
type: Number
- contextPath: PrismaCloud.Event.type
description: Cloud event type.
type: String
- contextPath: PrismaCloud.Event.id
description: Cloud event ID.
type: Number
- contextPath: PrismaCloud.Event.role
description: Cloud event role.
type: String
- contextPath: PrismaCloud.Event.accessKeyUsed
description: Whether the cloud event access key is used.
type: Boolean
- contextPath: PrismaCloud.Event.success
description: Whether the cloud event is successful.
type: Boolean
- contextPath: PrismaCloud.Event.internal
description: Whether the cloud event is internal.
type: Boolean
- contextPath: PrismaCloud.Event.cityId
description: Cloud event city ID.
type: Number
- contextPath: PrismaCloud.Event.cityLatitude
description: Cloud event city latitude.
type: Number
- contextPath: PrismaCloud.Event.cityLongitude
description: Cloud event city longitude.
type: Number
- contextPath: PrismaCloud.Event.countryId
description: Cloud event country ID.
type: Number
- contextPath: PrismaCloud.Event.dynamicData
description: Cloud event dynamic data.
type: String
- contextPath: PrismaCloud.Event.stateId
description: Cloud event state ID.
type: Number
- arguments:
- description: 'Start time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_from
- description: 'End time for the search. Time is interpreted as UTC. Values can be in either ISO date format, relative time, or epoch timestamp. For example: "2019-10-21T23:45:00 GMT+3" (ISO date format), "3 days" (relative time), 1579039377301 (epoch time).'
name: time_range_date_to
- auto: PREDEFINED
description: 'The search time unit. The "login" and "epoch" options are only available if "time_range_value" is not provided.'
name: time_range_unit
predefined:
- hour
- day
- week
- month
- year
- login
- epoch
- description: The amount of "time_range_unit" to go back in time. For example, 3 days, 5 weeks, etc.
name: time_range_value
- description: 'Query to run in Prisma Cloud network API using RQL language. For more information see: https://docs.paloaltonetworks.com/prisma/prisma-cloud/prisma-cloud-rql-reference/rql-reference/network-query.'
name: query
required: true
- auto: PREDEFINED
description: The cloud in which the network should be searched.
name: cloud_type
predefined:
- aws
- azure
- gcp
- alibaba_cloud
- oci
- description: Search ID. Can be used to rerun the same search.
name: search_id
description: 'Search networks inventory on the Prisma Cloud platform using RQL language. Use this command for all queries that start with "networks". When no absolute time nor relative time arguments are provided, the default time range is all times. In order to limit the results returning, use "limit search records to" at the end of the RQL query, followed by a value from one of these options: 1, 10, 100, 1000, and 10,000.'
name: prisma-cloud-network-search
outputs:
- contextPath: PrismaCloud.Network.Node.id
description: Cloud network node ID.
type: Number
- contextPath: PrismaCloud.Network.Node.name
description: Cloud network node name.
type: String
- contextPath: PrismaCloud.Network.Node.ipAddr
description: Cloud network node IP address.
type: String
- contextPath: PrismaCloud.Network.Node.grouped
description: Whether the cloud network node is grouped.
type: Boolean
- contextPath: PrismaCloud.Network.Node.suspicious
description: Whether the cloud network node is suspicious.
type: Boolean
- contextPath: PrismaCloud.Network.Node.vulnerable
description: Whether the cloud network node is vulnerable.
type: Boolean
- contextPath: PrismaCloud.Network.Node.metadata
description: Cloud network node metadata.
type: Unknown
- contextPath: PrismaCloud.Network.Connection.from
description: Cloud network connection from node ID.
type: Number
- contextPath: PrismaCloud.Network.Connection.to
description: Cloud network connection to node ID.
type: Number
- contextPath: PrismaCloud.Network.Connection.label
description: Cloud network connection label.
type: String
- contextPath: PrismaCloud.Network.Connection.suspicious
description: Whether the cloud network node is suspicious.
type: Boolean
- contextPath: PrismaCloud.Network.Connection.metadata
description: Cloud network connection metadata.
type: Unknown
- arguments:
- description: ID number of the CICD run.
name: cicd_run_id
- description: Comma-separated list of authors of the files.
isArray: true
name: authors
- description: Branch of the files.
name: branch
- description: 'Comma-separated list of categories of the files. Available options are: IAM, Compute, Monitoring, Networking, Kubernetes, General, Storage, Secrets, Public, Vulnerabilities, Drift, BuildIntegrity, Licenses.'
isArray: true
name: categories
- auto: PREDEFINED
description: The code status.
name: code_status
predefined:
- hasFix
- description: 'Comma-separated list of file types of the files. Available options are: tf, json, yml, yaml, template, .checkov.baseline, hcl, Dockerfile, package.json, package-lock.json, bower.json, pom.xml, build.gradle, build.gradle.kts, gradle.properties, gradle-wrapper.properties, go.sum, go.mod, requirements.txt, METADATA, bicep, Pipfile.lock, Pipfile, yarn.lock, Gemfile, Gemfile.lock, gemspec, env, settings.py, main.py, application.py, config.py, app.js, config.js, dev.js, db.properties, application.properties, private.pem, privatekey.pem, index.php, config.php, config.xml, strings.xml, app.module.ts, environment.ts, tpl, tfvars, unknown.'
isArray: true
name: file_types
- description: Repository of the files.
name: repository
required: true
- description: Repository ID of the files.
name: repository_id
- description: 'Comma-separated list of search options of the files. Available options are: path, code.'
isArray: true
name: search_options
- description: Search text in the files.
name: search_text
- auto: PREDEFINED
description: Search title of the files.
name: search_title
predefined:
- 'title'
- 'constructive_title'
- 'descriptive_title'
- description: 'Comma-separated list of severities of the files. Available options are: CRITICAL, HIGH, MEDIUM, LOW, INFO.'
isArray: true
name: severities
- description: 'Comma-separated list of source types of the files. Available options are: Github, Bitbucket, Gitlab, AzureRepos, cli, AWS, Azure, GCP, Docker, githubEnterprise, gitlabEnterprise, bitbucketEnterprise, terraformCloud, githubActions, circleci, codebuild, jenkins, tfcRunTasks, admissionController, terraformEnterprise.'
isArray: true
name: source_types
required: true
- description: 'Comma-separated list of tag key and value, in the following format: tagkey1=tagvalue1,tagkey2=tagvalue2,etc.'
isArray: true
name: tags
- description: 'Comma-separated list of statuses of the files. Available options are: Errors, Suppressed, Passed, Fixed.'
isArray: true
name: statuses
- defaultValue: '50'
description: Maximum number of entries to return.
name: limit
- auto: PREDEFINED
description: Whether to retrieve all results. The "limit" argument will be ignored.
name: all_results
predefined:
- 'true'
- 'false'
description: Lists scanned files that contain errors. In order to use this command, the "Code Security" module needs to be enabled and accessible in the Prisma Cloud UI.
name: prisma-cloud-error-file-list
outputs:
- contextPath: PrismaCloud.ErrorFile.filePath
description: Error file path.
type: String
- contextPath: PrismaCloud.ErrorFile.suppressedErrorsCount
description: The number of error file suppressed errors.
type: Number
- contextPath: PrismaCloud.ErrorFile.passedCount
description: The number of error files passed.
type: Number
- contextPath: PrismaCloud.ErrorFile.openErrorsCount
description: The number of error file open errors.
type: Number
- contextPath: PrismaCloud.ErrorFile.errorsCount
description: The number of error file errors.
type: Number
- contextPath: PrismaCloud.ErrorFile.fixedCount
description: The number of error files fixed.
type: Number
- contextPath: PrismaCloud.ErrorFile.type
description: Error file type.
type: String
- name: prisma-cloud-trigger-scan
description: Trigger asynchronous scan of all resources to refresh the current state at Prisma Cloud Code Security. In order to use this command, the "Code Security" module needs to be enabled and accessible in the Prisma Cloud UI.
- arguments:
- description: Restricted Resource Name of the resource to get details about. Can be retrieved by running a command that has that RRN.
name: rrn
required: true
description: Get resource details.
name: prisma-cloud-resource-get
outputs:
- contextPath: PrismaCloud.Resource.rrn
description: Prisma Cloud restricted resource name.
type: String
- contextPath: PrismaCloud.Resource.id
description: Prisma Cloud resource ID.
type: String
- contextPath: PrismaCloud.Resource.name
description: Resource name.
type: String
- contextPath: PrismaCloud.Resource.url
description: Resource URL.
type: String
- contextPath: PrismaCloud.Resource.accountId
description: Cloud account ID.
type: String
- contextPath: PrismaCloud.Resource.accountName
description: Cloud account name.
type: String
- contextPath: PrismaCloud.Resource.cloudType
description: Cloud type.
type: String
- contextPath: PrismaCloud.Resource.regionId
description: Cloud region ID.
type: String
- contextPath: PrismaCloud.Resource.regionName
description: Cloud region Name.
type: String
- contextPath: PrismaCloud.Resource.service
description: Cloud service.
type: String
- contextPath: PrismaCloud.Resource.resourceType
description: Cloud resource type.
type: String
- contextPath: PrismaCloud.Resource.insertTs
description: Insert timestamp.
type: Date
- contextPath: PrismaCloud.Resource.deleted
description: Whether the resource was deleted.
type: Boolean
- contextPath: PrismaCloud.Resource.vpcId
description: VPC ID.
type: String
- contextPath: PrismaCloud.Resource.vpcName
description: VPC name.
type: String
- contextPath: PrismaCloud.Resource.tags
description: Prisma Cloud resource tags.
type: Unknown
- contextPath: PrismaCloud.Resource.riskGrade
description: Risk grade.
type: String
- contextPath: PrismaCloud.Resource.hasNetwork
description: Whether the resource has a network.
type: Boolean
- contextPath: PrismaCloud.Resource.hasExternalFinding
description: Whether the resource has an external finding.
type: Boolean
- contextPath: PrismaCloud.Resource.hasExternalIntegration
description: Whether the resource has an external integration.
type: Boolean
- contextPath: PrismaCloud.Resource.allowDrillDown
description: Whether to allow drill down.
type: Boolean
- contextPath: PrismaCloud.Resource.hasExtFindingRiskFactors
description: Whether the resource has external finding risk factors.
type: Boolean
- contextPath: PrismaCloud.Resource.data
description: Prisma Cloud resource specific data.
type: Unknown
- arguments:
- description: The resource list type.
name: list_type
- description: The namespace to return only resources associated with it.
name: namespace
- defaultValue: '50'
description: Maximum number of entries to return.
name: limit
- auto: PREDEFINED
description: Whether to retrieve all results. The "limit" argument will be ignored.
name: all_results
predefined:
- 'true'
- 'false'
description: Returns all the resource lists. Maps to the Resource Lists under Settings > Resource Lists in the Console UI.
name: prisma-cloud-resource-list
outputs:
- contextPath: PrismaCloud.ResourceList.id
description: Prisma Cloud resource list ID.
type: String
- contextPath: PrismaCloud.ResourceList.name
description: Resource list name.
type: String
- contextPath: PrismaCloud.ResourceList.resourceListType
description: Resource list type.
type: String
- contextPath: PrismaCloud.ResourceList.description
description: Resource list description.
type: String
- contextPath: PrismaCloud.ResourceList.lastModifiedBy
description: Resource list last modified user.
type: String
- contextPath: PrismaCloud.ResourceList.lastModifiedTs
description: Resource list last modified time.
type: Date
- contextPath: PrismaCloud.ResourceList.members
description: Resource list members.
type: Unknown
- contextPath: PrismaCloud.ResourceList.namespaces
description: Resource list namespaces.