Skip to content

Commit 5fb1e30

Browse files
author
AWS
committed
Security Incident Response Update: Added support for configuring communication preferences as well as clearly displaying case comment author identities.
1 parent 1887c36 commit 5fb1e30

File tree

2 files changed

+55
-10
lines changed

2 files changed

+55
-10
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Security Incident Response",
4+
"contributor": "",
5+
"description": "Added support for configuring communication preferences as well as clearly displaying case comment author identities."
6+
}

services/securityir/src/main/resources/codegen-resources/service-2.json

Lines changed: 49 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@
3333
{"shape":"ResourceNotFoundException"},
3434
{"shape":"InvalidTokenException"}
3535
],
36-
"documentation":"<p>Provides information on whether the supplied account IDs are associated with a membership.</p> <note> <p> AWS account ID's may appear less than 12 characters and need to be zero-prepended. An example would be <code>123123123</code> which is nine digits, and with zero-prepend would be <code>000123123123</code>. Not zero-prepending to 12 digits could result in errors. </p> </note>"
36+
"documentation":"<p>Provides information on whether the supplied account IDs are associated with a membership.</p> <note> <p> AWS account ID's may appear less than 12 characters and need to be zero-prepended. An example would be <code>123123123</code> which is nine digits, and with zero-prepend would be <code>000123123123</code>. Not zero-prepending to 12 digits could result in errors. </p> </note>",
37+
"readonly":true
3738
},
3839
"CancelMembership":{
3940
"name":"CancelMembership",
@@ -169,7 +170,8 @@
169170
{"shape":"ResourceNotFoundException"},
170171
{"shape":"InvalidTokenException"}
171172
],
172-
"documentation":"<p>Returns the attributes of a case.</p>"
173+
"documentation":"<p>Returns the attributes of a case.</p>",
174+
"readonly":true
173175
},
174176
"GetCaseAttachmentDownloadUrl":{
175177
"name":"GetCaseAttachmentDownloadUrl",
@@ -191,7 +193,8 @@
191193
{"shape":"ResourceNotFoundException"},
192194
{"shape":"InvalidTokenException"}
193195
],
194-
"documentation":"<p>Returns a Pre-Signed URL for uploading attachments into a case.</p>"
196+
"documentation":"<p>Returns a Pre-Signed URL for uploading attachments into a case.</p>",
197+
"readonly":true
195198
},
196199
"GetCaseAttachmentUploadUrl":{
197200
"name":"GetCaseAttachmentUploadUrl",
@@ -236,7 +239,8 @@
236239
{"shape":"ResourceNotFoundException"},
237240
{"shape":"InvalidTokenException"}
238241
],
239-
"documentation":"<p>Returns the attributes of a membership.</p>"
242+
"documentation":"<p>Returns the attributes of a membership.</p>",
243+
"readonly":true
240244
},
241245
"ListCaseEdits":{
242246
"name":"ListCaseEdits",
@@ -258,7 +262,8 @@
258262
{"shape":"ResourceNotFoundException"},
259263
{"shape":"InvalidTokenException"}
260264
],
261-
"documentation":"<p>Views the case history for edits made to a designated case.</p>"
265+
"documentation":"<p>Views the case history for edits made to a designated case.</p>",
266+
"readonly":true
262267
},
263268
"ListCases":{
264269
"name":"ListCases",
@@ -280,7 +285,8 @@
280285
{"shape":"ResourceNotFoundException"},
281286
{"shape":"InvalidTokenException"}
282287
],
283-
"documentation":"<p>Lists all cases the requester has access to.</p>"
288+
"documentation":"<p>Lists all cases the requester has access to.</p>",
289+
"readonly":true
284290
},
285291
"ListComments":{
286292
"name":"ListComments",
@@ -302,7 +308,8 @@
302308
{"shape":"ResourceNotFoundException"},
303309
{"shape":"InvalidTokenException"}
304310
],
305-
"documentation":"<p>Returns comments for a designated case.</p>"
311+
"documentation":"<p>Returns comments for a designated case.</p>",
312+
"readonly":true
306313
},
307314
"ListMemberships":{
308315
"name":"ListMemberships",
@@ -324,7 +331,8 @@
324331
{"shape":"ResourceNotFoundException"},
325332
{"shape":"InvalidTokenException"}
326333
],
327-
"documentation":"<p>Returns the memberships that the calling principal can access.</p>"
334+
"documentation":"<p>Returns the memberships that the calling principal can access.</p>",
335+
"readonly":true
328336
},
329337
"ListTagsForResource":{
330338
"name":"ListTagsForResource",
@@ -346,7 +354,8 @@
346354
{"shape":"ConflictException"},
347355
{"shape":"InvalidTokenException"}
348356
],
349-
"documentation":"<p>Returns currently configured tags on a resource.</p>"
357+
"documentation":"<p>Returns currently configured tags on a resource.</p>",
358+
"readonly":true
350359
},
351360
"TagResource":{
352361
"name":"TagResource",
@@ -561,6 +570,7 @@
561570
"ap-southeast-3",
562571
"ap-southeast-4",
563572
"ap-southeast-5",
573+
"ap-southeast-6",
564574
"ap-southeast-7",
565575
"ca-central-1",
566576
"ca-west-1",
@@ -814,6 +824,31 @@
814824
"min":6,
815825
"pattern":"\\d{6}"
816826
},
827+
"CommunicationPreferences":{
828+
"type":"list",
829+
"member":{"shape":"CommunicationType"}
830+
},
831+
"CommunicationType":{
832+
"type":"string",
833+
"enum":[
834+
"Case Created",
835+
"Case Updated",
836+
"Case Acknowledged",
837+
"Case Closed",
838+
"Case Updated To Service Managed",
839+
"Case Status Updated",
840+
"Case Pending Customer Action Reminder",
841+
"Case Attachment Url Uploaded",
842+
"Case Comment Added",
843+
"Case Comment Updated",
844+
"Membership Created",
845+
"Membership Updated",
846+
"Membership Cancelled",
847+
"Register Delegated Administrator",
848+
"Deregister Delegated Administrator",
849+
"Disable AWS Service Access"
850+
]
851+
},
817852
"ConflictException":{
818853
"type":"structure",
819854
"required":[
@@ -1386,6 +1421,10 @@
13861421
"email":{
13871422
"shape":"EmailAddress",
13881423
"documentation":"<p/>"
1424+
},
1425+
"communicationPreferences":{
1426+
"shape":"CommunicationPreferences",
1427+
"documentation":"<p/>"
13891428
}
13901429
},
13911430
"documentation":"<p/>"
@@ -1903,7 +1942,7 @@
19031942
},
19041943
"PrincipalId":{
19051944
"type":"string",
1906-
"pattern":".*((^AWS Responder)|(^\\d{12}$)|(^security-ir.amazonaws.com)).*"
1945+
"pattern":".*((^AWS Responder)|(^\\d{12}$)|(^arn:([^:]*aws[^:]*):(?:(?:iam)::\\d{12}:(?:user|role|group|root)(?:(?:/[^/]+)+)?|(?:sts)::\\d{12}:assumed-role/[^/]+/[^/]+)$)|(^security-ir.amazonaws.com)).*"
19071946
},
19081947
"ResolverType":{
19091948
"type":"string",

0 commit comments

Comments
 (0)