@aws-sdk/client-security-ir 3.1147.0 → 3.1148.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 CHANGED
@@ -244,6 +244,13 @@ GetCaseAttachmentUploadUrl
244
244
  </details>
245
245
  <details>
246
246
  <summary>
247
+ GetFindingMetrics
248
+ </summary>
249
+
250
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/security-ir/command/GetFindingMetricsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/GetFindingMetricsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-security-ir/Interface/GetFindingMetricsCommandOutput/)
251
+ </details>
252
+ <details>
253
+ <summary>
247
254
  GetMembership
248
255
  </summary>
249
256
 
package/dist-cjs/index.js CHANGED
@@ -67,7 +67,7 @@ const commonParams = {
67
67
  Region: { type: "builtInParams", name: "region" },
68
68
  };
69
69
 
70
- var version = "3.1146.0";
70
+ var version = "3.1147.0";
71
71
  var packageInfo = {
72
72
  version: version};
73
73
 
@@ -297,6 +297,9 @@ const _GCAUUR = "GetCaseAttachmentUploadUrlRequest";
297
297
  const _GCAUURe = "GetCaseAttachmentUploadUrlResponse";
298
298
  const _GCR = "GetCaseRequest";
299
299
  const _GCRe = "GetCaseResponse";
300
+ const _GFM = "GetFindingMetrics";
301
+ const _GFMR = "GetFindingMetricsRequest";
302
+ const _GFMRe = "GetFindingMetricsResponse";
300
303
  const _GM = "GetMembership";
301
304
  const _GMADE = "GetMembershipAccountDetailError";
302
305
  const _GMADEe = "GetMembershipAccountDetailErrors";
@@ -412,14 +415,26 @@ const _com = "comment";
412
415
  const _cr = "creator";
413
416
  const _d = "description";
414
417
  const _e = "error";
418
+ const _eD = "endDate";
415
419
  const _eT = "eventTimestamp";
416
420
  const _eTn = "engagementType";
417
421
  const _em = "email";
418
422
  const _er = "errors";
419
423
  const _f = "feedback";
424
+ const _fE = "findingsEscalated";
425
+ const _fEFP = "findingsEscalatedFalsePositive";
426
+ const _fEIP = "findingsEscalatedInProgress";
427
+ const _fI = "findingsInvestigated";
428
+ const _fIFP = "findingsInvestigatedFalsePositive";
429
+ const _fIGD = "findingsIngestedGuardDuty";
430
+ const _fIIP = "findingsInvestigatedInProgress";
431
+ const _fISH = "findingsIngestedSecurityHub";
420
432
  const _fL = "fieldList";
421
433
  const _fN = "fileName";
422
434
  const _fNe = "featureName";
435
+ const _fT = "findingsTriaged";
436
+ const _fTFP = "findingsTriagedFalsePositive";
437
+ const _fTP = "findingsTruePositive";
423
438
  const _h = "http";
424
439
  const _hE = "httpError";
425
440
  const _hH = "httpHeader";
@@ -478,6 +493,7 @@ const _re = "region";
478
493
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.securityir";
479
494
  const _sA = "submittedAt";
480
495
  const _sC = "serviceCode";
496
+ const _sD = "startDate";
481
497
  const _se = "server";
482
498
  const _st = "status";
483
499
  const _t = "title";
@@ -673,6 +689,16 @@ var GetCaseResponse$ = [3, n0, _GCRe,
673
689
  [_t, _cA, _d, _cS, _eTn, _rISD, _aISD, _iAR, _tAIA, _pA, _iA, _w, _cD, _lUD, _cC, _rTe, _iS, _cAa, _cDl, _cM],
674
690
  [[() => CaseTitle, 0], 0, [() => CaseDescription, 0], 0, 0, 4, 4, () => ImpactedAwsRegionList, [() => ThreatActorIpList, 0], 0, 64 | 0, [() => Watchers, 0], 4, 4, 0, 0, 64 | 0, [() => CaseAttachmentsList, 0], 4, () => CaseMetadata]
675
691
  ];
692
+ var GetFindingMetricsRequest$ = [3, n0, _GFMR,
693
+ 0,
694
+ [_mI, _sD, _eD],
695
+ [[0, 1], [4, { [_hQ]: _sD }], [4, { [_hQ]: _eD }]], 3
696
+ ];
697
+ var GetFindingMetricsResponse$ = [3, n0, _GFMRe,
698
+ 0,
699
+ [_fISH, _fIGD, _fT, _fTFP, _fI, _fIFP, _fE, _fEFP, _fTP, _fIIP, _fEIP],
700
+ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 11
701
+ ];
676
702
  var GetMembershipAccountDetailError$ = [3, n0, _GMADE,
677
703
  0,
678
704
  [_aIc, _e, _m],
@@ -976,6 +1002,9 @@ var GetCaseAttachmentDownloadUrl$ = [9, n0, _GCADU,
976
1002
  var GetCaseAttachmentUploadUrl$ = [9, n0, _GCAUU,
977
1003
  { [_h]: ["POST", "/v1/cases/{caseId}/get-presigned-url", 201] }, () => GetCaseAttachmentUploadUrlRequest$, () => GetCaseAttachmentUploadUrlResponse$
978
1004
  ];
1005
+ var GetFindingMetrics$ = [9, n0, _GFM,
1006
+ { [_h]: ["GET", "/v1/membership/{membershipId}/finding-metrics", 200] }, () => GetFindingMetricsRequest$, () => GetFindingMetricsResponse$
1007
+ ];
979
1008
  var GetMembership$ = [9, n0, _GM,
980
1009
  { [_h]: ["GET", "/v1/membership/{membershipId}", 200] }, () => GetMembershipRequest$, () => GetMembershipResponse$
981
1010
  ];
@@ -1199,6 +1228,9 @@ class GetCaseAttachmentUploadUrlCommand extends command(_ep0, _mw0, "GetCaseAtta
1199
1228
  class GetCaseCommand extends command(_ep0, _mw0, "GetCase", GetCase$) {
1200
1229
  }
1201
1230
 
1231
+ class GetFindingMetricsCommand extends command(_ep0, _mw0, "GetFindingMetrics", GetFindingMetrics$) {
1232
+ }
1233
+
1202
1234
  class GetMembershipCommand extends command(_ep0, _mw0, "GetMembership", GetMembership$) {
1203
1235
  }
1204
1236
 
@@ -1264,6 +1296,7 @@ const commands = {
1264
1296
  GetCaseCommand,
1265
1297
  GetCaseAttachmentDownloadUrlCommand,
1266
1298
  GetCaseAttachmentUploadUrlCommand,
1299
+ GetFindingMetricsCommand,
1267
1300
  GetMembershipCommand,
1268
1301
  ListCaseEditsCommand,
1269
1302
  ListCasesCommand,
@@ -1482,6 +1515,10 @@ exports.GetCaseAttachmentUploadUrlResponse$ = GetCaseAttachmentUploadUrlResponse
1482
1515
  exports.GetCaseCommand = GetCaseCommand;
1483
1516
  exports.GetCaseRequest$ = GetCaseRequest$;
1484
1517
  exports.GetCaseResponse$ = GetCaseResponse$;
1518
+ exports.GetFindingMetrics$ = GetFindingMetrics$;
1519
+ exports.GetFindingMetricsCommand = GetFindingMetricsCommand;
1520
+ exports.GetFindingMetricsRequest$ = GetFindingMetricsRequest$;
1521
+ exports.GetFindingMetricsResponse$ = GetFindingMetricsResponse$;
1485
1522
  exports.GetMembership$ = GetMembership$;
1486
1523
  exports.GetMembershipAccountDetailError$ = GetMembershipAccountDetailError$;
1487
1524
  exports.GetMembershipAccountDetailItem$ = GetMembershipAccountDetailItem$;
@@ -8,6 +8,7 @@ import { CreateMembershipCommand, } from "./commands/CreateMembershipCommand";
8
8
  import { GetCaseAttachmentDownloadUrlCommand, } from "./commands/GetCaseAttachmentDownloadUrlCommand";
9
9
  import { GetCaseAttachmentUploadUrlCommand, } from "./commands/GetCaseAttachmentUploadUrlCommand";
10
10
  import { GetCaseCommand } from "./commands/GetCaseCommand";
11
+ import { GetFindingMetricsCommand, } from "./commands/GetFindingMetricsCommand";
11
12
  import { GetMembershipCommand, } from "./commands/GetMembershipCommand";
12
13
  import { ListCaseEditsCommand, } from "./commands/ListCaseEditsCommand";
13
14
  import { ListCasesCommand } from "./commands/ListCasesCommand";
@@ -39,6 +40,7 @@ const commands = {
39
40
  GetCaseCommand,
40
41
  GetCaseAttachmentDownloadUrlCommand,
41
42
  GetCaseAttachmentUploadUrlCommand,
43
+ GetFindingMetricsCommand,
42
44
  GetMembershipCommand,
43
45
  ListCaseEditsCommand,
44
46
  ListCasesCommand,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetFindingMetrics$ } from "../schemas/schemas_0";
3
+ export class GetFindingMetricsCommand extends command(_ep0, _mw0, "GetFindingMetrics", GetFindingMetrics$) {
4
+ }
@@ -7,6 +7,7 @@ export * from "./CreateMembershipCommand";
7
7
  export * from "./GetCaseAttachmentDownloadUrlCommand";
8
8
  export * from "./GetCaseAttachmentUploadUrlCommand";
9
9
  export * from "./GetCaseCommand";
10
+ export * from "./GetFindingMetricsCommand";
10
11
  export * from "./GetMembershipCommand";
11
12
  export * from "./ListCaseEditsCommand";
12
13
  export * from "./ListCasesCommand";
@@ -38,6 +38,9 @@ const _GCAUUR = "GetCaseAttachmentUploadUrlRequest";
38
38
  const _GCAUURe = "GetCaseAttachmentUploadUrlResponse";
39
39
  const _GCR = "GetCaseRequest";
40
40
  const _GCRe = "GetCaseResponse";
41
+ const _GFM = "GetFindingMetrics";
42
+ const _GFMR = "GetFindingMetricsRequest";
43
+ const _GFMRe = "GetFindingMetricsResponse";
41
44
  const _GM = "GetMembership";
42
45
  const _GMADE = "GetMembershipAccountDetailError";
43
46
  const _GMADEe = "GetMembershipAccountDetailErrors";
@@ -153,14 +156,26 @@ const _com = "comment";
153
156
  const _cr = "creator";
154
157
  const _d = "description";
155
158
  const _e = "error";
159
+ const _eD = "endDate";
156
160
  const _eT = "eventTimestamp";
157
161
  const _eTn = "engagementType";
158
162
  const _em = "email";
159
163
  const _er = "errors";
160
164
  const _f = "feedback";
165
+ const _fE = "findingsEscalated";
166
+ const _fEFP = "findingsEscalatedFalsePositive";
167
+ const _fEIP = "findingsEscalatedInProgress";
168
+ const _fI = "findingsInvestigated";
169
+ const _fIFP = "findingsInvestigatedFalsePositive";
170
+ const _fIGD = "findingsIngestedGuardDuty";
171
+ const _fIIP = "findingsInvestigatedInProgress";
172
+ const _fISH = "findingsIngestedSecurityHub";
161
173
  const _fL = "fieldList";
162
174
  const _fN = "fileName";
163
175
  const _fNe = "featureName";
176
+ const _fT = "findingsTriaged";
177
+ const _fTFP = "findingsTriagedFalsePositive";
178
+ const _fTP = "findingsTruePositive";
164
179
  const _h = "http";
165
180
  const _hE = "httpError";
166
181
  const _hH = "httpHeader";
@@ -219,6 +234,7 @@ const _re = "region";
219
234
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.securityir";
220
235
  const _sA = "submittedAt";
221
236
  const _sC = "serviceCode";
237
+ const _sD = "startDate";
222
238
  const _se = "server";
223
239
  const _st = "status";
224
240
  const _t = "title";
@@ -417,6 +433,16 @@ export var GetCaseResponse$ = [3, n0, _GCRe,
417
433
  [_t, _cA, _d, _cS, _eTn, _rISD, _aISD, _iAR, _tAIA, _pA, _iA, _w, _cD, _lUD, _cC, _rTe, _iS, _cAa, _cDl, _cM],
418
434
  [[() => CaseTitle, 0], 0, [() => CaseDescription, 0], 0, 0, 4, 4, () => ImpactedAwsRegionList, [() => ThreatActorIpList, 0], 0, 64 | 0, [() => Watchers, 0], 4, 4, 0, 0, 64 | 0, [() => CaseAttachmentsList, 0], 4, () => CaseMetadata]
419
435
  ];
436
+ export var GetFindingMetricsRequest$ = [3, n0, _GFMR,
437
+ 0,
438
+ [_mI, _sD, _eD],
439
+ [[0, 1], [4, { [_hQ]: _sD }], [4, { [_hQ]: _eD }]], 3
440
+ ];
441
+ export var GetFindingMetricsResponse$ = [3, n0, _GFMRe,
442
+ 0,
443
+ [_fISH, _fIGD, _fT, _fTFP, _fI, _fIFP, _fE, _fEFP, _fTP, _fIIP, _fEIP],
444
+ [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], 11
445
+ ];
420
446
  export var GetMembershipAccountDetailError$ = [3, n0, _GMADE,
421
447
  0,
422
448
  [_aIc, _e, _m],
@@ -727,6 +753,9 @@ export var GetCaseAttachmentDownloadUrl$ = [9, n0, _GCADU,
727
753
  export var GetCaseAttachmentUploadUrl$ = [9, n0, _GCAUU,
728
754
  { [_h]: ["POST", "/v1/cases/{caseId}/get-presigned-url", 201] }, () => GetCaseAttachmentUploadUrlRequest$, () => GetCaseAttachmentUploadUrlResponse$
729
755
  ];
756
+ export var GetFindingMetrics$ = [9, n0, _GFM,
757
+ { [_h]: ["GET", "/v1/membership/{membershipId}/finding-metrics", 200] }, () => GetFindingMetricsRequest$, () => GetFindingMetricsResponse$
758
+ ];
730
759
  export var GetMembership$ = [9, n0, _GM,
731
760
  { [_h]: ["GET", "/v1/membership/{membershipId}", 200] }, () => GetMembershipRequest$, () => GetMembershipResponse$
732
761
  ];
@@ -8,6 +8,7 @@ import { type CreateMembershipCommandInput, type CreateMembershipCommandOutput }
8
8
  import { type GetCaseAttachmentDownloadUrlCommandInput, type GetCaseAttachmentDownloadUrlCommandOutput } from "./commands/GetCaseAttachmentDownloadUrlCommand";
9
9
  import { type GetCaseAttachmentUploadUrlCommandInput, type GetCaseAttachmentUploadUrlCommandOutput } from "./commands/GetCaseAttachmentUploadUrlCommand";
10
10
  import { type GetCaseCommandInput, type GetCaseCommandOutput } from "./commands/GetCaseCommand";
11
+ import { type GetFindingMetricsCommandInput, type GetFindingMetricsCommandOutput } from "./commands/GetFindingMetricsCommand";
11
12
  import { type GetMembershipCommandInput, type GetMembershipCommandOutput } from "./commands/GetMembershipCommand";
12
13
  import { type ListCaseEditsCommandInput, type ListCaseEditsCommandOutput } from "./commands/ListCaseEditsCommand";
13
14
  import { type ListCasesCommandInput, type ListCasesCommandOutput } from "./commands/ListCasesCommand";
@@ -85,6 +86,12 @@ export interface SecurityIR {
85
86
  getCaseAttachmentUploadUrl(args: GetCaseAttachmentUploadUrlCommandInput, options?: SecurityIRRequestOptions): Promise<GetCaseAttachmentUploadUrlCommandOutput>;
86
87
  getCaseAttachmentUploadUrl(args: GetCaseAttachmentUploadUrlCommandInput, cb: (err: any, data?: GetCaseAttachmentUploadUrlCommandOutput) => void): void;
87
88
  getCaseAttachmentUploadUrl(args: GetCaseAttachmentUploadUrlCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: GetCaseAttachmentUploadUrlCommandOutput) => void): void;
89
+ /**
90
+ * @see {@link GetFindingMetricsCommand}
91
+ */
92
+ getFindingMetrics(args: GetFindingMetricsCommandInput, options?: SecurityIRRequestOptions): Promise<GetFindingMetricsCommandOutput>;
93
+ getFindingMetrics(args: GetFindingMetricsCommandInput, cb: (err: any, data?: GetFindingMetricsCommandOutput) => void): void;
94
+ getFindingMetrics(args: GetFindingMetricsCommandInput, options: SecurityIRRequestOptions, cb: (err: any, data?: GetFindingMetricsCommandOutput) => void): void;
88
95
  /**
89
96
  * @see {@link GetMembershipCommand}
90
97
  */
@@ -15,6 +15,7 @@ import type { CreateMembershipCommandInput, CreateMembershipCommandOutput } from
15
15
  import type { GetCaseAttachmentDownloadUrlCommandInput, GetCaseAttachmentDownloadUrlCommandOutput } from "./commands/GetCaseAttachmentDownloadUrlCommand";
16
16
  import type { GetCaseAttachmentUploadUrlCommandInput, GetCaseAttachmentUploadUrlCommandOutput } from "./commands/GetCaseAttachmentUploadUrlCommand";
17
17
  import type { GetCaseCommandInput, GetCaseCommandOutput } from "./commands/GetCaseCommand";
18
+ import type { GetFindingMetricsCommandInput, GetFindingMetricsCommandOutput } from "./commands/GetFindingMetricsCommand";
18
19
  import type { GetMembershipCommandInput, GetMembershipCommandOutput } from "./commands/GetMembershipCommand";
19
20
  import type { ListCaseEditsCommandInput, ListCaseEditsCommandOutput } from "./commands/ListCaseEditsCommand";
20
21
  import type { ListCasesCommandInput, ListCasesCommandOutput } from "./commands/ListCasesCommand";
@@ -36,11 +37,11 @@ export { __Client };
36
37
  /**
37
38
  * @public
38
39
  */
39
- export type ServiceInputTypes = BatchGetMemberAccountDetailsCommandInput | CancelMembershipCommandInput | CloseCaseCommandInput | CreateCaseCommandInput | CreateCaseCommentCommandInput | CreateMembershipCommandInput | GetCaseAttachmentDownloadUrlCommandInput | GetCaseAttachmentUploadUrlCommandInput | GetCaseCommandInput | GetMembershipCommandInput | ListCaseEditsCommandInput | ListCasesCommandInput | ListCommentsCommandInput | ListInvestigationsCommandInput | ListMembershipsCommandInput | ListTagsForResourceCommandInput | SendFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCaseCommandInput | UpdateCaseCommentCommandInput | UpdateCaseStatusCommandInput | UpdateMembershipCommandInput | UpdateResolverTypeCommandInput;
40
+ export type ServiceInputTypes = BatchGetMemberAccountDetailsCommandInput | CancelMembershipCommandInput | CloseCaseCommandInput | CreateCaseCommandInput | CreateCaseCommentCommandInput | CreateMembershipCommandInput | GetCaseAttachmentDownloadUrlCommandInput | GetCaseAttachmentUploadUrlCommandInput | GetCaseCommandInput | GetFindingMetricsCommandInput | GetMembershipCommandInput | ListCaseEditsCommandInput | ListCasesCommandInput | ListCommentsCommandInput | ListInvestigationsCommandInput | ListMembershipsCommandInput | ListTagsForResourceCommandInput | SendFeedbackCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateCaseCommandInput | UpdateCaseCommentCommandInput | UpdateCaseStatusCommandInput | UpdateMembershipCommandInput | UpdateResolverTypeCommandInput;
40
41
  /**
41
42
  * @public
42
43
  */
43
- export type ServiceOutputTypes = BatchGetMemberAccountDetailsCommandOutput | CancelMembershipCommandOutput | CloseCaseCommandOutput | CreateCaseCommandOutput | CreateCaseCommentCommandOutput | CreateMembershipCommandOutput | GetCaseAttachmentDownloadUrlCommandOutput | GetCaseAttachmentUploadUrlCommandOutput | GetCaseCommandOutput | GetMembershipCommandOutput | ListCaseEditsCommandOutput | ListCasesCommandOutput | ListCommentsCommandOutput | ListInvestigationsCommandOutput | ListMembershipsCommandOutput | ListTagsForResourceCommandOutput | SendFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCaseCommandOutput | UpdateCaseCommentCommandOutput | UpdateCaseStatusCommandOutput | UpdateMembershipCommandOutput | UpdateResolverTypeCommandOutput;
44
+ export type ServiceOutputTypes = BatchGetMemberAccountDetailsCommandOutput | CancelMembershipCommandOutput | CloseCaseCommandOutput | CreateCaseCommandOutput | CreateCaseCommentCommandOutput | CreateMembershipCommandOutput | GetCaseAttachmentDownloadUrlCommandOutput | GetCaseAttachmentUploadUrlCommandOutput | GetCaseCommandOutput | GetFindingMetricsCommandOutput | GetMembershipCommandOutput | ListCaseEditsCommandOutput | ListCasesCommandOutput | ListCommentsCommandOutput | ListInvestigationsCommandOutput | ListMembershipsCommandOutput | ListTagsForResourceCommandOutput | SendFeedbackCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateCaseCommandOutput | UpdateCaseCommentCommandOutput | UpdateCaseStatusCommandOutput | UpdateMembershipCommandOutput | UpdateResolverTypeCommandOutput;
44
45
  /**
45
46
  * @public
46
47
  */
@@ -0,0 +1,137 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetFindingMetricsRequest, GetFindingMetricsResponse } from "../models/models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetFindingMetricsCommand}.
11
+ */
12
+ export interface GetFindingMetricsCommandInput extends GetFindingMetricsRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetFindingMetricsCommand}.
18
+ */
19
+ export interface GetFindingMetricsCommandOutput extends GetFindingMetricsResponse, __MetadataBearer {
20
+ }
21
+ declare const GetFindingMetricsCommand_base: {
22
+ new (input: GetFindingMetricsCommandInput): import("@smithy/core/client").CommandImpl<GetFindingMetricsCommandInput, GetFindingMetricsCommandOutput, import("..").SecurityIRClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetFindingMetricsCommandInput): import("@smithy/core/client").CommandImpl<GetFindingMetricsCommandInput, GetFindingMetricsCommandOutput, import("..").SecurityIRClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * Returns finding-lifecycle metrics for a membership over a date range.
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { SecurityIRClient, GetFindingMetricsCommand } from "@aws-sdk/client-security-ir"; // ES Modules import
32
+ * // const { SecurityIRClient, GetFindingMetricsCommand } = require("@aws-sdk/client-security-ir"); // CommonJS import
33
+ * // import type { SecurityIRClientConfig } from "@aws-sdk/client-security-ir";
34
+ * const config = {}; // type is SecurityIRClientConfig
35
+ * const client = new SecurityIRClient(config);
36
+ * const input = { // GetFindingMetricsRequest
37
+ * membershipId: "STRING_VALUE", // required
38
+ * startDate: new Date("TIMESTAMP"), // required
39
+ * endDate: new Date("TIMESTAMP"), // required
40
+ * };
41
+ * const command = new GetFindingMetricsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // GetFindingMetricsResponse
44
+ * // findingsIngestedSecurityHub: Number("long"), // required
45
+ * // findingsIngestedGuardDuty: Number("long"), // required
46
+ * // findingsTriaged: Number("long"), // required
47
+ * // findingsTriagedFalsePositive: Number("long"), // required
48
+ * // findingsInvestigated: Number("long"), // required
49
+ * // findingsInvestigatedFalsePositive: Number("long"), // required
50
+ * // findingsEscalated: Number("long"), // required
51
+ * // findingsEscalatedFalsePositive: Number("long"), // required
52
+ * // findingsTruePositive: Number("long"), // required
53
+ * // findingsInvestigatedInProgress: Number("long"), // required
54
+ * // findingsEscalatedInProgress: Number("long"), // required
55
+ * // };
56
+ *
57
+ * ```
58
+ *
59
+ * @param GetFindingMetricsCommandInput - {@link GetFindingMetricsCommandInput}
60
+ * @returns {@link GetFindingMetricsCommandOutput}
61
+ * @see {@link GetFindingMetricsCommandInput} for command's `input` shape.
62
+ * @see {@link GetFindingMetricsCommandOutput} for command's `response` shape.
63
+ * @see {@link SecurityIRClientResolvedConfig | config} for SecurityIRClient's `config` shape.
64
+ *
65
+ * @throws {@link AccessDeniedException} (client fault)
66
+ * <p/>
67
+ *
68
+ * @throws {@link ConflictException} (client fault)
69
+ * <p/>
70
+ *
71
+ * @throws {@link InternalServerException} (server fault)
72
+ * <p/>
73
+ *
74
+ * @throws {@link InvalidTokenException} (client fault)
75
+ * <p/>
76
+ *
77
+ * @throws {@link ResourceNotFoundException} (client fault)
78
+ * <p/>
79
+ *
80
+ * @throws {@link SecurityIncidentResponseNotActiveException} (client fault)
81
+ * <p/>
82
+ *
83
+ * @throws {@link ServiceQuotaExceededException} (client fault)
84
+ * <p/>
85
+ *
86
+ * @throws {@link ThrottlingException} (client fault)
87
+ * <p/>
88
+ *
89
+ * @throws {@link ValidationException} (client fault)
90
+ * <p/>
91
+ *
92
+ * @throws {@link SecurityIRServiceException}
93
+ * <p>Base exception class for all service exceptions from SecurityIR service.</p>
94
+ *
95
+ *
96
+ * @example Retrieve finding-lifecycle metrics for a membership
97
+ * ```javascript
98
+ * //
99
+ * const input = {
100
+ * endDate: "2026-08-18T00:00:00Z",
101
+ * membershipId: "m-a1b2c3d4e5f",
102
+ * startDate: "2026-08-01T00:00:00Z"
103
+ * };
104
+ * const command = new GetFindingMetricsCommand(input);
105
+ * const response = await client.send(command);
106
+ * /* response is
107
+ * {
108
+ * findingsEscalated: 8,
109
+ * findingsEscalatedFalsePositive: 2,
110
+ * findingsEscalatedInProgress: 0,
111
+ * findingsIngestedGuardDuty: 45,
112
+ * findingsIngestedSecurityHub: 120,
113
+ * findingsInvestigated: 60,
114
+ * findingsInvestigatedFalsePositive: 12,
115
+ * findingsInvestigatedInProgress: 40,
116
+ * findingsTriaged: 165,
117
+ * findingsTriagedFalsePositive: 30,
118
+ * findingsTruePositive: 6
119
+ * }
120
+ * *\/
121
+ * ```
122
+ *
123
+ * @public
124
+ */
125
+ export declare class GetFindingMetricsCommand extends GetFindingMetricsCommand_base {
126
+ /** @internal type navigation helper, not in runtime. */
127
+ protected static __types: {
128
+ api: {
129
+ input: GetFindingMetricsRequest;
130
+ output: GetFindingMetricsResponse;
131
+ };
132
+ sdk: {
133
+ input: GetFindingMetricsCommandInput;
134
+ output: GetFindingMetricsCommandOutput;
135
+ };
136
+ };
137
+ }
@@ -7,6 +7,7 @@ export * from "./CreateMembershipCommand";
7
7
  export * from "./GetCaseAttachmentDownloadUrlCommand";
8
8
  export * from "./GetCaseAttachmentUploadUrlCommand";
9
9
  export * from "./GetCaseCommand";
10
+ export * from "./GetFindingMetricsCommand";
10
11
  export * from "./GetMembershipCommand";
11
12
  export * from "./ListCaseEditsCommand";
12
13
  export * from "./ListCasesCommand";
@@ -1144,6 +1144,87 @@ export interface CreateMembershipResponse {
1144
1144
  */
1145
1145
  membershipId: string | undefined;
1146
1146
  }
1147
+ /**
1148
+ * @public
1149
+ */
1150
+ export interface GetFindingMetricsRequest {
1151
+ /**
1152
+ * The membership ID to retrieve metrics for.
1153
+ * @public
1154
+ */
1155
+ membershipId: string | undefined;
1156
+ /**
1157
+ * The start of the day-aligned UTC window, inclusive.
1158
+ * @public
1159
+ */
1160
+ startDate: Date | undefined;
1161
+ /**
1162
+ * The end of the day-aligned UTC window, inclusive.
1163
+ * @public
1164
+ */
1165
+ endDate: Date | undefined;
1166
+ }
1167
+ /**
1168
+ * Finding-lifecycle metrics for a membership over the requested date range.
1169
+ * @public
1170
+ */
1171
+ export interface GetFindingMetricsResponse {
1172
+ /**
1173
+ * The number of findings ingested from AWS Security Hub during the requested date range.
1174
+ * @public
1175
+ */
1176
+ findingsIngestedSecurityHub: number | undefined;
1177
+ /**
1178
+ * The number of findings ingested from Amazon GuardDuty during the requested date range.
1179
+ * @public
1180
+ */
1181
+ findingsIngestedGuardDuty: number | undefined;
1182
+ /**
1183
+ * The number of findings triaged during the requested date range.
1184
+ * @public
1185
+ */
1186
+ findingsTriaged: number | undefined;
1187
+ /**
1188
+ * The number of triaged findings that were closed as false positives during the requested date range.
1189
+ * @public
1190
+ */
1191
+ findingsTriagedFalsePositive: number | undefined;
1192
+ /**
1193
+ * The number of findings investigated during the requested date range.
1194
+ * @public
1195
+ */
1196
+ findingsInvestigated: number | undefined;
1197
+ /**
1198
+ * The number of investigated findings that were closed as false positives during the requested date range.
1199
+ * @public
1200
+ */
1201
+ findingsInvestigatedFalsePositive: number | undefined;
1202
+ /**
1203
+ * The number of findings escalated during the requested date range.
1204
+ * @public
1205
+ */
1206
+ findingsEscalated: number | undefined;
1207
+ /**
1208
+ * The number of escalated findings that were closed as false positives during the requested date range.
1209
+ * @public
1210
+ */
1211
+ findingsEscalatedFalsePositive: number | undefined;
1212
+ /**
1213
+ * The number of findings confirmed as true positives during the requested date range.
1214
+ * @public
1215
+ */
1216
+ findingsTruePositive: number | undefined;
1217
+ /**
1218
+ * The number of findings whose investigation was in progress during the requested date range.
1219
+ * @public
1220
+ */
1221
+ findingsInvestigatedInProgress: number | undefined;
1222
+ /**
1223
+ * The number of findings whose escalation was in progress during the requested date range.
1224
+ * @public
1225
+ */
1226
+ findingsEscalatedInProgress: number | undefined;
1227
+ }
1147
1228
  /**
1148
1229
  * @public
1149
1230
  */
@@ -37,6 +37,8 @@ export declare var GetCaseAttachmentUploadUrlRequest$: StaticStructureSchema;
37
37
  export declare var GetCaseAttachmentUploadUrlResponse$: StaticStructureSchema;
38
38
  export declare var GetCaseRequest$: StaticStructureSchema;
39
39
  export declare var GetCaseResponse$: StaticStructureSchema;
40
+ export declare var GetFindingMetricsRequest$: StaticStructureSchema;
41
+ export declare var GetFindingMetricsResponse$: StaticStructureSchema;
40
42
  export declare var GetMembershipAccountDetailError$: StaticStructureSchema;
41
43
  export declare var GetMembershipAccountDetailItem$: StaticStructureSchema;
42
44
  export declare var GetMembershipRequest$: StaticStructureSchema;
@@ -91,6 +93,7 @@ export declare var CreateMembership$: StaticOperationSchema;
91
93
  export declare var GetCase$: StaticOperationSchema;
92
94
  export declare var GetCaseAttachmentDownloadUrl$: StaticOperationSchema;
93
95
  export declare var GetCaseAttachmentUploadUrl$: StaticOperationSchema;
96
+ export declare var GetFindingMetrics$: StaticOperationSchema;
94
97
  export declare var GetMembership$: StaticOperationSchema;
95
98
  export declare var ListCaseEdits$: StaticOperationSchema;
96
99
  export declare var ListCases$: StaticOperationSchema;
@@ -31,6 +31,10 @@ import {
31
31
  GetCaseAttachmentUploadUrlCommandOutput,
32
32
  } from "./commands/GetCaseAttachmentUploadUrlCommand";
33
33
  import { GetCaseCommandInput, GetCaseCommandOutput } from "./commands/GetCaseCommand";
34
+ import {
35
+ GetFindingMetricsCommandInput,
36
+ GetFindingMetricsCommandOutput,
37
+ } from "./commands/GetFindingMetricsCommand";
34
38
  import {
35
39
  GetMembershipCommandInput,
36
40
  GetMembershipCommandOutput,
@@ -201,6 +205,19 @@ export interface SecurityIR {
201
205
  options: SecurityIRRequestOptions,
202
206
  cb: (err: any, data?: GetCaseAttachmentUploadUrlCommandOutput) => void,
203
207
  ): void;
208
+ getFindingMetrics(
209
+ args: GetFindingMetricsCommandInput,
210
+ options?: SecurityIRRequestOptions,
211
+ ): Promise<GetFindingMetricsCommandOutput>;
212
+ getFindingMetrics(
213
+ args: GetFindingMetricsCommandInput,
214
+ cb: (err: any, data?: GetFindingMetricsCommandOutput) => void,
215
+ ): void;
216
+ getFindingMetrics(
217
+ args: GetFindingMetricsCommandInput,
218
+ options: SecurityIRRequestOptions,
219
+ cb: (err: any, data?: GetFindingMetricsCommandOutput) => void,
220
+ ): void;
204
221
  getMembership(
205
222
  args: GetMembershipCommandInput,
206
223
  options?: SecurityIRRequestOptions,
@@ -60,6 +60,10 @@ import {
60
60
  GetCaseAttachmentUploadUrlCommandOutput,
61
61
  } from "./commands/GetCaseAttachmentUploadUrlCommand";
62
62
  import { GetCaseCommandInput, GetCaseCommandOutput } from "./commands/GetCaseCommand";
63
+ import {
64
+ GetFindingMetricsCommandInput,
65
+ GetFindingMetricsCommandOutput,
66
+ } from "./commands/GetFindingMetricsCommand";
63
67
  import {
64
68
  GetMembershipCommandInput,
65
69
  GetMembershipCommandOutput,
@@ -128,6 +132,7 @@ export type ServiceInputTypes =
128
132
  | GetCaseAttachmentDownloadUrlCommandInput
129
133
  | GetCaseAttachmentUploadUrlCommandInput
130
134
  | GetCaseCommandInput
135
+ | GetFindingMetricsCommandInput
131
136
  | GetMembershipCommandInput
132
137
  | ListCaseEditsCommandInput
133
138
  | ListCasesCommandInput
@@ -153,6 +158,7 @@ export type ServiceOutputTypes =
153
158
  | GetCaseAttachmentDownloadUrlCommandOutput
154
159
  | GetCaseAttachmentUploadUrlCommandOutput
155
160
  | GetCaseCommandOutput
161
+ | GetFindingMetricsCommandOutput
156
162
  | GetMembershipCommandOutput
157
163
  | ListCaseEditsCommandOutput
158
164
  | ListCasesCommandOutput
@@ -0,0 +1,39 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import { GetFindingMetricsRequest, GetFindingMetricsResponse } from "../models/models_0";
3
+ export { __MetadataBearer };
4
+ export interface GetFindingMetricsCommandInput extends GetFindingMetricsRequest {}
5
+ export interface GetFindingMetricsCommandOutput
6
+ extends GetFindingMetricsResponse, __MetadataBearer {}
7
+ declare const GetFindingMetricsCommand_base: {
8
+ new (
9
+ input: GetFindingMetricsCommandInput,
10
+ ): import("@smithy/core/client").CommandImpl<
11
+ GetFindingMetricsCommandInput,
12
+ GetFindingMetricsCommandOutput,
13
+ import("..").SecurityIRClientResolvedConfig,
14
+ import("..").ServiceInputTypes,
15
+ import("..").ServiceOutputTypes
16
+ >;
17
+ new (
18
+ input: GetFindingMetricsCommandInput,
19
+ ): import("@smithy/core/client").CommandImpl<
20
+ GetFindingMetricsCommandInput,
21
+ GetFindingMetricsCommandOutput,
22
+ import("..").SecurityIRClientResolvedConfig,
23
+ import("..").ServiceInputTypes,
24
+ import("..").ServiceOutputTypes
25
+ >;
26
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
27
+ };
28
+ export declare class GetFindingMetricsCommand extends GetFindingMetricsCommand_base {
29
+ protected static __types: {
30
+ api: {
31
+ input: GetFindingMetricsRequest;
32
+ output: GetFindingMetricsResponse;
33
+ };
34
+ sdk: {
35
+ input: GetFindingMetricsCommandInput;
36
+ output: GetFindingMetricsCommandOutput;
37
+ };
38
+ };
39
+ }
@@ -7,6 +7,7 @@ export * from "./CreateMembershipCommand";
7
7
  export * from "./GetCaseAttachmentDownloadUrlCommand";
8
8
  export * from "./GetCaseAttachmentUploadUrlCommand";
9
9
  export * from "./GetCaseCommand";
10
+ export * from "./GetFindingMetricsCommand";
10
11
  export * from "./GetMembershipCommand";
11
12
  export * from "./ListCaseEditsCommand";
12
13
  export * from "./ListCasesCommand";
@@ -292,6 +292,24 @@ export interface CreateMembershipRequest {
292
292
  export interface CreateMembershipResponse {
293
293
  membershipId: string | undefined;
294
294
  }
295
+ export interface GetFindingMetricsRequest {
296
+ membershipId: string | undefined;
297
+ startDate: Date | undefined;
298
+ endDate: Date | undefined;
299
+ }
300
+ export interface GetFindingMetricsResponse {
301
+ findingsIngestedSecurityHub: number | undefined;
302
+ findingsIngestedGuardDuty: number | undefined;
303
+ findingsTriaged: number | undefined;
304
+ findingsTriagedFalsePositive: number | undefined;
305
+ findingsInvestigated: number | undefined;
306
+ findingsInvestigatedFalsePositive: number | undefined;
307
+ findingsEscalated: number | undefined;
308
+ findingsEscalatedFalsePositive: number | undefined;
309
+ findingsTruePositive: number | undefined;
310
+ findingsInvestigatedInProgress: number | undefined;
311
+ findingsEscalatedInProgress: number | undefined;
312
+ }
295
313
  export interface GetMembershipRequest {
296
314
  membershipId: string | undefined;
297
315
  }
@@ -32,6 +32,8 @@ export declare var GetCaseAttachmentUploadUrlRequest$: StaticStructureSchema;
32
32
  export declare var GetCaseAttachmentUploadUrlResponse$: StaticStructureSchema;
33
33
  export declare var GetCaseRequest$: StaticStructureSchema;
34
34
  export declare var GetCaseResponse$: StaticStructureSchema;
35
+ export declare var GetFindingMetricsRequest$: StaticStructureSchema;
36
+ export declare var GetFindingMetricsResponse$: StaticStructureSchema;
35
37
  export declare var GetMembershipAccountDetailError$: StaticStructureSchema;
36
38
  export declare var GetMembershipAccountDetailItem$: StaticStructureSchema;
37
39
  export declare var GetMembershipRequest$: StaticStructureSchema;
@@ -86,6 +88,7 @@ export declare var CreateMembership$: StaticOperationSchema;
86
88
  export declare var GetCase$: StaticOperationSchema;
87
89
  export declare var GetCaseAttachmentDownloadUrl$: StaticOperationSchema;
88
90
  export declare var GetCaseAttachmentUploadUrl$: StaticOperationSchema;
91
+ export declare var GetFindingMetrics$: StaticOperationSchema;
89
92
  export declare var GetMembership$: StaticOperationSchema;
90
93
  export declare var ListCaseEdits$: StaticOperationSchema;
91
94
  export declare var ListCases$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-security-ir",
3
- "version": "3.1147.0",
3
+ "version": "3.1148.0",
4
4
  "description": "AWS SDK for JavaScript Security Ir Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-security-ir",
6
6
  "license": "Apache-2.0",