You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Comma delimted list of 'dot-notation' string names of desired properties in the result set. Use if you want only a subset of attributes from results
258
+
description: "Comma delimted list of 'dot-notation' string names of desired properties in the result set. Use if you want only a subset of attributes from results"
261
259
'/iris/v3/{account_id}/incidents_by_time':
262
-
'get':
260
+
get:
263
261
summary: Get incidents in a timespan for account
264
262
tags:
265
263
- Incident operations
@@ -354,18 +352,177 @@ paths:
354
352
name: start_time
355
353
in: query
356
354
required: true
357
-
description: Time to begin span, either epoch timestamp or an ISO string
355
+
description: 'Time to begin span, either epoch timestamp or an ISO string'
358
356
- schema:
359
357
type: string
360
358
name: end_time
361
359
in: query
362
360
required: true
363
-
description: Time to end span, either epoch timestamp or an ISO string
361
+
description: 'Time to end span, either epoch timestamp or an ISO string'
364
362
- schema:
365
363
type: string
366
364
name: return_value
367
365
in: query
368
366
description: Comma delimited list of dot-notation string names of desired properties in the result set. Use if you only want a subset of attributes from each incident
curl -H "x-aims-auth-token: ${TOKEN}" -X POST https://api.cloudinsight.alertlogic.com/iris/v3/12341ab29e36-394e-11e9-a004-720004270420/complete -d '{"reason_code": "further_action", "notes": "This incident is closed because of y"}'
406
+
requestBody:
407
+
description: 'The value in notes will be displayed in the customer console as the reason for incident closure/completion. The value in reason code is used to classify the reason for closure.'
curl -H "x-aims-auth-token: ${TOKEN}" -X POST https://api.cloudinsight.alertlogic.com/iris/v3/1234/1ab29e36-394e-11e9-a004-720004270420/feedback -d '{"customer_feedback": "My feedback", "customer_feedback_reason": "further_action"}'
484
+
requestBody:
485
+
description: 'The value in customer_feedback will be added to the incident and visible in the customer console, the value in customer_feedback_reason is used to classify the type of feedback.'
486
+
required: true
487
+
content:
488
+
application/json:
489
+
schema:
490
+
type: object
491
+
properties:
492
+
customer_feedback:
493
+
type: string
494
+
description: Feedback to add to incident
495
+
customer_feedback_reason:
496
+
type: string
497
+
description: Reason for feedback
498
+
enum:
499
+
- further_action
500
+
- acceptable_risk
501
+
- compensating_control
502
+
- threat_not_valid
503
+
- not_concluded
504
+
- other
505
+
required:
506
+
- customer_feedback
507
+
- customer_feedback_reason
508
+
examples:
509
+
Add customer feedback body:
510
+
value:
511
+
customer_feedback: My feedback
512
+
customer_feedback_reason: futher_action
513
+
parameters:
514
+
- schema:
515
+
type: string
516
+
name: account_id
517
+
in: path
518
+
required: true
519
+
description: AIMS Account ID
520
+
- schema:
521
+
type: string
522
+
name: incident_id
523
+
in: path
524
+
required: true
525
+
description: Incident ID
369
526
components:
370
527
schemas:
371
528
Incident:
@@ -496,9 +653,64 @@ components:
496
653
IncidentsByTime:
497
654
title: IncidentsByTime
498
655
type: array
499
-
items:
656
+
items:
500
657
$ref: '#/components/schemas/Incident'
501
658
description: IncidentsByTime list
659
+
CustomerFeedback:
660
+
title: CustomerFeedback
661
+
type: object
662
+
description: Customer feedback response object
663
+
properties:
664
+
feedback:
665
+
type: string
666
+
feedback_user:
667
+
type: string
668
+
feedback_uid:
669
+
type: string
670
+
feedback_reason:
671
+
type: string
672
+
feedback_datetime:
673
+
type: string
674
+
required:
675
+
- feedback
676
+
- feedback_datetime
677
+
- feedback_reason
678
+
- feedback_uid
679
+
- feedback_user
680
+
CompleteIncident:
681
+
title: Incident completion responses
682
+
type: object
683
+
description: Incident completion response object
684
+
properties:
685
+
new:
686
+
type: object
687
+
properties:
688
+
notes:
689
+
type: string
690
+
reason_code:
691
+
type: string
692
+
status:
693
+
type: string
694
+
status_change_time:
695
+
type: string
696
+
required:
697
+
- notes
698
+
- reason_code
699
+
- status
700
+
- status_change_time
701
+
old:
702
+
type: object
703
+
properties:
704
+
status:
705
+
type: string
706
+
status_change_time:
707
+
type: string
708
+
required:
709
+
- status
710
+
- status_change_time
711
+
required:
712
+
- new
713
+
- old
502
714
securitySchemes:
503
715
X-AIMS-Auth-Token:
504
716
name: X-AIMS-Auth-Token
@@ -508,3 +720,5 @@ components:
508
720
tags:
509
721
- name: Incident operations
510
722
description: IRIS incident operations
723
+
- name: UI operations
724
+
description: IRIS operations available through the console
0 commit comments