@aws-sdk/client-accessanalyzer 3.936.0 → 3.940.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 +198 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +172 -0
- package/dist-es/models/models_0.js +1 -172
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +404 -0
- package/dist-types/models/errors.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +1 -404
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +253 -0
- package/dist-types/ts3.4/models/errors.d.ts +2 -4
- package/dist-types/ts3.4/models/models_0.d.ts +34 -253
- package/package.json +5 -5
|
@@ -1,3 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AccessCheckPolicyType,
|
|
3
|
+
AccessCheckResourceType,
|
|
4
|
+
AccessPreviewStatus,
|
|
5
|
+
AccessPreviewStatusReasonCode,
|
|
6
|
+
AclPermission,
|
|
7
|
+
AnalyzerStatus,
|
|
8
|
+
CheckAccessNotGrantedResult,
|
|
9
|
+
CheckNoNewAccessResult,
|
|
10
|
+
CheckNoPublicAccessResult,
|
|
11
|
+
FindingChangeType,
|
|
12
|
+
FindingSourceType,
|
|
13
|
+
FindingStatus,
|
|
14
|
+
FindingStatusUpdate,
|
|
15
|
+
FindingType,
|
|
16
|
+
InternalAccessType,
|
|
17
|
+
JobErrorCode,
|
|
18
|
+
JobStatus,
|
|
19
|
+
KmsGrantOperation,
|
|
20
|
+
Locale,
|
|
21
|
+
OrderBy,
|
|
22
|
+
PolicyType,
|
|
23
|
+
PrincipalType,
|
|
24
|
+
ReasonCode,
|
|
25
|
+
RecommendationType,
|
|
26
|
+
RecommendedRemediationAction,
|
|
27
|
+
ResourceControlPolicyRestriction,
|
|
28
|
+
ResourceType,
|
|
29
|
+
ServiceControlPolicyRestriction,
|
|
30
|
+
Status,
|
|
31
|
+
Type,
|
|
32
|
+
ValidatePolicyFindingType,
|
|
33
|
+
ValidatePolicyResourceType,
|
|
34
|
+
} from "./enums";
|
|
1
35
|
export interface Access {
|
|
2
36
|
actions?: string[] | undefined;
|
|
3
37
|
resources?: string[] | undefined;
|
|
@@ -18,15 +52,6 @@ export interface ValidationExceptionField {
|
|
|
18
52
|
name: string | undefined;
|
|
19
53
|
message: string | undefined;
|
|
20
54
|
}
|
|
21
|
-
export declare const ValidationExceptionReason: {
|
|
22
|
-
readonly CANNOT_PARSE: "cannotParse";
|
|
23
|
-
readonly FIELD_VALIDATION_FAILED: "fieldValidationFailed";
|
|
24
|
-
readonly NOT_SUPPORTED: "notSupported";
|
|
25
|
-
readonly OTHER: "other";
|
|
26
|
-
readonly UNKNOWN_OPERATION: "unknownOperation";
|
|
27
|
-
};
|
|
28
|
-
export type ValidationExceptionReason =
|
|
29
|
-
(typeof ValidationExceptionReason)[keyof typeof ValidationExceptionReason];
|
|
30
55
|
export interface DeleteArchiveRuleRequest {
|
|
31
56
|
analyzerName: string | undefined;
|
|
32
57
|
ruleName: string | undefined;
|
|
@@ -64,24 +89,6 @@ export interface InlineArchiveRule {
|
|
|
64
89
|
ruleName: string | undefined;
|
|
65
90
|
filter: Record<string, Criterion> | undefined;
|
|
66
91
|
}
|
|
67
|
-
export type ResourceType =
|
|
68
|
-
| "AWS::DynamoDB::Stream"
|
|
69
|
-
| "AWS::DynamoDB::Table"
|
|
70
|
-
| "AWS::EC2::Snapshot"
|
|
71
|
-
| "AWS::ECR::Repository"
|
|
72
|
-
| "AWS::EFS::FileSystem"
|
|
73
|
-
| "AWS::IAM::Role"
|
|
74
|
-
| "AWS::IAM::User"
|
|
75
|
-
| "AWS::KMS::Key"
|
|
76
|
-
| "AWS::Lambda::Function"
|
|
77
|
-
| "AWS::Lambda::LayerVersion"
|
|
78
|
-
| "AWS::RDS::DBClusterSnapshot"
|
|
79
|
-
| "AWS::RDS::DBSnapshot"
|
|
80
|
-
| "AWS::S3::Bucket"
|
|
81
|
-
| "AWS::S3Express::DirectoryBucket"
|
|
82
|
-
| "AWS::SNS::Topic"
|
|
83
|
-
| "AWS::SQS::Queue"
|
|
84
|
-
| "AWS::SecretsManager::Secret";
|
|
85
92
|
export interface InternalAccessAnalysisRuleCriteria {
|
|
86
93
|
accountIds?: string[] | undefined;
|
|
87
94
|
resourceTypes?: ResourceType[] | undefined;
|
|
@@ -130,13 +137,6 @@ export declare namespace AnalyzerConfiguration {
|
|
|
130
137
|
_: (name: string, value: any) => T;
|
|
131
138
|
}
|
|
132
139
|
}
|
|
133
|
-
export type Type =
|
|
134
|
-
| "ACCOUNT"
|
|
135
|
-
| "ACCOUNT_INTERNAL_ACCESS"
|
|
136
|
-
| "ACCOUNT_UNUSED_ACCESS"
|
|
137
|
-
| "ORGANIZATION"
|
|
138
|
-
| "ORGANIZATION_INTERNAL_ACCESS"
|
|
139
|
-
| "ORGANIZATION_UNUSED_ACCESS";
|
|
140
140
|
export interface CreateAnalyzerRequest {
|
|
141
141
|
analyzerName: string | undefined;
|
|
142
142
|
type: Type | undefined;
|
|
@@ -155,12 +155,6 @@ export interface DeleteAnalyzerRequest {
|
|
|
155
155
|
export interface GetAnalyzerRequest {
|
|
156
156
|
analyzerName: string | undefined;
|
|
157
157
|
}
|
|
158
|
-
export type AnalyzerStatus = "ACTIVE" | "CREATING" | "DISABLED" | "FAILED";
|
|
159
|
-
export type ReasonCode =
|
|
160
|
-
| "AWS_SERVICE_ACCESS_DISABLED"
|
|
161
|
-
| "DELEGATED_ADMINISTRATOR_DEREGISTERED"
|
|
162
|
-
| "ORGANIZATION_DELETED"
|
|
163
|
-
| "SERVICE_LINKED_ROLE_CREATION_FAILED";
|
|
164
158
|
export interface StatusReason {
|
|
165
159
|
code: ReasonCode | undefined;
|
|
166
160
|
}
|
|
@@ -204,12 +198,6 @@ export interface CancelPolicyGenerationRequest {
|
|
|
204
198
|
jobId: string | undefined;
|
|
205
199
|
}
|
|
206
200
|
export interface CancelPolicyGenerationResponse {}
|
|
207
|
-
export declare const AccessCheckPolicyType: {
|
|
208
|
-
readonly IDENTITY_POLICY: "IDENTITY_POLICY";
|
|
209
|
-
readonly RESOURCE_POLICY: "RESOURCE_POLICY";
|
|
210
|
-
};
|
|
211
|
-
export type AccessCheckPolicyType =
|
|
212
|
-
(typeof AccessCheckPolicyType)[keyof typeof AccessCheckPolicyType];
|
|
213
201
|
export interface CheckAccessNotGrantedRequest {
|
|
214
202
|
policyDocument: string | undefined;
|
|
215
203
|
access: Access[] | undefined;
|
|
@@ -220,12 +208,6 @@ export interface ReasonSummary {
|
|
|
220
208
|
statementIndex?: number | undefined;
|
|
221
209
|
statementId?: string | undefined;
|
|
222
210
|
}
|
|
223
|
-
export declare const CheckAccessNotGrantedResult: {
|
|
224
|
-
readonly FAIL: "FAIL";
|
|
225
|
-
readonly PASS: "PASS";
|
|
226
|
-
};
|
|
227
|
-
export type CheckAccessNotGrantedResult =
|
|
228
|
-
(typeof CheckAccessNotGrantedResult)[keyof typeof CheckAccessNotGrantedResult];
|
|
229
211
|
export interface CheckAccessNotGrantedResponse {
|
|
230
212
|
result?: CheckAccessNotGrantedResult | undefined;
|
|
231
213
|
message?: string | undefined;
|
|
@@ -236,57 +218,15 @@ export interface CheckNoNewAccessRequest {
|
|
|
236
218
|
existingPolicyDocument: string | undefined;
|
|
237
219
|
policyType: AccessCheckPolicyType | undefined;
|
|
238
220
|
}
|
|
239
|
-
export declare const CheckNoNewAccessResult: {
|
|
240
|
-
readonly FAIL: "FAIL";
|
|
241
|
-
readonly PASS: "PASS";
|
|
242
|
-
};
|
|
243
|
-
export type CheckNoNewAccessResult =
|
|
244
|
-
(typeof CheckNoNewAccessResult)[keyof typeof CheckNoNewAccessResult];
|
|
245
221
|
export interface CheckNoNewAccessResponse {
|
|
246
222
|
result?: CheckNoNewAccessResult | undefined;
|
|
247
223
|
message?: string | undefined;
|
|
248
224
|
reasons?: ReasonSummary[] | undefined;
|
|
249
225
|
}
|
|
250
|
-
export declare const AccessCheckResourceType: {
|
|
251
|
-
readonly API_GATEWAY_REST_API: "AWS::ApiGateway::RestApi";
|
|
252
|
-
readonly BACKUP_VAULT: "AWS::Backup::BackupVault";
|
|
253
|
-
readonly CLOUDTRAIL_DASHBOARD: "AWS::CloudTrail::Dashboard";
|
|
254
|
-
readonly CLOUDTRAIL_EVENT_DATA_STORE: "AWS::CloudTrail::EventDataStore";
|
|
255
|
-
readonly CODE_ARTIFACT_DOMAIN: "AWS::CodeArtifact::Domain";
|
|
256
|
-
readonly DYNAMODB_STREAM: "AWS::DynamoDB::Stream";
|
|
257
|
-
readonly DYNAMODB_TABLE: "AWS::DynamoDB::Table";
|
|
258
|
-
readonly EFS_FILESYSTEM: "AWS::EFS::FileSystem";
|
|
259
|
-
readonly KINESIS_DATA_STREAM: "AWS::Kinesis::Stream";
|
|
260
|
-
readonly KINESIS_STREAM_CONSUMER: "AWS::Kinesis::StreamConsumer";
|
|
261
|
-
readonly KMS_KEY: "AWS::KMS::Key";
|
|
262
|
-
readonly LAMBDA_FUNCTION: "AWS::Lambda::Function";
|
|
263
|
-
readonly OPENSEARCHSERVICE_DOMAIN: "AWS::OpenSearchService::Domain";
|
|
264
|
-
readonly ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument";
|
|
265
|
-
readonly S3EXPRESS_DIRECTORYBUCKET: "AWS::S3Express::DirectoryBucket";
|
|
266
|
-
readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
|
|
267
|
-
readonly S3_BUCKET: "AWS::S3::Bucket";
|
|
268
|
-
readonly S3_EXPRESS_ACCESS_POINT: "AWS::S3Express::AccessPoint";
|
|
269
|
-
readonly S3_GLACIER: "AWS::S3::Glacier";
|
|
270
|
-
readonly S3_OUTPOSTS_ACCESS_POINT: "AWS::S3Outposts::AccessPoint";
|
|
271
|
-
readonly S3_OUTPOSTS_BUCKET: "AWS::S3Outposts::Bucket";
|
|
272
|
-
readonly S3_TABLE: "AWS::S3Tables::Table";
|
|
273
|
-
readonly S3_TABLE_BUCKET: "AWS::S3Tables::TableBucket";
|
|
274
|
-
readonly SECRETSMANAGER_SECRET: "AWS::SecretsManager::Secret";
|
|
275
|
-
readonly SNS_TOPIC: "AWS::SNS::Topic";
|
|
276
|
-
readonly SQS_QUEUE: "AWS::SQS::Queue";
|
|
277
|
-
};
|
|
278
|
-
export type AccessCheckResourceType =
|
|
279
|
-
(typeof AccessCheckResourceType)[keyof typeof AccessCheckResourceType];
|
|
280
226
|
export interface CheckNoPublicAccessRequest {
|
|
281
227
|
policyDocument: string | undefined;
|
|
282
228
|
resourceType: AccessCheckResourceType | undefined;
|
|
283
229
|
}
|
|
284
|
-
export declare const CheckNoPublicAccessResult: {
|
|
285
|
-
readonly FAIL: "FAIL";
|
|
286
|
-
readonly PASS: "PASS";
|
|
287
|
-
};
|
|
288
|
-
export type CheckNoPublicAccessResult =
|
|
289
|
-
(typeof CheckNoPublicAccessResult)[keyof typeof CheckNoPublicAccessResult];
|
|
290
230
|
export interface CheckNoPublicAccessResponse {
|
|
291
231
|
result?: CheckNoPublicAccessResult | undefined;
|
|
292
232
|
message?: string | undefined;
|
|
@@ -316,24 +256,6 @@ export interface KmsGrantConstraints {
|
|
|
316
256
|
encryptionContextEquals?: Record<string, string> | undefined;
|
|
317
257
|
encryptionContextSubset?: Record<string, string> | undefined;
|
|
318
258
|
}
|
|
319
|
-
export declare const KmsGrantOperation: {
|
|
320
|
-
readonly CREATE_GRANT: "CreateGrant";
|
|
321
|
-
readonly DECRYPT: "Decrypt";
|
|
322
|
-
readonly DESCRIBE_KEY: "DescribeKey";
|
|
323
|
-
readonly ENCRYPT: "Encrypt";
|
|
324
|
-
readonly GENERATE_DATA_KEY: "GenerateDataKey";
|
|
325
|
-
readonly GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair";
|
|
326
|
-
readonly GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext";
|
|
327
|
-
readonly GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext";
|
|
328
|
-
readonly GET_PUBLIC_KEY: "GetPublicKey";
|
|
329
|
-
readonly REENCRYPT_FROM: "ReEncryptFrom";
|
|
330
|
-
readonly REENCRYPT_TO: "ReEncryptTo";
|
|
331
|
-
readonly RETIRE_GRANT: "RetireGrant";
|
|
332
|
-
readonly SIGN: "Sign";
|
|
333
|
-
readonly VERIFY: "Verify";
|
|
334
|
-
};
|
|
335
|
-
export type KmsGrantOperation =
|
|
336
|
-
(typeof KmsGrantOperation)[keyof typeof KmsGrantOperation];
|
|
337
259
|
export interface KmsGrantConfiguration {
|
|
338
260
|
operations: KmsGrantOperation[] | undefined;
|
|
339
261
|
granteePrincipal: string | undefined;
|
|
@@ -452,14 +374,6 @@ export declare namespace AclGrantee {
|
|
|
452
374
|
_: (name: string, value: any) => T;
|
|
453
375
|
}
|
|
454
376
|
}
|
|
455
|
-
export declare const AclPermission: {
|
|
456
|
-
readonly FULL_CONTROL: "FULL_CONTROL";
|
|
457
|
-
readonly READ: "READ";
|
|
458
|
-
readonly READ_ACP: "READ_ACP";
|
|
459
|
-
readonly WRITE: "WRITE";
|
|
460
|
-
readonly WRITE_ACP: "WRITE_ACP";
|
|
461
|
-
};
|
|
462
|
-
export type AclPermission = (typeof AclPermission)[keyof typeof AclPermission];
|
|
463
377
|
export interface S3BucketAclGrantConfiguration {
|
|
464
378
|
permission: AclPermission | undefined;
|
|
465
379
|
grantee: AclGrantee | undefined;
|
|
@@ -798,19 +712,6 @@ export interface GetAccessPreviewRequest {
|
|
|
798
712
|
accessPreviewId: string | undefined;
|
|
799
713
|
analyzerArn: string | undefined;
|
|
800
714
|
}
|
|
801
|
-
export declare const AccessPreviewStatus: {
|
|
802
|
-
readonly COMPLETED: "COMPLETED";
|
|
803
|
-
readonly CREATING: "CREATING";
|
|
804
|
-
readonly FAILED: "FAILED";
|
|
805
|
-
};
|
|
806
|
-
export type AccessPreviewStatus =
|
|
807
|
-
(typeof AccessPreviewStatus)[keyof typeof AccessPreviewStatus];
|
|
808
|
-
export declare const AccessPreviewStatusReasonCode: {
|
|
809
|
-
readonly INTERNAL_ERROR: "INTERNAL_ERROR";
|
|
810
|
-
readonly INVALID_CONFIGURATION: "INVALID_CONFIGURATION";
|
|
811
|
-
};
|
|
812
|
-
export type AccessPreviewStatusReasonCode =
|
|
813
|
-
(typeof AccessPreviewStatusReasonCode)[keyof typeof AccessPreviewStatusReasonCode];
|
|
814
715
|
export interface AccessPreviewStatusReason {
|
|
815
716
|
code: AccessPreviewStatusReasonCode | undefined;
|
|
816
717
|
}
|
|
@@ -829,7 +730,6 @@ export interface GetAnalyzedResourceRequest {
|
|
|
829
730
|
analyzerArn: string | undefined;
|
|
830
731
|
resourceArn: string | undefined;
|
|
831
732
|
}
|
|
832
|
-
export type FindingStatus = "ACTIVE" | "ARCHIVED" | "RESOLVED";
|
|
833
733
|
export interface AnalyzedResource {
|
|
834
734
|
resourceArn: string | undefined;
|
|
835
735
|
resourceType: ResourceType | undefined;
|
|
@@ -850,23 +750,10 @@ export interface GetFindingRequest {
|
|
|
850
750
|
analyzerArn: string | undefined;
|
|
851
751
|
id: string | undefined;
|
|
852
752
|
}
|
|
853
|
-
export declare const ResourceControlPolicyRestriction: {
|
|
854
|
-
readonly APPLICABLE: "APPLICABLE";
|
|
855
|
-
readonly APPLIED: "APPLIED";
|
|
856
|
-
readonly FAILED_TO_EVALUATE_RCP: "FAILED_TO_EVALUATE_RCP";
|
|
857
|
-
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
858
|
-
};
|
|
859
|
-
export type ResourceControlPolicyRestriction =
|
|
860
|
-
(typeof ResourceControlPolicyRestriction)[keyof typeof ResourceControlPolicyRestriction];
|
|
861
753
|
export interface FindingSourceDetail {
|
|
862
754
|
accessPointArn?: string | undefined;
|
|
863
755
|
accessPointAccount?: string | undefined;
|
|
864
756
|
}
|
|
865
|
-
export type FindingSourceType =
|
|
866
|
-
| "BUCKET_ACL"
|
|
867
|
-
| "POLICY"
|
|
868
|
-
| "S3_ACCESS_POINT"
|
|
869
|
-
| "S3_ACCESS_POINT_ACCOUNT";
|
|
870
757
|
export interface FindingSource {
|
|
871
758
|
type: FindingSourceType | undefined;
|
|
872
759
|
detail?: FindingSourceDetail | undefined;
|
|
@@ -903,17 +790,6 @@ export interface RecommendationError {
|
|
|
903
790
|
code: string | undefined;
|
|
904
791
|
message: string | undefined;
|
|
905
792
|
}
|
|
906
|
-
export declare const RecommendationType: {
|
|
907
|
-
readonly UNUSED_PERMISSION_RECOMMENDATION: "UnusedPermissionRecommendation";
|
|
908
|
-
};
|
|
909
|
-
export type RecommendationType =
|
|
910
|
-
(typeof RecommendationType)[keyof typeof RecommendationType];
|
|
911
|
-
export declare const RecommendedRemediationAction: {
|
|
912
|
-
readonly CREATE_POLICY: "CREATE_POLICY";
|
|
913
|
-
readonly DETACH_POLICY: "DETACH_POLICY";
|
|
914
|
-
};
|
|
915
|
-
export type RecommendedRemediationAction =
|
|
916
|
-
(typeof RecommendedRemediationAction)[keyof typeof RecommendedRemediationAction];
|
|
917
793
|
export interface UnusedPermissionsRecommendedStep {
|
|
918
794
|
policyUpdatedAt?: Date | undefined;
|
|
919
795
|
recommendedAction: RecommendedRemediationAction | undefined;
|
|
@@ -939,12 +815,6 @@ export declare namespace RecommendedStep {
|
|
|
939
815
|
_: (name: string, value: any) => T;
|
|
940
816
|
}
|
|
941
817
|
}
|
|
942
|
-
export declare const Status: {
|
|
943
|
-
readonly FAILED: "FAILED";
|
|
944
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
945
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
946
|
-
};
|
|
947
|
-
export type Status = (typeof Status)[keyof typeof Status];
|
|
948
818
|
export interface GetFindingRecommendationResponse {
|
|
949
819
|
startedAt: Date | undefined;
|
|
950
820
|
completedAt?: Date | undefined;
|
|
@@ -1063,25 +933,6 @@ export interface ExternalAccessDetails {
|
|
|
1063
933
|
| ResourceControlPolicyRestriction
|
|
1064
934
|
| undefined;
|
|
1065
935
|
}
|
|
1066
|
-
export declare const InternalAccessType: {
|
|
1067
|
-
readonly INTRA_ACCOUNT: "INTRA_ACCOUNT";
|
|
1068
|
-
readonly INTRA_ORG: "INTRA_ORG";
|
|
1069
|
-
};
|
|
1070
|
-
export type InternalAccessType =
|
|
1071
|
-
(typeof InternalAccessType)[keyof typeof InternalAccessType];
|
|
1072
|
-
export declare const PrincipalType: {
|
|
1073
|
-
readonly IAM_ROLE: "IAM_ROLE";
|
|
1074
|
-
readonly IAM_USER: "IAM_USER";
|
|
1075
|
-
};
|
|
1076
|
-
export type PrincipalType = (typeof PrincipalType)[keyof typeof PrincipalType];
|
|
1077
|
-
export declare const ServiceControlPolicyRestriction: {
|
|
1078
|
-
readonly APPLICABLE: "APPLICABLE";
|
|
1079
|
-
readonly APPLIED: "APPLIED";
|
|
1080
|
-
readonly FAILED_TO_EVALUATE_SCP: "FAILED_TO_EVALUATE_SCP";
|
|
1081
|
-
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
1082
|
-
};
|
|
1083
|
-
export type ServiceControlPolicyRestriction =
|
|
1084
|
-
(typeof ServiceControlPolicyRestriction)[keyof typeof ServiceControlPolicyRestriction];
|
|
1085
936
|
export interface InternalAccessDetails {
|
|
1086
937
|
action?: string[] | undefined;
|
|
1087
938
|
condition?: Record<string, string> | undefined;
|
|
@@ -1196,15 +1047,6 @@ export declare namespace FindingDetails {
|
|
|
1196
1047
|
_: (name: string, value: any) => T;
|
|
1197
1048
|
}
|
|
1198
1049
|
}
|
|
1199
|
-
export declare const FindingType: {
|
|
1200
|
-
readonly EXTERNAL_ACCESS: "ExternalAccess";
|
|
1201
|
-
readonly INTERNAL_ACCESS: "InternalAccess";
|
|
1202
|
-
readonly UNUSED_IAM_ROLE: "UnusedIAMRole";
|
|
1203
|
-
readonly UNUSED_IAM_USER_ACCESS_KEY: "UnusedIAMUserAccessKey";
|
|
1204
|
-
readonly UNUSED_IAM_USER_PASSWORD: "UnusedIAMUserPassword";
|
|
1205
|
-
readonly UNUSED_PERMISSION: "UnusedPermission";
|
|
1206
|
-
};
|
|
1207
|
-
export type FindingType = (typeof FindingType)[keyof typeof FindingType];
|
|
1208
1050
|
export interface GetFindingV2Response {
|
|
1209
1051
|
analyzedAt: Date | undefined;
|
|
1210
1052
|
createdAt: Date | undefined;
|
|
@@ -1246,24 +1088,10 @@ export interface GeneratedPolicyResult {
|
|
|
1246
1088
|
properties: GeneratedPolicyProperties | undefined;
|
|
1247
1089
|
generatedPolicies?: GeneratedPolicy[] | undefined;
|
|
1248
1090
|
}
|
|
1249
|
-
export declare const JobErrorCode: {
|
|
1250
|
-
readonly AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR";
|
|
1251
|
-
readonly RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR";
|
|
1252
|
-
readonly SERVICE_ERROR: "SERVICE_ERROR";
|
|
1253
|
-
readonly SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR";
|
|
1254
|
-
};
|
|
1255
|
-
export type JobErrorCode = (typeof JobErrorCode)[keyof typeof JobErrorCode];
|
|
1256
1091
|
export interface JobError {
|
|
1257
1092
|
code: JobErrorCode | undefined;
|
|
1258
1093
|
message: string | undefined;
|
|
1259
1094
|
}
|
|
1260
|
-
export declare const JobStatus: {
|
|
1261
|
-
readonly CANCELED: "CANCELED";
|
|
1262
|
-
readonly FAILED: "FAILED";
|
|
1263
|
-
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1264
|
-
readonly SUCCEEDED: "SUCCEEDED";
|
|
1265
|
-
};
|
|
1266
|
-
export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
|
|
1267
1095
|
export interface JobDetails {
|
|
1268
1096
|
jobId: string | undefined;
|
|
1269
1097
|
status: JobStatus | undefined;
|
|
@@ -1282,13 +1110,6 @@ export interface ListAccessPreviewFindingsRequest {
|
|
|
1282
1110
|
nextToken?: string | undefined;
|
|
1283
1111
|
maxResults?: number | undefined;
|
|
1284
1112
|
}
|
|
1285
|
-
export declare const FindingChangeType: {
|
|
1286
|
-
readonly CHANGED: "CHANGED";
|
|
1287
|
-
readonly NEW: "NEW";
|
|
1288
|
-
readonly UNCHANGED: "UNCHANGED";
|
|
1289
|
-
};
|
|
1290
|
-
export type FindingChangeType =
|
|
1291
|
-
(typeof FindingChangeType)[keyof typeof FindingChangeType];
|
|
1292
1113
|
export interface AccessPreviewFinding {
|
|
1293
1114
|
id: string | undefined;
|
|
1294
1115
|
existingFindingId?: string | undefined;
|
|
@@ -1344,7 +1165,6 @@ export interface ListAnalyzedResourcesResponse {
|
|
|
1344
1165
|
analyzedResources: AnalyzedResourceSummary[] | undefined;
|
|
1345
1166
|
nextToken?: string | undefined;
|
|
1346
1167
|
}
|
|
1347
|
-
export type OrderBy = "ASC" | "DESC";
|
|
1348
1168
|
export interface SortCriteria {
|
|
1349
1169
|
attributeName?: string | undefined;
|
|
1350
1170
|
orderBy?: OrderBy | undefined;
|
|
@@ -1461,7 +1281,6 @@ export interface UntagResourceRequest {
|
|
|
1461
1281
|
tagKeys: string[] | undefined;
|
|
1462
1282
|
}
|
|
1463
1283
|
export interface UntagResourceResponse {}
|
|
1464
|
-
export type FindingStatusUpdate = "ACTIVE" | "ARCHIVED";
|
|
1465
1284
|
export interface UpdateFindingsRequest {
|
|
1466
1285
|
analyzerArn: string | undefined;
|
|
1467
1286
|
status: FindingStatusUpdate | undefined;
|
|
@@ -1469,36 +1288,6 @@ export interface UpdateFindingsRequest {
|
|
|
1469
1288
|
resourceArn?: string | undefined;
|
|
1470
1289
|
clientToken?: string | undefined;
|
|
1471
1290
|
}
|
|
1472
|
-
export declare const Locale: {
|
|
1473
|
-
readonly DE: "DE";
|
|
1474
|
-
readonly EN: "EN";
|
|
1475
|
-
readonly ES: "ES";
|
|
1476
|
-
readonly FR: "FR";
|
|
1477
|
-
readonly IT: "IT";
|
|
1478
|
-
readonly JA: "JA";
|
|
1479
|
-
readonly KO: "KO";
|
|
1480
|
-
readonly PT_BR: "PT_BR";
|
|
1481
|
-
readonly ZH_CN: "ZH_CN";
|
|
1482
|
-
readonly ZH_TW: "ZH_TW";
|
|
1483
|
-
};
|
|
1484
|
-
export type Locale = (typeof Locale)[keyof typeof Locale];
|
|
1485
|
-
export declare const PolicyType: {
|
|
1486
|
-
readonly IDENTITY_POLICY: "IDENTITY_POLICY";
|
|
1487
|
-
readonly RESOURCE_CONTROL_POLICY: "RESOURCE_CONTROL_POLICY";
|
|
1488
|
-
readonly RESOURCE_POLICY: "RESOURCE_POLICY";
|
|
1489
|
-
readonly SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY";
|
|
1490
|
-
};
|
|
1491
|
-
export type PolicyType = (typeof PolicyType)[keyof typeof PolicyType];
|
|
1492
|
-
export declare const ValidatePolicyResourceType: {
|
|
1493
|
-
readonly DYNAMODB_TABLE: "AWS::DynamoDB::Table";
|
|
1494
|
-
readonly ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument";
|
|
1495
|
-
readonly S3_ACCESS_POINT: "AWS::S3::AccessPoint";
|
|
1496
|
-
readonly S3_BUCKET: "AWS::S3::Bucket";
|
|
1497
|
-
readonly S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint";
|
|
1498
|
-
readonly S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint";
|
|
1499
|
-
};
|
|
1500
|
-
export type ValidatePolicyResourceType =
|
|
1501
|
-
(typeof ValidatePolicyResourceType)[keyof typeof ValidatePolicyResourceType];
|
|
1502
1291
|
export interface ValidatePolicyRequest {
|
|
1503
1292
|
locale?: Locale | undefined;
|
|
1504
1293
|
maxResults?: number | undefined;
|
|
@@ -1507,14 +1296,6 @@ export interface ValidatePolicyRequest {
|
|
|
1507
1296
|
policyType: PolicyType | undefined;
|
|
1508
1297
|
validatePolicyResourceType?: ValidatePolicyResourceType | undefined;
|
|
1509
1298
|
}
|
|
1510
|
-
export declare const ValidatePolicyFindingType: {
|
|
1511
|
-
readonly ERROR: "ERROR";
|
|
1512
|
-
readonly SECURITY_WARNING: "SECURITY_WARNING";
|
|
1513
|
-
readonly SUGGESTION: "SUGGESTION";
|
|
1514
|
-
readonly WARNING: "WARNING";
|
|
1515
|
-
};
|
|
1516
|
-
export type ValidatePolicyFindingType =
|
|
1517
|
-
(typeof ValidatePolicyFindingType)[keyof typeof ValidatePolicyFindingType];
|
|
1518
1299
|
export interface Substring {
|
|
1519
1300
|
start: number | undefined;
|
|
1520
1301
|
length: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-accessanalyzer",
|
|
3
3
|
"description": "AWS SDK for JavaScript Accessanalyzer Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.940.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-accessanalyzer",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.940.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.940.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.936.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.936.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.936.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.940.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.936.0",
|
|
30
30
|
"@aws-sdk/types": "3.936.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.936.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.936.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.940.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.3",
|
|
35
35
|
"@smithy/core": "^3.18.5",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.6",
|