@aws-sdk/client-guardduty 3.316.0 → 3.319.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/dist-cjs/models/models_0.js +4 -0
- package/dist-cjs/protocols/Aws_restJson1.js +21 -0
- package/dist-es/models/models_0.js +4 -0
- package/dist-es/protocols/Aws_restJson1.js +21 -0
- package/dist-types/commands/CreateDetectorCommand.d.ts +1 -1
- package/dist-types/commands/UnarchiveFindingsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDetectorCommand.d.ts +1 -1
- package/dist-types/commands/UpdateMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +70 -18
- package/dist-types/models/models_1.d.ts +18 -0
- package/dist-types/ts3.4/commands/UnarchiveFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +21 -5
- package/dist-types/ts3.4/models/models_1.d.ts +5 -0
- package/package.json +5 -5
|
@@ -39,6 +39,7 @@ exports.FreeTrialFeatureResult = {
|
|
|
39
39
|
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
40
40
|
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
41
41
|
FLOW_LOGS: "FLOW_LOGS",
|
|
42
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
42
43
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
43
44
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
44
45
|
};
|
|
@@ -96,6 +97,7 @@ exports.DetectorFeature = {
|
|
|
96
97
|
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
97
98
|
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
98
99
|
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
100
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
99
101
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
100
102
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
101
103
|
};
|
|
@@ -163,6 +165,7 @@ exports.OrgFeature = {
|
|
|
163
165
|
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
164
166
|
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
165
167
|
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
168
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
166
169
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
167
170
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
168
171
|
};
|
|
@@ -179,6 +182,7 @@ exports.DetectorFeatureResult = {
|
|
|
179
182
|
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
180
183
|
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
181
184
|
FLOW_LOGS: "FLOW_LOGS",
|
|
185
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
182
186
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
183
187
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
184
188
|
};
|
|
@@ -4799,6 +4799,19 @@ const de_KubernetesWorkloadDetails = (output, context) => {
|
|
|
4799
4799
|
Volumes: (_) => [, de_Volumes(_, context), `volumes`],
|
|
4800
4800
|
});
|
|
4801
4801
|
};
|
|
4802
|
+
const de_LambdaDetails = (output, context) => {
|
|
4803
|
+
return (0, smithy_client_1.take)(output, {
|
|
4804
|
+
Description: [, smithy_client_1.expectString, `description`],
|
|
4805
|
+
FunctionArn: [, smithy_client_1.expectString, `functionArn`],
|
|
4806
|
+
FunctionName: [, smithy_client_1.expectString, `functionName`],
|
|
4807
|
+
FunctionVersion: [, smithy_client_1.expectString, `functionVersion`],
|
|
4808
|
+
LastModifiedAt: (_) => [, (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), `lastModifiedAt`],
|
|
4809
|
+
RevisionId: [, smithy_client_1.expectString, `revisionId`],
|
|
4810
|
+
Role: [, smithy_client_1.expectString, `role`],
|
|
4811
|
+
Tags: (_) => [, de_Tags(_, context), `tags`],
|
|
4812
|
+
VpcConfig: (_) => [, de_VpcConfig(_, context), `vpcConfig`],
|
|
4813
|
+
});
|
|
4814
|
+
};
|
|
4802
4815
|
const de_Lineage = (output, context) => {
|
|
4803
4816
|
const retVal = (output || [])
|
|
4804
4817
|
.filter((e) => e != null)
|
|
@@ -5197,6 +5210,7 @@ const de_Resource = (output, context) => {
|
|
|
5197
5210
|
EksClusterDetails: (_) => [, de_EksClusterDetails(_, context), `eksClusterDetails`],
|
|
5198
5211
|
InstanceDetails: (_) => [, de_InstanceDetails(_, context), `instanceDetails`],
|
|
5199
5212
|
KubernetesDetails: (_) => [, de_KubernetesDetails(_, context), `kubernetesDetails`],
|
|
5213
|
+
LambdaDetails: (_) => [, de_LambdaDetails(_, context), `lambdaDetails`],
|
|
5200
5214
|
RdsDbInstanceDetails: (_) => [, de_RdsDbInstanceDetails(_, context), `rdsDbInstanceDetails`],
|
|
5201
5215
|
RdsDbUserDetails: (_) => [, de_RdsDbUserDetails(_, context), `rdsDbUserDetails`],
|
|
5202
5216
|
ResourceType: [, smithy_client_1.expectString, `resourceType`],
|
|
@@ -5595,6 +5609,13 @@ const de_Volumes = (output, context) => {
|
|
|
5595
5609
|
});
|
|
5596
5610
|
return retVal;
|
|
5597
5611
|
};
|
|
5612
|
+
const de_VpcConfig = (output, context) => {
|
|
5613
|
+
return (0, smithy_client_1.take)(output, {
|
|
5614
|
+
SecurityGroups: (_) => [, de_SecurityGroups(_, context), `securityGroups`],
|
|
5615
|
+
SubnetIds: [, smithy_client_1._json, `subnetIds`],
|
|
5616
|
+
VpcId: [, smithy_client_1.expectString, `vpcId`],
|
|
5617
|
+
});
|
|
5618
|
+
};
|
|
5598
5619
|
const deserializeMetadata = (output) => ({
|
|
5599
5620
|
httpStatusCode: output.statusCode,
|
|
5600
5621
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -34,6 +34,7 @@ export const FreeTrialFeatureResult = {
|
|
|
34
34
|
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
35
35
|
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
36
36
|
FLOW_LOGS: "FLOW_LOGS",
|
|
37
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
37
38
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
38
39
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
39
40
|
};
|
|
@@ -91,6 +92,7 @@ export const DetectorFeature = {
|
|
|
91
92
|
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
92
93
|
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
93
94
|
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
95
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
94
96
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
95
97
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
96
98
|
};
|
|
@@ -158,6 +160,7 @@ export const OrgFeature = {
|
|
|
158
160
|
EBS_MALWARE_PROTECTION: "EBS_MALWARE_PROTECTION",
|
|
159
161
|
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
160
162
|
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
163
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
161
164
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
162
165
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
163
166
|
};
|
|
@@ -174,6 +177,7 @@ export const DetectorFeatureResult = {
|
|
|
174
177
|
EKS_AUDIT_LOGS: "EKS_AUDIT_LOGS",
|
|
175
178
|
EKS_RUNTIME_MONITORING: "EKS_RUNTIME_MONITORING",
|
|
176
179
|
FLOW_LOGS: "FLOW_LOGS",
|
|
180
|
+
LAMBDA_NETWORK_LOGS: "LAMBDA_NETWORK_LOGS",
|
|
177
181
|
RDS_LOGIN_EVENTS: "RDS_LOGIN_EVENTS",
|
|
178
182
|
S3_DATA_EVENTS: "S3_DATA_EVENTS",
|
|
179
183
|
};
|
|
@@ -4660,6 +4660,19 @@ const de_KubernetesWorkloadDetails = (output, context) => {
|
|
|
4660
4660
|
Volumes: (_) => [, de_Volumes(_, context), `volumes`],
|
|
4661
4661
|
});
|
|
4662
4662
|
};
|
|
4663
|
+
const de_LambdaDetails = (output, context) => {
|
|
4664
|
+
return take(output, {
|
|
4665
|
+
Description: [, __expectString, `description`],
|
|
4666
|
+
FunctionArn: [, __expectString, `functionArn`],
|
|
4667
|
+
FunctionName: [, __expectString, `functionName`],
|
|
4668
|
+
FunctionVersion: [, __expectString, `functionVersion`],
|
|
4669
|
+
LastModifiedAt: (_) => [, __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), `lastModifiedAt`],
|
|
4670
|
+
RevisionId: [, __expectString, `revisionId`],
|
|
4671
|
+
Role: [, __expectString, `role`],
|
|
4672
|
+
Tags: (_) => [, de_Tags(_, context), `tags`],
|
|
4673
|
+
VpcConfig: (_) => [, de_VpcConfig(_, context), `vpcConfig`],
|
|
4674
|
+
});
|
|
4675
|
+
};
|
|
4663
4676
|
const de_Lineage = (output, context) => {
|
|
4664
4677
|
const retVal = (output || [])
|
|
4665
4678
|
.filter((e) => e != null)
|
|
@@ -5058,6 +5071,7 @@ const de_Resource = (output, context) => {
|
|
|
5058
5071
|
EksClusterDetails: (_) => [, de_EksClusterDetails(_, context), `eksClusterDetails`],
|
|
5059
5072
|
InstanceDetails: (_) => [, de_InstanceDetails(_, context), `instanceDetails`],
|
|
5060
5073
|
KubernetesDetails: (_) => [, de_KubernetesDetails(_, context), `kubernetesDetails`],
|
|
5074
|
+
LambdaDetails: (_) => [, de_LambdaDetails(_, context), `lambdaDetails`],
|
|
5061
5075
|
RdsDbInstanceDetails: (_) => [, de_RdsDbInstanceDetails(_, context), `rdsDbInstanceDetails`],
|
|
5062
5076
|
RdsDbUserDetails: (_) => [, de_RdsDbUserDetails(_, context), `rdsDbUserDetails`],
|
|
5063
5077
|
ResourceType: [, __expectString, `resourceType`],
|
|
@@ -5456,6 +5470,13 @@ const de_Volumes = (output, context) => {
|
|
|
5456
5470
|
});
|
|
5457
5471
|
return retVal;
|
|
5458
5472
|
};
|
|
5473
|
+
const de_VpcConfig = (output, context) => {
|
|
5474
|
+
return take(output, {
|
|
5475
|
+
SecurityGroups: (_) => [, de_SecurityGroups(_, context), `securityGroups`],
|
|
5476
|
+
SubnetIds: [, _json, `subnetIds`],
|
|
5477
|
+
VpcId: [, __expectString, `vpcId`],
|
|
5478
|
+
});
|
|
5479
|
+
};
|
|
5459
5480
|
const deserializeMetadata = (output) => ({
|
|
5460
5481
|
httpStatusCode: output.statusCode,
|
|
5461
5482
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -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/
|
|
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
|
*/
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
UnarchiveFindingsRequest,
|
|
16
16
|
UnarchiveFindingsResponse,
|
|
17
|
-
} from "../models/
|
|
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.
|
|
4
|
+
"version": "3.319.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.
|
|
24
|
+
"@aws-sdk/client-sts": "3.319.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.319.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",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@aws-sdk/middleware-serde": "3.310.0",
|
|
37
37
|
"@aws-sdk/middleware-signing": "3.310.0",
|
|
38
38
|
"@aws-sdk/middleware-stack": "3.310.0",
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.319.0",
|
|
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",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
49
|
"@aws-sdk/util-defaults-mode-browser": "3.316.0",
|
|
50
50
|
"@aws-sdk/util-defaults-mode-node": "3.316.0",
|
|
51
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|
|
54
54
|
"@aws-sdk/util-user-agent-node": "3.310.0",
|