@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
|
@@ -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
|
/**
|
|
@@ -1376,6 +1383,71 @@ export declare const FilterAction: {
|
|
|
1376
1383
|
* @public
|
|
1377
1384
|
*/
|
|
1378
1385
|
export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
|
|
1386
|
+
/**
|
|
1387
|
+
* @public
|
|
1388
|
+
* @enum
|
|
1389
|
+
*/
|
|
1390
|
+
export declare const PurlQualifierKey: {
|
|
1391
|
+
readonly ARCH: "arch";
|
|
1392
|
+
readonly COLLECTOR: "collector";
|
|
1393
|
+
readonly DEV_DEPENDENCY: "dev_dependency";
|
|
1394
|
+
readonly DISTRO: "distro";
|
|
1395
|
+
readonly EPOCH: "epoch";
|
|
1396
|
+
readonly GO_TOOLCHAIN: "go_toolchain";
|
|
1397
|
+
readonly HARDENED: "hardened";
|
|
1398
|
+
readonly PRIVATE: "private";
|
|
1399
|
+
readonly RUST_TOOLCHAIN: "rust_toolchain";
|
|
1400
|
+
readonly SCOPE: "scope";
|
|
1401
|
+
readonly SKIP_CHROMIUM_DOWNLOAD: "skip_chromium_download";
|
|
1402
|
+
readonly SOURCE: "source";
|
|
1403
|
+
readonly STREAM: "stream";
|
|
1404
|
+
readonly TRANSITIVE_DEPENDENCY: "transitive_dependency";
|
|
1405
|
+
readonly UNRESOLVED: "unresolved";
|
|
1406
|
+
readonly VENDOR: "vendor";
|
|
1407
|
+
};
|
|
1408
|
+
/**
|
|
1409
|
+
* @public
|
|
1410
|
+
*/
|
|
1411
|
+
export type PurlQualifierKey = (typeof PurlQualifierKey)[keyof typeof PurlQualifierKey];
|
|
1412
|
+
/**
|
|
1413
|
+
* @public
|
|
1414
|
+
* @enum
|
|
1415
|
+
*/
|
|
1416
|
+
export declare const RuntimeReachabilityComparison: {
|
|
1417
|
+
readonly EQUALS: "EQUALS";
|
|
1418
|
+
readonly NOT_EQUALS: "NOT_EQUALS";
|
|
1419
|
+
};
|
|
1420
|
+
/**
|
|
1421
|
+
* @public
|
|
1422
|
+
*/
|
|
1423
|
+
export type RuntimeReachabilityComparison = (typeof RuntimeReachabilityComparison)[keyof typeof RuntimeReachabilityComparison];
|
|
1424
|
+
/**
|
|
1425
|
+
* @public
|
|
1426
|
+
* @enum
|
|
1427
|
+
*/
|
|
1428
|
+
export declare const RuntimeReachability: {
|
|
1429
|
+
readonly NOT_REACHABLE: "NOT_REACHABLE";
|
|
1430
|
+
readonly REACHABLE: "REACHABLE";
|
|
1431
|
+
readonly UNKNOWN: "UNKNOWN";
|
|
1432
|
+
};
|
|
1433
|
+
/**
|
|
1434
|
+
* @public
|
|
1435
|
+
*/
|
|
1436
|
+
export type RuntimeReachability = (typeof RuntimeReachability)[keyof typeof RuntimeReachability];
|
|
1437
|
+
/**
|
|
1438
|
+
* @public
|
|
1439
|
+
* @enum
|
|
1440
|
+
*/
|
|
1441
|
+
export declare const RuntimeReachabilityReason: {
|
|
1442
|
+
readonly PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH";
|
|
1443
|
+
readonly PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH";
|
|
1444
|
+
readonly PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME: "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME";
|
|
1445
|
+
readonly PROCESS_OBSERVED_IN_EC2_RUNTIME: "PROCESS_OBSERVED_IN_EC2_RUNTIME";
|
|
1446
|
+
};
|
|
1447
|
+
/**
|
|
1448
|
+
* @public
|
|
1449
|
+
*/
|
|
1450
|
+
export type RuntimeReachabilityReason = (typeof RuntimeReachabilityReason)[keyof typeof RuntimeReachabilityReason];
|
|
1379
1451
|
/**
|
|
1380
1452
|
* @public
|
|
1381
1453
|
* @enum
|
|
@@ -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,
|
|
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, PackageManager, PackageSortBy, PackageType, PeriodicScanFrequency, ProjectSelectionScope, Provider, ProviderComparison, PurlQualifierKey, RelationshipStatus, ReportFormat, ReportingErrorCode, RepositorySortBy, ResourceMapComparison, ResourceScanType, ResourceStringComparison, ResourceType, RuleSetCategory, Runtime, RuntimeReachability, RuntimeReachabilityComparison, RuntimeReachabilityReason, 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
|
}
|
|
@@ -6108,6 +6177,59 @@ export interface PortRangeFilter {
|
|
|
6108
6177
|
*/
|
|
6109
6178
|
endInclusive?: number | undefined;
|
|
6110
6179
|
}
|
|
6180
|
+
/**
|
|
6181
|
+
* <p>An object that describes the details of a package URL (purl) qualifier filter.</p>
|
|
6182
|
+
* @public
|
|
6183
|
+
*/
|
|
6184
|
+
export interface PurlQualifierFilter {
|
|
6185
|
+
/**
|
|
6186
|
+
* <p>The operator to use when comparing values in the filter.</p>
|
|
6187
|
+
* @public
|
|
6188
|
+
*/
|
|
6189
|
+
comparison: MapComparison | undefined;
|
|
6190
|
+
/**
|
|
6191
|
+
* <p>The package URL (purl) qualifier key to filter on.</p>
|
|
6192
|
+
* @public
|
|
6193
|
+
*/
|
|
6194
|
+
key: PurlQualifierKey | undefined;
|
|
6195
|
+
/**
|
|
6196
|
+
* <p>The package URL (purl) qualifier value to filter on.</p>
|
|
6197
|
+
* @public
|
|
6198
|
+
*/
|
|
6199
|
+
value?: string | undefined;
|
|
6200
|
+
}
|
|
6201
|
+
/**
|
|
6202
|
+
* <p>An object that describes the details of a runtime reachability filter.</p>
|
|
6203
|
+
* @public
|
|
6204
|
+
*/
|
|
6205
|
+
export interface RuntimeReachabilityFilter {
|
|
6206
|
+
/**
|
|
6207
|
+
* <p>The operator to use when comparing values in the filter.</p>
|
|
6208
|
+
* @public
|
|
6209
|
+
*/
|
|
6210
|
+
comparison: RuntimeReachabilityComparison | undefined;
|
|
6211
|
+
/**
|
|
6212
|
+
* <p>The runtime reachability status to filter on.</p>
|
|
6213
|
+
* @public
|
|
6214
|
+
*/
|
|
6215
|
+
value: RuntimeReachability | undefined;
|
|
6216
|
+
}
|
|
6217
|
+
/**
|
|
6218
|
+
* <p>An object that describes the details of a runtime reachability reason filter.</p>
|
|
6219
|
+
* @public
|
|
6220
|
+
*/
|
|
6221
|
+
export interface RuntimeReachabilityReasonFilter {
|
|
6222
|
+
/**
|
|
6223
|
+
* <p>The operator to use when comparing values in the filter.</p>
|
|
6224
|
+
* @public
|
|
6225
|
+
*/
|
|
6226
|
+
comparison: RuntimeReachabilityComparison | undefined;
|
|
6227
|
+
/**
|
|
6228
|
+
* <p>The runtime reachability reason to filter on.</p>
|
|
6229
|
+
* @public
|
|
6230
|
+
*/
|
|
6231
|
+
value: RuntimeReachabilityReason | undefined;
|
|
6232
|
+
}
|
|
6111
6233
|
/**
|
|
6112
6234
|
* <p>Contains information on the details of a package filter.</p>
|
|
6113
6235
|
* @public
|
|
@@ -6153,6 +6275,21 @@ export interface PackageFilter {
|
|
|
6153
6275
|
* @public
|
|
6154
6276
|
*/
|
|
6155
6277
|
filePath?: StringFilter | undefined;
|
|
6278
|
+
/**
|
|
6279
|
+
* <p>An object that contains details on the runtime reachability status of the package to filter on. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html">Understanding runtime reachability</a> in the Amazon Inspector user guide.</p>
|
|
6280
|
+
* @public
|
|
6281
|
+
*/
|
|
6282
|
+
runtimeReachability?: RuntimeReachabilityFilter | undefined;
|
|
6283
|
+
/**
|
|
6284
|
+
* <p>An object that contains details on the runtime reachability reason of the package to filter on. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html">Understanding runtime reachability</a> in the Amazon Inspector user guide.</p>
|
|
6285
|
+
* @public
|
|
6286
|
+
*/
|
|
6287
|
+
runtimeReachabilityReason?: RuntimeReachabilityReasonFilter | undefined;
|
|
6288
|
+
/**
|
|
6289
|
+
* <p>An object that contains details on the package URL (purl) qualifier to filter on.</p>
|
|
6290
|
+
* @public
|
|
6291
|
+
*/
|
|
6292
|
+
purlQualifier?: PurlQualifierFilter | undefined;
|
|
6156
6293
|
}
|
|
6157
6294
|
/**
|
|
6158
6295
|
* <p>Details on the criteria used to define the filter.</p>
|
|
@@ -7538,6 +7675,21 @@ export interface VulnerablePackage {
|
|
|
7538
7675
|
* @public
|
|
7539
7676
|
*/
|
|
7540
7677
|
sourceLambdaLayerArn?: string | undefined;
|
|
7678
|
+
/**
|
|
7679
|
+
* <p>The runtime reachability status of the vulnerable package. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html">Understanding runtime reachability</a> in the Amazon Inspector user guide.</p>
|
|
7680
|
+
* @public
|
|
7681
|
+
*/
|
|
7682
|
+
runtimeReachability?: RuntimeReachability | undefined;
|
|
7683
|
+
/**
|
|
7684
|
+
* <p>The reason for the runtime reachability status of the vulnerable package. For more information, see <a href="https://docs.aws.amazon.com/inspector/latest/user/findings-understanding-runtime-reachability.html">Understanding runtime reachability</a> in the Amazon Inspector user guide.</p>
|
|
7685
|
+
* @public
|
|
7686
|
+
*/
|
|
7687
|
+
runtimeReachabilityReason?: RuntimeReachabilityReason | undefined;
|
|
7688
|
+
/**
|
|
7689
|
+
* <p>The package URL (purl) of the vulnerable package.</p>
|
|
7690
|
+
* @public
|
|
7691
|
+
*/
|
|
7692
|
+
purl?: string | undefined;
|
|
7541
7693
|
}
|
|
7542
7694
|
/**
|
|
7543
7695
|
* <p>Information about a package vulnerability finding.</p>
|
|
@@ -7679,62 +7831,62 @@ export interface Image {
|
|
|
7679
7831
|
platform?: string | undefined;
|
|
7680
7832
|
}
|
|
7681
7833
|
/**
|
|
7682
|
-
*
|
|
7834
|
+
* <p>Contains details about an Amazon Machine Image (AMI) that Amazon Inspector scanned directly.</p>
|
|
7683
7835
|
* @public
|
|
7684
7836
|
*/
|
|
7685
7837
|
export interface MachineImageDetails {
|
|
7686
7838
|
/**
|
|
7687
|
-
* The machine image
|
|
7839
|
+
* <p>The ID of the machine image, for example <code>ami-0abcdef1234567890</code>.</p>
|
|
7688
7840
|
* @public
|
|
7689
7841
|
*/
|
|
7690
7842
|
machineImageId: string | undefined;
|
|
7691
7843
|
/**
|
|
7692
|
-
*
|
|
7844
|
+
* <p>The name of the machine image.</p>
|
|
7693
7845
|
* @public
|
|
7694
7846
|
*/
|
|
7695
7847
|
name?: string | undefined;
|
|
7696
7848
|
/**
|
|
7697
|
-
*
|
|
7849
|
+
* <p>The ID of the account that owns the machine image.</p>
|
|
7698
7850
|
* @public
|
|
7699
7851
|
*/
|
|
7700
7852
|
ownerAccountId?: string | undefined;
|
|
7701
7853
|
/**
|
|
7702
|
-
*
|
|
7854
|
+
* <p>The operating system platform of the machine image.</p>
|
|
7703
7855
|
* @public
|
|
7704
7856
|
*/
|
|
7705
7857
|
platform?: string | undefined;
|
|
7706
7858
|
/**
|
|
7707
|
-
* CPU architecture
|
|
7859
|
+
* <p>The CPU architecture of the machine image, for example <code>x86_64</code> or <code>arm64</code>.</p>
|
|
7708
7860
|
* @public
|
|
7709
7861
|
*/
|
|
7710
7862
|
architecture?: Architecture | undefined;
|
|
7711
7863
|
/**
|
|
7712
|
-
*
|
|
7864
|
+
* <p>The date and time that the machine image was created.</p>
|
|
7713
7865
|
* @public
|
|
7714
7866
|
*/
|
|
7715
7867
|
creationDate?: Date | undefined;
|
|
7716
7868
|
/**
|
|
7717
|
-
*
|
|
7869
|
+
* <p>The state of the machine image, for example <code>available</code>, <code>pending</code>, or <code>deregistered</code>.</p>
|
|
7718
7870
|
* @public
|
|
7719
7871
|
*/
|
|
7720
7872
|
state?: string | undefined;
|
|
7721
7873
|
/**
|
|
7722
|
-
*
|
|
7874
|
+
* <p>Indicates whether the machine image is shared publicly.</p>
|
|
7723
7875
|
* @public
|
|
7724
7876
|
*/
|
|
7725
7877
|
isPublic?: boolean | undefined;
|
|
7726
7878
|
/**
|
|
7727
|
-
*
|
|
7879
|
+
* <p>The root device type of the machine image, either <code>ebs</code> or <code>instance-store</code>.</p>
|
|
7728
7880
|
* @public
|
|
7729
7881
|
*/
|
|
7730
7882
|
rootDeviceType?: string | undefined;
|
|
7731
7883
|
/**
|
|
7732
|
-
*
|
|
7884
|
+
* <p>The virtualization type of the machine image, either <code>hvm</code> or <code>paravirtual</code>.</p>
|
|
7733
7885
|
* @public
|
|
7734
7886
|
*/
|
|
7735
7887
|
virtualizationType?: string | undefined;
|
|
7736
7888
|
/**
|
|
7737
|
-
*
|
|
7889
|
+
* <p>The ID of the Amazon EC2 instance that the machine image was created from, if available.</p>
|
|
7738
7890
|
* @public
|
|
7739
7891
|
*/
|
|
7740
7892
|
sourceResourceId?: string | undefined;
|
|
@@ -7897,7 +8049,7 @@ export interface ResourceDetails {
|
|
|
7897
8049
|
*/
|
|
7898
8050
|
codeRepository?: CodeRepositoryDetails | undefined;
|
|
7899
8051
|
/**
|
|
7900
|
-
*
|
|
8052
|
+
* <p>An object that contains details about the Amazon Machine Image (AMI) involved in the finding.</p>
|
|
7901
8053
|
* @public
|
|
7902
8054
|
*/
|
|
7903
8055
|
machineImage?: MachineImageDetails | undefined;
|
|
@@ -8289,6 +8441,16 @@ export interface GetCodeSecurityIntegrationResponse {
|
|
|
8289
8441
|
* @public
|
|
8290
8442
|
*/
|
|
8291
8443
|
authorizationUrl?: string | undefined;
|
|
8444
|
+
/**
|
|
8445
|
+
* <p>The VPC configuration associated with the integration, if it connects to a repository provider in a private network.</p>
|
|
8446
|
+
* @public
|
|
8447
|
+
*/
|
|
8448
|
+
vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
|
|
8449
|
+
/**
|
|
8450
|
+
* <p>The URL of the self-managed GitLab or GitHub Enterprise Server instance associated with the integration.</p>
|
|
8451
|
+
* @public
|
|
8452
|
+
*/
|
|
8453
|
+
instanceUrl?: string | undefined;
|
|
8292
8454
|
/**
|
|
8293
8455
|
* <p>The tags associated with the code security integration.</p>
|
|
8294
8456
|
* @public
|
|
@@ -8621,129 +8783,3 @@ export interface GetOnDemandScanStatusRequest {
|
|
|
8621
8783
|
*/
|
|
8622
8784
|
resourceType: OnDemandResourceType | undefined;
|
|
8623
8785
|
}
|
|
8624
|
-
/**
|
|
8625
|
-
* @public
|
|
8626
|
-
*/
|
|
8627
|
-
export interface GetOnDemandScanStatusResponse {
|
|
8628
|
-
/**
|
|
8629
|
-
* <p>The unique identifier of the on-demand scan.</p>
|
|
8630
|
-
* @public
|
|
8631
|
-
*/
|
|
8632
|
-
scanId: string | undefined;
|
|
8633
|
-
/**
|
|
8634
|
-
* <p>The ID of the resource that was scanned.</p>
|
|
8635
|
-
* @public
|
|
8636
|
-
*/
|
|
8637
|
-
resourceId: string | undefined;
|
|
8638
|
-
/**
|
|
8639
|
-
* <p>The type of the resource that was scanned.</p>
|
|
8640
|
-
* @public
|
|
8641
|
-
*/
|
|
8642
|
-
resourceType: OnDemandResourceType | undefined;
|
|
8643
|
-
/**
|
|
8644
|
-
* <p>The current status of the on-demand scan.</p>
|
|
8645
|
-
* @public
|
|
8646
|
-
*/
|
|
8647
|
-
scanStatus: OnDemandScanStatus | undefined;
|
|
8648
|
-
/**
|
|
8649
|
-
* <p>The reason associated with the current on-demand scan status.</p>
|
|
8650
|
-
* @public
|
|
8651
|
-
*/
|
|
8652
|
-
scanStatusReason?: OnDemandScanStatusReason | undefined;
|
|
8653
|
-
/**
|
|
8654
|
-
* <p>The date and time, in ISO 8601 format, when the on-demand scan started.</p>
|
|
8655
|
-
* @public
|
|
8656
|
-
*/
|
|
8657
|
-
startedAt: Date | undefined;
|
|
8658
|
-
/**
|
|
8659
|
-
* <p>The date and time, in ISO 8601 format, when the on-demand scan completed. This field is absent if the scan has not completed.</p>
|
|
8660
|
-
* @public
|
|
8661
|
-
*/
|
|
8662
|
-
completedAt?: Date | undefined;
|
|
8663
|
-
}
|
|
8664
|
-
/**
|
|
8665
|
-
* @public
|
|
8666
|
-
*/
|
|
8667
|
-
export interface GetSbomExportRequest {
|
|
8668
|
-
/**
|
|
8669
|
-
* <p>The report ID of the SBOM export to get details for.</p>
|
|
8670
|
-
* @public
|
|
8671
|
-
*/
|
|
8672
|
-
reportId: string | undefined;
|
|
8673
|
-
}
|
|
8674
|
-
/**
|
|
8675
|
-
* @public
|
|
8676
|
-
*/
|
|
8677
|
-
export interface GetSbomExportResponse {
|
|
8678
|
-
/**
|
|
8679
|
-
* <p>The report ID of the software bill of materials (SBOM) report.</p>
|
|
8680
|
-
* @public
|
|
8681
|
-
*/
|
|
8682
|
-
reportId?: string | undefined;
|
|
8683
|
-
/**
|
|
8684
|
-
* <p>The format of the software bill of materials (SBOM) report.</p>
|
|
8685
|
-
* @public
|
|
8686
|
-
*/
|
|
8687
|
-
format?: SbomReportFormat | undefined;
|
|
8688
|
-
/**
|
|
8689
|
-
* <p>The status of the software bill of materials (SBOM) report.</p>
|
|
8690
|
-
* @public
|
|
8691
|
-
*/
|
|
8692
|
-
status?: ExternalReportStatus | undefined;
|
|
8693
|
-
/**
|
|
8694
|
-
* <p>An error code.</p>
|
|
8695
|
-
* @public
|
|
8696
|
-
*/
|
|
8697
|
-
errorCode?: ReportingErrorCode | undefined;
|
|
8698
|
-
/**
|
|
8699
|
-
* <p>An error message.</p>
|
|
8700
|
-
* @public
|
|
8701
|
-
*/
|
|
8702
|
-
errorMessage?: string | undefined;
|
|
8703
|
-
/**
|
|
8704
|
-
* <p>Contains details of the Amazon S3 bucket and KMS key used to export findings</p>
|
|
8705
|
-
* @public
|
|
8706
|
-
*/
|
|
8707
|
-
s3Destination?: Destination | undefined;
|
|
8708
|
-
/**
|
|
8709
|
-
* <p>Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.</p>
|
|
8710
|
-
* @public
|
|
8711
|
-
*/
|
|
8712
|
-
filterCriteria?: ResourceFilterCriteria | undefined;
|
|
8713
|
-
}
|
|
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
|
-
}
|