@aws-sdk/client-security-ir 3.936.0 → 3.938.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/dist-cjs/index.js +146 -4
- package/dist-es/SecurityIR.js +4 -0
- package/dist-es/commands/ListInvestigationsCommand.js +16 -0
- package/dist-es/commands/SendFeedbackCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +17 -0
- package/dist-es/pagination/ListInvestigationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +95 -4
- package/dist-types/SecurityIR.d.ts +14 -0
- package/dist-types/SecurityIRClient.d.ts +4 -2
- package/dist-types/commands/GetCaseCommand.d.ts +6 -0
- package/dist-types/commands/ListInvestigationsCommand.d.ts +161 -0
- package/dist-types/commands/SendFeedbackCommand.d.ts +134 -0
- package/dist-types/commands/UpdateCaseCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +41 -0
- package/dist-types/models/models_0.d.ts +154 -1
- package/dist-types/pagination/ListInvestigationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +11 -0
- package/dist-types/ts3.4/SecurityIR.d.ts +34 -0
- package/dist-types/ts3.4/SecurityIRClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListInvestigationsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendFeedbackCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +22 -0
- package/dist-types/ts3.4/models/models_0.d.ts +39 -0
- package/dist-types/ts3.4/pagination/ListInvestigationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
- package/package.json +1 -1
|
@@ -1,3 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
* @enum
|
|
4
|
+
*/
|
|
5
|
+
export declare const ActionType: {
|
|
6
|
+
readonly EVIDENCE_COLLECTION: "Evidence";
|
|
7
|
+
readonly INVESTIGATION_ANALYSIS: "Investigation";
|
|
8
|
+
readonly SUMMARIZATION: "Summarization";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
1
14
|
/**
|
|
2
15
|
* @public
|
|
3
16
|
* @enum
|
|
@@ -163,6 +176,34 @@ export declare const PendingAction: {
|
|
|
163
176
|
* @public
|
|
164
177
|
*/
|
|
165
178
|
export type PendingAction = (typeof PendingAction)[keyof typeof PendingAction];
|
|
179
|
+
/**
|
|
180
|
+
* @public
|
|
181
|
+
* @enum
|
|
182
|
+
*/
|
|
183
|
+
export declare const UsefulnessRating: {
|
|
184
|
+
readonly NOT_USEFUL: "NOT_USEFUL";
|
|
185
|
+
readonly USEFUL: "USEFUL";
|
|
186
|
+
};
|
|
187
|
+
/**
|
|
188
|
+
* @public
|
|
189
|
+
*/
|
|
190
|
+
export type UsefulnessRating = (typeof UsefulnessRating)[keyof typeof UsefulnessRating];
|
|
191
|
+
/**
|
|
192
|
+
* @public
|
|
193
|
+
* @enum
|
|
194
|
+
*/
|
|
195
|
+
export declare const ExecutionStatus: {
|
|
196
|
+
readonly CANCELLED: "Cancelled";
|
|
197
|
+
readonly COMPLETED: "Completed";
|
|
198
|
+
readonly FAILED: "Failed";
|
|
199
|
+
readonly IN_PROGRESS: "InProgress";
|
|
200
|
+
readonly PENDING: "Pending";
|
|
201
|
+
readonly WAITING: "Waiting";
|
|
202
|
+
};
|
|
203
|
+
/**
|
|
204
|
+
* @public
|
|
205
|
+
*/
|
|
206
|
+
export type ExecutionStatus = (typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
166
207
|
/**
|
|
167
208
|
* @public
|
|
168
209
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsRegion, CaseAttachmentStatus, CaseStatus, ClosureCode, CommunicationType, CustomerType, EngagementType, MembershipAccountRelationshipStatus, MembershipAccountRelationshipType, MembershipStatus, OptInFeatureName, PendingAction, ResolverType, SelfManagedCaseStatus } from "./enums";
|
|
1
|
+
import { ActionType, AwsRegion, CaseAttachmentStatus, CaseStatus, ClosureCode, CommunicationType, CustomerType, EngagementType, ExecutionStatus, MembershipAccountRelationshipStatus, MembershipAccountRelationshipType, MembershipStatus, OptInFeatureName, PendingAction, ResolverType, SelfManagedCaseStatus, UsefulnessRating } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* @public
|
|
4
4
|
*/
|
|
@@ -326,6 +326,22 @@ export interface CaseAttachmentAttributes {
|
|
|
326
326
|
*/
|
|
327
327
|
createdDate: Date | undefined;
|
|
328
328
|
}
|
|
329
|
+
/**
|
|
330
|
+
* <p>Represents a single metadata entry associated with a case. Each entry consists of a key-value pair that provides additional contextual information about the case, such as classification tags, custom attributes, or system-generated properties. </p>
|
|
331
|
+
* @public
|
|
332
|
+
*/
|
|
333
|
+
export interface CaseMetadataEntry {
|
|
334
|
+
/**
|
|
335
|
+
* <p>The identifier for the metadata field. This key uniquely identifies the type of metadata being stored, such as "severity", "category", or "assignee".</p>
|
|
336
|
+
* @public
|
|
337
|
+
*/
|
|
338
|
+
key: string | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* <p>The value associated with the metadata key. This contains the actual data for the metadata field identified by the key.</p>
|
|
341
|
+
* @public
|
|
342
|
+
*/
|
|
343
|
+
value: string | undefined;
|
|
344
|
+
}
|
|
329
345
|
/**
|
|
330
346
|
* @public
|
|
331
347
|
*/
|
|
@@ -425,6 +441,11 @@ export interface GetCaseResponse {
|
|
|
425
441
|
* @public
|
|
426
442
|
*/
|
|
427
443
|
closedDate?: Date | undefined;
|
|
444
|
+
/**
|
|
445
|
+
* <p>Case response metadata</p>
|
|
446
|
+
* @public
|
|
447
|
+
*/
|
|
448
|
+
caseMetadata?: CaseMetadataEntry[] | undefined;
|
|
428
449
|
}
|
|
429
450
|
/**
|
|
430
451
|
* @public
|
|
@@ -719,6 +740,133 @@ export interface ListCommentsResponse {
|
|
|
719
740
|
*/
|
|
720
741
|
total?: number | undefined;
|
|
721
742
|
}
|
|
743
|
+
/**
|
|
744
|
+
* @public
|
|
745
|
+
*/
|
|
746
|
+
export interface ListInvestigationsRequest {
|
|
747
|
+
/**
|
|
748
|
+
* <p>Investigation performed by an agent for a security incident request</p>
|
|
749
|
+
* @public
|
|
750
|
+
*/
|
|
751
|
+
nextToken?: string | undefined;
|
|
752
|
+
/**
|
|
753
|
+
* <p>Investigation performed by an agent for a security incident request, returning max results</p>
|
|
754
|
+
* @public
|
|
755
|
+
*/
|
|
756
|
+
maxResults?: number | undefined;
|
|
757
|
+
/**
|
|
758
|
+
* <p>Investigation performed by an agent for a security incident per caseID</p>
|
|
759
|
+
* @public
|
|
760
|
+
*/
|
|
761
|
+
caseId: string | undefined;
|
|
762
|
+
}
|
|
763
|
+
/**
|
|
764
|
+
* <p>Represents user feedback for an investigation result. This structure captures the user's evaluation of the investigation's quality, usefulness, and any additional comments.</p>
|
|
765
|
+
* @public
|
|
766
|
+
*/
|
|
767
|
+
export interface InvestigationFeedback {
|
|
768
|
+
/**
|
|
769
|
+
* <p>User assessment of the investigation result's quality and helpfulness. This rating indicates how valuable the investigation findings were in addressing the case.</p>
|
|
770
|
+
* @public
|
|
771
|
+
*/
|
|
772
|
+
usefulness?: UsefulnessRating | undefined;
|
|
773
|
+
/**
|
|
774
|
+
* <p>Optional user comments providing additional context about the investigation feedback. This allows users to explain their rating or provide suggestions for improvement.</p>
|
|
775
|
+
* @public
|
|
776
|
+
*/
|
|
777
|
+
comment?: string | undefined;
|
|
778
|
+
/**
|
|
779
|
+
* <p>ISO 8601 timestamp when the feedback was submitted. This records when the user provided their assessment of the investigation results.</p>
|
|
780
|
+
* @public
|
|
781
|
+
*/
|
|
782
|
+
submittedAt?: Date | undefined;
|
|
783
|
+
}
|
|
784
|
+
/**
|
|
785
|
+
* <p>Represents an investigation action performed within a case. This structure captures the details of an automated or manual investigation, including its status, results, and user feedback.</p>
|
|
786
|
+
* @public
|
|
787
|
+
*/
|
|
788
|
+
export interface InvestigationAction {
|
|
789
|
+
/**
|
|
790
|
+
* <p>The unique identifier for this investigation action. This ID is used to track and reference the specific investigation throughout its lifecycle.</p>
|
|
791
|
+
* @public
|
|
792
|
+
*/
|
|
793
|
+
investigationId: string | undefined;
|
|
794
|
+
/**
|
|
795
|
+
* <p>The type of investigation action being performed. This categorizes the investigation method or approach used in the case.</p>
|
|
796
|
+
* @public
|
|
797
|
+
*/
|
|
798
|
+
actionType: ActionType | undefined;
|
|
799
|
+
/**
|
|
800
|
+
* <p>Human-readable summary of the investigation focus. This provides a brief description of what the investigation is examining or analyzing.</p>
|
|
801
|
+
* @public
|
|
802
|
+
*/
|
|
803
|
+
title: string | undefined;
|
|
804
|
+
/**
|
|
805
|
+
* <p>Detailed investigation results in rich markdown format. This field contains the comprehensive findings, analysis, and conclusions from the investigation.</p>
|
|
806
|
+
* @public
|
|
807
|
+
*/
|
|
808
|
+
content: string | undefined;
|
|
809
|
+
/**
|
|
810
|
+
* <p>The current execution status of the investigation. This indicates whether the investigation is pending, in progress, completed, or failed.</p>
|
|
811
|
+
* @public
|
|
812
|
+
*/
|
|
813
|
+
status: ExecutionStatus | undefined;
|
|
814
|
+
/**
|
|
815
|
+
* <p>ISO 8601 timestamp of the most recent status update. This indicates when the investigation was last modified or when its status last changed.</p>
|
|
816
|
+
* @public
|
|
817
|
+
*/
|
|
818
|
+
lastUpdated: Date | undefined;
|
|
819
|
+
/**
|
|
820
|
+
* <p>User feedback for this investigation result. This contains the user's assessment and comments about the quality and usefulness of the investigation findings.</p>
|
|
821
|
+
* @public
|
|
822
|
+
*/
|
|
823
|
+
feedback?: InvestigationFeedback | undefined;
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* @public
|
|
827
|
+
*/
|
|
828
|
+
export interface ListInvestigationsResponse {
|
|
829
|
+
/**
|
|
830
|
+
* <p>Investigation performed by an agent for a security incident for next Token</p>
|
|
831
|
+
* @public
|
|
832
|
+
*/
|
|
833
|
+
nextToken?: string | undefined;
|
|
834
|
+
/**
|
|
835
|
+
* <p>Investigation performed by an agent for a security incid…Unique identifier for the specific investigation></p>
|
|
836
|
+
* @public
|
|
837
|
+
*/
|
|
838
|
+
investigationActions: InvestigationAction[] | undefined;
|
|
839
|
+
}
|
|
840
|
+
/**
|
|
841
|
+
* @public
|
|
842
|
+
*/
|
|
843
|
+
export interface SendFeedbackRequest {
|
|
844
|
+
/**
|
|
845
|
+
* <p>Send feedback based on request caseID</p>
|
|
846
|
+
* @public
|
|
847
|
+
*/
|
|
848
|
+
caseId: string | undefined;
|
|
849
|
+
/**
|
|
850
|
+
* <p>Send feedback based on request result ID</p>
|
|
851
|
+
* @public
|
|
852
|
+
*/
|
|
853
|
+
resultId: string | undefined;
|
|
854
|
+
/**
|
|
855
|
+
* <p>Required enum value indicating user assessment of result q.....</p>
|
|
856
|
+
* @public
|
|
857
|
+
*/
|
|
858
|
+
usefulness: UsefulnessRating | undefined;
|
|
859
|
+
/**
|
|
860
|
+
* <p>Send feedback based on request comments</p>
|
|
861
|
+
* @public
|
|
862
|
+
*/
|
|
863
|
+
comment?: string | undefined;
|
|
864
|
+
}
|
|
865
|
+
/**
|
|
866
|
+
* @public
|
|
867
|
+
*/
|
|
868
|
+
export interface SendFeedbackResponse {
|
|
869
|
+
}
|
|
722
870
|
/**
|
|
723
871
|
* @public
|
|
724
872
|
*/
|
|
@@ -803,6 +951,11 @@ export interface UpdateCaseRequest {
|
|
|
803
951
|
* @public
|
|
804
952
|
*/
|
|
805
953
|
impactedAccountsToDelete?: string[] | undefined;
|
|
954
|
+
/**
|
|
955
|
+
* <p>Update the case request with case metadata</p>
|
|
956
|
+
* @public
|
|
957
|
+
*/
|
|
958
|
+
caseMetadata?: CaseMetadataEntry[] | undefined;
|
|
806
959
|
}
|
|
807
960
|
/**
|
|
808
961
|
* @public
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListInvestigationsCommandInput, ListInvestigationsCommandOutput } from "../commands/ListInvestigationsCommand";
|
|
3
|
+
import { SecurityIRPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListInvestigations: (config: SecurityIRPaginationConfiguration, input: ListInvestigationsCommandInput, ...rest: any[]) => Paginator<ListInvestigationsCommandOutput>;
|
|
@@ -17,6 +17,7 @@ export declare var CancelMembershipRequest: StaticStructureSchema;
|
|
|
17
17
|
export declare var CancelMembershipResponse: StaticStructureSchema;
|
|
18
18
|
export declare var CaseAttachmentAttributes: StaticStructureSchema;
|
|
19
19
|
export declare var CaseEditItem: StaticStructureSchema;
|
|
20
|
+
export declare var CaseMetadataEntry: StaticStructureSchema;
|
|
20
21
|
export declare var CloseCaseRequest: StaticStructureSchema;
|
|
21
22
|
export declare var CloseCaseResponse: StaticStructureSchema;
|
|
22
23
|
export declare var ConflictException: StaticErrorSchema;
|
|
@@ -40,6 +41,8 @@ export declare var ImpactedAwsRegion: StaticStructureSchema;
|
|
|
40
41
|
export declare var IncidentResponder: StaticStructureSchema;
|
|
41
42
|
export declare var InternalServerException: StaticErrorSchema;
|
|
42
43
|
export declare var InvalidTokenException: StaticErrorSchema;
|
|
44
|
+
export declare var InvestigationAction: StaticStructureSchema;
|
|
45
|
+
export declare var InvestigationFeedback: StaticStructureSchema;
|
|
43
46
|
export declare var ListCaseEditsRequest: StaticStructureSchema;
|
|
44
47
|
export declare var ListCaseEditsResponse: StaticStructureSchema;
|
|
45
48
|
export declare var ListCasesItem: StaticStructureSchema;
|
|
@@ -48,6 +51,8 @@ export declare var ListCasesResponse: StaticStructureSchema;
|
|
|
48
51
|
export declare var ListCommentsItem: StaticStructureSchema;
|
|
49
52
|
export declare var ListCommentsRequest: StaticStructureSchema;
|
|
50
53
|
export declare var ListCommentsResponse: StaticStructureSchema;
|
|
54
|
+
export declare var ListInvestigationsRequest: StaticStructureSchema;
|
|
55
|
+
export declare var ListInvestigationsResponse: StaticStructureSchema;
|
|
51
56
|
export declare var ListMembershipItem: StaticStructureSchema;
|
|
52
57
|
export declare var ListMembershipsRequest: StaticStructureSchema;
|
|
53
58
|
export declare var ListMembershipsResponse: StaticStructureSchema;
|
|
@@ -58,6 +63,8 @@ export declare var MembershipAccountsConfigurationsUpdate: StaticStructureSchema
|
|
|
58
63
|
export declare var OptInFeature: StaticStructureSchema;
|
|
59
64
|
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
60
65
|
export declare var SecurityIncidentResponseNotActiveException: StaticErrorSchema;
|
|
66
|
+
export declare var SendFeedbackRequest: StaticStructureSchema;
|
|
67
|
+
export declare var SendFeedbackResponse: StaticStructureSchema;
|
|
61
68
|
export declare var ServiceQuotaExceededException: StaticErrorSchema;
|
|
62
69
|
export declare var TagResourceInput: StaticStructureSchema;
|
|
63
70
|
export declare var TagResourceOutput: StaticStructureSchema;
|
|
@@ -83,6 +90,7 @@ export declare var SecurityIRServiceException: StaticErrorSchema;
|
|
|
83
90
|
export declare var AWSAccountIds: number;
|
|
84
91
|
export declare var CaseAttachmentsList: StaticListSchema;
|
|
85
92
|
export declare var CaseEditItems: StaticListSchema;
|
|
93
|
+
export declare var CaseMetadata: StaticListSchema;
|
|
86
94
|
export declare var CommunicationPreferences: number;
|
|
87
95
|
export declare var GetMembershipAccountDetailErrors: StaticListSchema;
|
|
88
96
|
export declare var GetMembershipAccountDetailItems: StaticListSchema;
|
|
@@ -90,6 +98,7 @@ export declare var ImpactedAccounts: number;
|
|
|
90
98
|
export declare var ImpactedAwsRegionList: StaticListSchema;
|
|
91
99
|
export declare var ImpactedServicesList: number;
|
|
92
100
|
export declare var IncidentResponseTeam: StaticListSchema;
|
|
101
|
+
export declare var InvestigationActionList: StaticListSchema;
|
|
93
102
|
export declare var ListCasesItems: StaticListSchema;
|
|
94
103
|
export declare var ListCommentsItems: StaticListSchema;
|
|
95
104
|
export declare var ListMembershipItems: StaticListSchema;
|
|
@@ -113,8 +122,10 @@ export declare var GetMembership: StaticOperationSchema;
|
|
|
113
122
|
export declare var ListCaseEdits: StaticOperationSchema;
|
|
114
123
|
export declare var ListCases: StaticOperationSchema;
|
|
115
124
|
export declare var ListComments: StaticOperationSchema;
|
|
125
|
+
export declare var ListInvestigations: StaticOperationSchema;
|
|
116
126
|
export declare var ListMemberships: StaticOperationSchema;
|
|
117
127
|
export declare var ListTagsForResource: StaticOperationSchema;
|
|
128
|
+
export declare var SendFeedback: StaticOperationSchema;
|
|
118
129
|
export declare var TagResource: StaticOperationSchema;
|
|
119
130
|
export declare var UntagResource: StaticOperationSchema;
|
|
120
131
|
export declare var UpdateCase: StaticOperationSchema;
|
|
@@ -51,6 +51,10 @@ import {
|
|
|
51
51
|
ListCommentsCommandInput,
|
|
52
52
|
ListCommentsCommandOutput,
|
|
53
53
|
} from "./commands/ListCommentsCommand";
|
|
54
|
+
import {
|
|
55
|
+
ListInvestigationsCommandInput,
|
|
56
|
+
ListInvestigationsCommandOutput,
|
|
57
|
+
} from "./commands/ListInvestigationsCommand";
|
|
54
58
|
import {
|
|
55
59
|
ListMembershipsCommandInput,
|
|
56
60
|
ListMembershipsCommandOutput,
|
|
@@ -59,6 +63,10 @@ import {
|
|
|
59
63
|
ListTagsForResourceCommandInput,
|
|
60
64
|
ListTagsForResourceCommandOutput,
|
|
61
65
|
} from "./commands/ListTagsForResourceCommand";
|
|
66
|
+
import {
|
|
67
|
+
SendFeedbackCommandInput,
|
|
68
|
+
SendFeedbackCommandOutput,
|
|
69
|
+
} from "./commands/SendFeedbackCommand";
|
|
62
70
|
import {
|
|
63
71
|
TagResourceCommandInput,
|
|
64
72
|
TagResourceCommandOutput,
|
|
@@ -259,6 +267,19 @@ export interface SecurityIR {
|
|
|
259
267
|
options: __HttpHandlerOptions,
|
|
260
268
|
cb: (err: any, data?: ListCommentsCommandOutput) => void
|
|
261
269
|
): void;
|
|
270
|
+
listInvestigations(
|
|
271
|
+
args: ListInvestigationsCommandInput,
|
|
272
|
+
options?: __HttpHandlerOptions
|
|
273
|
+
): Promise<ListInvestigationsCommandOutput>;
|
|
274
|
+
listInvestigations(
|
|
275
|
+
args: ListInvestigationsCommandInput,
|
|
276
|
+
cb: (err: any, data?: ListInvestigationsCommandOutput) => void
|
|
277
|
+
): void;
|
|
278
|
+
listInvestigations(
|
|
279
|
+
args: ListInvestigationsCommandInput,
|
|
280
|
+
options: __HttpHandlerOptions,
|
|
281
|
+
cb: (err: any, data?: ListInvestigationsCommandOutput) => void
|
|
282
|
+
): void;
|
|
262
283
|
listMemberships(): Promise<ListMembershipsCommandOutput>;
|
|
263
284
|
listMemberships(
|
|
264
285
|
args: ListMembershipsCommandInput,
|
|
@@ -286,6 +307,19 @@ export interface SecurityIR {
|
|
|
286
307
|
options: __HttpHandlerOptions,
|
|
287
308
|
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
288
309
|
): void;
|
|
310
|
+
sendFeedback(
|
|
311
|
+
args: SendFeedbackCommandInput,
|
|
312
|
+
options?: __HttpHandlerOptions
|
|
313
|
+
): Promise<SendFeedbackCommandOutput>;
|
|
314
|
+
sendFeedback(
|
|
315
|
+
args: SendFeedbackCommandInput,
|
|
316
|
+
cb: (err: any, data?: SendFeedbackCommandOutput) => void
|
|
317
|
+
): void;
|
|
318
|
+
sendFeedback(
|
|
319
|
+
args: SendFeedbackCommandInput,
|
|
320
|
+
options: __HttpHandlerOptions,
|
|
321
|
+
cb: (err: any, data?: SendFeedbackCommandOutput) => void
|
|
322
|
+
): void;
|
|
289
323
|
tagResource(
|
|
290
324
|
args: TagResourceCommandInput,
|
|
291
325
|
options?: __HttpHandlerOptions
|
|
@@ -100,6 +100,10 @@ import {
|
|
|
100
100
|
ListCommentsCommandInput,
|
|
101
101
|
ListCommentsCommandOutput,
|
|
102
102
|
} from "./commands/ListCommentsCommand";
|
|
103
|
+
import {
|
|
104
|
+
ListInvestigationsCommandInput,
|
|
105
|
+
ListInvestigationsCommandOutput,
|
|
106
|
+
} from "./commands/ListInvestigationsCommand";
|
|
103
107
|
import {
|
|
104
108
|
ListMembershipsCommandInput,
|
|
105
109
|
ListMembershipsCommandOutput,
|
|
@@ -108,6 +112,10 @@ import {
|
|
|
108
112
|
ListTagsForResourceCommandInput,
|
|
109
113
|
ListTagsForResourceCommandOutput,
|
|
110
114
|
} from "./commands/ListTagsForResourceCommand";
|
|
115
|
+
import {
|
|
116
|
+
SendFeedbackCommandInput,
|
|
117
|
+
SendFeedbackCommandOutput,
|
|
118
|
+
} from "./commands/SendFeedbackCommand";
|
|
111
119
|
import {
|
|
112
120
|
TagResourceCommandInput,
|
|
113
121
|
TagResourceCommandOutput,
|
|
@@ -157,8 +165,10 @@ export type ServiceInputTypes =
|
|
|
157
165
|
| ListCaseEditsCommandInput
|
|
158
166
|
| ListCasesCommandInput
|
|
159
167
|
| ListCommentsCommandInput
|
|
168
|
+
| ListInvestigationsCommandInput
|
|
160
169
|
| ListMembershipsCommandInput
|
|
161
170
|
| ListTagsForResourceCommandInput
|
|
171
|
+
| SendFeedbackCommandInput
|
|
162
172
|
| TagResourceCommandInput
|
|
163
173
|
| UntagResourceCommandInput
|
|
164
174
|
| UpdateCaseCommandInput
|
|
@@ -180,8 +190,10 @@ export type ServiceOutputTypes =
|
|
|
180
190
|
| ListCaseEditsCommandOutput
|
|
181
191
|
| ListCasesCommandOutput
|
|
182
192
|
| ListCommentsCommandOutput
|
|
193
|
+
| ListInvestigationsCommandOutput
|
|
183
194
|
| ListMembershipsCommandOutput
|
|
184
195
|
| ListTagsForResourceCommandOutput
|
|
196
|
+
| SendFeedbackCommandOutput
|
|
185
197
|
| TagResourceCommandOutput
|
|
186
198
|
| UntagResourceCommandOutput
|
|
187
199
|
| UpdateCaseCommandOutput
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
ListInvestigationsRequest,
|
|
5
|
+
ListInvestigationsResponse,
|
|
6
|
+
} from "../models/models_0";
|
|
7
|
+
import {
|
|
8
|
+
SecurityIRClientResolvedConfig,
|
|
9
|
+
ServiceInputTypes,
|
|
10
|
+
ServiceOutputTypes,
|
|
11
|
+
} from "../SecurityIRClient";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListInvestigationsCommandInput
|
|
15
|
+
extends ListInvestigationsRequest {}
|
|
16
|
+
export interface ListInvestigationsCommandOutput
|
|
17
|
+
extends ListInvestigationsResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListInvestigationsCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListInvestigationsCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListInvestigationsCommandInput,
|
|
24
|
+
ListInvestigationsCommandOutput,
|
|
25
|
+
SecurityIRClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: ListInvestigationsCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListInvestigationsCommandInput,
|
|
33
|
+
ListInvestigationsCommandOutput,
|
|
34
|
+
SecurityIRClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListInvestigationsCommand extends ListInvestigationsCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListInvestigationsRequest;
|
|
44
|
+
output: ListInvestigationsResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListInvestigationsCommandInput;
|
|
48
|
+
output: ListInvestigationsCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { SendFeedbackRequest, SendFeedbackResponse } from "../models/models_0";
|
|
4
|
+
import {
|
|
5
|
+
SecurityIRClientResolvedConfig,
|
|
6
|
+
ServiceInputTypes,
|
|
7
|
+
ServiceOutputTypes,
|
|
8
|
+
} from "../SecurityIRClient";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface SendFeedbackCommandInput extends SendFeedbackRequest {}
|
|
12
|
+
export interface SendFeedbackCommandOutput
|
|
13
|
+
extends SendFeedbackResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const SendFeedbackCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: SendFeedbackCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
SendFeedbackCommandInput,
|
|
20
|
+
SendFeedbackCommandOutput,
|
|
21
|
+
SecurityIRClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
input: SendFeedbackCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
SendFeedbackCommandInput,
|
|
29
|
+
SendFeedbackCommandOutput,
|
|
30
|
+
SecurityIRClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class SendFeedbackCommand extends SendFeedbackCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: SendFeedbackRequest;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: SendFeedbackCommandInput;
|
|
44
|
+
output: SendFeedbackCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -11,8 +11,10 @@ export * from "./GetMembershipCommand";
|
|
|
11
11
|
export * from "./ListCaseEditsCommand";
|
|
12
12
|
export * from "./ListCasesCommand";
|
|
13
13
|
export * from "./ListCommentsCommand";
|
|
14
|
+
export * from "./ListInvestigationsCommand";
|
|
14
15
|
export * from "./ListMembershipsCommand";
|
|
15
16
|
export * from "./ListTagsForResourceCommand";
|
|
17
|
+
export * from "./SendFeedbackCommand";
|
|
16
18
|
export * from "./TagResourceCommand";
|
|
17
19
|
export * from "./UntagResourceCommand";
|
|
18
20
|
export * from "./UpdateCaseCommand";
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
export declare const ActionType: {
|
|
2
|
+
readonly EVIDENCE_COLLECTION: "Evidence";
|
|
3
|
+
readonly INVESTIGATION_ANALYSIS: "Investigation";
|
|
4
|
+
readonly SUMMARIZATION: "Summarization";
|
|
5
|
+
};
|
|
6
|
+
export type ActionType = (typeof ActionType)[keyof typeof ActionType];
|
|
1
7
|
export declare const AwsRegion: {
|
|
2
8
|
readonly AF_SOUTH_1: "af-south-1";
|
|
3
9
|
readonly AP_EAST_1: "ap-east-1";
|
|
@@ -98,6 +104,22 @@ export declare const PendingAction: {
|
|
|
98
104
|
readonly NONE: "None";
|
|
99
105
|
};
|
|
100
106
|
export type PendingAction = (typeof PendingAction)[keyof typeof PendingAction];
|
|
107
|
+
export declare const UsefulnessRating: {
|
|
108
|
+
readonly NOT_USEFUL: "NOT_USEFUL";
|
|
109
|
+
readonly USEFUL: "USEFUL";
|
|
110
|
+
};
|
|
111
|
+
export type UsefulnessRating =
|
|
112
|
+
(typeof UsefulnessRating)[keyof typeof UsefulnessRating];
|
|
113
|
+
export declare const ExecutionStatus: {
|
|
114
|
+
readonly CANCELLED: "Cancelled";
|
|
115
|
+
readonly COMPLETED: "Completed";
|
|
116
|
+
readonly FAILED: "Failed";
|
|
117
|
+
readonly IN_PROGRESS: "InProgress";
|
|
118
|
+
readonly PENDING: "Pending";
|
|
119
|
+
readonly WAITING: "Waiting";
|
|
120
|
+
};
|
|
121
|
+
export type ExecutionStatus =
|
|
122
|
+
(typeof ExecutionStatus)[keyof typeof ExecutionStatus];
|
|
101
123
|
export declare const SelfManagedCaseStatus: {
|
|
102
124
|
readonly CONTAINMENT_ERADICATION_AND_RECOVERY: "Containment, Eradication and Recovery";
|
|
103
125
|
readonly DETECTION_AND_ANALYSIS: "Detection and Analysis";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
ActionType,
|
|
2
3
|
AwsRegion,
|
|
3
4
|
CaseAttachmentStatus,
|
|
4
5
|
CaseStatus,
|
|
@@ -6,6 +7,7 @@ import {
|
|
|
6
7
|
CommunicationType,
|
|
7
8
|
CustomerType,
|
|
8
9
|
EngagementType,
|
|
10
|
+
ExecutionStatus,
|
|
9
11
|
MembershipAccountRelationshipStatus,
|
|
10
12
|
MembershipAccountRelationshipType,
|
|
11
13
|
MembershipStatus,
|
|
@@ -13,6 +15,7 @@ import {
|
|
|
13
15
|
PendingAction,
|
|
14
16
|
ResolverType,
|
|
15
17
|
SelfManagedCaseStatus,
|
|
18
|
+
UsefulnessRating,
|
|
16
19
|
} from "./enums";
|
|
17
20
|
export interface BatchGetMemberAccountDetailsRequest {
|
|
18
21
|
membershipId: string | undefined;
|
|
@@ -96,6 +99,10 @@ export interface CaseAttachmentAttributes {
|
|
|
96
99
|
creator: string | undefined;
|
|
97
100
|
createdDate: Date | undefined;
|
|
98
101
|
}
|
|
102
|
+
export interface CaseMetadataEntry {
|
|
103
|
+
key: string | undefined;
|
|
104
|
+
value: string | undefined;
|
|
105
|
+
}
|
|
99
106
|
export interface GetCaseResponse {
|
|
100
107
|
title?: string | undefined;
|
|
101
108
|
caseArn?: string | undefined;
|
|
@@ -116,6 +123,7 @@ export interface GetCaseResponse {
|
|
|
116
123
|
impactedServices?: string[] | undefined;
|
|
117
124
|
caseAttachments?: CaseAttachmentAttributes[] | undefined;
|
|
118
125
|
closedDate?: Date | undefined;
|
|
126
|
+
caseMetadata?: CaseMetadataEntry[] | undefined;
|
|
119
127
|
}
|
|
120
128
|
export interface GetCaseAttachmentDownloadUrlRequest {
|
|
121
129
|
caseId: string | undefined;
|
|
@@ -188,6 +196,36 @@ export interface ListCommentsResponse {
|
|
|
188
196
|
items?: ListCommentsItem[] | undefined;
|
|
189
197
|
total?: number | undefined;
|
|
190
198
|
}
|
|
199
|
+
export interface ListInvestigationsRequest {
|
|
200
|
+
nextToken?: string | undefined;
|
|
201
|
+
maxResults?: number | undefined;
|
|
202
|
+
caseId: string | undefined;
|
|
203
|
+
}
|
|
204
|
+
export interface InvestigationFeedback {
|
|
205
|
+
usefulness?: UsefulnessRating | undefined;
|
|
206
|
+
comment?: string | undefined;
|
|
207
|
+
submittedAt?: Date | undefined;
|
|
208
|
+
}
|
|
209
|
+
export interface InvestigationAction {
|
|
210
|
+
investigationId: string | undefined;
|
|
211
|
+
actionType: ActionType | undefined;
|
|
212
|
+
title: string | undefined;
|
|
213
|
+
content: string | undefined;
|
|
214
|
+
status: ExecutionStatus | undefined;
|
|
215
|
+
lastUpdated: Date | undefined;
|
|
216
|
+
feedback?: InvestigationFeedback | undefined;
|
|
217
|
+
}
|
|
218
|
+
export interface ListInvestigationsResponse {
|
|
219
|
+
nextToken?: string | undefined;
|
|
220
|
+
investigationActions: InvestigationAction[] | undefined;
|
|
221
|
+
}
|
|
222
|
+
export interface SendFeedbackRequest {
|
|
223
|
+
caseId: string | undefined;
|
|
224
|
+
resultId: string | undefined;
|
|
225
|
+
usefulness: UsefulnessRating | undefined;
|
|
226
|
+
comment?: string | undefined;
|
|
227
|
+
}
|
|
228
|
+
export interface SendFeedbackResponse {}
|
|
191
229
|
export interface UpdateCaseRequest {
|
|
192
230
|
caseId: string | undefined;
|
|
193
231
|
title?: string | undefined;
|
|
@@ -205,6 +243,7 @@ export interface UpdateCaseRequest {
|
|
|
205
243
|
impactedAwsRegionsToDelete?: ImpactedAwsRegion[] | undefined;
|
|
206
244
|
impactedAccountsToAdd?: string[] | undefined;
|
|
207
245
|
impactedAccountsToDelete?: string[] | undefined;
|
|
246
|
+
caseMetadata?: CaseMetadataEntry[] | undefined;
|
|
208
247
|
}
|
|
209
248
|
export interface UpdateCaseResponse {}
|
|
210
249
|
export interface UpdateCaseCommentRequest {
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListInvestigationsCommandInput,
|
|
4
|
+
ListInvestigationsCommandOutput,
|
|
5
|
+
} from "../commands/ListInvestigationsCommand";
|
|
6
|
+
import { SecurityIRPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListInvestigations: (
|
|
8
|
+
config: SecurityIRPaginationConfiguration,
|
|
9
|
+
input: ListInvestigationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListInvestigationsCommandOutput>;
|