@aws-sdk/client-guardduty 3.1085.0 → 3.1087.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/index.js +118 -20
- package/dist-es/models/enums.js +35 -0
- package/dist-es/schemas/schemas_0.js +74 -19
- package/dist-types/commands/CreateDetectorCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/GetDetectorCommand.d.ts +1 -1
- package/dist-types/commands/GetFindingsCommand.d.ts +38 -4
- package/dist-types/commands/GetMemberDetectorsCommand.d.ts +1 -1
- package/dist-types/commands/GetOrganizationStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/GetRemainingFreeTrialDaysCommand.d.ts +1 -1
- package/dist-types/commands/GetUsageStatisticsCommand.d.ts +3 -3
- 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/enums.d.ts +75 -0
- package/dist-types/models/models_0.d.ts +125 -141
- package/dist-types/models/models_1.d.ts +126 -2
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/schemas/schemas_0.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +45 -0
- package/dist-types/ts3.4/models/models_0.d.ts +33 -37
- package/dist-types/ts3.4/models/models_1.d.ts +32 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +4 -0
- package/package.json +8 -8
|
@@ -4,6 +4,9 @@ import {
|
|
|
4
4
|
CloudProvider,
|
|
5
5
|
ClusterStatus,
|
|
6
6
|
Confidence,
|
|
7
|
+
ConfidenceLevel,
|
|
8
|
+
ContentPolicyFilterAction,
|
|
9
|
+
ContentPolicyFilterType,
|
|
7
10
|
CoverageFilterCriterionKey,
|
|
8
11
|
CoverageSortKey,
|
|
9
12
|
CoverageStatisticsType,
|
|
@@ -11,7 +14,6 @@ import {
|
|
|
11
14
|
CriterionKey,
|
|
12
15
|
DataSourceStatus,
|
|
13
16
|
DestinationType,
|
|
14
|
-
DetectionSource,
|
|
15
17
|
DetectorFeature,
|
|
16
18
|
DetectorFeatureResult,
|
|
17
19
|
DetectorStatus,
|
|
@@ -25,6 +27,8 @@ import {
|
|
|
25
27
|
FindingStatisticType,
|
|
26
28
|
FreeTrialFeatureResult,
|
|
27
29
|
GroupByType,
|
|
30
|
+
GuardrailAction,
|
|
31
|
+
GuardrailSource,
|
|
28
32
|
IndicatorType,
|
|
29
33
|
InvestigationStatus,
|
|
30
34
|
IpSetFormat,
|
|
@@ -32,8 +36,6 @@ import {
|
|
|
32
36
|
KubernetesResourcesTypes,
|
|
33
37
|
MalwareProtectionPlanStatus,
|
|
34
38
|
MalwareProtectionPlanTaggingActionStatus,
|
|
35
|
-
MalwareProtectionResourceType,
|
|
36
|
-
MalwareProtectionScanStatus,
|
|
37
39
|
MalwareProtectionScanType,
|
|
38
40
|
ManagementType,
|
|
39
41
|
MfaStatus,
|
|
@@ -52,9 +54,7 @@ import {
|
|
|
52
54
|
RiskLevel,
|
|
53
55
|
ScanCategory,
|
|
54
56
|
ScanResult,
|
|
55
|
-
ScanResultStatus,
|
|
56
57
|
ScanStatus,
|
|
57
|
-
ScanStatusReason,
|
|
58
58
|
ScanType,
|
|
59
59
|
SignalType,
|
|
60
60
|
ThreatEntitySetFormat,
|
|
@@ -320,6 +320,7 @@ export interface AgentDetails {
|
|
|
320
320
|
}
|
|
321
321
|
export interface Observations {
|
|
322
322
|
Text?: string[] | undefined;
|
|
323
|
+
Number?: number[] | undefined;
|
|
323
324
|
}
|
|
324
325
|
export interface AnomalyObject {
|
|
325
326
|
ProfileType?: ProfileType | undefined;
|
|
@@ -345,6 +346,23 @@ export interface AutonomousSystem {
|
|
|
345
346
|
export interface AutoscalingAutoScalingGroup {
|
|
346
347
|
Ec2InstanceUids?: string[] | undefined;
|
|
347
348
|
}
|
|
349
|
+
export interface BedrockGuardrail {
|
|
350
|
+
Arn?: string | undefined;
|
|
351
|
+
Version?: string | undefined;
|
|
352
|
+
}
|
|
353
|
+
export interface ContentPolicyFilter {
|
|
354
|
+
Type?: ContentPolicyFilterType | undefined;
|
|
355
|
+
Confidence?: ConfidenceLevel | undefined;
|
|
356
|
+
Action?: ContentPolicyFilterAction | undefined;
|
|
357
|
+
}
|
|
358
|
+
export interface BedrockGuardrailDetails {
|
|
359
|
+
GuardrailArn?: string | undefined;
|
|
360
|
+
GuardrailVersion?: string | undefined;
|
|
361
|
+
Guardrails?: BedrockGuardrail[] | undefined;
|
|
362
|
+
GuardrailAction?: GuardrailAction | undefined;
|
|
363
|
+
GuardrailSource?: GuardrailSource | undefined;
|
|
364
|
+
ContentPolicyFilters?: ContentPolicyFilter[] | undefined;
|
|
365
|
+
}
|
|
348
366
|
export interface BucketPolicy {
|
|
349
367
|
AllowsPublicReadAccess?: boolean | undefined;
|
|
350
368
|
AllowsPublicWriteAccess?: boolean | undefined;
|
|
@@ -1260,6 +1278,9 @@ export interface LambdaDetails {
|
|
|
1260
1278
|
VpcConfig?: VpcConfig | undefined;
|
|
1261
1279
|
Tags?: Tag[] | undefined;
|
|
1262
1280
|
}
|
|
1281
|
+
export interface ModelDetail {
|
|
1282
|
+
ModelId?: string | undefined;
|
|
1283
|
+
}
|
|
1263
1284
|
export interface RdsDbInstanceDetails {
|
|
1264
1285
|
DbInstanceIdentifier?: string | undefined;
|
|
1265
1286
|
Engine?: string | undefined;
|
|
@@ -1285,9 +1306,14 @@ export interface RdsLimitlessDbDetails {
|
|
|
1285
1306
|
DbClusterIdentifier?: string | undefined;
|
|
1286
1307
|
Tags?: Tag[] | undefined;
|
|
1287
1308
|
}
|
|
1309
|
+
export interface ScanConfigurationContinuousScanDetails {
|
|
1310
|
+
StartTime?: Date | undefined;
|
|
1311
|
+
EndTime: Date | undefined;
|
|
1312
|
+
}
|
|
1288
1313
|
export interface RecoveryPointDetails {
|
|
1289
1314
|
RecoveryPointArn?: string | undefined;
|
|
1290
1315
|
BackupVaultName?: string | undefined;
|
|
1316
|
+
ContinuousScanDetails?: ScanConfigurationContinuousScanDetails | undefined;
|
|
1291
1317
|
}
|
|
1292
1318
|
export interface Owner {
|
|
1293
1319
|
Id?: string | undefined;
|
|
@@ -1335,6 +1361,8 @@ export interface Resource {
|
|
|
1335
1361
|
EbsSnapshotDetails?: EbsSnapshotDetails | undefined;
|
|
1336
1362
|
Ec2ImageDetails?: Ec2ImageDetails | undefined;
|
|
1337
1363
|
RecoveryPointDetails?: RecoveryPointDetails | undefined;
|
|
1364
|
+
BedrockGuardrailDetails?: BedrockGuardrailDetails | undefined;
|
|
1365
|
+
ModelDetails?: ModelDetail[] | undefined;
|
|
1338
1366
|
}
|
|
1339
1367
|
export interface ServiceAdditionalInfo {
|
|
1340
1368
|
Value?: string | undefined;
|
|
@@ -1619,10 +1647,6 @@ export interface GetMalwareProtectionPlanResponse {
|
|
|
1619
1647
|
export interface GetMalwareScanRequest {
|
|
1620
1648
|
ScanId: string | undefined;
|
|
1621
1649
|
}
|
|
1622
|
-
export interface ScanConfigurationContinuousScanDetails {
|
|
1623
|
-
StartTime?: Date | undefined;
|
|
1624
|
-
EndTime: Date | undefined;
|
|
1625
|
-
}
|
|
1626
1650
|
export interface ScanConfigurationRecoveryPoint {
|
|
1627
1651
|
BackupVaultName?: string | undefined;
|
|
1628
1652
|
ContinuousScanDetails?: ScanConfigurationContinuousScanDetails | undefined;
|
|
@@ -1633,31 +1657,3 @@ export interface ScanConfiguration {
|
|
|
1633
1657
|
IncrementalScanDetails?: IncrementalScanDetails | undefined;
|
|
1634
1658
|
RecoveryPoint?: ScanConfigurationRecoveryPoint | undefined;
|
|
1635
1659
|
}
|
|
1636
|
-
export interface ScannedResourceDetails {
|
|
1637
|
-
EbsVolume?: VolumeDetail | undefined;
|
|
1638
|
-
EbsSnapshot?: EbsSnapshot | undefined;
|
|
1639
|
-
}
|
|
1640
|
-
export interface ScannedResource {
|
|
1641
|
-
ScannedResourceArn?: string | undefined;
|
|
1642
|
-
ScannedResourceType?: MalwareProtectionResourceType | undefined;
|
|
1643
|
-
ScannedResourceStatus?: MalwareProtectionScanStatus | undefined;
|
|
1644
|
-
ScanStatusReason?: ScanStatusReason | undefined;
|
|
1645
|
-
ResourceDetails?: ScannedResourceDetails | undefined;
|
|
1646
|
-
}
|
|
1647
|
-
export interface ScanResultThreat {
|
|
1648
|
-
Name?: string | undefined;
|
|
1649
|
-
Source?: DetectionSource | undefined;
|
|
1650
|
-
Count?: number | undefined;
|
|
1651
|
-
Hash?: string | undefined;
|
|
1652
|
-
ItemDetails?: ItemDetails[] | undefined;
|
|
1653
|
-
}
|
|
1654
|
-
export interface GetMalwareScanResultDetails {
|
|
1655
|
-
ScanResultStatus?: ScanResultStatus | undefined;
|
|
1656
|
-
SkippedFileCount?: number | undefined;
|
|
1657
|
-
FailedFileCount?: number | undefined;
|
|
1658
|
-
ThreatFoundFileCount?: number | undefined;
|
|
1659
|
-
TotalFileCount?: number | undefined;
|
|
1660
|
-
TotalBytes?: number | undefined;
|
|
1661
|
-
UniqueThreatCount?: number | undefined;
|
|
1662
|
-
Threats?: ScanResultThreat[] | undefined;
|
|
1663
|
-
}
|
|
@@ -2,6 +2,7 @@ import {
|
|
|
2
2
|
AutoEnableMembers,
|
|
3
3
|
Confidence,
|
|
4
4
|
DataSource,
|
|
5
|
+
DetectionSource,
|
|
5
6
|
EbsSnapshotPreservation,
|
|
6
7
|
FeatureStatus,
|
|
7
8
|
Feedback,
|
|
@@ -43,16 +44,45 @@ import {
|
|
|
43
44
|
Destination,
|
|
44
45
|
DestinationProperties,
|
|
45
46
|
DetectorFeatureConfiguration,
|
|
47
|
+
EbsSnapshot,
|
|
46
48
|
FilterCondition,
|
|
47
49
|
FindingCriteria,
|
|
48
|
-
GetMalwareScanResultDetails,
|
|
49
50
|
IncrementalScanDetails,
|
|
51
|
+
ItemDetails,
|
|
50
52
|
MalwareProtectionPlanActions,
|
|
51
53
|
ScanConfiguration,
|
|
52
|
-
ScannedResource,
|
|
53
54
|
SortCriteria,
|
|
54
55
|
UnprocessedAccount,
|
|
56
|
+
VolumeDetail,
|
|
55
57
|
} from "./models_0";
|
|
58
|
+
export interface ScannedResourceDetails {
|
|
59
|
+
EbsVolume?: VolumeDetail | undefined;
|
|
60
|
+
EbsSnapshot?: EbsSnapshot | undefined;
|
|
61
|
+
}
|
|
62
|
+
export interface ScannedResource {
|
|
63
|
+
ScannedResourceArn?: string | undefined;
|
|
64
|
+
ScannedResourceType?: MalwareProtectionResourceType | undefined;
|
|
65
|
+
ScannedResourceStatus?: MalwareProtectionScanStatus | undefined;
|
|
66
|
+
ScanStatusReason?: ScanStatusReason | undefined;
|
|
67
|
+
ResourceDetails?: ScannedResourceDetails | undefined;
|
|
68
|
+
}
|
|
69
|
+
export interface ScanResultThreat {
|
|
70
|
+
Name?: string | undefined;
|
|
71
|
+
Source?: DetectionSource | undefined;
|
|
72
|
+
Count?: number | undefined;
|
|
73
|
+
Hash?: string | undefined;
|
|
74
|
+
ItemDetails?: ItemDetails[] | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface GetMalwareScanResultDetails {
|
|
77
|
+
ScanResultStatus?: ScanResultStatus | undefined;
|
|
78
|
+
SkippedFileCount?: number | undefined;
|
|
79
|
+
FailedFileCount?: number | undefined;
|
|
80
|
+
ThreatFoundFileCount?: number | undefined;
|
|
81
|
+
TotalFileCount?: number | undefined;
|
|
82
|
+
TotalBytes?: number | undefined;
|
|
83
|
+
UniqueThreatCount?: number | undefined;
|
|
84
|
+
Threats?: ScanResultThreat[] | undefined;
|
|
85
|
+
}
|
|
56
86
|
export interface GetMalwareScanResponse {
|
|
57
87
|
ScanId?: string | undefined;
|
|
58
88
|
DetectorId?: string | undefined;
|
|
@@ -11,7 +11,7 @@ export declare const getRuntimeConfig: (config: GuardDutyClientConfig) => {
|
|
|
11
11
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
12
12
|
| ((
|
|
13
13
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
-
) => import("@aws-sdk/credential-provider-node
|
|
14
|
+
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
16
|
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
@@ -39,6 +39,8 @@ export declare var ArchiveFindingsResponse$: StaticStructureSchema;
|
|
|
39
39
|
export declare var AutonomousSystem$: StaticStructureSchema;
|
|
40
40
|
export declare var AutoscalingAutoScalingGroup$: StaticStructureSchema;
|
|
41
41
|
export declare var AwsApiCallAction$: StaticStructureSchema;
|
|
42
|
+
export declare var BedrockGuardrail$: StaticStructureSchema;
|
|
43
|
+
export declare var BedrockGuardrailDetails$: StaticStructureSchema;
|
|
42
44
|
export declare var BlockPublicAccess$: StaticStructureSchema;
|
|
43
45
|
export declare var BucketLevelPermissions$: StaticStructureSchema;
|
|
44
46
|
export declare var BucketPolicy$: StaticStructureSchema;
|
|
@@ -50,6 +52,7 @@ export declare var Condition$: StaticStructureSchema;
|
|
|
50
52
|
export declare var Container$: StaticStructureSchema;
|
|
51
53
|
export declare var ContainerFindingResource$: StaticStructureSchema;
|
|
52
54
|
export declare var ContainerInstanceDetails$: StaticStructureSchema;
|
|
55
|
+
export declare var ContentPolicyFilter$: StaticStructureSchema;
|
|
53
56
|
export declare var ContinuousScanDetails$: StaticStructureSchema;
|
|
54
57
|
export declare var Country$: StaticStructureSchema;
|
|
55
58
|
export declare var CoverageEc2InstanceDetails$: StaticStructureSchema;
|
|
@@ -296,6 +299,7 @@ export declare var MemberAdditionalConfigurationResult$: StaticStructureSchema;
|
|
|
296
299
|
export declare var MemberDataSourceConfiguration$: StaticStructureSchema;
|
|
297
300
|
export declare var MemberFeaturesConfiguration$: StaticStructureSchema;
|
|
298
301
|
export declare var MemberFeaturesConfigurationResult$: StaticStructureSchema;
|
|
302
|
+
export declare var ModelDetail$: StaticStructureSchema;
|
|
299
303
|
export declare var NetworkConnection$: StaticStructureSchema;
|
|
300
304
|
export declare var NetworkConnectionAction$: StaticStructureSchema;
|
|
301
305
|
export declare var NetworkEndpoint$: StaticStructureSchema;
|
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.1087.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,13 +19,13 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.975.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
-
"@aws-sdk/types": "^3.974.
|
|
25
|
-
"@smithy/core": "^3.29.
|
|
26
|
-
"@smithy/fetch-http-handler": "^5.6.
|
|
27
|
-
"@smithy/node-http-handler": "^4.9.
|
|
28
|
-
"@smithy/types": "^4.16.
|
|
22
|
+
"@aws-sdk/core": "^3.975.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.68",
|
|
24
|
+
"@aws-sdk/types": "^3.974.1",
|
|
25
|
+
"@smithy/core": "^3.29.3",
|
|
26
|
+
"@smithy/fetch-http-handler": "^5.6.5",
|
|
27
|
+
"@smithy/node-http-handler": "^4.9.5",
|
|
28
|
+
"@smithy/types": "^4.16.1",
|
|
29
29
|
"tslib": "^2.6.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|