@aws-sdk/client-guardduty 3.315.0 → 3.317.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.
@@ -56,7 +56,7 @@ export interface CreateDetectorCommandOutput extends CreateDetectorResponse, __M
56
56
  * },
57
57
  * Features: [ // DetectorFeatureConfigurations
58
58
  * { // DetectorFeatureConfiguration
59
- * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING",
59
+ * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING" || "LAMBDA_NETWORK_LOGS",
60
60
  * Status: "ENABLED" || "DISABLED",
61
61
  * AdditionalConfiguration: [ // DetectorAdditionalConfigurations
62
62
  * { // DetectorAdditionalConfiguration
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
4
4
  import { GuardDutyClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../GuardDutyClient";
5
- import { UnarchiveFindingsRequest, UnarchiveFindingsResponse } from "../models/models_0";
5
+ import { UnarchiveFindingsRequest, UnarchiveFindingsResponse } from "../models/models_1";
6
6
  /**
7
7
  * @public
8
8
  *
@@ -50,7 +50,7 @@ export interface UpdateDetectorCommandOutput extends UpdateDetectorResponse, __M
50
50
  * },
51
51
  * Features: [ // DetectorFeatureConfigurations
52
52
  * { // DetectorFeatureConfiguration
53
- * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING",
53
+ * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING" || "LAMBDA_NETWORK_LOGS",
54
54
  * Status: "ENABLED" || "DISABLED",
55
55
  * AdditionalConfiguration: [ // DetectorAdditionalConfigurations
56
56
  * { // DetectorAdditionalConfiguration
@@ -51,7 +51,7 @@ export interface UpdateMemberDetectorsCommandOutput extends UpdateMemberDetector
51
51
  * },
52
52
  * Features: [ // MemberFeaturesConfigurations
53
53
  * { // MemberFeaturesConfiguration
54
- * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING",
54
+ * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING" || "LAMBDA_NETWORK_LOGS",
55
55
  * Status: "ENABLED" || "DISABLED",
56
56
  * AdditionalConfiguration: [ // MemberAdditionalConfigurations
57
57
  * { // MemberAdditionalConfiguration
@@ -52,7 +52,7 @@ export interface UpdateOrganizationConfigurationCommandOutput extends UpdateOrga
52
52
  * },
53
53
  * Features: [ // OrganizationFeaturesConfigurations
54
54
  * { // OrganizationFeatureConfiguration
55
- * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING",
55
+ * Name: "S3_DATA_EVENTS" || "EKS_AUDIT_LOGS" || "EBS_MALWARE_PROTECTION" || "RDS_LOGIN_EVENTS" || "EKS_RUNTIME_MONITORING" || "LAMBDA_NETWORK_LOGS",
56
56
  * AutoEnable: "NEW" || "NONE",
57
57
  * AdditionalConfiguration: [ // OrganizationAdditionalConfigurations
58
58
  * { // OrganizationAdditionalConfiguration
@@ -215,6 +215,7 @@ export declare const FreeTrialFeatureResult: {
215
215
  readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
216
216
  readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
217
217
  readonly FLOW_LOGS: "FLOW_LOGS";
218
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
218
219
  readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
219
220
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
220
221
  };
@@ -1308,6 +1309,7 @@ export declare const DetectorFeature: {
1308
1309
  readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
1309
1310
  readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
1310
1311
  readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
1312
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
1311
1313
  readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
1312
1314
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
1313
1315
  };
@@ -2643,6 +2645,7 @@ export declare const OrgFeature: {
2643
2645
  readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
2644
2646
  readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
2645
2647
  readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
2648
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
2646
2649
  readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
2647
2650
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
2648
2651
  };
@@ -2840,6 +2843,7 @@ export declare const DetectorFeatureResult: {
2840
2843
  readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
2841
2844
  readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
2842
2845
  readonly FLOW_LOGS: "FLOW_LOGS";
2846
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
2843
2847
  readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
2844
2848
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
2845
2849
  };
@@ -3578,6 +3582,68 @@ export interface KubernetesDetails {
3578
3582
  */
3579
3583
  KubernetesWorkloadDetails?: KubernetesWorkloadDetails;
3580
3584
  }
3585
+ /**
3586
+ * @public
3587
+ * <p>Amazon Virtual Private Cloud configuration details associated with your Lambda function.</p>
3588
+ */
3589
+ export interface VpcConfig {
3590
+ /**
3591
+ * <p>The identifiers of the subnets that are associated with your Lambda function.</p>
3592
+ */
3593
+ SubnetIds?: string[];
3594
+ /**
3595
+ * <p>The identifier of the Amazon Virtual Private Cloud.</p>
3596
+ */
3597
+ VpcId?: string;
3598
+ /**
3599
+ * <p>The identifier of the security group attached to the Lambda function.</p>
3600
+ */
3601
+ SecurityGroups?: SecurityGroup[];
3602
+ }
3603
+ /**
3604
+ * @public
3605
+ * <p>Information about the Lambda function involved in the finding.</p>
3606
+ */
3607
+ export interface LambdaDetails {
3608
+ /**
3609
+ * <p>Amazon Resource Name (ARN) of the Lambda function.</p>
3610
+ */
3611
+ FunctionArn?: string;
3612
+ /**
3613
+ * <p>Name of the Lambda function.</p>
3614
+ */
3615
+ FunctionName?: string;
3616
+ /**
3617
+ * <p>Description of the Lambda function.</p>
3618
+ */
3619
+ Description?: string;
3620
+ /**
3621
+ * <p>The timestamp when the Lambda function was last modified. This field is in the UTC date string
3622
+ * format <code>(2023-03-22T19:37:20.168Z)</code>.</p>
3623
+ */
3624
+ LastModifiedAt?: Date;
3625
+ /**
3626
+ * <p>The revision ID of the Lambda function version.</p>
3627
+ */
3628
+ RevisionId?: string;
3629
+ /**
3630
+ * <p>The version of the Lambda function.</p>
3631
+ */
3632
+ FunctionVersion?: string;
3633
+ /**
3634
+ * <p>The execution role of the Lambda function.</p>
3635
+ */
3636
+ Role?: string;
3637
+ /**
3638
+ * <p>Amazon Virtual Private Cloud configuration details associated with your Lambda function.</p>
3639
+ */
3640
+ VpcConfig?: VpcConfig;
3641
+ /**
3642
+ * <p>A list of tags attached to this resource, listed in the format of
3643
+ * <code>key</code>:<code>value</code> pair.</p>
3644
+ */
3645
+ Tags?: Tag[];
3646
+ }
3581
3647
  /**
3582
3648
  * @public
3583
3649
  * <p>Contains information about the resource type <code>RDSDBInstance</code> involved in a
@@ -3773,6 +3839,10 @@ export interface Resource {
3773
3839
  * made.</p>
3774
3840
  */
3775
3841
  RdsDbUserDetails?: RdsDbUserDetails;
3842
+ /**
3843
+ * <p>Contains information about the Lambda function that was involved in a finding.</p>
3844
+ */
3845
+ LambdaDetails?: LambdaDetails;
3776
3846
  }
3777
3847
  /**
3778
3848
  * @public
@@ -5634,21 +5704,3 @@ export interface TagResourceRequest {
5634
5704
  */
5635
5705
  export interface TagResourceResponse {
5636
5706
  }
5637
- /**
5638
- * @public
5639
- */
5640
- export interface UnarchiveFindingsRequest {
5641
- /**
5642
- * <p>The ID of the detector associated with the findings to unarchive.</p>
5643
- */
5644
- DetectorId: string | undefined;
5645
- /**
5646
- * <p>The IDs of the findings to unarchive.</p>
5647
- */
5648
- FindingIds: string[] | undefined;
5649
- }
5650
- /**
5651
- * @public
5652
- */
5653
- export interface UnarchiveFindingsResponse {
5654
- }
@@ -1,4 +1,22 @@
1
1
  import { AutoEnableMembers, DataSourceConfigurations, DestinationProperties, DetectorFeatureConfiguration, EbsSnapshotPreservation, FeatureStatus, Feedback, FilterAction, FindingCriteria, FindingPublishingFrequency, OrgFeature, OrgFeatureAdditionalConfiguration, OrgFeatureStatus, ScanResourceCriteria, UnprocessedAccount } from "./models_0";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface UnarchiveFindingsRequest {
6
+ /**
7
+ * <p>The ID of the detector associated with the findings to unarchive.</p>
8
+ */
9
+ DetectorId: string | undefined;
10
+ /**
11
+ * <p>The IDs of the findings to unarchive.</p>
12
+ */
13
+ FindingIds: string[] | undefined;
14
+ }
15
+ /**
16
+ * @public
17
+ */
18
+ export interface UnarchiveFindingsResponse {
19
+ }
2
20
  /**
3
21
  * @public
4
22
  */
@@ -268,7 +268,7 @@ import {
268
268
  UpdateThreatIntelSetCommandOutput,
269
269
  } from "./commands/UpdateThreatIntelSetCommand";
270
270
  import { GuardDutyClient } from "./GuardDutyClient";
271
- export declare class GuardDuty extends GuardDutyClient {
271
+ export interface GuardDuty {
272
272
  acceptAdministratorInvitation(
273
273
  args: AcceptAdministratorInvitationCommandInput,
274
274
  options?: __HttpHandlerOptions
@@ -1153,3 +1153,4 @@ export declare class GuardDuty extends GuardDutyClient {
1153
1153
  cb: (err: any, data?: UpdateThreatIntelSetCommandOutput) => void
1154
1154
  ): void;
1155
1155
  }
1156
+ export declare class GuardDuty extends GuardDutyClient implements GuardDuty {}
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  UnarchiveFindingsRequest,
16
16
  UnarchiveFindingsResponse,
17
- } from "../models/models_0";
17
+ } from "../models/models_1";
18
18
  export interface UnarchiveFindingsCommandInput
19
19
  extends UnarchiveFindingsRequest {}
20
20
  export interface UnarchiveFindingsCommandOutput
@@ -68,6 +68,7 @@ export declare const FreeTrialFeatureResult: {
68
68
  readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
69
69
  readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
70
70
  readonly FLOW_LOGS: "FLOW_LOGS";
71
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
71
72
  readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
72
73
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
73
74
  };
@@ -390,6 +391,7 @@ export declare const DetectorFeature: {
390
391
  readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
391
392
  readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
392
393
  readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
394
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
393
395
  readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
394
396
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
395
397
  };
@@ -739,6 +741,7 @@ export declare const OrgFeature: {
739
741
  readonly EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION";
740
742
  readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
741
743
  readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
744
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
742
745
  readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
743
746
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
744
747
  };
@@ -792,6 +795,7 @@ export declare const DetectorFeatureResult: {
792
795
  readonly EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS";
793
796
  readonly EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING";
794
797
  readonly FLOW_LOGS: "FLOW_LOGS";
798
+ readonly LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS";
795
799
  readonly RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS";
796
800
  readonly S3_DATA_EVENTS: "S3_DATA_EVENTS";
797
801
  };
@@ -1001,6 +1005,22 @@ export interface KubernetesDetails {
1001
1005
  KubernetesUserDetails?: KubernetesUserDetails;
1002
1006
  KubernetesWorkloadDetails?: KubernetesWorkloadDetails;
1003
1007
  }
1008
+ export interface VpcConfig {
1009
+ SubnetIds?: string[];
1010
+ VpcId?: string;
1011
+ SecurityGroups?: SecurityGroup[];
1012
+ }
1013
+ export interface LambdaDetails {
1014
+ FunctionArn?: string;
1015
+ FunctionName?: string;
1016
+ Description?: string;
1017
+ LastModifiedAt?: Date;
1018
+ RevisionId?: string;
1019
+ FunctionVersion?: string;
1020
+ Role?: string;
1021
+ VpcConfig?: VpcConfig;
1022
+ Tags?: Tag[];
1023
+ }
1004
1024
  export interface RdsDbInstanceDetails {
1005
1025
  DbInstanceIdentifier?: string;
1006
1026
  Engine?: string;
@@ -1049,6 +1069,7 @@ export interface Resource {
1049
1069
  ContainerDetails?: Container;
1050
1070
  RdsDbInstanceDetails?: RdsDbInstanceDetails;
1051
1071
  RdsDbUserDetails?: RdsDbUserDetails;
1072
+ LambdaDetails?: LambdaDetails;
1052
1073
  }
1053
1074
  export interface ServiceAdditionalInfo {
1054
1075
  Value?: string;
@@ -1532,8 +1553,3 @@ export interface TagResourceRequest {
1532
1553
  Tags: Record<string, string> | undefined;
1533
1554
  }
1534
1555
  export interface TagResourceResponse {}
1535
- export interface UnarchiveFindingsRequest {
1536
- DetectorId: string | undefined;
1537
- FindingIds: string[] | undefined;
1538
- }
1539
- export interface UnarchiveFindingsResponse {}
@@ -15,6 +15,11 @@ import {
15
15
  ScanResourceCriteria,
16
16
  UnprocessedAccount,
17
17
  } from "./models_0";
18
+ export interface UnarchiveFindingsRequest {
19
+ DetectorId: string | undefined;
20
+ FindingIds: string[] | undefined;
21
+ }
22
+ export interface UnarchiveFindingsResponse {}
18
23
  export interface UntagResourceRequest {
19
24
  ResourceArn: string | undefined;
20
25
  TagKeys: string[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-guardduty",
3
3
  "description": "AWS SDK for JavaScript Guardduty Client for Node.js, Browser and React Native",
4
- "version": "3.315.0",
4
+ "version": "3.317.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,9 +21,9 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.315.0",
24
+ "@aws-sdk/client-sts": "3.316.0",
25
25
  "@aws-sdk/config-resolver": "3.310.0",
26
- "@aws-sdk/credential-provider-node": "3.315.0",
26
+ "@aws-sdk/credential-provider-node": "3.316.0",
27
27
  "@aws-sdk/fetch-http-handler": "3.310.0",
28
28
  "@aws-sdk/hash-node": "3.310.0",
29
29
  "@aws-sdk/invalid-dependency": "3.310.0",
@@ -40,14 +40,14 @@
40
40
  "@aws-sdk/node-config-provider": "3.310.0",
41
41
  "@aws-sdk/node-http-handler": "3.310.0",
42
42
  "@aws-sdk/protocol-http": "3.310.0",
43
- "@aws-sdk/smithy-client": "3.315.0",
43
+ "@aws-sdk/smithy-client": "3.316.0",
44
44
  "@aws-sdk/types": "3.310.0",
45
45
  "@aws-sdk/url-parser": "3.310.0",
46
46
  "@aws-sdk/util-base64": "3.310.0",
47
47
  "@aws-sdk/util-body-length-browser": "3.310.0",
48
48
  "@aws-sdk/util-body-length-node": "3.310.0",
49
- "@aws-sdk/util-defaults-mode-browser": "3.315.0",
50
- "@aws-sdk/util-defaults-mode-node": "3.315.0",
49
+ "@aws-sdk/util-defaults-mode-browser": "3.316.0",
50
+ "@aws-sdk/util-defaults-mode-node": "3.316.0",
51
51
  "@aws-sdk/util-endpoints": "3.310.0",
52
52
  "@aws-sdk/util-retry": "3.310.0",
53
53
  "@aws-sdk/util-user-agent-browser": "3.310.0",