@aws-sdk/client-inspector2 3.1080.0 → 3.1082.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 (101) hide show
  1. package/README.md +42 -0
  2. package/dist-cjs/index.js +967 -133
  3. package/dist-es/Inspector2.js +25 -1
  4. package/dist-es/commands/CreateConnectorCommand.js +4 -0
  5. package/dist-es/commands/DeleteConnectorCommand.js +4 -0
  6. package/dist-es/commands/ListConnectorScanConfigurationsCommand.js +4 -0
  7. package/dist-es/commands/ListConnectorsCommand.js +4 -0
  8. package/dist-es/commands/UpdateConnectorCommand.js +4 -0
  9. package/dist-es/commands/UpdateConnectorScanConfigurationCommand.js +4 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/index.js +1 -0
  12. package/dist-es/models/enums.js +130 -0
  13. package/dist-es/pagination/ListConnectorScanConfigurationsPaginator.js +4 -0
  14. package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
  15. package/dist-es/pagination/index.js +2 -0
  16. package/dist-es/schemas/schemas_0.js +542 -130
  17. package/dist-es/waiters/index.js +3 -0
  18. package/dist-es/waiters/waitForConnectorConnected.js +69 -0
  19. package/dist-es/waiters/waitForConnectorDeleted.js +46 -0
  20. package/dist-es/waiters/waitForConnectorEnabled.js +69 -0
  21. package/dist-types/Inspector2.d.ts +78 -1
  22. package/dist-types/Inspector2Client.d.ts +8 -2
  23. package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +1 -0
  24. package/dist-types/commands/CreateConnectorCommand.d.ts +167 -0
  25. package/dist-types/commands/CreateFilterCommand.d.ts +24 -0
  26. package/dist-types/commands/CreateFindingsReportCommand.d.ts +24 -0
  27. package/dist-types/commands/DeleteConnectorCommand.d.ts +105 -0
  28. package/dist-types/commands/GetConfigurationCommand.d.ts +18 -3
  29. package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +24 -0
  30. package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -1
  31. package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +135 -0
  33. package/dist-types/commands/ListConnectorsCommand.d.ts +226 -0
  34. package/dist-types/commands/ListCoverageCommand.d.ts +59 -1
  35. package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +24 -1
  36. package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListFiltersCommand.d.ts +25 -1
  38. package/dist-types/commands/ListFindingAggregationsCommand.d.ts +149 -2
  39. package/dist-types/commands/ListFindingsCommand.d.ts +86 -1
  40. package/dist-types/commands/ListMembersCommand.d.ts +1 -1
  41. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  42. package/dist-types/commands/ListUsageTotalsCommand.d.ts +2 -1
  43. package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  44. package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  45. package/dist-types/commands/SendCisSessionHealthCommand.d.ts +1 -1
  46. package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateConfigurationCommand.d.ts +11 -3
  48. package/dist-types/commands/UpdateConnectorCommand.d.ts +146 -0
  49. package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +117 -0
  50. package/dist-types/commands/UpdateFilterCommand.d.ts +24 -0
  51. package/dist-types/commands/index.d.ts +6 -0
  52. package/dist-types/index.d.ts +1 -0
  53. package/dist-types/models/enums.d.ts +282 -0
  54. package/dist-types/models/models_0.d.ts +3359 -1910
  55. package/dist-types/models/models_1.d.ts +932 -2
  56. package/dist-types/pagination/ListConnectorScanConfigurationsPaginator.d.ts +7 -0
  57. package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
  58. package/dist-types/pagination/index.d.ts +2 -0
  59. package/dist-types/schemas/schemas_0.d.ts +51 -0
  60. package/dist-types/ts3.4/Inspector2.d.ts +147 -0
  61. package/dist-types/ts3.4/Inspector2Client.d.ts +36 -0
  62. package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
  63. package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
  64. package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -4
  66. package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/ListConnectorScanConfigurationsCommand.d.ts +44 -0
  68. package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
  69. package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
  83. package/dist-types/ts3.4/commands/UpdateConnectorScanConfigurationCommand.d.ts +44 -0
  84. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  85. package/dist-types/ts3.4/index.d.ts +1 -0
  86. package/dist-types/ts3.4/models/enums.d.ts +162 -0
  87. package/dist-types/ts3.4/models/models_0.d.ts +571 -166
  88. package/dist-types/ts3.4/models/models_1.d.ts +248 -1
  89. package/dist-types/ts3.4/pagination/ListConnectorScanConfigurationsPaginator.d.ts +11 -0
  90. package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
  91. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  92. package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
  93. package/dist-types/ts3.4/waiters/index.d.ts +3 -0
  94. package/dist-types/ts3.4/waiters/waitForConnectorConnected.d.ts +17 -0
  95. package/dist-types/ts3.4/waiters/waitForConnectorDeleted.d.ts +17 -0
  96. package/dist-types/ts3.4/waiters/waitForConnectorEnabled.d.ts +17 -0
  97. package/dist-types/waiters/index.d.ts +3 -0
  98. package/dist-types/waiters/waitForConnectorConnected.d.ts +15 -0
  99. package/dist-types/waiters/waitForConnectorDeleted.d.ts +15 -0
  100. package/dist-types/waiters/waitForConnectorEnabled.d.ts +15 -0
  101. package/package.json +8 -8
@@ -13,12 +13,14 @@ import { CancelSbomExportCommand, } from "./commands/CancelSbomExportCommand";
13
13
  import { CreateCisScanConfigurationCommand, } from "./commands/CreateCisScanConfigurationCommand";
14
14
  import { CreateCodeSecurityIntegrationCommand, } from "./commands/CreateCodeSecurityIntegrationCommand";
15
15
  import { CreateCodeSecurityScanConfigurationCommand, } from "./commands/CreateCodeSecurityScanConfigurationCommand";
16
+ import { CreateConnectorCommand, } from "./commands/CreateConnectorCommand";
16
17
  import { CreateFilterCommand, } from "./commands/CreateFilterCommand";
17
18
  import { CreateFindingsReportCommand, } from "./commands/CreateFindingsReportCommand";
18
19
  import { CreateSbomExportCommand, } from "./commands/CreateSbomExportCommand";
19
20
  import { DeleteCisScanConfigurationCommand, } from "./commands/DeleteCisScanConfigurationCommand";
20
21
  import { DeleteCodeSecurityIntegrationCommand, } from "./commands/DeleteCodeSecurityIntegrationCommand";
21
22
  import { DeleteCodeSecurityScanConfigurationCommand, } from "./commands/DeleteCodeSecurityScanConfigurationCommand";
23
+ import { DeleteConnectorCommand, } from "./commands/DeleteConnectorCommand";
22
24
  import { DeleteFilterCommand, } from "./commands/DeleteFilterCommand";
23
25
  import { DescribeOrganizationConfigurationCommand, } from "./commands/DescribeOrganizationConfigurationCommand";
24
26
  import { DisableCommand } from "./commands/DisableCommand";
@@ -47,6 +49,8 @@ import { ListCisScansCommand, } from "./commands/ListCisScansCommand";
47
49
  import { ListCodeSecurityIntegrationsCommand, } from "./commands/ListCodeSecurityIntegrationsCommand";
48
50
  import { ListCodeSecurityScanConfigurationAssociationsCommand, } from "./commands/ListCodeSecurityScanConfigurationAssociationsCommand";
49
51
  import { ListCodeSecurityScanConfigurationsCommand, } from "./commands/ListCodeSecurityScanConfigurationsCommand";
52
+ import { ListConnectorScanConfigurationsCommand, } from "./commands/ListConnectorScanConfigurationsCommand";
53
+ import { ListConnectorsCommand, } from "./commands/ListConnectorsCommand";
50
54
  import { ListCoverageCommand, } from "./commands/ListCoverageCommand";
51
55
  import { ListCoverageStatisticsCommand, } from "./commands/ListCoverageStatisticsCommand";
52
56
  import { ListDelegatedAdminAccountsCommand, } from "./commands/ListDelegatedAdminAccountsCommand";
@@ -69,6 +73,8 @@ import { UpdateCisScanConfigurationCommand, } from "./commands/UpdateCisScanConf
69
73
  import { UpdateCodeSecurityIntegrationCommand, } from "./commands/UpdateCodeSecurityIntegrationCommand";
70
74
  import { UpdateCodeSecurityScanConfigurationCommand, } from "./commands/UpdateCodeSecurityScanConfigurationCommand";
71
75
  import { UpdateConfigurationCommand, } from "./commands/UpdateConfigurationCommand";
76
+ import { UpdateConnectorCommand, } from "./commands/UpdateConnectorCommand";
77
+ import { UpdateConnectorScanConfigurationCommand, } from "./commands/UpdateConnectorScanConfigurationCommand";
72
78
  import { UpdateEc2DeepInspectionConfigurationCommand, } from "./commands/UpdateEc2DeepInspectionConfigurationCommand";
73
79
  import { UpdateEncryptionKeyCommand, } from "./commands/UpdateEncryptionKeyCommand";
74
80
  import { UpdateFilterCommand, } from "./commands/UpdateFilterCommand";
@@ -82,6 +88,8 @@ import { paginateListCisScanConfigurations } from "./pagination/ListCisScanConfi
82
88
  import { paginateListCisScanResultsAggregatedByChecks, } from "./pagination/ListCisScanResultsAggregatedByChecksPaginator";
83
89
  import { paginateListCisScanResultsAggregatedByTargetResource, } from "./pagination/ListCisScanResultsAggregatedByTargetResourcePaginator";
84
90
  import { paginateListCisScans } from "./pagination/ListCisScansPaginator";
91
+ import { paginateListConnectorScanConfigurations } from "./pagination/ListConnectorScanConfigurationsPaginator";
92
+ import { paginateListConnectors } from "./pagination/ListConnectorsPaginator";
85
93
  import { paginateListCoverage } from "./pagination/ListCoveragePaginator";
86
94
  import { paginateListCoverageStatistics } from "./pagination/ListCoverageStatisticsPaginator";
87
95
  import { paginateListDelegatedAdminAccounts } from "./pagination/ListDelegatedAdminAccountsPaginator";
@@ -91,6 +99,9 @@ import { paginateListFindings } from "./pagination/ListFindingsPaginator";
91
99
  import { paginateListMembers } from "./pagination/ListMembersPaginator";
92
100
  import { paginateListUsageTotals } from "./pagination/ListUsageTotalsPaginator";
93
101
  import { paginateSearchVulnerabilities } from "./pagination/SearchVulnerabilitiesPaginator";
102
+ import { waitUntilConnectorConnected } from "./waiters/waitForConnectorConnected";
103
+ import { waitUntilConnectorDeleted } from "./waiters/waitForConnectorDeleted";
104
+ import { waitUntilConnectorEnabled } from "./waiters/waitForConnectorEnabled";
94
105
  const commands = {
95
106
  AssociateMemberCommand,
96
107
  BatchAssociateCodeSecurityScanConfigurationCommand,
@@ -106,12 +117,14 @@ const commands = {
106
117
  CreateCisScanConfigurationCommand,
107
118
  CreateCodeSecurityIntegrationCommand,
108
119
  CreateCodeSecurityScanConfigurationCommand,
120
+ CreateConnectorCommand,
109
121
  CreateFilterCommand,
110
122
  CreateFindingsReportCommand,
111
123
  CreateSbomExportCommand,
112
124
  DeleteCisScanConfigurationCommand,
113
125
  DeleteCodeSecurityIntegrationCommand,
114
126
  DeleteCodeSecurityScanConfigurationCommand,
127
+ DeleteConnectorCommand,
115
128
  DeleteFilterCommand,
116
129
  DescribeOrganizationConfigurationCommand,
117
130
  DisableCommand,
@@ -140,6 +153,8 @@ const commands = {
140
153
  ListCodeSecurityIntegrationsCommand,
141
154
  ListCodeSecurityScanConfigurationAssociationsCommand,
142
155
  ListCodeSecurityScanConfigurationsCommand,
156
+ ListConnectorsCommand,
157
+ ListConnectorScanConfigurationsCommand,
143
158
  ListCoverageCommand,
144
159
  ListCoverageStatisticsCommand,
145
160
  ListDelegatedAdminAccountsCommand,
@@ -162,6 +177,8 @@ const commands = {
162
177
  UpdateCodeSecurityIntegrationCommand,
163
178
  UpdateCodeSecurityScanConfigurationCommand,
164
179
  UpdateConfigurationCommand,
180
+ UpdateConnectorCommand,
181
+ UpdateConnectorScanConfigurationCommand,
165
182
  UpdateEc2DeepInspectionConfigurationCommand,
166
183
  UpdateEncryptionKeyCommand,
167
184
  UpdateFilterCommand,
@@ -176,6 +193,8 @@ const paginators = {
176
193
  paginateListCisScanResultsAggregatedByChecks,
177
194
  paginateListCisScanResultsAggregatedByTargetResource,
178
195
  paginateListCisScans,
196
+ paginateListConnectors,
197
+ paginateListConnectorScanConfigurations,
179
198
  paginateListCoverage,
180
199
  paginateListCoverageStatistics,
181
200
  paginateListDelegatedAdminAccounts,
@@ -186,6 +205,11 @@ const paginators = {
186
205
  paginateListUsageTotals,
187
206
  paginateSearchVulnerabilities,
188
207
  };
208
+ const waiters = {
209
+ waitUntilConnectorEnabled,
210
+ waitUntilConnectorDeleted,
211
+ waitUntilConnectorConnected,
212
+ };
189
213
  export class Inspector2 extends Inspector2Client {
190
214
  }
191
- createAggregatedClient(commands, Inspector2, { paginators });
215
+ createAggregatedClient(commands, Inspector2, { paginators, waiters });
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateConnector$ } from "../schemas/schemas_0";
3
+ export class CreateConnectorCommand extends command(_ep0, _mw0, "CreateConnector", CreateConnector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteConnector$ } from "../schemas/schemas_0";
3
+ export class DeleteConnectorCommand extends command(_ep0, _mw0, "DeleteConnector", DeleteConnector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListConnectorScanConfigurations$ } from "../schemas/schemas_0";
3
+ export class ListConnectorScanConfigurationsCommand extends command(_ep0, _mw0, "ListConnectorScanConfigurations", ListConnectorScanConfigurations$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListConnectors$ } from "../schemas/schemas_0";
3
+ export class ListConnectorsCommand extends command(_ep0, _mw0, "ListConnectors", ListConnectors$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateConnector$ } from "../schemas/schemas_0";
3
+ export class UpdateConnectorCommand extends command(_ep0, _mw0, "UpdateConnector", UpdateConnector$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { UpdateConnectorScanConfiguration$ } from "../schemas/schemas_0";
3
+ export class UpdateConnectorScanConfigurationCommand extends command(_ep0, _mw0, "UpdateConnectorScanConfiguration", UpdateConnectorScanConfiguration$) {
4
+ }
@@ -12,12 +12,14 @@ export * from "./CancelSbomExportCommand";
12
12
  export * from "./CreateCisScanConfigurationCommand";
13
13
  export * from "./CreateCodeSecurityIntegrationCommand";
14
14
  export * from "./CreateCodeSecurityScanConfigurationCommand";
15
+ export * from "./CreateConnectorCommand";
15
16
  export * from "./CreateFilterCommand";
16
17
  export * from "./CreateFindingsReportCommand";
17
18
  export * from "./CreateSbomExportCommand";
18
19
  export * from "./DeleteCisScanConfigurationCommand";
19
20
  export * from "./DeleteCodeSecurityIntegrationCommand";
20
21
  export * from "./DeleteCodeSecurityScanConfigurationCommand";
22
+ export * from "./DeleteConnectorCommand";
21
23
  export * from "./DeleteFilterCommand";
22
24
  export * from "./DescribeOrganizationConfigurationCommand";
23
25
  export * from "./DisableCommand";
@@ -46,6 +48,8 @@ export * from "./ListCisScansCommand";
46
48
  export * from "./ListCodeSecurityIntegrationsCommand";
47
49
  export * from "./ListCodeSecurityScanConfigurationAssociationsCommand";
48
50
  export * from "./ListCodeSecurityScanConfigurationsCommand";
51
+ export * from "./ListConnectorScanConfigurationsCommand";
52
+ export * from "./ListConnectorsCommand";
49
53
  export * from "./ListCoverageCommand";
50
54
  export * from "./ListCoverageStatisticsCommand";
51
55
  export * from "./ListDelegatedAdminAccountsCommand";
@@ -68,6 +72,8 @@ export * from "./UpdateCisScanConfigurationCommand";
68
72
  export * from "./UpdateCodeSecurityIntegrationCommand";
69
73
  export * from "./UpdateCodeSecurityScanConfigurationCommand";
70
74
  export * from "./UpdateConfigurationCommand";
75
+ export * from "./UpdateConnectorCommand";
76
+ export * from "./UpdateConnectorScanConfigurationCommand";
71
77
  export * from "./UpdateEc2DeepInspectionConfigurationCommand";
72
78
  export * from "./UpdateEncryptionKeyCommand";
73
79
  export * from "./UpdateFilterCommand";
package/dist-es/index.js CHANGED
@@ -4,6 +4,7 @@ export * from "./commands";
4
4
  export { Command as $Command } from "@smithy/core/client";
5
5
  export * from "./schemas/schemas_0";
6
6
  export * from "./pagination";
7
+ export * from "./waiters";
7
8
  export * from "./models/enums";
8
9
  export * from "./models/errors";
9
10
  export * from "./models/models_0";
@@ -16,6 +16,9 @@ export const AggregationResourceType = {
16
16
  AWS_ECR_CONTAINER_IMAGE: "AWS_ECR_CONTAINER_IMAGE",
17
17
  AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
18
18
  CODE_REPOSITORY: "CODE_REPOSITORY",
19
+ MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines",
20
+ MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage",
21
+ MICROSOFT_WEB_SITES: "Microsoft.Web/sites",
19
22
  };
20
23
  export const AccountSortBy = {
21
24
  ALL: "ALL",
@@ -71,6 +74,11 @@ export const CodeRepositorySortBy = {
71
74
  CRITICAL: "CRITICAL",
72
75
  HIGH: "HIGH",
73
76
  };
77
+ export const ContainerImageSortBy = {
78
+ ALL: "ALL",
79
+ CRITICAL: "CRITICAL",
80
+ HIGH: "HIGH",
81
+ };
74
82
  export const MapComparison = {
75
83
  EQUALS: "EQUALS",
76
84
  };
@@ -111,11 +119,26 @@ export const RepositorySortBy = {
111
119
  CRITICAL: "CRITICAL",
112
120
  HIGH: "HIGH",
113
121
  };
122
+ export const ServerlessFunctionSortBy = {
123
+ ALL: "ALL",
124
+ CRITICAL: "CRITICAL",
125
+ HIGH: "HIGH",
126
+ };
114
127
  export const TitleSortBy = {
115
128
  ALL: "ALL",
116
129
  CRITICAL: "CRITICAL",
117
130
  HIGH: "HIGH",
118
131
  };
132
+ export const VmInstanceSortBy = {
133
+ ALL: "ALL",
134
+ CRITICAL: "CRITICAL",
135
+ HIGH: "HIGH",
136
+ NETWORK_FINDINGS: "NETWORK_FINDINGS",
137
+ };
138
+ export const Provider = {
139
+ AWS: "AWS",
140
+ AZURE: "AZURE",
141
+ };
119
142
  export const AggregationType = {
120
143
  ACCOUNT: "ACCOUNT",
121
144
  AMI: "AMI",
@@ -123,12 +146,15 @@ export const AggregationType = {
123
146
  AWS_ECR_CONTAINER: "AWS_ECR_CONTAINER",
124
147
  AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
125
148
  CODE_REPOSITORY: "CODE_REPOSITORY",
149
+ CONTAINER_IMAGE: "CONTAINER_IMAGE",
126
150
  FINDING_TYPE: "FINDING_TYPE",
127
151
  IMAGE_LAYER: "IMAGE_LAYER",
128
152
  LAMBDA_LAYER: "LAMBDA_LAYER",
129
153
  PACKAGE: "PACKAGE",
130
154
  REPOSITORY: "REPOSITORY",
155
+ SERVERLESS_FUNCTION: "SERVERLESS_FUNCTION",
131
156
  TITLE: "TITLE",
157
+ VM_INSTANCE: "VM_INSTANCE",
132
158
  };
133
159
  export const Architecture = {
134
160
  ARM64: "ARM64",
@@ -147,6 +173,9 @@ export const AssociationResultStatusCode = {
147
173
  RESOURCE_NOT_FOUND: "RESOURCE_NOT_FOUND",
148
174
  SCAN_CONFIGURATION_NOT_FOUND: "SCAN_CONFIGURATION_NOT_FOUND",
149
175
  };
176
+ export const AwsConfigConnectorArnComparison = {
177
+ EQUALS: "EQUALS",
178
+ };
150
179
  export const PackageType = {
151
180
  IMAGE: "IMAGE",
152
181
  ZIP: "ZIP",
@@ -159,6 +188,8 @@ export const Runtime = {
159
188
  GO_1_X: "GO_1_X",
160
189
  JAVA_11: "JAVA_11",
161
190
  JAVA_17: "JAVA_17",
191
+ JAVA_21: "JAVA_21",
192
+ JAVA_25: "JAVA_25",
162
193
  JAVA_8: "JAVA_8",
163
194
  JAVA_8_AL2: "JAVA_8_AL2",
164
195
  NODEJS: "NODEJS",
@@ -166,6 +197,7 @@ export const Runtime = {
166
197
  NODEJS_14_X: "NODEJS_14_X",
167
198
  NODEJS_16_X: "NODEJS_16_X",
168
199
  NODEJS_18_X: "NODEJS_18_X",
200
+ NODEJS_22_X: "NODEJS_22_X",
169
201
  NODEJS_24_X: "NODEJS_24_X",
170
202
  PYTHON_3_10: "PYTHON_3_10",
171
203
  PYTHON_3_11: "PYTHON_3_11",
@@ -176,6 +208,16 @@ export const Runtime = {
176
208
  RUBY_3_2: "RUBY_3_2",
177
209
  UNSUPPORTED: "UNSUPPORTED",
178
210
  };
211
+ export const ScopeType = {
212
+ SUBSCRIPTION: "SUBSCRIPTION",
213
+ TENANT: "TENANT",
214
+ };
215
+ export const ScopeState = {
216
+ ACTIVE: "ACTIVE",
217
+ DISABLED: "DISABLED",
218
+ ERROR: "ERROR",
219
+ PENDING: "PENDING",
220
+ };
179
221
  export const CodeSnippetErrorCode = {
180
222
  ACCESS_DENIED: "ACCESS_DENIED",
181
223
  CODE_SNIPPET_NOT_FOUND: "CODE_SNIPPET_NOT_FOUND",
@@ -188,16 +230,24 @@ export const FindingDetailsErrorCode = {
188
230
  INTERNAL_ERROR: "INTERNAL_ERROR",
189
231
  INVALID_INPUT: "INVALID_INPUT",
190
232
  };
233
+ export const CloudProvider = {
234
+ AWS: "AWS",
235
+ AZURE: "AZURE",
236
+ NOT_APPLICABLE: "NOT_APPLICABLE",
237
+ };
191
238
  export const FreeTrialStatus = {
192
239
  ACTIVE: "ACTIVE",
193
240
  INACTIVE: "INACTIVE",
194
241
  };
195
242
  export const FreeTrialType = {
196
243
  CODE_REPOSITORY: "CODE_REPOSITORY",
244
+ CONTAINER_IMAGE: "CONTAINER_IMAGE",
197
245
  EC2: "EC2",
198
246
  ECR: "ECR",
199
247
  LAMBDA: "LAMBDA",
200
248
  LAMBDA_CODE: "LAMBDA_CODE",
249
+ SERVERLESS_FUNCTION: "SERVERLESS_FUNCTION",
250
+ VM: "VM",
201
251
  };
202
252
  export const FreeTrialInfoErrorCode = {
203
253
  ACCESS_DENIED: "ACCESS_DENIED",
@@ -336,7 +386,9 @@ export const ScanStatusReason = {
336
386
  PENDING_DISABLE: "PENDING_DISABLE",
337
387
  PENDING_INITIAL_SCAN: "PENDING_INITIAL_SCAN",
338
388
  PENDING_REVIVAL_SCAN: "PENDING_REVIVAL_SCAN",
389
+ RESOURCE_STOPPED: "RESOURCE_STOPPED",
339
390
  RESOURCE_TERMINATED: "RESOURCE_TERMINATED",
391
+ RESOURCE_UNMANAGED: "RESOURCE_UNMANAGED",
340
392
  SCAN_ELIGIBILITY_EXPIRED: "SCAN_ELIGIBILITY_EXPIRED",
341
393
  SCAN_FREQUENCY_MANUAL: "SCAN_FREQUENCY_MANUAL",
342
394
  SCAN_FREQUENCY_SCAN_ON_PUSH: "SCAN_FREQUENCY_SCAN_ON_PUSH",
@@ -393,9 +445,66 @@ export const ConfigurationLevel = {
393
445
  ACCOUNT: "ACCOUNT",
394
446
  ORGANIZATION: "ORGANIZATION",
395
447
  };
448
+ export const EnablementStatus = {
449
+ DELETED: "DELETED",
450
+ ENABLED: "ENABLED",
451
+ FAILED_TO_DELETE: "FAILED_TO_DELETE",
452
+ FAILED_TO_ENABLE: "FAILED_TO_ENABLE",
453
+ FAILED_TO_UPDATE: "FAILED_TO_UPDATE",
454
+ PENDING_DELETION: "PENDING_DELETION",
455
+ PENDING_ENABLEMENT: "PENDING_ENABLEMENT",
456
+ PENDING_UPDATE: "PENDING_UPDATE",
457
+ };
458
+ export const ConnectorHealthStatus = {
459
+ CONNECTED: "CONNECTED",
460
+ DEGRADED: "DEGRADED",
461
+ FAILED_TO_CONNECT: "FAILED_TO_CONNECT",
462
+ PENDING_AUTHORIZATION: "PENDING_AUTHORIZATION",
463
+ PENDING_CONFIGURATION: "PENDING_CONFIGURATION",
464
+ UNKNOWN: "UNKNOWN",
465
+ };
466
+ export const ConnectorCloudProvider = {
467
+ AZURE: "AZURE",
468
+ };
469
+ export const ConnectorArnComparison = {
470
+ EQUALS: "EQUALS",
471
+ };
472
+ export const ContainerImagePullDateRescanDuration = {
473
+ DAYS_14: "DAYS_14",
474
+ DAYS_180: "DAYS_180",
475
+ DAYS_3: "DAYS_3",
476
+ DAYS_30: "DAYS_30",
477
+ DAYS_60: "DAYS_60",
478
+ DAYS_7: "DAYS_7",
479
+ DAYS_90: "DAYS_90",
480
+ };
481
+ export const ContainerImageRescanDuration = {
482
+ DAYS_14: "DAYS_14",
483
+ DAYS_180: "DAYS_180",
484
+ DAYS_3: "DAYS_3",
485
+ DAYS_30: "DAYS_30",
486
+ DAYS_60: "DAYS_60",
487
+ DAYS_7: "DAYS_7",
488
+ DAYS_90: "DAYS_90",
489
+ LIFETIME: "LIFETIME",
490
+ };
491
+ export const ConnectorTypeComparison = {
492
+ EQUALS: "EQUALS",
493
+ };
494
+ export const ConnectorType = {
495
+ CUSTOMER_MANAGED: "CUSTOMER_MANAGED",
496
+ SERVICE_LINKED: "SERVICE_LINKED",
497
+ };
498
+ export const ProviderComparison = {
499
+ EQUALS: "EQUALS",
500
+ };
396
501
  export const GroupKey = {
397
502
  ACCOUNT_ID: "ACCOUNT_ID",
398
503
  ECR_REPOSITORY_NAME: "ECR_REPOSITORY_NAME",
504
+ PROVIDER: "PROVIDER",
505
+ PROVIDER_ACCOUNT_ID: "PROVIDER_ACCOUNT_ID",
506
+ PROVIDER_ORG_ID: "PROVIDER_ORG_ID",
507
+ PROVIDER_REGION: "PROVIDER_REGION",
399
508
  RESOURCE_TYPE: "RESOURCE_TYPE",
400
509
  SCAN_STATUS_CODE: "SCAN_STATUS_CODE",
401
510
  SCAN_STATUS_REASON: "SCAN_STATUS_REASON",
@@ -413,6 +522,11 @@ export const CoverageResourceType = {
413
522
  AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
414
523
  AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
415
524
  CODE_REPOSITORY: "CODE_REPOSITORY",
525
+ MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines",
526
+ MICROSOFT_CONTAINER_REGISTRY_REGISTRIES: "Microsoft.ContainerRegistry/registries",
527
+ MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage",
528
+ MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_REPOSITORY: "Microsoft.ContainerRegistry/registry/containerRepository",
529
+ MICROSOFT_WEB_SITES: "Microsoft.Web/sites",
416
530
  };
417
531
  export const Ec2Platform = {
418
532
  LINUX: "LINUX",
@@ -425,10 +539,16 @@ export const EcrScanFrequency = {
425
539
  MANUAL: "MANUAL",
426
540
  SCAN_ON_PUSH: "SCAN_ON_PUSH",
427
541
  };
542
+ export const VmPlatform = {
543
+ LINUX: "LINUX",
544
+ UNKNOWN: "UNKNOWN",
545
+ WINDOWS: "WINDOWS",
546
+ };
428
547
  export const ScanMode = {
429
548
  EC2_AGENTLESS: "EC2_AGENTLESS",
430
549
  EC2_INSPECTOR_AGENT_BASED: "EC2_INSPECTOR_AGENT_BASED",
431
550
  EC2_SSM_AGENT_BASED: "EC2_SSM_AGENT_BASED",
551
+ VM_INSPECTOR_AGENT_BASED: "VM_INSPECTOR_AGENT_BASED",
432
552
  };
433
553
  export const ScanType = {
434
554
  CODE: "CODE",
@@ -564,6 +684,9 @@ export const ResourceType = {
564
684
  AWS_ECR_REPOSITORY: "AWS_ECR_REPOSITORY",
565
685
  AWS_LAMBDA_FUNCTION: "AWS_LAMBDA_FUNCTION",
566
686
  CODE_REPOSITORY: "CODE_REPOSITORY",
687
+ MICROSOFT_COMPUTE_VIRTUAL_MACHINES: "Microsoft.Compute/virtualMachines",
688
+ MICROSOFT_CONTAINER_REGISTRY_REGISTRY_CONTAINER_IMAGE: "Microsoft.ContainerRegistry/registry/containerImage",
689
+ MICROSOFT_WEB_SITES: "Microsoft.Web/sites",
567
690
  };
568
691
  export const Severity = {
569
692
  CRITICAL: "CRITICAL",
@@ -591,6 +714,9 @@ export const ReportingErrorCode = {
591
714
  MALFORMED_KMS_KEY: "MALFORMED_KMS_KEY",
592
715
  NO_FINDINGS_FOUND: "NO_FINDINGS_FOUND",
593
716
  };
717
+ export const InheritanceMode = {
718
+ INHERIT_FROM_ADMIN: "INHERIT_FROM_ADMIN",
719
+ };
594
720
  export const Service = {
595
721
  EC2: "EC2",
596
722
  ECR: "ECR",
@@ -632,6 +758,10 @@ export const SortField = {
632
758
  VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE",
633
759
  };
634
760
  export const UsageType = {
761
+ AZURE_CONTAINER_IMAGE_INITIAL_SCAN: "AZURE_CONTAINER_IMAGE_INITIAL_SCAN",
762
+ AZURE_CONTAINER_IMAGE_RESCAN: "AZURE_CONTAINER_IMAGE_RESCAN",
763
+ AZURE_SERVERLESS_FUNCTION_HOURS: "AZURE_SERVERLESS_FUNCTION_HOURS",
764
+ AZURE_VM_AGENT_BASED_INSTANCE_HOURS: "AZURE_VM_AGENT_BASED_INSTANCE_HOURS",
635
765
  CODE_REPOSITORY_IAC: "CODE_REPOSITORY_IAC",
636
766
  CODE_REPOSITORY_SAST: "CODE_REPOSITORY_SAST",
637
767
  CODE_REPOSITORY_SCA: "CODE_REPOSITORY_SCA",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListConnectorScanConfigurationsCommand, } from "../commands/ListConnectorScanConfigurationsCommand";
3
+ import { Inspector2Client } from "../Inspector2Client";
4
+ export const paginateListConnectorScanConfigurations = createPaginator(Inspector2Client, ListConnectorScanConfigurationsCommand, "nextToken", "nextToken", "maxResults");
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListConnectorsCommand, } from "../commands/ListConnectorsCommand";
3
+ import { Inspector2Client } from "../Inspector2Client";
4
+ export const paginateListConnectors = createPaginator(Inspector2Client, ListConnectorsCommand, "nextToken", "nextToken", "maxResults");
@@ -6,6 +6,8 @@ export * from "./ListCisScanConfigurationsPaginator";
6
6
  export * from "./ListCisScanResultsAggregatedByChecksPaginator";
7
7
  export * from "./ListCisScanResultsAggregatedByTargetResourcePaginator";
8
8
  export * from "./ListCisScansPaginator";
9
+ export * from "./ListConnectorsPaginator";
10
+ export * from "./ListConnectorScanConfigurationsPaginator";
9
11
  export * from "./ListCoveragePaginator";
10
12
  export * from "./ListCoverageStatisticsPaginator";
11
13
  export * from "./ListDelegatedAdminAccountsPaginator";