@aws-sdk/client-inspector2 3.1171.0 → 3.1173.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 +72 -13
- package/dist-es/models/enums.js +7 -0
- package/dist-es/schemas/schemas_0.js +59 -12
- package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +29 -2
- package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +15 -2
- package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -2
- package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +13 -1
- package/dist-types/models/enums.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +94 -51
- package/dist-types/models/models_1.d.ts +140 -3
- package/dist-types/schemas/schemas_0.d.ts +5 -0
- package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -11
- package/dist-types/ts3.4/models/models_1.d.ts +58 -1
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +5 -0
- package/package.json +1 -1
|
@@ -82,7 +82,6 @@ import {
|
|
|
82
82
|
OnDemandResourceType,
|
|
83
83
|
OnDemandScanStatus,
|
|
84
84
|
OnDemandScanStatusReason,
|
|
85
|
-
Operation,
|
|
86
85
|
PackageManager,
|
|
87
86
|
PackageSortBy,
|
|
88
87
|
PackageType,
|
|
@@ -109,7 +108,6 @@ import {
|
|
|
109
108
|
ScopeState,
|
|
110
109
|
ScopeType,
|
|
111
110
|
ServerlessFunctionSortBy,
|
|
112
|
-
Service,
|
|
113
111
|
Severity,
|
|
114
112
|
SortOrder,
|
|
115
113
|
Status,
|
|
@@ -1736,6 +1734,14 @@ export interface CodeSecurityIntegrationSummary {
|
|
|
1736
1734
|
createdOn: Date | undefined;
|
|
1737
1735
|
lastUpdateOn: Date | undefined;
|
|
1738
1736
|
}
|
|
1737
|
+
export interface CodeSecurityIntegrationVpcConfiguration {
|
|
1738
|
+
vpcId: string | undefined;
|
|
1739
|
+
vpcEndpointId: string | undefined;
|
|
1740
|
+
codeConnectionsHostArn?: string | undefined;
|
|
1741
|
+
subnetIds?: string[] | undefined;
|
|
1742
|
+
securityGroups?: string[] | undefined;
|
|
1743
|
+
tlsCertificate?: string | undefined;
|
|
1744
|
+
}
|
|
1739
1745
|
export interface ContinuousIntegrationScanConfiguration {
|
|
1740
1746
|
supportedEvents: ContinuousIntegrationScanEvent[] | undefined;
|
|
1741
1747
|
}
|
|
@@ -1991,24 +1997,38 @@ export interface CreateCisScanConfigurationRequest {
|
|
|
1991
1997
|
export interface CreateCisScanConfigurationResponse {
|
|
1992
1998
|
scanConfigurationArn?: string | undefined;
|
|
1993
1999
|
}
|
|
2000
|
+
export interface CreateGitHubEnterpriseIntegrationDetail {
|
|
2001
|
+
instanceUrl: string | undefined;
|
|
2002
|
+
vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
|
|
2003
|
+
}
|
|
1994
2004
|
export interface CreateGitLabSelfManagedIntegrationDetail {
|
|
1995
2005
|
instanceUrl: string | undefined;
|
|
1996
2006
|
accessToken: string | undefined;
|
|
2007
|
+
vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
|
|
1997
2008
|
}
|
|
1998
2009
|
export type CreateIntegrationDetail =
|
|
2010
|
+
| CreateIntegrationDetail.GithubEnterpriseMember
|
|
1999
2011
|
| CreateIntegrationDetail.GitlabSelfManagedMember
|
|
2000
2012
|
| CreateIntegrationDetail.$UnknownMember;
|
|
2001
2013
|
export declare namespace CreateIntegrationDetail {
|
|
2002
2014
|
interface GitlabSelfManagedMember {
|
|
2003
2015
|
gitlabSelfManaged: CreateGitLabSelfManagedIntegrationDetail;
|
|
2016
|
+
githubEnterprise?: never;
|
|
2017
|
+
$unknown?: never;
|
|
2018
|
+
}
|
|
2019
|
+
interface GithubEnterpriseMember {
|
|
2020
|
+
gitlabSelfManaged?: never;
|
|
2021
|
+
githubEnterprise: CreateGitHubEnterpriseIntegrationDetail;
|
|
2004
2022
|
$unknown?: never;
|
|
2005
2023
|
}
|
|
2006
2024
|
interface $UnknownMember {
|
|
2007
2025
|
gitlabSelfManaged?: never;
|
|
2026
|
+
githubEnterprise?: never;
|
|
2008
2027
|
$unknown: [string, any];
|
|
2009
2028
|
}
|
|
2010
2029
|
interface Visitor<T> {
|
|
2011
2030
|
gitlabSelfManaged: (value: CreateGitLabSelfManagedIntegrationDetail) => T;
|
|
2031
|
+
githubEnterprise: (value: CreateGitHubEnterpriseIntegrationDetail) => T;
|
|
2012
2032
|
_: (name: string, value: any) => T;
|
|
2013
2033
|
}
|
|
2014
2034
|
}
|
|
@@ -2592,6 +2612,8 @@ export interface GetCodeSecurityIntegrationResponse {
|
|
|
2592
2612
|
createdOn: Date | undefined;
|
|
2593
2613
|
lastUpdateOn: Date | undefined;
|
|
2594
2614
|
authorizationUrl?: string | undefined;
|
|
2615
|
+
vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
|
|
2616
|
+
instanceUrl?: string | undefined;
|
|
2595
2617
|
tags?: Record<string, string> | undefined;
|
|
2596
2618
|
}
|
|
2597
2619
|
export interface GetCodeSecurityScanRequest {
|
|
@@ -2696,12 +2718,3 @@ export interface GetSbomExportResponse {
|
|
|
2696
2718
|
s3Destination?: Destination | undefined;
|
|
2697
2719
|
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
2698
2720
|
}
|
|
2699
|
-
export interface ListAccountPermissionsRequest {
|
|
2700
|
-
service?: Service | undefined;
|
|
2701
|
-
maxResults?: number | undefined;
|
|
2702
|
-
nextToken?: string | undefined;
|
|
2703
|
-
}
|
|
2704
|
-
export interface Permission {
|
|
2705
|
-
service: Service | undefined;
|
|
2706
|
-
operation: Operation | undefined;
|
|
2707
|
-
}
|
|
@@ -18,8 +18,10 @@ import {
|
|
|
18
18
|
OnDemandResourceType,
|
|
19
19
|
OnDemandScanStatus,
|
|
20
20
|
OnDemandScanStatusReason,
|
|
21
|
+
Operation,
|
|
21
22
|
ResourceType,
|
|
22
23
|
ScanType,
|
|
24
|
+
Service,
|
|
23
25
|
SortField,
|
|
24
26
|
SortOrder,
|
|
25
27
|
StopCisSessionStatus,
|
|
@@ -71,11 +73,22 @@ import {
|
|
|
71
73
|
Finding,
|
|
72
74
|
GcpProviderDetailUpdate,
|
|
73
75
|
Member,
|
|
74
|
-
Permission,
|
|
75
76
|
Schedule,
|
|
76
77
|
StringFilter,
|
|
77
78
|
TagFilter,
|
|
78
79
|
} from "./models_0";
|
|
80
|
+
export interface GitHubEnterpriseServerAppRegistrationDetail {
|
|
81
|
+
manifestCode: string | undefined;
|
|
82
|
+
}
|
|
83
|
+
export interface ListAccountPermissionsRequest {
|
|
84
|
+
service?: Service | undefined;
|
|
85
|
+
maxResults?: number | undefined;
|
|
86
|
+
nextToken?: string | undefined;
|
|
87
|
+
}
|
|
88
|
+
export interface Permission {
|
|
89
|
+
service: Service | undefined;
|
|
90
|
+
operation: Operation | undefined;
|
|
91
|
+
}
|
|
79
92
|
export interface ListAccountPermissionsResponse {
|
|
80
93
|
permissions: Permission[] | undefined;
|
|
81
94
|
nextToken?: string | undefined;
|
|
@@ -426,33 +439,77 @@ export interface UpdateCisScanConfigurationResponse {
|
|
|
426
439
|
export interface UpdateGitHubIntegrationDetail {
|
|
427
440
|
code: string | undefined;
|
|
428
441
|
installationId: string | undefined;
|
|
442
|
+
stateToken?: string | undefined;
|
|
443
|
+
}
|
|
444
|
+
export interface UpdateGitHubEnterpriseServerAppInstallationDetail {
|
|
445
|
+
code: string | undefined;
|
|
446
|
+
installationId: string | undefined;
|
|
447
|
+
stateToken?: string | undefined;
|
|
448
|
+
}
|
|
449
|
+
export type UpdateGitHubEnterpriseServerIntegrationDetail =
|
|
450
|
+
| UpdateGitHubEnterpriseServerIntegrationDetail.AppInstallationMember
|
|
451
|
+
| UpdateGitHubEnterpriseServerIntegrationDetail.AppRegistrationMember
|
|
452
|
+
| UpdateGitHubEnterpriseServerIntegrationDetail.$UnknownMember;
|
|
453
|
+
export declare namespace UpdateGitHubEnterpriseServerIntegrationDetail {
|
|
454
|
+
interface AppInstallationMember {
|
|
455
|
+
appInstallation: UpdateGitHubEnterpriseServerAppInstallationDetail;
|
|
456
|
+
appRegistration?: never;
|
|
457
|
+
$unknown?: never;
|
|
458
|
+
}
|
|
459
|
+
interface AppRegistrationMember {
|
|
460
|
+
appInstallation?: never;
|
|
461
|
+
appRegistration: GitHubEnterpriseServerAppRegistrationDetail;
|
|
462
|
+
$unknown?: never;
|
|
463
|
+
}
|
|
464
|
+
interface $UnknownMember {
|
|
465
|
+
appInstallation?: never;
|
|
466
|
+
appRegistration?: never;
|
|
467
|
+
$unknown: [string, any];
|
|
468
|
+
}
|
|
469
|
+
interface Visitor<T> {
|
|
470
|
+
appInstallation: (value: UpdateGitHubEnterpriseServerAppInstallationDetail) => T;
|
|
471
|
+
appRegistration: (value: GitHubEnterpriseServerAppRegistrationDetail) => T;
|
|
472
|
+
_: (name: string, value: any) => T;
|
|
473
|
+
}
|
|
429
474
|
}
|
|
430
475
|
export interface UpdateGitLabSelfManagedIntegrationDetail {
|
|
431
476
|
authCode: string | undefined;
|
|
477
|
+
stateToken?: string | undefined;
|
|
432
478
|
}
|
|
433
479
|
export type UpdateIntegrationDetails =
|
|
434
480
|
| UpdateIntegrationDetails.GithubMember
|
|
481
|
+
| UpdateIntegrationDetails.GithubEnterpriseServerMember
|
|
435
482
|
| UpdateIntegrationDetails.GitlabSelfManagedMember
|
|
436
483
|
| UpdateIntegrationDetails.$UnknownMember;
|
|
437
484
|
export declare namespace UpdateIntegrationDetails {
|
|
438
485
|
interface GitlabSelfManagedMember {
|
|
439
486
|
gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetail;
|
|
440
487
|
github?: never;
|
|
488
|
+
githubEnterpriseServer?: never;
|
|
441
489
|
$unknown?: never;
|
|
442
490
|
}
|
|
443
491
|
interface GithubMember {
|
|
444
492
|
gitlabSelfManaged?: never;
|
|
445
493
|
github: UpdateGitHubIntegrationDetail;
|
|
494
|
+
githubEnterpriseServer?: never;
|
|
495
|
+
$unknown?: never;
|
|
496
|
+
}
|
|
497
|
+
interface GithubEnterpriseServerMember {
|
|
498
|
+
gitlabSelfManaged?: never;
|
|
499
|
+
github?: never;
|
|
500
|
+
githubEnterpriseServer: UpdateGitHubEnterpriseServerIntegrationDetail;
|
|
446
501
|
$unknown?: never;
|
|
447
502
|
}
|
|
448
503
|
interface $UnknownMember {
|
|
449
504
|
gitlabSelfManaged?: never;
|
|
450
505
|
github?: never;
|
|
506
|
+
githubEnterpriseServer?: never;
|
|
451
507
|
$unknown: [string, any];
|
|
452
508
|
}
|
|
453
509
|
interface Visitor<T> {
|
|
454
510
|
gitlabSelfManaged: (value: UpdateGitLabSelfManagedIntegrationDetail) => T;
|
|
455
511
|
github: (value: UpdateGitHubIntegrationDetail) => T;
|
|
512
|
+
githubEnterpriseServer: (value: UpdateGitHubEnterpriseServerIntegrationDetail) => T;
|
|
456
513
|
_: (name: string, value: any) => T;
|
|
457
514
|
}
|
|
458
515
|
}
|
|
@@ -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;
|
|
@@ -387,6 +390,7 @@ export declare var UpdateEncryptionKeyRequest$: StaticStructureSchema;
|
|
|
387
390
|
export declare var UpdateEncryptionKeyResponse$: StaticStructureSchema;
|
|
388
391
|
export declare var UpdateFilterRequest$: StaticStructureSchema;
|
|
389
392
|
export declare var UpdateFilterResponse$: StaticStructureSchema;
|
|
393
|
+
export declare var UpdateGitHubEnterpriseServerAppInstallationDetail$: StaticStructureSchema;
|
|
390
394
|
export declare var UpdateGitHubIntegrationDetail$: StaticStructureSchema;
|
|
391
395
|
export declare var UpdateGitLabSelfManagedIntegrationDetail$: StaticStructureSchema;
|
|
392
396
|
export declare var UpdateOrganizationConfigurationRequest$: StaticStructureSchema;
|
|
@@ -412,6 +416,7 @@ export declare var CreateIntegrationDetail$: StaticUnionSchema;
|
|
|
412
416
|
export declare var ProviderDetailCreate$: StaticUnionSchema;
|
|
413
417
|
export declare var ProviderDetailUpdate$: StaticUnionSchema;
|
|
414
418
|
export declare var Schedule$: StaticUnionSchema;
|
|
419
|
+
export declare var UpdateGitHubEnterpriseServerIntegrationDetail$: StaticUnionSchema;
|
|
415
420
|
export declare var UpdateIntegrationDetails$: StaticUnionSchema;
|
|
416
421
|
export declare var AssociateMember$: StaticOperationSchema;
|
|
417
422
|
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.1173.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",
|