@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
|
@@ -38,10 +38,22 @@ declare const UpdateCodeSecurityIntegrationCommand_base: {
|
|
|
38
38
|
* details: { // UpdateIntegrationDetails Union: only one key present
|
|
39
39
|
* gitlabSelfManaged: { // UpdateGitLabSelfManagedIntegrationDetail
|
|
40
40
|
* authCode: "STRING_VALUE", // required
|
|
41
|
+
* stateToken: "STRING_VALUE",
|
|
41
42
|
* },
|
|
42
43
|
* github: { // UpdateGitHubIntegrationDetail
|
|
43
44
|
* code: "STRING_VALUE", // required
|
|
44
45
|
* installationId: "STRING_VALUE", // required
|
|
46
|
+
* stateToken: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* githubEnterpriseServer: { // UpdateGitHubEnterpriseServerIntegrationDetail Union: only one key present
|
|
49
|
+
* appInstallation: { // UpdateGitHubEnterpriseServerAppInstallationDetail
|
|
50
|
+
* code: "STRING_VALUE", // required
|
|
51
|
+
* installationId: "STRING_VALUE", // required
|
|
52
|
+
* stateToken: "STRING_VALUE",
|
|
53
|
+
* },
|
|
54
|
+
* appRegistration: { // GitHubEnterpriseServerAppRegistrationDetail
|
|
55
|
+
* manifestCode: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
45
57
|
* },
|
|
46
58
|
* },
|
|
47
59
|
* };
|
|
@@ -49,7 +61,7 @@ declare const UpdateCodeSecurityIntegrationCommand_base: {
|
|
|
49
61
|
* const response = await client.send(command);
|
|
50
62
|
* // { // UpdateCodeSecurityIntegrationResponse
|
|
51
63
|
* // integrationArn: "STRING_VALUE", // required
|
|
52
|
-
* // status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "INACTIVE" || "DISABLING", // required
|
|
64
|
+
* // status: "PENDING" || "IN_PROGRESS" || "ACTIVE" || "INACTIVE" || "DISABLING" || "ESTABLISHING_CONNECTION_IN_PROGRESS" || "ESTABLISHING_CONNECTION_COMPLETED" || "ESTABLISHING_CONNECTION_FAILED" || "PENDING_MANIFEST_CODE" || "DELETE_IN_PROGRESS" || "DELETE_FAILED", // required
|
|
53
65
|
* // };
|
|
54
66
|
*
|
|
55
67
|
* ```
|
|
@@ -1034,10 +1034,16 @@ export type CodeScanStatus = (typeof CodeScanStatus)[keyof typeof CodeScanStatus
|
|
|
1034
1034
|
*/
|
|
1035
1035
|
export declare const IntegrationStatus: {
|
|
1036
1036
|
readonly ACTIVE: "ACTIVE";
|
|
1037
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
1038
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
1037
1039
|
readonly DISABLING: "DISABLING";
|
|
1040
|
+
readonly ESTABLISHING_CONNECTION_COMPLETED: "ESTABLISHING_CONNECTION_COMPLETED";
|
|
1041
|
+
readonly ESTABLISHING_CONNECTION_FAILED: "ESTABLISHING_CONNECTION_FAILED";
|
|
1042
|
+
readonly ESTABLISHING_CONNECTION_IN_PROGRESS: "ESTABLISHING_CONNECTION_IN_PROGRESS";
|
|
1038
1043
|
readonly INACTIVE: "INACTIVE";
|
|
1039
1044
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
1040
1045
|
readonly PENDING: "PENDING";
|
|
1046
|
+
readonly PENDING_MANIFEST_CODE: "PENDING_MANIFEST_CODE";
|
|
1041
1047
|
};
|
|
1042
1048
|
/**
|
|
1043
1049
|
* @public
|
|
@@ -1049,6 +1055,7 @@ export type IntegrationStatus = (typeof IntegrationStatus)[keyof typeof Integrat
|
|
|
1049
1055
|
*/
|
|
1050
1056
|
export declare const IntegrationType: {
|
|
1051
1057
|
readonly GITHUB: "GITHUB";
|
|
1058
|
+
readonly GITHUB_ENTERPRISE_SERVER: "GITHUB_ENTERPRISE_SERVER";
|
|
1052
1059
|
readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
|
|
1053
1060
|
};
|
|
1054
1061
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccountSortBy, AggregationFindingType, AggregationResourceType, AmiConfigurationStatus, AmiScanDuration, AmiScanMode, AmiSortBy, Architecture, AssociationResultStatusCode, AwsConfigConnectorArnComparison, AwsEcrContainerSortBy, CisFindingStatus, CisFindingStatusComparison, CisReportFormat, CisReportStatus, CisResultStatus, CisResultStatusComparison, CisRuleStatus, CisScanResultDetailsSortBy, CisScanStatus, CisScanStatusComparison, CisSecurityLevel, CisSecurityLevelComparison, CisSortOrder, CisStringComparison, CisTargetStatus, CisTargetStatusComparison, CisTargetStatusReason, CloudProvider, CodeRepositoryProviderType, CodeRepositorySortBy, CodeScanStatus, CodeSnippetErrorCode, ConfigurationLevel, ConnectorArnComparison, ConnectorCloudProvider, ConnectorHealthStatus, ConnectorType, ConnectorTypeComparison, ContainerImagePullDateRescanDuration, ContainerImageRescanDuration, ContainerImageSortBy, ContinuousIntegrationScanEvent, CoverageMapComparison, CoverageResourceType, CoverageStringComparison, Day, DelegatedAdminStatus, Ec2DeepInspectionStatus, Ec2InstanceSortBy, Ec2Platform, Ec2ScanMode, Ec2ScanModeStatus, EcrPullDateRescanDuration, EcrPullDateRescanMode, EcrRescanDuration, EcrRescanDurationStatus, EcrScanFrequency, EnablementStatus, ErrorCode, ExploitAvailable, ExternalReportStatus, FilterAction, FindingDetailsErrorCode, FindingStatus, FindingType, FindingTypeSortBy, FixAvailable, FreeTrialInfoErrorCode, FreeTrialStatus, FreeTrialType, GroupKey, ImageLayerSortBy, IntegrationStatus, IntegrationType, LambdaFunctionSortBy, LambdaLayerSortBy, MachineImagePlatform, MapComparison, NetworkProtocol, OnDemandResourceType, OnDemandScanStatus, OnDemandScanStatusReason,
|
|
1
|
+
import type { AccountSortBy, AggregationFindingType, AggregationResourceType, AmiConfigurationStatus, AmiScanDuration, AmiScanMode, AmiSortBy, Architecture, AssociationResultStatusCode, AwsConfigConnectorArnComparison, AwsEcrContainerSortBy, CisFindingStatus, CisFindingStatusComparison, CisReportFormat, CisReportStatus, CisResultStatus, CisResultStatusComparison, CisRuleStatus, CisScanResultDetailsSortBy, CisScanStatus, CisScanStatusComparison, CisSecurityLevel, CisSecurityLevelComparison, CisSortOrder, CisStringComparison, CisTargetStatus, CisTargetStatusComparison, CisTargetStatusReason, CloudProvider, CodeRepositoryProviderType, CodeRepositorySortBy, CodeScanStatus, CodeSnippetErrorCode, ConfigurationLevel, ConnectorArnComparison, ConnectorCloudProvider, ConnectorHealthStatus, ConnectorType, ConnectorTypeComparison, ContainerImagePullDateRescanDuration, ContainerImageRescanDuration, ContainerImageSortBy, ContinuousIntegrationScanEvent, CoverageMapComparison, CoverageResourceType, CoverageStringComparison, Day, DelegatedAdminStatus, Ec2DeepInspectionStatus, Ec2InstanceSortBy, Ec2Platform, Ec2ScanMode, Ec2ScanModeStatus, EcrPullDateRescanDuration, EcrPullDateRescanMode, EcrRescanDuration, EcrRescanDurationStatus, EcrScanFrequency, EnablementStatus, ErrorCode, ExploitAvailable, ExternalReportStatus, FilterAction, FindingDetailsErrorCode, FindingStatus, FindingType, FindingTypeSortBy, FixAvailable, FreeTrialInfoErrorCode, FreeTrialStatus, FreeTrialType, GroupKey, ImageLayerSortBy, IntegrationStatus, IntegrationType, LambdaFunctionSortBy, LambdaLayerSortBy, MachineImagePlatform, MapComparison, NetworkProtocol, OnDemandResourceType, OnDemandScanStatus, OnDemandScanStatusReason, PackageManager, PackageSortBy, PackageType, PeriodicScanFrequency, ProjectSelectionScope, Provider, ProviderComparison, RelationshipStatus, ReportFormat, ReportingErrorCode, RepositorySortBy, ResourceMapComparison, ResourceScanType, ResourceStringComparison, ResourceType, RuleSetCategory, Runtime, SbomReportFormat, ScanMode, ScanSource, ScanStatusCode, ScanStatusReason, ScanType, ScopeState, ScopeType, ServerlessFunctionSortBy, Severity, SortOrder, Status, StringComparison, TagComparison, TitleSortBy, VmInstanceSortBy, VmPlatform, VMScannerStatus } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Details the status of Amazon Inspector for each resource type Amazon Inspector scans.</p>
|
|
4
4
|
* @public
|
|
@@ -4692,6 +4692,42 @@ export interface CodeSecurityIntegrationSummary {
|
|
|
4692
4692
|
*/
|
|
4693
4693
|
lastUpdateOn: Date | undefined;
|
|
4694
4694
|
}
|
|
4695
|
+
/**
|
|
4696
|
+
* <p>The VPC configuration that Amazon Inspector uses to connect to a source code repository provider that is hosted in a private network.</p>
|
|
4697
|
+
* @public
|
|
4698
|
+
*/
|
|
4699
|
+
export interface CodeSecurityIntegrationVpcConfiguration {
|
|
4700
|
+
/**
|
|
4701
|
+
* <p>The ID of the VPC that Amazon Inspector connects through to reach the repository provider.</p>
|
|
4702
|
+
* @public
|
|
4703
|
+
*/
|
|
4704
|
+
vpcId: string | undefined;
|
|
4705
|
+
/**
|
|
4706
|
+
* <p>The ID of the VPC endpoint used for the connection.</p>
|
|
4707
|
+
* @public
|
|
4708
|
+
*/
|
|
4709
|
+
vpcEndpointId: string | undefined;
|
|
4710
|
+
/**
|
|
4711
|
+
* <p>The Amazon Resource Name (ARN) of the AWS CodeConnections host used for the connection.</p>
|
|
4712
|
+
* @public
|
|
4713
|
+
*/
|
|
4714
|
+
codeConnectionsHostArn?: string | undefined;
|
|
4715
|
+
/**
|
|
4716
|
+
* <p>The IDs of the subnets used for the connection.</p>
|
|
4717
|
+
* @public
|
|
4718
|
+
*/
|
|
4719
|
+
subnetIds?: string[] | undefined;
|
|
4720
|
+
/**
|
|
4721
|
+
* <p>The IDs of the security groups used for the connection.</p>
|
|
4722
|
+
* @public
|
|
4723
|
+
*/
|
|
4724
|
+
securityGroups?: string[] | undefined;
|
|
4725
|
+
/**
|
|
4726
|
+
* <p>The TLS certificate used to establish a trusted connection to the repository provider.</p>
|
|
4727
|
+
* @public
|
|
4728
|
+
*/
|
|
4729
|
+
tlsCertificate?: string | undefined;
|
|
4730
|
+
}
|
|
4695
4731
|
/**
|
|
4696
4732
|
* <p>Configuration settings for continuous integration scans that run automatically when code changes are made.</p>
|
|
4697
4733
|
* @public
|
|
@@ -5805,6 +5841,22 @@ export interface CreateCisScanConfigurationResponse {
|
|
|
5805
5841
|
*/
|
|
5806
5842
|
scanConfigurationArn?: string | undefined;
|
|
5807
5843
|
}
|
|
5844
|
+
/**
|
|
5845
|
+
* <p>Contains the details required to create an integration with a GitHub Enterprise Server instance.</p>
|
|
5846
|
+
* @public
|
|
5847
|
+
*/
|
|
5848
|
+
export interface CreateGitHubEnterpriseIntegrationDetail {
|
|
5849
|
+
/**
|
|
5850
|
+
* <p>The URL of the GitHub Enterprise Server instance.</p>
|
|
5851
|
+
* @public
|
|
5852
|
+
*/
|
|
5853
|
+
instanceUrl: string | undefined;
|
|
5854
|
+
/**
|
|
5855
|
+
* <p>The VPC configuration used to connect to the GitHub Enterprise Server instance in a private network. For publicly accessible instances, omit this field.</p>
|
|
5856
|
+
* @public
|
|
5857
|
+
*/
|
|
5858
|
+
vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
|
|
5859
|
+
}
|
|
5808
5860
|
/**
|
|
5809
5861
|
* <p>Contains details required to create an integration with a self-managed GitLab instance.</p>
|
|
5810
5862
|
* @public
|
|
@@ -5820,12 +5872,17 @@ export interface CreateGitLabSelfManagedIntegrationDetail {
|
|
|
5820
5872
|
* @public
|
|
5821
5873
|
*/
|
|
5822
5874
|
accessToken: string | undefined;
|
|
5875
|
+
/**
|
|
5876
|
+
* <p>The VPC configuration used to connect to the self-managed GitLab instance in a private network. For publicly accessible instances, omit this field.</p>
|
|
5877
|
+
* @public
|
|
5878
|
+
*/
|
|
5879
|
+
vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
|
|
5823
5880
|
}
|
|
5824
5881
|
/**
|
|
5825
5882
|
* <p>Contains details required to create a code security integration with a specific repository provider.</p>
|
|
5826
5883
|
* @public
|
|
5827
5884
|
*/
|
|
5828
|
-
export type CreateIntegrationDetail = CreateIntegrationDetail.GitlabSelfManagedMember | CreateIntegrationDetail.$UnknownMember;
|
|
5885
|
+
export type CreateIntegrationDetail = CreateIntegrationDetail.GithubEnterpriseMember | CreateIntegrationDetail.GitlabSelfManagedMember | CreateIntegrationDetail.$UnknownMember;
|
|
5829
5886
|
/**
|
|
5830
5887
|
* @public
|
|
5831
5888
|
*/
|
|
@@ -5836,6 +5893,16 @@ export declare namespace CreateIntegrationDetail {
|
|
|
5836
5893
|
*/
|
|
5837
5894
|
interface GitlabSelfManagedMember {
|
|
5838
5895
|
gitlabSelfManaged: CreateGitLabSelfManagedIntegrationDetail;
|
|
5896
|
+
githubEnterprise?: never;
|
|
5897
|
+
$unknown?: never;
|
|
5898
|
+
}
|
|
5899
|
+
/**
|
|
5900
|
+
* <p>Details specific to creating an integration with a GitHub Enterprise Server instance.</p>
|
|
5901
|
+
* @public
|
|
5902
|
+
*/
|
|
5903
|
+
interface GithubEnterpriseMember {
|
|
5904
|
+
gitlabSelfManaged?: never;
|
|
5905
|
+
githubEnterprise: CreateGitHubEnterpriseIntegrationDetail;
|
|
5839
5906
|
$unknown?: never;
|
|
5840
5907
|
}
|
|
5841
5908
|
/**
|
|
@@ -5843,6 +5910,7 @@ export declare namespace CreateIntegrationDetail {
|
|
|
5843
5910
|
*/
|
|
5844
5911
|
interface $UnknownMember {
|
|
5845
5912
|
gitlabSelfManaged?: never;
|
|
5913
|
+
githubEnterprise?: never;
|
|
5846
5914
|
$unknown: [string, any];
|
|
5847
5915
|
}
|
|
5848
5916
|
/**
|
|
@@ -5851,6 +5919,7 @@ export declare namespace CreateIntegrationDetail {
|
|
|
5851
5919
|
*/
|
|
5852
5920
|
interface Visitor<T> {
|
|
5853
5921
|
gitlabSelfManaged: (value: CreateGitLabSelfManagedIntegrationDetail) => T;
|
|
5922
|
+
githubEnterprise: (value: CreateGitHubEnterpriseIntegrationDetail) => T;
|
|
5854
5923
|
_: (name: string, value: any) => T;
|
|
5855
5924
|
}
|
|
5856
5925
|
}
|
|
@@ -7679,62 +7748,62 @@ export interface Image {
|
|
|
7679
7748
|
platform?: string | undefined;
|
|
7680
7749
|
}
|
|
7681
7750
|
/**
|
|
7682
|
-
*
|
|
7751
|
+
* <p>Contains details about an Amazon Machine Image (AMI) that Amazon Inspector scanned directly.</p>
|
|
7683
7752
|
* @public
|
|
7684
7753
|
*/
|
|
7685
7754
|
export interface MachineImageDetails {
|
|
7686
7755
|
/**
|
|
7687
|
-
* The machine image
|
|
7756
|
+
* <p>The ID of the machine image, for example <code>ami-0abcdef1234567890</code>.</p>
|
|
7688
7757
|
* @public
|
|
7689
7758
|
*/
|
|
7690
7759
|
machineImageId: string | undefined;
|
|
7691
7760
|
/**
|
|
7692
|
-
*
|
|
7761
|
+
* <p>The name of the machine image.</p>
|
|
7693
7762
|
* @public
|
|
7694
7763
|
*/
|
|
7695
7764
|
name?: string | undefined;
|
|
7696
7765
|
/**
|
|
7697
|
-
*
|
|
7766
|
+
* <p>The ID of the account that owns the machine image.</p>
|
|
7698
7767
|
* @public
|
|
7699
7768
|
*/
|
|
7700
7769
|
ownerAccountId?: string | undefined;
|
|
7701
7770
|
/**
|
|
7702
|
-
*
|
|
7771
|
+
* <p>The operating system platform of the machine image.</p>
|
|
7703
7772
|
* @public
|
|
7704
7773
|
*/
|
|
7705
7774
|
platform?: string | undefined;
|
|
7706
7775
|
/**
|
|
7707
|
-
* CPU architecture
|
|
7776
|
+
* <p>The CPU architecture of the machine image, for example <code>x86_64</code> or <code>arm64</code>.</p>
|
|
7708
7777
|
* @public
|
|
7709
7778
|
*/
|
|
7710
7779
|
architecture?: Architecture | undefined;
|
|
7711
7780
|
/**
|
|
7712
|
-
*
|
|
7781
|
+
* <p>The date and time that the machine image was created.</p>
|
|
7713
7782
|
* @public
|
|
7714
7783
|
*/
|
|
7715
7784
|
creationDate?: Date | undefined;
|
|
7716
7785
|
/**
|
|
7717
|
-
*
|
|
7786
|
+
* <p>The state of the machine image, for example <code>available</code>, <code>pending</code>, or <code>deregistered</code>.</p>
|
|
7718
7787
|
* @public
|
|
7719
7788
|
*/
|
|
7720
7789
|
state?: string | undefined;
|
|
7721
7790
|
/**
|
|
7722
|
-
*
|
|
7791
|
+
* <p>Indicates whether the machine image is shared publicly.</p>
|
|
7723
7792
|
* @public
|
|
7724
7793
|
*/
|
|
7725
7794
|
isPublic?: boolean | undefined;
|
|
7726
7795
|
/**
|
|
7727
|
-
*
|
|
7796
|
+
* <p>The root device type of the machine image, either <code>ebs</code> or <code>instance-store</code>.</p>
|
|
7728
7797
|
* @public
|
|
7729
7798
|
*/
|
|
7730
7799
|
rootDeviceType?: string | undefined;
|
|
7731
7800
|
/**
|
|
7732
|
-
*
|
|
7801
|
+
* <p>The virtualization type of the machine image, either <code>hvm</code> or <code>paravirtual</code>.</p>
|
|
7733
7802
|
* @public
|
|
7734
7803
|
*/
|
|
7735
7804
|
virtualizationType?: string | undefined;
|
|
7736
7805
|
/**
|
|
7737
|
-
*
|
|
7806
|
+
* <p>The ID of the Amazon EC2 instance that the machine image was created from, if available.</p>
|
|
7738
7807
|
* @public
|
|
7739
7808
|
*/
|
|
7740
7809
|
sourceResourceId?: string | undefined;
|
|
@@ -7897,7 +7966,7 @@ export interface ResourceDetails {
|
|
|
7897
7966
|
*/
|
|
7898
7967
|
codeRepository?: CodeRepositoryDetails | undefined;
|
|
7899
7968
|
/**
|
|
7900
|
-
*
|
|
7969
|
+
* <p>An object that contains details about the Amazon Machine Image (AMI) involved in the finding.</p>
|
|
7901
7970
|
* @public
|
|
7902
7971
|
*/
|
|
7903
7972
|
machineImage?: MachineImageDetails | undefined;
|
|
@@ -8289,6 +8358,16 @@ export interface GetCodeSecurityIntegrationResponse {
|
|
|
8289
8358
|
* @public
|
|
8290
8359
|
*/
|
|
8291
8360
|
authorizationUrl?: string | undefined;
|
|
8361
|
+
/**
|
|
8362
|
+
* <p>The VPC configuration associated with the integration, if it connects to a repository provider in a private network.</p>
|
|
8363
|
+
* @public
|
|
8364
|
+
*/
|
|
8365
|
+
vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
|
|
8366
|
+
/**
|
|
8367
|
+
* <p>The URL of the self-managed GitLab or GitHub Enterprise Server instance associated with the integration.</p>
|
|
8368
|
+
* @public
|
|
8369
|
+
*/
|
|
8370
|
+
instanceUrl?: string | undefined;
|
|
8292
8371
|
/**
|
|
8293
8372
|
* <p>The tags associated with the code security integration.</p>
|
|
8294
8373
|
* @public
|
|
@@ -8711,39 +8790,3 @@ export interface GetSbomExportResponse {
|
|
|
8711
8790
|
*/
|
|
8712
8791
|
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
8713
8792
|
}
|
|
8714
|
-
/**
|
|
8715
|
-
* @public
|
|
8716
|
-
*/
|
|
8717
|
-
export interface ListAccountPermissionsRequest {
|
|
8718
|
-
/**
|
|
8719
|
-
* <p>The service scan type to check permissions for.</p>
|
|
8720
|
-
* @public
|
|
8721
|
-
*/
|
|
8722
|
-
service?: Service | undefined;
|
|
8723
|
-
/**
|
|
8724
|
-
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
8725
|
-
* @public
|
|
8726
|
-
*/
|
|
8727
|
-
maxResults?: number | undefined;
|
|
8728
|
-
/**
|
|
8729
|
-
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.</p>
|
|
8730
|
-
* @public
|
|
8731
|
-
*/
|
|
8732
|
-
nextToken?: string | undefined;
|
|
8733
|
-
}
|
|
8734
|
-
/**
|
|
8735
|
-
* <p>Contains information on the permissions an account has within Amazon Inspector.</p>
|
|
8736
|
-
* @public
|
|
8737
|
-
*/
|
|
8738
|
-
export interface Permission {
|
|
8739
|
-
/**
|
|
8740
|
-
* <p>The services that the permissions allow an account to perform the given operations for.</p>
|
|
8741
|
-
* @public
|
|
8742
|
-
*/
|
|
8743
|
-
service: Service | undefined;
|
|
8744
|
-
/**
|
|
8745
|
-
* <p>The operations that can be performed with the given permissions.</p>
|
|
8746
|
-
* @public
|
|
8747
|
-
*/
|
|
8748
|
-
operation: Operation | undefined;
|
|
8749
|
-
}
|
|
@@ -1,5 +1,52 @@
|
|
|
1
|
-
import type { AggregationType, CisScanConfigurationsSortBy, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceSortBy, CisSecurityLevel, CisSortOrder, CloudProvider, CodeScanStatus, Currency, Ec2DeepInspectionStatus, FilterAction, GroupKey, InheritanceMode, IntegrationStatus, ListCisScansDetailLevel, ListCisScansSortBy, OnDemandResourceType, OnDemandScanStatus, OnDemandScanStatusReason, ResourceType, ScanType, SortField, SortOrder, StopCisSessionStatus, UsageType, VulnerabilitySource } from "./enums";
|
|
2
|
-
import type { AggregationRequest, AggregationResponse, AmiConfiguration, AtigData, AutoEnable, AzureProviderDetailUpdate, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisScan, CisScanConfiguration, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanStatusFilter, CisSessionMessage, CisStringFilter, CisTargetResourceAggregation, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, ComputePlatform, Connector, ConnectorFilterCriteria, ConnectorScanConfiguration, ConnectorScanConfigurationItem, Counts, CoverageFilterCriteria, CoveredResource, Cvss2, Cvss3, Cvss4, DelegatedAdminAccount, Ec2Configuration, EcrConfiguration, Epss, ExploitObserved, Filter, FilterCriteria, Finding, GcpProviderDetailUpdate, Member,
|
|
1
|
+
import type { AggregationType, CisScanConfigurationsSortBy, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceSortBy, CisSecurityLevel, CisSortOrder, CloudProvider, CodeScanStatus, Currency, Ec2DeepInspectionStatus, FilterAction, GroupKey, InheritanceMode, IntegrationStatus, ListCisScansDetailLevel, ListCisScansSortBy, OnDemandResourceType, OnDemandScanStatus, OnDemandScanStatusReason, Operation, ResourceType, ScanType, Service, SortField, SortOrder, StopCisSessionStatus, UsageType, VulnerabilitySource } from "./enums";
|
|
2
|
+
import type { AggregationRequest, AggregationResponse, AmiConfiguration, AtigData, AutoEnable, AzureProviderDetailUpdate, CisaData, CisCheckAggregation, CisDateFilter, CisNumberFilter, CisScan, CisScanConfiguration, CisScanResultsAggregatedByChecksFilterCriteria, CisScanResultsAggregatedByTargetResourceFilterCriteria, CisScanStatusFilter, CisSessionMessage, CisStringFilter, CisTargetResourceAggregation, CodeSecurityIntegrationSummary, CodeSecurityResource, CodeSecurityScanConfiguration, CodeSecurityScanConfigurationAssociationSummary, CodeSecurityScanConfigurationSummary, ComputePlatform, Connector, ConnectorFilterCriteria, ConnectorScanConfiguration, ConnectorScanConfigurationItem, Counts, CoverageFilterCriteria, CoveredResource, Cvss2, Cvss3, Cvss4, DelegatedAdminAccount, Ec2Configuration, EcrConfiguration, Epss, ExploitObserved, Filter, FilterCriteria, Finding, GcpProviderDetailUpdate, Member, Schedule, StringFilter, TagFilter } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>Contains the details required to register the GitHub App on the GitHub Enterprise Server instance.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface GitHubEnterpriseServerAppRegistrationDetail {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The manifest code used to register the GitHub App on the GitHub Enterprise Server instance.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
manifestCode: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface ListAccountPermissionsRequest {
|
|
18
|
+
/**
|
|
19
|
+
* <p>The service scan type to check permissions for.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
service?: Service | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The maximum number of results the response can return. If your request would return more than the maximum the response will return a <code>nextToken</code> value, use this value when you call the action again to get the remaining results.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
maxResults?: number | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. If your response returns more than the <code>maxResults</code> maximum value it will also return a <code>nextToken</code> value. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.</p>
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
nextToken?: string | undefined;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* <p>Contains information on the permissions an account has within Amazon Inspector.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
export interface Permission {
|
|
39
|
+
/**
|
|
40
|
+
* <p>The services that the permissions allow an account to perform the given operations for.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
service: Service | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The operations that can be performed with the given permissions.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
operation: Operation | undefined;
|
|
49
|
+
}
|
|
3
50
|
/**
|
|
4
51
|
* @public
|
|
5
52
|
*/
|
|
@@ -1432,6 +1479,77 @@ export interface UpdateGitHubIntegrationDetail {
|
|
|
1432
1479
|
* @public
|
|
1433
1480
|
*/
|
|
1434
1481
|
installationId: string | undefined;
|
|
1482
|
+
/**
|
|
1483
|
+
* <p>The PKCE state token used to validate the authorization request.</p>
|
|
1484
|
+
* @public
|
|
1485
|
+
*/
|
|
1486
|
+
stateToken?: string | undefined;
|
|
1487
|
+
}
|
|
1488
|
+
/**
|
|
1489
|
+
* <p>Contains the details required to complete the GitHub App installation for a GitHub Enterprise Server integration.</p>
|
|
1490
|
+
* @public
|
|
1491
|
+
*/
|
|
1492
|
+
export interface UpdateGitHubEnterpriseServerAppInstallationDetail {
|
|
1493
|
+
/**
|
|
1494
|
+
* <p>The authorization code received from GitHub Enterprise Server.</p>
|
|
1495
|
+
* @public
|
|
1496
|
+
*/
|
|
1497
|
+
code: string | undefined;
|
|
1498
|
+
/**
|
|
1499
|
+
* <p>The installation ID of the GitHub App associated with the integration.</p>
|
|
1500
|
+
* @public
|
|
1501
|
+
*/
|
|
1502
|
+
installationId: string | undefined;
|
|
1503
|
+
/**
|
|
1504
|
+
* <p>The PKCE state token used to validate the authorization request.</p>
|
|
1505
|
+
* @public
|
|
1506
|
+
*/
|
|
1507
|
+
stateToken?: string | undefined;
|
|
1508
|
+
}
|
|
1509
|
+
/**
|
|
1510
|
+
* <p>Contains the details required to update an integration with a GitHub Enterprise Server instance. Provide one of the following, depending on the step of the setup flow.</p>
|
|
1511
|
+
* @public
|
|
1512
|
+
*/
|
|
1513
|
+
export type UpdateGitHubEnterpriseServerIntegrationDetail = UpdateGitHubEnterpriseServerIntegrationDetail.AppInstallationMember | UpdateGitHubEnterpriseServerIntegrationDetail.AppRegistrationMember | UpdateGitHubEnterpriseServerIntegrationDetail.$UnknownMember;
|
|
1514
|
+
/**
|
|
1515
|
+
* @public
|
|
1516
|
+
*/
|
|
1517
|
+
export declare namespace UpdateGitHubEnterpriseServerIntegrationDetail {
|
|
1518
|
+
/**
|
|
1519
|
+
* <p>Details for completing the GitHub App installation step of the GitHub Enterprise Server integration.</p>
|
|
1520
|
+
* @public
|
|
1521
|
+
*/
|
|
1522
|
+
interface AppInstallationMember {
|
|
1523
|
+
appInstallation: UpdateGitHubEnterpriseServerAppInstallationDetail;
|
|
1524
|
+
appRegistration?: never;
|
|
1525
|
+
$unknown?: never;
|
|
1526
|
+
}
|
|
1527
|
+
/**
|
|
1528
|
+
* <p>Details for completing the GitHub App manifest registration step of the GitHub Enterprise Server integration.</p>
|
|
1529
|
+
* @public
|
|
1530
|
+
*/
|
|
1531
|
+
interface AppRegistrationMember {
|
|
1532
|
+
appInstallation?: never;
|
|
1533
|
+
appRegistration: GitHubEnterpriseServerAppRegistrationDetail;
|
|
1534
|
+
$unknown?: never;
|
|
1535
|
+
}
|
|
1536
|
+
/**
|
|
1537
|
+
* @public
|
|
1538
|
+
*/
|
|
1539
|
+
interface $UnknownMember {
|
|
1540
|
+
appInstallation?: never;
|
|
1541
|
+
appRegistration?: never;
|
|
1542
|
+
$unknown: [string, any];
|
|
1543
|
+
}
|
|
1544
|
+
/**
|
|
1545
|
+
* @deprecated unused in schema-serde mode.
|
|
1546
|
+
*
|
|
1547
|
+
*/
|
|
1548
|
+
interface Visitor<T> {
|
|
1549
|
+
appInstallation: (value: UpdateGitHubEnterpriseServerAppInstallationDetail) => T;
|
|
1550
|
+
appRegistration: (value: GitHubEnterpriseServerAppRegistrationDetail) => T;
|
|
1551
|
+
_: (name: string, value: any) => T;
|
|
1552
|
+
}
|
|
1435
1553
|
}
|
|
1436
1554
|
/**
|
|
1437
1555
|
* <p>Contains details required to update an integration with a self-managed GitLab instance.</p>
|
|
@@ -1443,12 +1561,17 @@ export interface UpdateGitLabSelfManagedIntegrationDetail {
|
|
|
1443
1561
|
* @public
|
|
1444
1562
|
*/
|
|
1445
1563
|
authCode: string | undefined;
|
|
1564
|
+
/**
|
|
1565
|
+
* <p>The PKCE state token used to validate the authorization request.</p>
|
|
1566
|
+
* @public
|
|
1567
|
+
*/
|
|
1568
|
+
stateToken?: string | undefined;
|
|
1446
1569
|
}
|
|
1447
1570
|
/**
|
|
1448
1571
|
* <p>Contains details required to update a code security integration with a specific repository provider.</p>
|
|
1449
1572
|
* @public
|
|
1450
1573
|
*/
|
|
1451
|
-
export type UpdateIntegrationDetails = UpdateIntegrationDetails.GithubMember | UpdateIntegrationDetails.GitlabSelfManagedMember | UpdateIntegrationDetails.$UnknownMember;
|
|
1574
|
+
export type UpdateIntegrationDetails = UpdateIntegrationDetails.GithubMember | UpdateIntegrationDetails.GithubEnterpriseServerMember | UpdateIntegrationDetails.GitlabSelfManagedMember | UpdateIntegrationDetails.$UnknownMember;
|
|
1452
1575
|
/**
|
|
1453
1576
|
* @public
|
|
1454
1577
|
*/
|
|
@@ -1460,6 +1583,7 @@ export declare namespace UpdateIntegrationDetails {
|
|
|
1460
1583
|
interface GitlabSelfManagedMember {
|
|
1461
1584
|
gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetail;
|
|
1462
1585
|
github?: never;
|
|
1586
|
+
githubEnterpriseServer?: never;
|
|
1463
1587
|
$unknown?: never;
|
|
1464
1588
|
}
|
|
1465
1589
|
/**
|
|
@@ -1469,6 +1593,17 @@ export declare namespace UpdateIntegrationDetails {
|
|
|
1469
1593
|
interface GithubMember {
|
|
1470
1594
|
gitlabSelfManaged?: never;
|
|
1471
1595
|
github: UpdateGitHubIntegrationDetail;
|
|
1596
|
+
githubEnterpriseServer?: never;
|
|
1597
|
+
$unknown?: never;
|
|
1598
|
+
}
|
|
1599
|
+
/**
|
|
1600
|
+
* <p>Details specific to updating an integration with a GitHub Enterprise Server instance.</p>
|
|
1601
|
+
* @public
|
|
1602
|
+
*/
|
|
1603
|
+
interface GithubEnterpriseServerMember {
|
|
1604
|
+
gitlabSelfManaged?: never;
|
|
1605
|
+
github?: never;
|
|
1606
|
+
githubEnterpriseServer: UpdateGitHubEnterpriseServerIntegrationDetail;
|
|
1472
1607
|
$unknown?: never;
|
|
1473
1608
|
}
|
|
1474
1609
|
/**
|
|
@@ -1477,6 +1612,7 @@ export declare namespace UpdateIntegrationDetails {
|
|
|
1477
1612
|
interface $UnknownMember {
|
|
1478
1613
|
gitlabSelfManaged?: never;
|
|
1479
1614
|
github?: never;
|
|
1615
|
+
githubEnterpriseServer?: never;
|
|
1480
1616
|
$unknown: [string, any];
|
|
1481
1617
|
}
|
|
1482
1618
|
/**
|
|
@@ -1486,6 +1622,7 @@ export declare namespace UpdateIntegrationDetails {
|
|
|
1486
1622
|
interface Visitor<T> {
|
|
1487
1623
|
gitlabSelfManaged: (value: UpdateGitLabSelfManagedIntegrationDetail) => T;
|
|
1488
1624
|
github: (value: UpdateGitHubIntegrationDetail) => T;
|
|
1625
|
+
githubEnterpriseServer: (value: UpdateGitHubEnterpriseServerIntegrationDetail) => T;
|
|
1489
1626
|
_: (name: string, value: any) => T;
|
|
1490
1627
|
}
|
|
1491
1628
|
}
|
|
@@ -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;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import { ListAccountPermissionsRequest } from "../models/
|
|
3
|
-
import { ListAccountPermissionsResponse } from "../models/models_1";
|
|
2
|
+
import { ListAccountPermissionsRequest, ListAccountPermissionsResponse } from "../models/models_1";
|
|
4
3
|
export { __MetadataBearer };
|
|
5
4
|
export interface ListAccountPermissionsCommandInput extends ListAccountPermissionsRequest {}
|
|
6
5
|
export interface ListAccountPermissionsCommandOutput
|
|
@@ -556,14 +556,21 @@ export declare const CodeScanStatus: {
|
|
|
556
556
|
export type CodeScanStatus = (typeof CodeScanStatus)[keyof typeof CodeScanStatus];
|
|
557
557
|
export declare const IntegrationStatus: {
|
|
558
558
|
readonly ACTIVE: "ACTIVE";
|
|
559
|
+
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
560
|
+
readonly DELETE_IN_PROGRESS: "DELETE_IN_PROGRESS";
|
|
559
561
|
readonly DISABLING: "DISABLING";
|
|
562
|
+
readonly ESTABLISHING_CONNECTION_COMPLETED: "ESTABLISHING_CONNECTION_COMPLETED";
|
|
563
|
+
readonly ESTABLISHING_CONNECTION_FAILED: "ESTABLISHING_CONNECTION_FAILED";
|
|
564
|
+
readonly ESTABLISHING_CONNECTION_IN_PROGRESS: "ESTABLISHING_CONNECTION_IN_PROGRESS";
|
|
560
565
|
readonly INACTIVE: "INACTIVE";
|
|
561
566
|
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
562
567
|
readonly PENDING: "PENDING";
|
|
568
|
+
readonly PENDING_MANIFEST_CODE: "PENDING_MANIFEST_CODE";
|
|
563
569
|
};
|
|
564
570
|
export type IntegrationStatus = (typeof IntegrationStatus)[keyof typeof IntegrationStatus];
|
|
565
571
|
export declare const IntegrationType: {
|
|
566
572
|
readonly GITHUB: "GITHUB";
|
|
573
|
+
readonly GITHUB_ENTERPRISE_SERVER: "GITHUB_ENTERPRISE_SERVER";
|
|
567
574
|
readonly GITLAB_SELF_MANAGED: "GITLAB_SELF_MANAGED";
|
|
568
575
|
};
|
|
569
576
|
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|