@aws-sdk/client-inspector2 3.1172.0 → 3.1174.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 +138 -17
- package/dist-es/models/enums.js +40 -0
- package/dist-es/schemas/schemas_0.js +85 -16
- package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +29 -2
- package/dist-types/commands/CreateFilterCommand.d.ts +13 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +13 -0
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +15 -2
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +13 -0
- package/dist-types/commands/GetOnDemandScanStatusCommand.d.ts +2 -1
- package/dist-types/commands/GetSbomExportCommand.d.ts +1 -1
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -2
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +2 -2
- package/dist-types/commands/ListFiltersCommand.d.ts +13 -0
- package/dist-types/commands/ListFindingsCommand.d.ts +16 -0
- package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +13 -1
- package/dist-types/commands/UpdateFilterCommand.d.ts +13 -0
- package/dist-types/models/enums.d.ts +72 -0
- package/dist-types/models/models_0.d.ts +177 -141
- package/dist-types/models/models_1.d.ts +230 -3
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/commands/GetOnDemandScanStatusCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +46 -0
- package/dist-types/ts3.4/models/models_0.d.ts +47 -34
- package/dist-types/ts3.4/models/models_1.d.ts +84 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
CodeScanStatus,
|
|
10
10
|
Currency,
|
|
11
11
|
Ec2DeepInspectionStatus,
|
|
12
|
+
ExternalReportStatus,
|
|
12
13
|
FilterAction,
|
|
13
14
|
GroupKey,
|
|
14
15
|
InheritanceMode,
|
|
@@ -18,8 +19,12 @@ import {
|
|
|
18
19
|
OnDemandResourceType,
|
|
19
20
|
OnDemandScanStatus,
|
|
20
21
|
OnDemandScanStatusReason,
|
|
22
|
+
Operation,
|
|
23
|
+
ReportingErrorCode,
|
|
21
24
|
ResourceType,
|
|
25
|
+
SbomReportFormat,
|
|
22
26
|
ScanType,
|
|
27
|
+
Service,
|
|
23
28
|
SortField,
|
|
24
29
|
SortOrder,
|
|
25
30
|
StopCisSessionStatus,
|
|
@@ -62,6 +67,7 @@ import {
|
|
|
62
67
|
Cvss3,
|
|
63
68
|
Cvss4,
|
|
64
69
|
DelegatedAdminAccount,
|
|
70
|
+
Destination,
|
|
65
71
|
Ec2Configuration,
|
|
66
72
|
EcrConfiguration,
|
|
67
73
|
Epss,
|
|
@@ -71,11 +77,44 @@ import {
|
|
|
71
77
|
Finding,
|
|
72
78
|
GcpProviderDetailUpdate,
|
|
73
79
|
Member,
|
|
74
|
-
|
|
80
|
+
ResourceFilterCriteria,
|
|
75
81
|
Schedule,
|
|
76
82
|
StringFilter,
|
|
77
83
|
TagFilter,
|
|
78
84
|
} from "./models_0";
|
|
85
|
+
export interface GetOnDemandScanStatusResponse {
|
|
86
|
+
scanId: string | undefined;
|
|
87
|
+
resourceId: string | undefined;
|
|
88
|
+
resourceType: OnDemandResourceType | undefined;
|
|
89
|
+
scanStatus: OnDemandScanStatus | undefined;
|
|
90
|
+
scanStatusReason?: OnDemandScanStatusReason | undefined;
|
|
91
|
+
startedAt: Date | undefined;
|
|
92
|
+
completedAt?: Date | undefined;
|
|
93
|
+
}
|
|
94
|
+
export interface GetSbomExportRequest {
|
|
95
|
+
reportId: string | undefined;
|
|
96
|
+
}
|
|
97
|
+
export interface GetSbomExportResponse {
|
|
98
|
+
reportId?: string | undefined;
|
|
99
|
+
format?: SbomReportFormat | undefined;
|
|
100
|
+
status?: ExternalReportStatus | undefined;
|
|
101
|
+
errorCode?: ReportingErrorCode | undefined;
|
|
102
|
+
errorMessage?: string | undefined;
|
|
103
|
+
s3Destination?: Destination | undefined;
|
|
104
|
+
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
105
|
+
}
|
|
106
|
+
export interface GitHubEnterpriseServerAppRegistrationDetail {
|
|
107
|
+
manifestCode: string | undefined;
|
|
108
|
+
}
|
|
109
|
+
export interface ListAccountPermissionsRequest {
|
|
110
|
+
service?: Service | undefined;
|
|
111
|
+
maxResults?: number | undefined;
|
|
112
|
+
nextToken?: string | undefined;
|
|
113
|
+
}
|
|
114
|
+
export interface Permission {
|
|
115
|
+
service: Service | undefined;
|
|
116
|
+
operation: Operation | undefined;
|
|
117
|
+
}
|
|
79
118
|
export interface ListAccountPermissionsResponse {
|
|
80
119
|
permissions: Permission[] | undefined;
|
|
81
120
|
nextToken?: string | undefined;
|
|
@@ -426,33 +465,77 @@ export interface UpdateCisScanConfigurationResponse {
|
|
|
426
465
|
export interface UpdateGitHubIntegrationDetail {
|
|
427
466
|
code: string | undefined;
|
|
428
467
|
installationId: string | undefined;
|
|
468
|
+
stateToken?: string | undefined;
|
|
469
|
+
}
|
|
470
|
+
export interface UpdateGitHubEnterpriseServerAppInstallationDetail {
|
|
471
|
+
code: string | undefined;
|
|
472
|
+
installationId: string | undefined;
|
|
473
|
+
stateToken?: string | undefined;
|
|
474
|
+
}
|
|
475
|
+
export type UpdateGitHubEnterpriseServerIntegrationDetail =
|
|
476
|
+
| UpdateGitHubEnterpriseServerIntegrationDetail.AppInstallationMember
|
|
477
|
+
| UpdateGitHubEnterpriseServerIntegrationDetail.AppRegistrationMember
|
|
478
|
+
| UpdateGitHubEnterpriseServerIntegrationDetail.$UnknownMember;
|
|
479
|
+
export declare namespace UpdateGitHubEnterpriseServerIntegrationDetail {
|
|
480
|
+
interface AppInstallationMember {
|
|
481
|
+
appInstallation: UpdateGitHubEnterpriseServerAppInstallationDetail;
|
|
482
|
+
appRegistration?: never;
|
|
483
|
+
$unknown?: never;
|
|
484
|
+
}
|
|
485
|
+
interface AppRegistrationMember {
|
|
486
|
+
appInstallation?: never;
|
|
487
|
+
appRegistration: GitHubEnterpriseServerAppRegistrationDetail;
|
|
488
|
+
$unknown?: never;
|
|
489
|
+
}
|
|
490
|
+
interface $UnknownMember {
|
|
491
|
+
appInstallation?: never;
|
|
492
|
+
appRegistration?: never;
|
|
493
|
+
$unknown: [string, any];
|
|
494
|
+
}
|
|
495
|
+
interface Visitor<T> {
|
|
496
|
+
appInstallation: (value: UpdateGitHubEnterpriseServerAppInstallationDetail) => T;
|
|
497
|
+
appRegistration: (value: GitHubEnterpriseServerAppRegistrationDetail) => T;
|
|
498
|
+
_: (name: string, value: any) => T;
|
|
499
|
+
}
|
|
429
500
|
}
|
|
430
501
|
export interface UpdateGitLabSelfManagedIntegrationDetail {
|
|
431
502
|
authCode: string | undefined;
|
|
503
|
+
stateToken?: string | undefined;
|
|
432
504
|
}
|
|
433
505
|
export type UpdateIntegrationDetails =
|
|
434
506
|
| UpdateIntegrationDetails.GithubMember
|
|
507
|
+
| UpdateIntegrationDetails.GithubEnterpriseServerMember
|
|
435
508
|
| UpdateIntegrationDetails.GitlabSelfManagedMember
|
|
436
509
|
| UpdateIntegrationDetails.$UnknownMember;
|
|
437
510
|
export declare namespace UpdateIntegrationDetails {
|
|
438
511
|
interface GitlabSelfManagedMember {
|
|
439
512
|
gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetail;
|
|
440
513
|
github?: never;
|
|
514
|
+
githubEnterpriseServer?: never;
|
|
441
515
|
$unknown?: never;
|
|
442
516
|
}
|
|
443
517
|
interface GithubMember {
|
|
444
518
|
gitlabSelfManaged?: never;
|
|
445
519
|
github: UpdateGitHubIntegrationDetail;
|
|
520
|
+
githubEnterpriseServer?: never;
|
|
521
|
+
$unknown?: never;
|
|
522
|
+
}
|
|
523
|
+
interface GithubEnterpriseServerMember {
|
|
524
|
+
gitlabSelfManaged?: never;
|
|
525
|
+
github?: never;
|
|
526
|
+
githubEnterpriseServer: UpdateGitHubEnterpriseServerIntegrationDetail;
|
|
446
527
|
$unknown?: never;
|
|
447
528
|
}
|
|
448
529
|
interface $UnknownMember {
|
|
449
530
|
gitlabSelfManaged?: never;
|
|
450
531
|
github?: never;
|
|
532
|
+
githubEnterpriseServer?: never;
|
|
451
533
|
$unknown: [string, any];
|
|
452
534
|
}
|
|
453
535
|
interface Visitor<T> {
|
|
454
536
|
gitlabSelfManaged: (value: UpdateGitLabSelfManagedIntegrationDetail) => T;
|
|
455
537
|
github: (value: UpdateGitHubIntegrationDetail) => T;
|
|
538
|
+
githubEnterpriseServer: (value: UpdateGitHubEnterpriseServerIntegrationDetail) => T;
|
|
456
539
|
_: (name: string, value: any) => T;
|
|
457
540
|
}
|
|
458
541
|
}
|
|
@@ -94,6 +94,7 @@ export declare var CodeRepositoryDetails$: StaticStructureSchema;
|
|
|
94
94
|
export declare var CodeRepositoryMetadata$: StaticStructureSchema;
|
|
95
95
|
export declare var CodeRepositoryOnDemandScan$: StaticStructureSchema;
|
|
96
96
|
export declare var CodeSecurityIntegrationSummary$: StaticStructureSchema;
|
|
97
|
+
export declare var CodeSecurityIntegrationVpcConfiguration$: StaticStructureSchema;
|
|
97
98
|
export declare var CodeSecurityScanConfiguration$: StaticStructureSchema;
|
|
98
99
|
export declare var CodeSecurityScanConfigurationAssociationSummary$: StaticStructureSchema;
|
|
99
100
|
export declare var CodeSecurityScanConfigurationSummary$: StaticStructureSchema;
|
|
@@ -135,6 +136,7 @@ export declare var CreateFilterRequest$: StaticStructureSchema;
|
|
|
135
136
|
export declare var CreateFilterResponse$: StaticStructureSchema;
|
|
136
137
|
export declare var CreateFindingsReportRequest$: StaticStructureSchema;
|
|
137
138
|
export declare var CreateFindingsReportResponse$: StaticStructureSchema;
|
|
139
|
+
export declare var CreateGitHubEnterpriseIntegrationDetail$: StaticStructureSchema;
|
|
138
140
|
export declare var CreateGitLabSelfManagedIntegrationDetail$: StaticStructureSchema;
|
|
139
141
|
export declare var CreateSbomExportRequest$: StaticStructureSchema;
|
|
140
142
|
export declare var CreateSbomExportResponse$: StaticStructureSchema;
|
|
@@ -235,6 +237,7 @@ export declare var GetOnDemandScanStatusRequest$: StaticStructureSchema;
|
|
|
235
237
|
export declare var GetOnDemandScanStatusResponse$: StaticStructureSchema;
|
|
236
238
|
export declare var GetSbomExportRequest$: StaticStructureSchema;
|
|
237
239
|
export declare var GetSbomExportResponse$: StaticStructureSchema;
|
|
240
|
+
export declare var GitHubEnterpriseServerAppRegistrationDetail$: StaticStructureSchema;
|
|
238
241
|
export declare var Image$: StaticStructureSchema;
|
|
239
242
|
export declare var ImageLayerAggregation$: StaticStructureSchema;
|
|
240
243
|
export declare var ImageLayerAggregationResponse$: StaticStructureSchema;
|
|
@@ -311,6 +314,7 @@ export declare var ProjectCodeSecurityScanConfiguration$: StaticStructureSchema;
|
|
|
311
314
|
export declare var ProjectContinuousIntegrationScanConfiguration$: StaticStructureSchema;
|
|
312
315
|
export declare var ProjectPeriodicScanConfiguration$: StaticStructureSchema;
|
|
313
316
|
export declare var ProviderFilter$: StaticStructureSchema;
|
|
317
|
+
export declare var PurlQualifierFilter$: StaticStructureSchema;
|
|
314
318
|
export declare var Recommendation$: StaticStructureSchema;
|
|
315
319
|
export declare var Remediation$: StaticStructureSchema;
|
|
316
320
|
export declare var RepositoryAggregation$: StaticStructureSchema;
|
|
@@ -325,6 +329,8 @@ export declare var ResourceScanMetadata$: StaticStructureSchema;
|
|
|
325
329
|
export declare var ResourceState$: StaticStructureSchema;
|
|
326
330
|
export declare var ResourceStatus$: StaticStructureSchema;
|
|
327
331
|
export declare var ResourceStringFilter$: StaticStructureSchema;
|
|
332
|
+
export declare var RuntimeReachabilityFilter$: StaticStructureSchema;
|
|
333
|
+
export declare var RuntimeReachabilityReasonFilter$: StaticStructureSchema;
|
|
328
334
|
export declare var ScanStatus$: StaticStructureSchema;
|
|
329
335
|
export declare var ScopeConfiguration$: StaticStructureSchema;
|
|
330
336
|
export declare var ScopeConfigurationInput$: StaticStructureSchema;
|
|
@@ -387,6 +393,7 @@ export declare var UpdateEncryptionKeyRequest$: StaticStructureSchema;
|
|
|
387
393
|
export declare var UpdateEncryptionKeyResponse$: StaticStructureSchema;
|
|
388
394
|
export declare var UpdateFilterRequest$: StaticStructureSchema;
|
|
389
395
|
export declare var UpdateFilterResponse$: StaticStructureSchema;
|
|
396
|
+
export declare var UpdateGitHubEnterpriseServerAppInstallationDetail$: StaticStructureSchema;
|
|
390
397
|
export declare var UpdateGitHubIntegrationDetail$: StaticStructureSchema;
|
|
391
398
|
export declare var UpdateGitLabSelfManagedIntegrationDetail$: StaticStructureSchema;
|
|
392
399
|
export declare var UpdateOrganizationConfigurationRequest$: StaticStructureSchema;
|
|
@@ -412,6 +419,7 @@ export declare var CreateIntegrationDetail$: StaticUnionSchema;
|
|
|
412
419
|
export declare var ProviderDetailCreate$: StaticUnionSchema;
|
|
413
420
|
export declare var ProviderDetailUpdate$: StaticUnionSchema;
|
|
414
421
|
export declare var Schedule$: StaticUnionSchema;
|
|
422
|
+
export declare var UpdateGitHubEnterpriseServerIntegrationDetail$: StaticUnionSchema;
|
|
415
423
|
export declare var UpdateIntegrationDetails$: StaticUnionSchema;
|
|
416
424
|
export declare var AssociateMember$: StaticOperationSchema;
|
|
417
425
|
export declare var BatchAssociateCodeSecurityScanConfiguration$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1174.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-inspector2",
|
|
6
6
|
"license": "Apache-2.0",
|