@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.
Files changed (28) hide show
  1. package/dist-cjs/index.js +138 -17
  2. package/dist-es/models/enums.js +40 -0
  3. package/dist-es/schemas/schemas_0.js +85 -16
  4. package/dist-types/commands/CreateCodeSecurityIntegrationCommand.d.ts +29 -2
  5. package/dist-types/commands/CreateFilterCommand.d.ts +13 -0
  6. package/dist-types/commands/CreateFindingsReportCommand.d.ts +13 -0
  7. package/dist-types/commands/GetCodeSecurityIntegrationCommand.d.ts +15 -2
  8. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +13 -0
  9. package/dist-types/commands/GetOnDemandScanStatusCommand.d.ts +2 -1
  10. package/dist-types/commands/GetSbomExportCommand.d.ts +1 -1
  11. package/dist-types/commands/ListAccountPermissionsCommand.d.ts +1 -2
  12. package/dist-types/commands/ListCodeSecurityIntegrationsCommand.d.ts +2 -2
  13. package/dist-types/commands/ListFiltersCommand.d.ts +13 -0
  14. package/dist-types/commands/ListFindingsCommand.d.ts +16 -0
  15. package/dist-types/commands/UpdateCodeSecurityIntegrationCommand.d.ts +13 -1
  16. package/dist-types/commands/UpdateFilterCommand.d.ts +13 -0
  17. package/dist-types/models/enums.d.ts +72 -0
  18. package/dist-types/models/models_0.d.ts +177 -141
  19. package/dist-types/models/models_1.d.ts +230 -3
  20. package/dist-types/schemas/schemas_0.d.ts +8 -0
  21. package/dist-types/ts3.4/commands/GetOnDemandScanStatusCommand.d.ts +2 -1
  22. package/dist-types/ts3.4/commands/GetSbomExportCommand.d.ts +1 -1
  23. package/dist-types/ts3.4/commands/ListAccountPermissionsCommand.d.ts +1 -2
  24. package/dist-types/ts3.4/models/enums.d.ts +46 -0
  25. package/dist-types/ts3.4/models/models_0.d.ts +47 -34
  26. package/dist-types/ts3.4/models/models_1.d.ts +84 -1
  27. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  28. package/package.json +1 -1
@@ -1,5 +1,142 @@
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, Permission, Schedule, StringFilter, TagFilter } from "./models_0";
1
+ import type { AggregationType, CisScanConfigurationsSortBy, CisScanResultsAggregatedByChecksSortBy, CisScanResultsAggregatedByTargetResourceSortBy, CisSecurityLevel, CisSortOrder, CloudProvider, CodeScanStatus, Currency, Ec2DeepInspectionStatus, ExternalReportStatus, FilterAction, GroupKey, InheritanceMode, IntegrationStatus, ListCisScansDetailLevel, ListCisScansSortBy, OnDemandResourceType, OnDemandScanStatus, OnDemandScanStatusReason, Operation, ReportingErrorCode, ResourceType, SbomReportFormat, 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, Destination, Ec2Configuration, EcrConfiguration, Epss, ExploitObserved, Filter, FilterCriteria, Finding, GcpProviderDetailUpdate, Member, ResourceFilterCriteria, Schedule, StringFilter, TagFilter } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface GetOnDemandScanStatusResponse {
7
+ /**
8
+ * <p>The unique identifier of the on-demand scan.</p>
9
+ * @public
10
+ */
11
+ scanId: string | undefined;
12
+ /**
13
+ * <p>The ID of the resource that was scanned.</p>
14
+ * @public
15
+ */
16
+ resourceId: string | undefined;
17
+ /**
18
+ * <p>The type of the resource that was scanned.</p>
19
+ * @public
20
+ */
21
+ resourceType: OnDemandResourceType | undefined;
22
+ /**
23
+ * <p>The current status of the on-demand scan.</p>
24
+ * @public
25
+ */
26
+ scanStatus: OnDemandScanStatus | undefined;
27
+ /**
28
+ * <p>The reason associated with the current on-demand scan status.</p>
29
+ * @public
30
+ */
31
+ scanStatusReason?: OnDemandScanStatusReason | undefined;
32
+ /**
33
+ * <p>The date and time, in ISO 8601 format, when the on-demand scan started.</p>
34
+ * @public
35
+ */
36
+ startedAt: Date | undefined;
37
+ /**
38
+ * <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>
39
+ * @public
40
+ */
41
+ completedAt?: Date | undefined;
42
+ }
43
+ /**
44
+ * @public
45
+ */
46
+ export interface GetSbomExportRequest {
47
+ /**
48
+ * <p>The report ID of the SBOM export to get details for.</p>
49
+ * @public
50
+ */
51
+ reportId: string | undefined;
52
+ }
53
+ /**
54
+ * @public
55
+ */
56
+ export interface GetSbomExportResponse {
57
+ /**
58
+ * <p>The report ID of the software bill of materials (SBOM) report.</p>
59
+ * @public
60
+ */
61
+ reportId?: string | undefined;
62
+ /**
63
+ * <p>The format of the software bill of materials (SBOM) report.</p>
64
+ * @public
65
+ */
66
+ format?: SbomReportFormat | undefined;
67
+ /**
68
+ * <p>The status of the software bill of materials (SBOM) report.</p>
69
+ * @public
70
+ */
71
+ status?: ExternalReportStatus | undefined;
72
+ /**
73
+ * <p>An error code.</p>
74
+ * @public
75
+ */
76
+ errorCode?: ReportingErrorCode | undefined;
77
+ /**
78
+ * <p>An error message.</p>
79
+ * @public
80
+ */
81
+ errorMessage?: string | undefined;
82
+ /**
83
+ * <p>Contains details of the Amazon S3 bucket and KMS key used to export findings</p>
84
+ * @public
85
+ */
86
+ s3Destination?: Destination | undefined;
87
+ /**
88
+ * <p>Contains details about the resource filter criteria used for the software bill of materials (SBOM) report.</p>
89
+ * @public
90
+ */
91
+ filterCriteria?: ResourceFilterCriteria | undefined;
92
+ }
93
+ /**
94
+ * <p>Contains the details required to register the GitHub App on the GitHub Enterprise Server instance.</p>
95
+ * @public
96
+ */
97
+ export interface GitHubEnterpriseServerAppRegistrationDetail {
98
+ /**
99
+ * <p>The manifest code used to register the GitHub App on the GitHub Enterprise Server instance.</p>
100
+ * @public
101
+ */
102
+ manifestCode: string | undefined;
103
+ }
104
+ /**
105
+ * @public
106
+ */
107
+ export interface ListAccountPermissionsRequest {
108
+ /**
109
+ * <p>The service scan type to check permissions for.</p>
110
+ * @public
111
+ */
112
+ service?: Service | undefined;
113
+ /**
114
+ * <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>
115
+ * @public
116
+ */
117
+ maxResults?: number | undefined;
118
+ /**
119
+ * <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>
120
+ * @public
121
+ */
122
+ nextToken?: string | undefined;
123
+ }
124
+ /**
125
+ * <p>Contains information on the permissions an account has within Amazon Inspector.</p>
126
+ * @public
127
+ */
128
+ export interface Permission {
129
+ /**
130
+ * <p>The services that the permissions allow an account to perform the given operations for.</p>
131
+ * @public
132
+ */
133
+ service: Service | undefined;
134
+ /**
135
+ * <p>The operations that can be performed with the given permissions.</p>
136
+ * @public
137
+ */
138
+ operation: Operation | undefined;
139
+ }
3
140
  /**
4
141
  * @public
5
142
  */
@@ -1432,6 +1569,77 @@ export interface UpdateGitHubIntegrationDetail {
1432
1569
  * @public
1433
1570
  */
1434
1571
  installationId: string | undefined;
1572
+ /**
1573
+ * <p>The PKCE state token used to validate the authorization request.</p>
1574
+ * @public
1575
+ */
1576
+ stateToken?: string | undefined;
1577
+ }
1578
+ /**
1579
+ * <p>Contains the details required to complete the GitHub App installation for a GitHub Enterprise Server integration.</p>
1580
+ * @public
1581
+ */
1582
+ export interface UpdateGitHubEnterpriseServerAppInstallationDetail {
1583
+ /**
1584
+ * <p>The authorization code received from GitHub Enterprise Server.</p>
1585
+ * @public
1586
+ */
1587
+ code: string | undefined;
1588
+ /**
1589
+ * <p>The installation ID of the GitHub App associated with the integration.</p>
1590
+ * @public
1591
+ */
1592
+ installationId: string | undefined;
1593
+ /**
1594
+ * <p>The PKCE state token used to validate the authorization request.</p>
1595
+ * @public
1596
+ */
1597
+ stateToken?: string | undefined;
1598
+ }
1599
+ /**
1600
+ * <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>
1601
+ * @public
1602
+ */
1603
+ export type UpdateGitHubEnterpriseServerIntegrationDetail = UpdateGitHubEnterpriseServerIntegrationDetail.AppInstallationMember | UpdateGitHubEnterpriseServerIntegrationDetail.AppRegistrationMember | UpdateGitHubEnterpriseServerIntegrationDetail.$UnknownMember;
1604
+ /**
1605
+ * @public
1606
+ */
1607
+ export declare namespace UpdateGitHubEnterpriseServerIntegrationDetail {
1608
+ /**
1609
+ * <p>Details for completing the GitHub App installation step of the GitHub Enterprise Server integration.</p>
1610
+ * @public
1611
+ */
1612
+ interface AppInstallationMember {
1613
+ appInstallation: UpdateGitHubEnterpriseServerAppInstallationDetail;
1614
+ appRegistration?: never;
1615
+ $unknown?: never;
1616
+ }
1617
+ /**
1618
+ * <p>Details for completing the GitHub App manifest registration step of the GitHub Enterprise Server integration.</p>
1619
+ * @public
1620
+ */
1621
+ interface AppRegistrationMember {
1622
+ appInstallation?: never;
1623
+ appRegistration: GitHubEnterpriseServerAppRegistrationDetail;
1624
+ $unknown?: never;
1625
+ }
1626
+ /**
1627
+ * @public
1628
+ */
1629
+ interface $UnknownMember {
1630
+ appInstallation?: never;
1631
+ appRegistration?: never;
1632
+ $unknown: [string, any];
1633
+ }
1634
+ /**
1635
+ * @deprecated unused in schema-serde mode.
1636
+ *
1637
+ */
1638
+ interface Visitor<T> {
1639
+ appInstallation: (value: UpdateGitHubEnterpriseServerAppInstallationDetail) => T;
1640
+ appRegistration: (value: GitHubEnterpriseServerAppRegistrationDetail) => T;
1641
+ _: (name: string, value: any) => T;
1642
+ }
1435
1643
  }
1436
1644
  /**
1437
1645
  * <p>Contains details required to update an integration with a self-managed GitLab instance.</p>
@@ -1443,12 +1651,17 @@ export interface UpdateGitLabSelfManagedIntegrationDetail {
1443
1651
  * @public
1444
1652
  */
1445
1653
  authCode: string | undefined;
1654
+ /**
1655
+ * <p>The PKCE state token used to validate the authorization request.</p>
1656
+ * @public
1657
+ */
1658
+ stateToken?: string | undefined;
1446
1659
  }
1447
1660
  /**
1448
1661
  * <p>Contains details required to update a code security integration with a specific repository provider.</p>
1449
1662
  * @public
1450
1663
  */
1451
- export type UpdateIntegrationDetails = UpdateIntegrationDetails.GithubMember | UpdateIntegrationDetails.GitlabSelfManagedMember | UpdateIntegrationDetails.$UnknownMember;
1664
+ export type UpdateIntegrationDetails = UpdateIntegrationDetails.GithubMember | UpdateIntegrationDetails.GithubEnterpriseServerMember | UpdateIntegrationDetails.GitlabSelfManagedMember | UpdateIntegrationDetails.$UnknownMember;
1452
1665
  /**
1453
1666
  * @public
1454
1667
  */
@@ -1460,6 +1673,7 @@ export declare namespace UpdateIntegrationDetails {
1460
1673
  interface GitlabSelfManagedMember {
1461
1674
  gitlabSelfManaged: UpdateGitLabSelfManagedIntegrationDetail;
1462
1675
  github?: never;
1676
+ githubEnterpriseServer?: never;
1463
1677
  $unknown?: never;
1464
1678
  }
1465
1679
  /**
@@ -1469,6 +1683,17 @@ export declare namespace UpdateIntegrationDetails {
1469
1683
  interface GithubMember {
1470
1684
  gitlabSelfManaged?: never;
1471
1685
  github: UpdateGitHubIntegrationDetail;
1686
+ githubEnterpriseServer?: never;
1687
+ $unknown?: never;
1688
+ }
1689
+ /**
1690
+ * <p>Details specific to updating an integration with a GitHub Enterprise Server instance.</p>
1691
+ * @public
1692
+ */
1693
+ interface GithubEnterpriseServerMember {
1694
+ gitlabSelfManaged?: never;
1695
+ github?: never;
1696
+ githubEnterpriseServer: UpdateGitHubEnterpriseServerIntegrationDetail;
1472
1697
  $unknown?: never;
1473
1698
  }
1474
1699
  /**
@@ -1477,6 +1702,7 @@ export declare namespace UpdateIntegrationDetails {
1477
1702
  interface $UnknownMember {
1478
1703
  gitlabSelfManaged?: never;
1479
1704
  github?: never;
1705
+ githubEnterpriseServer?: never;
1480
1706
  $unknown: [string, any];
1481
1707
  }
1482
1708
  /**
@@ -1486,6 +1712,7 @@ export declare namespace UpdateIntegrationDetails {
1486
1712
  interface Visitor<T> {
1487
1713
  gitlabSelfManaged: (value: UpdateGitLabSelfManagedIntegrationDetail) => T;
1488
1714
  github: (value: UpdateGitHubIntegrationDetail) => T;
1715
+ githubEnterpriseServer: (value: UpdateGitHubEnterpriseServerIntegrationDetail) => T;
1489
1716
  _: (name: string, value: any) => T;
1490
1717
  }
1491
1718
  }
@@ -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;
@@ -1,5 +1,6 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetOnDemandScanStatusRequest, GetOnDemandScanStatusResponse } from "../models/models_0";
2
+ import { GetOnDemandScanStatusRequest } from "../models/models_0";
3
+ import { GetOnDemandScanStatusResponse } from "../models/models_1";
3
4
  export { __MetadataBearer };
4
5
  export interface GetOnDemandScanStatusCommandInput extends GetOnDemandScanStatusRequest {}
5
6
  export interface GetOnDemandScanStatusCommandOutput
@@ -1,5 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { GetSbomExportRequest, GetSbomExportResponse } from "../models/models_0";
2
+ import { GetSbomExportRequest, GetSbomExportResponse } from "../models/models_1";
3
3
  export { __MetadataBearer };
4
4
  export interface GetSbomExportCommandInput extends GetSbomExportRequest {}
5
5
  export interface GetSbomExportCommandOutput extends GetSbomExportResponse, __MetadataBearer {}
@@ -1,6 +1,5 @@
1
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import { ListAccountPermissionsRequest } from "../models/models_0";
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];
@@ -737,6 +744,45 @@ export declare const FilterAction: {
737
744
  readonly SUPPRESS: "SUPPRESS";
738
745
  };
739
746
  export type FilterAction = (typeof FilterAction)[keyof typeof FilterAction];
747
+ export declare const PurlQualifierKey: {
748
+ readonly ARCH: "arch";
749
+ readonly COLLECTOR: "collector";
750
+ readonly DEV_DEPENDENCY: "dev_dependency";
751
+ readonly DISTRO: "distro";
752
+ readonly EPOCH: "epoch";
753
+ readonly GO_TOOLCHAIN: "go_toolchain";
754
+ readonly HARDENED: "hardened";
755
+ readonly PRIVATE: "private";
756
+ readonly RUST_TOOLCHAIN: "rust_toolchain";
757
+ readonly SCOPE: "scope";
758
+ readonly SKIP_CHROMIUM_DOWNLOAD: "skip_chromium_download";
759
+ readonly SOURCE: "source";
760
+ readonly STREAM: "stream";
761
+ readonly TRANSITIVE_DEPENDENCY: "transitive_dependency";
762
+ readonly UNRESOLVED: "unresolved";
763
+ readonly VENDOR: "vendor";
764
+ };
765
+ export type PurlQualifierKey = (typeof PurlQualifierKey)[keyof typeof PurlQualifierKey];
766
+ export declare const RuntimeReachabilityComparison: {
767
+ readonly EQUALS: "EQUALS";
768
+ readonly NOT_EQUALS: "NOT_EQUALS";
769
+ };
770
+ export type RuntimeReachabilityComparison =
771
+ (typeof RuntimeReachabilityComparison)[keyof typeof RuntimeReachabilityComparison];
772
+ export declare const RuntimeReachability: {
773
+ readonly NOT_REACHABLE: "NOT_REACHABLE";
774
+ readonly REACHABLE: "REACHABLE";
775
+ readonly UNKNOWN: "UNKNOWN";
776
+ };
777
+ export type RuntimeReachability = (typeof RuntimeReachability)[keyof typeof RuntimeReachability];
778
+ export declare const RuntimeReachabilityReason: {
779
+ readonly PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_IN_DOCKERFILE_WORKLOAD_PATH";
780
+ readonly PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH: "PACKAGE_NOT_IN_DOCKERFILE_WORKLOAD_PATH";
781
+ readonly PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME: "PROCESS_NOT_OBSERVED_IN_EC2_RUNTIME";
782
+ readonly PROCESS_OBSERVED_IN_EC2_RUNTIME: "PROCESS_OBSERVED_IN_EC2_RUNTIME";
783
+ };
784
+ export type RuntimeReachabilityReason =
785
+ (typeof RuntimeReachabilityReason)[keyof typeof RuntimeReachabilityReason];
740
786
  export declare const ReportFormat: {
741
787
  readonly CSV: "CSV";
742
788
  readonly JSON: "JSON";
@@ -80,9 +80,6 @@ import {
80
80
  MapComparison,
81
81
  NetworkProtocol,
82
82
  OnDemandResourceType,
83
- OnDemandScanStatus,
84
- OnDemandScanStatusReason,
85
- Operation,
86
83
  PackageManager,
87
84
  PackageSortBy,
88
85
  PackageType,
@@ -90,6 +87,7 @@ import {
90
87
  ProjectSelectionScope,
91
88
  Provider,
92
89
  ProviderComparison,
90
+ PurlQualifierKey,
93
91
  RelationshipStatus,
94
92
  ReportFormat,
95
93
  ReportingErrorCode,
@@ -100,6 +98,9 @@ import {
100
98
  ResourceType,
101
99
  RuleSetCategory,
102
100
  Runtime,
101
+ RuntimeReachability,
102
+ RuntimeReachabilityComparison,
103
+ RuntimeReachabilityReason,
103
104
  SbomReportFormat,
104
105
  ScanMode,
105
106
  ScanSource,
@@ -109,7 +110,6 @@ import {
109
110
  ScopeState,
110
111
  ScopeType,
111
112
  ServerlessFunctionSortBy,
112
- Service,
113
113
  Severity,
114
114
  SortOrder,
115
115
  Status,
@@ -1736,6 +1736,14 @@ export interface CodeSecurityIntegrationSummary {
1736
1736
  createdOn: Date | undefined;
1737
1737
  lastUpdateOn: Date | undefined;
1738
1738
  }
1739
+ export interface CodeSecurityIntegrationVpcConfiguration {
1740
+ vpcId: string | undefined;
1741
+ vpcEndpointId: string | undefined;
1742
+ codeConnectionsHostArn?: string | undefined;
1743
+ subnetIds?: string[] | undefined;
1744
+ securityGroups?: string[] | undefined;
1745
+ tlsCertificate?: string | undefined;
1746
+ }
1739
1747
  export interface ContinuousIntegrationScanConfiguration {
1740
1748
  supportedEvents: ContinuousIntegrationScanEvent[] | undefined;
1741
1749
  }
@@ -1991,24 +1999,38 @@ export interface CreateCisScanConfigurationRequest {
1991
1999
  export interface CreateCisScanConfigurationResponse {
1992
2000
  scanConfigurationArn?: string | undefined;
1993
2001
  }
2002
+ export interface CreateGitHubEnterpriseIntegrationDetail {
2003
+ instanceUrl: string | undefined;
2004
+ vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
2005
+ }
1994
2006
  export interface CreateGitLabSelfManagedIntegrationDetail {
1995
2007
  instanceUrl: string | undefined;
1996
2008
  accessToken: string | undefined;
2009
+ vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
1997
2010
  }
1998
2011
  export type CreateIntegrationDetail =
2012
+ | CreateIntegrationDetail.GithubEnterpriseMember
1999
2013
  | CreateIntegrationDetail.GitlabSelfManagedMember
2000
2014
  | CreateIntegrationDetail.$UnknownMember;
2001
2015
  export declare namespace CreateIntegrationDetail {
2002
2016
  interface GitlabSelfManagedMember {
2003
2017
  gitlabSelfManaged: CreateGitLabSelfManagedIntegrationDetail;
2018
+ githubEnterprise?: never;
2019
+ $unknown?: never;
2020
+ }
2021
+ interface GithubEnterpriseMember {
2022
+ gitlabSelfManaged?: never;
2023
+ githubEnterprise: CreateGitHubEnterpriseIntegrationDetail;
2004
2024
  $unknown?: never;
2005
2025
  }
2006
2026
  interface $UnknownMember {
2007
2027
  gitlabSelfManaged?: never;
2028
+ githubEnterprise?: never;
2008
2029
  $unknown: [string, any];
2009
2030
  }
2010
2031
  interface Visitor<T> {
2011
2032
  gitlabSelfManaged: (value: CreateGitLabSelfManagedIntegrationDetail) => T;
2033
+ githubEnterprise: (value: CreateGitHubEnterpriseIntegrationDetail) => T;
2012
2034
  _: (name: string, value: any) => T;
2013
2035
  }
2014
2036
  }
@@ -2089,6 +2111,19 @@ export interface PortRangeFilter {
2089
2111
  beginInclusive?: number | undefined;
2090
2112
  endInclusive?: number | undefined;
2091
2113
  }
2114
+ export interface PurlQualifierFilter {
2115
+ comparison: MapComparison | undefined;
2116
+ key: PurlQualifierKey | undefined;
2117
+ value?: string | undefined;
2118
+ }
2119
+ export interface RuntimeReachabilityFilter {
2120
+ comparison: RuntimeReachabilityComparison | undefined;
2121
+ value: RuntimeReachability | undefined;
2122
+ }
2123
+ export interface RuntimeReachabilityReasonFilter {
2124
+ comparison: RuntimeReachabilityComparison | undefined;
2125
+ value: RuntimeReachabilityReason | undefined;
2126
+ }
2092
2127
  export interface PackageFilter {
2093
2128
  name?: StringFilter | undefined;
2094
2129
  version?: StringFilter | undefined;
@@ -2098,6 +2133,9 @@ export interface PackageFilter {
2098
2133
  sourceLayerHash?: StringFilter | undefined;
2099
2134
  sourceLambdaLayerArn?: StringFilter | undefined;
2100
2135
  filePath?: StringFilter | undefined;
2136
+ runtimeReachability?: RuntimeReachabilityFilter | undefined;
2137
+ runtimeReachabilityReason?: RuntimeReachabilityReasonFilter | undefined;
2138
+ purlQualifier?: PurlQualifierFilter | undefined;
2101
2139
  }
2102
2140
  export interface FilterCriteria {
2103
2141
  findingArn?: StringFilter[] | undefined;
@@ -2425,6 +2463,9 @@ export interface VulnerablePackage {
2425
2463
  fixedInVersion?: string | undefined;
2426
2464
  remediation?: string | undefined;
2427
2465
  sourceLambdaLayerArn?: string | undefined;
2466
+ runtimeReachability?: RuntimeReachability | undefined;
2467
+ runtimeReachabilityReason?: RuntimeReachabilityReason | undefined;
2468
+ purl?: string | undefined;
2428
2469
  }
2429
2470
  export interface PackageVulnerabilityDetails {
2430
2471
  vulnerabilityId: string | undefined;
@@ -2592,6 +2633,8 @@ export interface GetCodeSecurityIntegrationResponse {
2592
2633
  createdOn: Date | undefined;
2593
2634
  lastUpdateOn: Date | undefined;
2594
2635
  authorizationUrl?: string | undefined;
2636
+ vpcConfiguration?: CodeSecurityIntegrationVpcConfiguration | undefined;
2637
+ instanceUrl?: string | undefined;
2595
2638
  tags?: Record<string, string> | undefined;
2596
2639
  }
2597
2640
  export interface GetCodeSecurityScanRequest {
@@ -2675,33 +2718,3 @@ export interface GetOnDemandScanStatusRequest {
2675
2718
  scanId: string | undefined;
2676
2719
  resourceType: OnDemandResourceType | undefined;
2677
2720
  }
2678
- export interface GetOnDemandScanStatusResponse {
2679
- scanId: string | undefined;
2680
- resourceId: string | undefined;
2681
- resourceType: OnDemandResourceType | undefined;
2682
- scanStatus: OnDemandScanStatus | undefined;
2683
- scanStatusReason?: OnDemandScanStatusReason | undefined;
2684
- startedAt: Date | undefined;
2685
- completedAt?: Date | undefined;
2686
- }
2687
- export interface GetSbomExportRequest {
2688
- reportId: string | undefined;
2689
- }
2690
- export interface GetSbomExportResponse {
2691
- reportId?: string | undefined;
2692
- format?: SbomReportFormat | undefined;
2693
- status?: ExternalReportStatus | undefined;
2694
- errorCode?: ReportingErrorCode | undefined;
2695
- errorMessage?: string | undefined;
2696
- s3Destination?: Destination | undefined;
2697
- filterCriteria?: ResourceFilterCriteria | undefined;
2698
- }
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
- }