@aws-sdk/client-inspector 3.35.0 → 3.36.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 (301) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist-cjs/Inspector.js +0 -1
  3. package/dist-cjs/InspectorClient.js +0 -1
  4. package/dist-cjs/commands/AddAttributesToFindingsCommand.js +0 -1
  5. package/dist-cjs/commands/CreateAssessmentTargetCommand.js +0 -1
  6. package/dist-cjs/commands/CreateAssessmentTemplateCommand.js +0 -1
  7. package/dist-cjs/commands/CreateExclusionsPreviewCommand.js +0 -1
  8. package/dist-cjs/commands/CreateResourceGroupCommand.js +0 -1
  9. package/dist-cjs/commands/DeleteAssessmentRunCommand.js +0 -1
  10. package/dist-cjs/commands/DeleteAssessmentTargetCommand.js +0 -1
  11. package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js +0 -1
  12. package/dist-cjs/commands/DescribeAssessmentRunsCommand.js +0 -1
  13. package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js +0 -1
  14. package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js +0 -1
  15. package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js +0 -1
  16. package/dist-cjs/commands/DescribeExclusionsCommand.js +0 -1
  17. package/dist-cjs/commands/DescribeFindingsCommand.js +0 -1
  18. package/dist-cjs/commands/DescribeResourceGroupsCommand.js +0 -1
  19. package/dist-cjs/commands/DescribeRulesPackagesCommand.js +0 -1
  20. package/dist-cjs/commands/GetAssessmentReportCommand.js +0 -1
  21. package/dist-cjs/commands/GetExclusionsPreviewCommand.js +0 -1
  22. package/dist-cjs/commands/GetTelemetryMetadataCommand.js +0 -1
  23. package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js +0 -1
  24. package/dist-cjs/commands/ListAssessmentRunsCommand.js +0 -1
  25. package/dist-cjs/commands/ListAssessmentTargetsCommand.js +0 -1
  26. package/dist-cjs/commands/ListAssessmentTemplatesCommand.js +0 -1
  27. package/dist-cjs/commands/ListEventSubscriptionsCommand.js +0 -1
  28. package/dist-cjs/commands/ListExclusionsCommand.js +0 -1
  29. package/dist-cjs/commands/ListFindingsCommand.js +0 -1
  30. package/dist-cjs/commands/ListRulesPackagesCommand.js +0 -1
  31. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -1
  32. package/dist-cjs/commands/PreviewAgentsCommand.js +0 -1
  33. package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js +0 -1
  34. package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js +0 -1
  35. package/dist-cjs/commands/SetTagsForResourceCommand.js +0 -1
  36. package/dist-cjs/commands/StartAssessmentRunCommand.js +0 -1
  37. package/dist-cjs/commands/StopAssessmentRunCommand.js +0 -1
  38. package/dist-cjs/commands/SubscribeToEventCommand.js +0 -1
  39. package/dist-cjs/commands/UnsubscribeFromEventCommand.js +0 -1
  40. package/dist-cjs/commands/UpdateAssessmentTargetCommand.js +0 -1
  41. package/dist-cjs/endpoints.js +0 -1
  42. package/dist-cjs/index.js +0 -1
  43. package/dist-cjs/models/index.js +0 -1
  44. package/dist-cjs/models/models_0.js +0 -1
  45. package/dist-cjs/pagination/GetExclusionsPreviewPaginator.js +0 -1
  46. package/dist-cjs/pagination/Interfaces.js +0 -1
  47. package/dist-cjs/pagination/ListAssessmentRunAgentsPaginator.js +0 -1
  48. package/dist-cjs/pagination/ListAssessmentRunsPaginator.js +0 -1
  49. package/dist-cjs/pagination/ListAssessmentTargetsPaginator.js +0 -1
  50. package/dist-cjs/pagination/ListAssessmentTemplatesPaginator.js +0 -1
  51. package/dist-cjs/pagination/ListEventSubscriptionsPaginator.js +0 -1
  52. package/dist-cjs/pagination/ListExclusionsPaginator.js +0 -1
  53. package/dist-cjs/pagination/ListFindingsPaginator.js +0 -1
  54. package/dist-cjs/pagination/ListRulesPackagesPaginator.js +0 -1
  55. package/dist-cjs/pagination/PreviewAgentsPaginator.js +0 -1
  56. package/dist-cjs/protocols/Aws_json1_1.js +0 -1
  57. package/dist-cjs/runtimeConfig.browser.js +2 -3
  58. package/dist-cjs/runtimeConfig.js +3 -4
  59. package/dist-cjs/runtimeConfig.native.js +0 -1
  60. package/dist-cjs/runtimeConfig.shared.js +0 -1
  61. package/dist-es/Inspector.js +0 -1
  62. package/dist-es/InspectorClient.js +0 -1
  63. package/dist-es/commands/AddAttributesToFindingsCommand.js +0 -1
  64. package/dist-es/commands/CreateAssessmentTargetCommand.js +0 -1
  65. package/dist-es/commands/CreateAssessmentTemplateCommand.js +0 -1
  66. package/dist-es/commands/CreateExclusionsPreviewCommand.js +0 -1
  67. package/dist-es/commands/CreateResourceGroupCommand.js +0 -1
  68. package/dist-es/commands/DeleteAssessmentRunCommand.js +0 -1
  69. package/dist-es/commands/DeleteAssessmentTargetCommand.js +0 -1
  70. package/dist-es/commands/DeleteAssessmentTemplateCommand.js +0 -1
  71. package/dist-es/commands/DescribeAssessmentRunsCommand.js +0 -1
  72. package/dist-es/commands/DescribeAssessmentTargetsCommand.js +0 -1
  73. package/dist-es/commands/DescribeAssessmentTemplatesCommand.js +0 -1
  74. package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js +0 -1
  75. package/dist-es/commands/DescribeExclusionsCommand.js +0 -1
  76. package/dist-es/commands/DescribeFindingsCommand.js +0 -1
  77. package/dist-es/commands/DescribeResourceGroupsCommand.js +0 -1
  78. package/dist-es/commands/DescribeRulesPackagesCommand.js +0 -1
  79. package/dist-es/commands/GetAssessmentReportCommand.js +0 -1
  80. package/dist-es/commands/GetExclusionsPreviewCommand.js +0 -1
  81. package/dist-es/commands/GetTelemetryMetadataCommand.js +0 -1
  82. package/dist-es/commands/ListAssessmentRunAgentsCommand.js +0 -1
  83. package/dist-es/commands/ListAssessmentRunsCommand.js +0 -1
  84. package/dist-es/commands/ListAssessmentTargetsCommand.js +0 -1
  85. package/dist-es/commands/ListAssessmentTemplatesCommand.js +0 -1
  86. package/dist-es/commands/ListEventSubscriptionsCommand.js +0 -1
  87. package/dist-es/commands/ListExclusionsCommand.js +0 -1
  88. package/dist-es/commands/ListFindingsCommand.js +0 -1
  89. package/dist-es/commands/ListRulesPackagesCommand.js +0 -1
  90. package/dist-es/commands/ListTagsForResourceCommand.js +0 -1
  91. package/dist-es/commands/PreviewAgentsCommand.js +0 -1
  92. package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js +0 -1
  93. package/dist-es/commands/RemoveAttributesFromFindingsCommand.js +0 -1
  94. package/dist-es/commands/SetTagsForResourceCommand.js +0 -1
  95. package/dist-es/commands/StartAssessmentRunCommand.js +0 -1
  96. package/dist-es/commands/StopAssessmentRunCommand.js +0 -1
  97. package/dist-es/commands/SubscribeToEventCommand.js +0 -1
  98. package/dist-es/commands/UnsubscribeFromEventCommand.js +0 -1
  99. package/dist-es/commands/UpdateAssessmentTargetCommand.js +0 -1
  100. package/dist-es/endpoints.js +0 -1
  101. package/dist-es/index.js +0 -1
  102. package/dist-es/models/index.js +0 -1
  103. package/dist-es/models/models_0.js +0 -1
  104. package/dist-es/pagination/GetExclusionsPreviewPaginator.js +0 -1
  105. package/dist-es/pagination/Interfaces.js +0 -1
  106. package/dist-es/pagination/ListAssessmentRunAgentsPaginator.js +0 -1
  107. package/dist-es/pagination/ListAssessmentRunsPaginator.js +0 -1
  108. package/dist-es/pagination/ListAssessmentTargetsPaginator.js +0 -1
  109. package/dist-es/pagination/ListAssessmentTemplatesPaginator.js +0 -1
  110. package/dist-es/pagination/ListEventSubscriptionsPaginator.js +0 -1
  111. package/dist-es/pagination/ListExclusionsPaginator.js +0 -1
  112. package/dist-es/pagination/ListFindingsPaginator.js +0 -1
  113. package/dist-es/pagination/ListRulesPackagesPaginator.js +0 -1
  114. package/dist-es/pagination/PreviewAgentsPaginator.js +0 -1
  115. package/dist-es/protocols/Aws_json1_1.js +0 -1
  116. package/dist-es/runtimeConfig.browser.js +1 -2
  117. package/dist-es/runtimeConfig.js +2 -3
  118. package/dist-es/runtimeConfig.native.js +0 -1
  119. package/dist-es/runtimeConfig.shared.js +0 -1
  120. package/package.json +33 -30
  121. package/dist-cjs/Inspector.js.map +0 -1
  122. package/dist-cjs/InspectorClient.js.map +0 -1
  123. package/dist-cjs/commands/AddAttributesToFindingsCommand.js.map +0 -1
  124. package/dist-cjs/commands/CreateAssessmentTargetCommand.js.map +0 -1
  125. package/dist-cjs/commands/CreateAssessmentTemplateCommand.js.map +0 -1
  126. package/dist-cjs/commands/CreateExclusionsPreviewCommand.js.map +0 -1
  127. package/dist-cjs/commands/CreateResourceGroupCommand.js.map +0 -1
  128. package/dist-cjs/commands/DeleteAssessmentRunCommand.js.map +0 -1
  129. package/dist-cjs/commands/DeleteAssessmentTargetCommand.js.map +0 -1
  130. package/dist-cjs/commands/DeleteAssessmentTemplateCommand.js.map +0 -1
  131. package/dist-cjs/commands/DescribeAssessmentRunsCommand.js.map +0 -1
  132. package/dist-cjs/commands/DescribeAssessmentTargetsCommand.js.map +0 -1
  133. package/dist-cjs/commands/DescribeAssessmentTemplatesCommand.js.map +0 -1
  134. package/dist-cjs/commands/DescribeCrossAccountAccessRoleCommand.js.map +0 -1
  135. package/dist-cjs/commands/DescribeExclusionsCommand.js.map +0 -1
  136. package/dist-cjs/commands/DescribeFindingsCommand.js.map +0 -1
  137. package/dist-cjs/commands/DescribeResourceGroupsCommand.js.map +0 -1
  138. package/dist-cjs/commands/DescribeRulesPackagesCommand.js.map +0 -1
  139. package/dist-cjs/commands/GetAssessmentReportCommand.js.map +0 -1
  140. package/dist-cjs/commands/GetExclusionsPreviewCommand.js.map +0 -1
  141. package/dist-cjs/commands/GetTelemetryMetadataCommand.js.map +0 -1
  142. package/dist-cjs/commands/ListAssessmentRunAgentsCommand.js.map +0 -1
  143. package/dist-cjs/commands/ListAssessmentRunsCommand.js.map +0 -1
  144. package/dist-cjs/commands/ListAssessmentTargetsCommand.js.map +0 -1
  145. package/dist-cjs/commands/ListAssessmentTemplatesCommand.js.map +0 -1
  146. package/dist-cjs/commands/ListEventSubscriptionsCommand.js.map +0 -1
  147. package/dist-cjs/commands/ListExclusionsCommand.js.map +0 -1
  148. package/dist-cjs/commands/ListFindingsCommand.js.map +0 -1
  149. package/dist-cjs/commands/ListRulesPackagesCommand.js.map +0 -1
  150. package/dist-cjs/commands/ListTagsForResourceCommand.js.map +0 -1
  151. package/dist-cjs/commands/PreviewAgentsCommand.js.map +0 -1
  152. package/dist-cjs/commands/RegisterCrossAccountAccessRoleCommand.js.map +0 -1
  153. package/dist-cjs/commands/RemoveAttributesFromFindingsCommand.js.map +0 -1
  154. package/dist-cjs/commands/SetTagsForResourceCommand.js.map +0 -1
  155. package/dist-cjs/commands/StartAssessmentRunCommand.js.map +0 -1
  156. package/dist-cjs/commands/StopAssessmentRunCommand.js.map +0 -1
  157. package/dist-cjs/commands/SubscribeToEventCommand.js.map +0 -1
  158. package/dist-cjs/commands/UnsubscribeFromEventCommand.js.map +0 -1
  159. package/dist-cjs/commands/UpdateAssessmentTargetCommand.js.map +0 -1
  160. package/dist-cjs/endpoints.js.map +0 -1
  161. package/dist-cjs/index.js.map +0 -1
  162. package/dist-cjs/models/index.js.map +0 -1
  163. package/dist-cjs/models/models_0.js.map +0 -1
  164. package/dist-cjs/pagination/GetExclusionsPreviewPaginator.js.map +0 -1
  165. package/dist-cjs/pagination/Interfaces.js.map +0 -1
  166. package/dist-cjs/pagination/ListAssessmentRunAgentsPaginator.js.map +0 -1
  167. package/dist-cjs/pagination/ListAssessmentRunsPaginator.js.map +0 -1
  168. package/dist-cjs/pagination/ListAssessmentTargetsPaginator.js.map +0 -1
  169. package/dist-cjs/pagination/ListAssessmentTemplatesPaginator.js.map +0 -1
  170. package/dist-cjs/pagination/ListEventSubscriptionsPaginator.js.map +0 -1
  171. package/dist-cjs/pagination/ListExclusionsPaginator.js.map +0 -1
  172. package/dist-cjs/pagination/ListFindingsPaginator.js.map +0 -1
  173. package/dist-cjs/pagination/ListRulesPackagesPaginator.js.map +0 -1
  174. package/dist-cjs/pagination/PreviewAgentsPaginator.js.map +0 -1
  175. package/dist-cjs/protocols/Aws_json1_1.js.map +0 -1
  176. package/dist-cjs/runtimeConfig.browser.js.map +0 -1
  177. package/dist-cjs/runtimeConfig.js.map +0 -1
  178. package/dist-cjs/runtimeConfig.native.js.map +0 -1
  179. package/dist-cjs/runtimeConfig.shared.js.map +0 -1
  180. package/dist-es/Inspector.js.map +0 -1
  181. package/dist-es/InspectorClient.js.map +0 -1
  182. package/dist-es/commands/AddAttributesToFindingsCommand.js.map +0 -1
  183. package/dist-es/commands/CreateAssessmentTargetCommand.js.map +0 -1
  184. package/dist-es/commands/CreateAssessmentTemplateCommand.js.map +0 -1
  185. package/dist-es/commands/CreateExclusionsPreviewCommand.js.map +0 -1
  186. package/dist-es/commands/CreateResourceGroupCommand.js.map +0 -1
  187. package/dist-es/commands/DeleteAssessmentRunCommand.js.map +0 -1
  188. package/dist-es/commands/DeleteAssessmentTargetCommand.js.map +0 -1
  189. package/dist-es/commands/DeleteAssessmentTemplateCommand.js.map +0 -1
  190. package/dist-es/commands/DescribeAssessmentRunsCommand.js.map +0 -1
  191. package/dist-es/commands/DescribeAssessmentTargetsCommand.js.map +0 -1
  192. package/dist-es/commands/DescribeAssessmentTemplatesCommand.js.map +0 -1
  193. package/dist-es/commands/DescribeCrossAccountAccessRoleCommand.js.map +0 -1
  194. package/dist-es/commands/DescribeExclusionsCommand.js.map +0 -1
  195. package/dist-es/commands/DescribeFindingsCommand.js.map +0 -1
  196. package/dist-es/commands/DescribeResourceGroupsCommand.js.map +0 -1
  197. package/dist-es/commands/DescribeRulesPackagesCommand.js.map +0 -1
  198. package/dist-es/commands/GetAssessmentReportCommand.js.map +0 -1
  199. package/dist-es/commands/GetExclusionsPreviewCommand.js.map +0 -1
  200. package/dist-es/commands/GetTelemetryMetadataCommand.js.map +0 -1
  201. package/dist-es/commands/ListAssessmentRunAgentsCommand.js.map +0 -1
  202. package/dist-es/commands/ListAssessmentRunsCommand.js.map +0 -1
  203. package/dist-es/commands/ListAssessmentTargetsCommand.js.map +0 -1
  204. package/dist-es/commands/ListAssessmentTemplatesCommand.js.map +0 -1
  205. package/dist-es/commands/ListEventSubscriptionsCommand.js.map +0 -1
  206. package/dist-es/commands/ListExclusionsCommand.js.map +0 -1
  207. package/dist-es/commands/ListFindingsCommand.js.map +0 -1
  208. package/dist-es/commands/ListRulesPackagesCommand.js.map +0 -1
  209. package/dist-es/commands/ListTagsForResourceCommand.js.map +0 -1
  210. package/dist-es/commands/PreviewAgentsCommand.js.map +0 -1
  211. package/dist-es/commands/RegisterCrossAccountAccessRoleCommand.js.map +0 -1
  212. package/dist-es/commands/RemoveAttributesFromFindingsCommand.js.map +0 -1
  213. package/dist-es/commands/SetTagsForResourceCommand.js.map +0 -1
  214. package/dist-es/commands/StartAssessmentRunCommand.js.map +0 -1
  215. package/dist-es/commands/StopAssessmentRunCommand.js.map +0 -1
  216. package/dist-es/commands/SubscribeToEventCommand.js.map +0 -1
  217. package/dist-es/commands/UnsubscribeFromEventCommand.js.map +0 -1
  218. package/dist-es/commands/UpdateAssessmentTargetCommand.js.map +0 -1
  219. package/dist-es/endpoints.js.map +0 -1
  220. package/dist-es/index.js.map +0 -1
  221. package/dist-es/models/index.js.map +0 -1
  222. package/dist-es/models/models_0.js.map +0 -1
  223. package/dist-es/pagination/GetExclusionsPreviewPaginator.js.map +0 -1
  224. package/dist-es/pagination/Interfaces.js.map +0 -1
  225. package/dist-es/pagination/ListAssessmentRunAgentsPaginator.js.map +0 -1
  226. package/dist-es/pagination/ListAssessmentRunsPaginator.js.map +0 -1
  227. package/dist-es/pagination/ListAssessmentTargetsPaginator.js.map +0 -1
  228. package/dist-es/pagination/ListAssessmentTemplatesPaginator.js.map +0 -1
  229. package/dist-es/pagination/ListEventSubscriptionsPaginator.js.map +0 -1
  230. package/dist-es/pagination/ListExclusionsPaginator.js.map +0 -1
  231. package/dist-es/pagination/ListFindingsPaginator.js.map +0 -1
  232. package/dist-es/pagination/ListRulesPackagesPaginator.js.map +0 -1
  233. package/dist-es/pagination/PreviewAgentsPaginator.js.map +0 -1
  234. package/dist-es/protocols/Aws_json1_1.js.map +0 -1
  235. package/dist-es/runtimeConfig.browser.js.map +0 -1
  236. package/dist-es/runtimeConfig.js.map +0 -1
  237. package/dist-es/runtimeConfig.native.js.map +0 -1
  238. package/dist-es/runtimeConfig.shared.js.map +0 -1
  239. package/jest.config.js +0 -4
  240. package/src/Inspector.ts +0 -1425
  241. package/src/InspectorClient.ts +0 -428
  242. package/src/commands/AddAttributesToFindingsCommand.ts +0 -96
  243. package/src/commands/CreateAssessmentTargetCommand.ts +0 -102
  244. package/src/commands/CreateAssessmentTemplateCommand.ts +0 -98
  245. package/src/commands/CreateExclusionsPreviewCommand.ts +0 -97
  246. package/src/commands/CreateResourceGroupCommand.ts +0 -98
  247. package/src/commands/DeleteAssessmentRunCommand.ts +0 -96
  248. package/src/commands/DeleteAssessmentTargetCommand.ts +0 -96
  249. package/src/commands/DeleteAssessmentTemplateCommand.ts +0 -96
  250. package/src/commands/DescribeAssessmentRunsCommand.ts +0 -96
  251. package/src/commands/DescribeAssessmentTargetsCommand.ts +0 -99
  252. package/src/commands/DescribeAssessmentTemplatesCommand.ts +0 -101
  253. package/src/commands/DescribeCrossAccountAccessRoleCommand.ts +0 -104
  254. package/src/commands/DescribeExclusionsCommand.ts +0 -95
  255. package/src/commands/DescribeFindingsCommand.ts +0 -95
  256. package/src/commands/DescribeResourceGroupsCommand.ts +0 -96
  257. package/src/commands/DescribeRulesPackagesCommand.ts +0 -96
  258. package/src/commands/GetAssessmentReportCommand.ts +0 -96
  259. package/src/commands/GetExclusionsPreviewCommand.ts +0 -97
  260. package/src/commands/GetTelemetryMetadataCommand.ts +0 -96
  261. package/src/commands/ListAssessmentRunAgentsCommand.ts +0 -96
  262. package/src/commands/ListAssessmentRunsCommand.ts +0 -96
  263. package/src/commands/ListAssessmentTargetsCommand.ts +0 -97
  264. package/src/commands/ListAssessmentTemplatesCommand.ts +0 -96
  265. package/src/commands/ListEventSubscriptionsCommand.ts +0 -96
  266. package/src/commands/ListExclusionsCommand.ts +0 -95
  267. package/src/commands/ListFindingsCommand.ts +0 -96
  268. package/src/commands/ListRulesPackagesCommand.ts +0 -95
  269. package/src/commands/ListTagsForResourceCommand.ts +0 -95
  270. package/src/commands/PreviewAgentsCommand.ts +0 -96
  271. package/src/commands/RegisterCrossAccountAccessRoleCommand.ts +0 -102
  272. package/src/commands/RemoveAttributesFromFindingsCommand.ts +0 -101
  273. package/src/commands/SetTagsForResourceCommand.ts +0 -96
  274. package/src/commands/StartAssessmentRunCommand.ts +0 -97
  275. package/src/commands/StopAssessmentRunCommand.ts +0 -96
  276. package/src/commands/SubscribeToEventCommand.ts +0 -96
  277. package/src/commands/UnsubscribeFromEventCommand.ts +0 -96
  278. package/src/commands/UpdateAssessmentTargetCommand.ts +0 -98
  279. package/src/endpoints.ts +0 -86
  280. package/src/index.ts +0 -51
  281. package/src/models/index.ts +0 -1
  282. package/src/models/models_0.ts +0 -3381
  283. package/src/pagination/GetExclusionsPreviewPaginator.ts +0 -59
  284. package/src/pagination/Interfaces.ts +0 -8
  285. package/src/pagination/ListAssessmentRunAgentsPaginator.ts +0 -59
  286. package/src/pagination/ListAssessmentRunsPaginator.ts +0 -59
  287. package/src/pagination/ListAssessmentTargetsPaginator.ts +0 -59
  288. package/src/pagination/ListAssessmentTemplatesPaginator.ts +0 -59
  289. package/src/pagination/ListEventSubscriptionsPaginator.ts +0 -59
  290. package/src/pagination/ListExclusionsPaginator.ts +0 -59
  291. package/src/pagination/ListFindingsPaginator.ts +0 -59
  292. package/src/pagination/ListRulesPackagesPaginator.ts +0 -59
  293. package/src/pagination/PreviewAgentsPaginator.ts +0 -59
  294. package/src/protocols/Aws_json1_1.ts +0 -5926
  295. package/src/runtimeConfig.browser.ts +0 -41
  296. package/src/runtimeConfig.native.ts +0 -17
  297. package/src/runtimeConfig.shared.ts +0 -17
  298. package/src/runtimeConfig.ts +0 -46
  299. package/tsconfig.es.json +0 -10
  300. package/tsconfig.json +0 -33
  301. package/tsconfig.types.json +0 -9
@@ -1,3381 +0,0 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
2
-
3
- export enum AccessDeniedErrorCode {
4
- ACCESS_DENIED_TO_ASSESSMENT_RUN = "ACCESS_DENIED_TO_ASSESSMENT_RUN",
5
- ACCESS_DENIED_TO_ASSESSMENT_TARGET = "ACCESS_DENIED_TO_ASSESSMENT_TARGET",
6
- ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE = "ACCESS_DENIED_TO_ASSESSMENT_TEMPLATE",
7
- ACCESS_DENIED_TO_FINDING = "ACCESS_DENIED_TO_FINDING",
8
- ACCESS_DENIED_TO_IAM_ROLE = "ACCESS_DENIED_TO_IAM_ROLE",
9
- ACCESS_DENIED_TO_RESOURCE_GROUP = "ACCESS_DENIED_TO_RESOURCE_GROUP",
10
- ACCESS_DENIED_TO_RULES_PACKAGE = "ACCESS_DENIED_TO_RULES_PACKAGE",
11
- ACCESS_DENIED_TO_SNS_TOPIC = "ACCESS_DENIED_TO_SNS_TOPIC",
12
- }
13
-
14
- /**
15
- * <p>You do not have required permissions to access the requested resource.</p>
16
- */
17
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
18
- name: "AccessDeniedException";
19
- $fault: "client";
20
- /**
21
- * <p>Details of the exception error.</p>
22
- */
23
- message: string | undefined;
24
-
25
- /**
26
- * <p>Code that indicates the type of error that is generated.</p>
27
- */
28
- errorCode: AccessDeniedErrorCode | string | undefined;
29
-
30
- /**
31
- * <p>You can immediately retry your request.</p>
32
- */
33
- canRetry: boolean | undefined;
34
- }
35
-
36
- export namespace AccessDeniedException {
37
- /**
38
- * @internal
39
- */
40
- export const filterSensitiveLog = (obj: AccessDeniedException): any => ({
41
- ...obj,
42
- });
43
- }
44
-
45
- /**
46
- * <p>This data type is used as a request parameter in the <a>AddAttributesToFindings</a> and <a>CreateAssessmentTemplate</a>
47
- * actions.</p>
48
- */
49
- export interface Attribute {
50
- /**
51
- * <p>The attribute key.</p>
52
- */
53
- key: string | undefined;
54
-
55
- /**
56
- * <p>The value assigned to the attribute key.</p>
57
- */
58
- value?: string;
59
- }
60
-
61
- export namespace Attribute {
62
- /**
63
- * @internal
64
- */
65
- export const filterSensitiveLog = (obj: Attribute): any => ({
66
- ...obj,
67
- });
68
- }
69
-
70
- export interface AddAttributesToFindingsRequest {
71
- /**
72
- * <p>The ARNs that specify the findings that you want to assign attributes to.</p>
73
- */
74
- findingArns: string[] | undefined;
75
-
76
- /**
77
- * <p>The array of attributes that you want to assign to specified findings.</p>
78
- */
79
- attributes: Attribute[] | undefined;
80
- }
81
-
82
- export namespace AddAttributesToFindingsRequest {
83
- /**
84
- * @internal
85
- */
86
- export const filterSensitiveLog = (obj: AddAttributesToFindingsRequest): any => ({
87
- ...obj,
88
- });
89
- }
90
-
91
- export enum FailedItemErrorCode {
92
- ACCESS_DENIED = "ACCESS_DENIED",
93
- DUPLICATE_ARN = "DUPLICATE_ARN",
94
- INTERNAL_ERROR = "INTERNAL_ERROR",
95
- INVALID_ARN = "INVALID_ARN",
96
- ITEM_DOES_NOT_EXIST = "ITEM_DOES_NOT_EXIST",
97
- LIMIT_EXCEEDED = "LIMIT_EXCEEDED",
98
- }
99
-
100
- /**
101
- * <p>Includes details about the failed items.</p>
102
- */
103
- export interface FailedItemDetails {
104
- /**
105
- * <p>The status code of a failed item.</p>
106
- */
107
- failureCode: FailedItemErrorCode | string | undefined;
108
-
109
- /**
110
- * <p>Indicates whether you can immediately retry a request for this item for a specified
111
- * resource.</p>
112
- */
113
- retryable: boolean | undefined;
114
- }
115
-
116
- export namespace FailedItemDetails {
117
- /**
118
- * @internal
119
- */
120
- export const filterSensitiveLog = (obj: FailedItemDetails): any => ({
121
- ...obj,
122
- });
123
- }
124
-
125
- export interface AddAttributesToFindingsResponse {
126
- /**
127
- * <p>Attribute details that cannot be described. An error code is provided for each failed
128
- * item.</p>
129
- */
130
- failedItems: { [key: string]: FailedItemDetails } | undefined;
131
- }
132
-
133
- export namespace AddAttributesToFindingsResponse {
134
- /**
135
- * @internal
136
- */
137
- export const filterSensitiveLog = (obj: AddAttributesToFindingsResponse): any => ({
138
- ...obj,
139
- });
140
- }
141
-
142
- /**
143
- * <p>Internal server error.</p>
144
- */
145
- export interface InternalException extends __SmithyException, $MetadataBearer {
146
- name: "InternalException";
147
- $fault: "server";
148
- /**
149
- * <p>Details of the exception error.</p>
150
- */
151
- message: string | undefined;
152
-
153
- /**
154
- * <p>You can immediately retry your request.</p>
155
- */
156
- canRetry: boolean | undefined;
157
- }
158
-
159
- export namespace InternalException {
160
- /**
161
- * @internal
162
- */
163
- export const filterSensitiveLog = (obj: InternalException): any => ({
164
- ...obj,
165
- });
166
- }
167
-
168
- export enum InvalidInputErrorCode {
169
- ASSESSMENT_TARGET_NAME_ALREADY_TAKEN = "ASSESSMENT_TARGET_NAME_ALREADY_TAKEN",
170
- ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN = "ASSESSMENT_TEMPLATE_NAME_ALREADY_TAKEN",
171
- INVALID_AGENT_ID = "INVALID_AGENT_ID",
172
- INVALID_ASSESSMENT_RUN_ARN = "INVALID_ASSESSMENT_RUN_ARN",
173
- INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE = "INVALID_ASSESSMENT_RUN_COMPLETION_TIME_RANGE",
174
- INVALID_ASSESSMENT_RUN_DURATION_RANGE = "INVALID_ASSESSMENT_RUN_DURATION_RANGE",
175
- INVALID_ASSESSMENT_RUN_START_TIME_RANGE = "INVALID_ASSESSMENT_RUN_START_TIME_RANGE",
176
- INVALID_ASSESSMENT_RUN_STATE = "INVALID_ASSESSMENT_RUN_STATE",
177
- INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE = "INVALID_ASSESSMENT_RUN_STATE_CHANGE_TIME_RANGE",
178
- INVALID_ASSESSMENT_TARGET_ARN = "INVALID_ASSESSMENT_TARGET_ARN",
179
- INVALID_ASSESSMENT_TARGET_NAME = "INVALID_ASSESSMENT_TARGET_NAME",
180
- INVALID_ASSESSMENT_TARGET_NAME_PATTERN = "INVALID_ASSESSMENT_TARGET_NAME_PATTERN",
181
- INVALID_ASSESSMENT_TEMPLATE_ARN = "INVALID_ASSESSMENT_TEMPLATE_ARN",
182
- INVALID_ASSESSMENT_TEMPLATE_DURATION = "INVALID_ASSESSMENT_TEMPLATE_DURATION",
183
- INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE = "INVALID_ASSESSMENT_TEMPLATE_DURATION_RANGE",
184
- INVALID_ASSESSMENT_TEMPLATE_NAME = "INVALID_ASSESSMENT_TEMPLATE_NAME",
185
- INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN = "INVALID_ASSESSMENT_TEMPLATE_NAME_PATTERN",
186
- INVALID_ATTRIBUTE = "INVALID_ATTRIBUTE",
187
- INVALID_AUTO_SCALING_GROUP = "INVALID_AUTO_SCALING_GROUP",
188
- INVALID_EVENT = "INVALID_EVENT",
189
- INVALID_FINDING_ARN = "INVALID_FINDING_ARN",
190
- INVALID_IAM_ROLE_ARN = "INVALID_IAM_ROLE_ARN",
191
- INVALID_LOCALE = "INVALID_LOCALE",
192
- INVALID_MAX_RESULTS = "INVALID_MAX_RESULTS",
193
- INVALID_NUMBER_OF_AGENT_IDS = "INVALID_NUMBER_OF_AGENT_IDS",
194
- INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS = "INVALID_NUMBER_OF_ASSESSMENT_RUN_ARNS",
195
- INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES = "INVALID_NUMBER_OF_ASSESSMENT_RUN_STATES",
196
- INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS = "INVALID_NUMBER_OF_ASSESSMENT_TARGET_ARNS",
197
- INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS = "INVALID_NUMBER_OF_ASSESSMENT_TEMPLATE_ARNS",
198
- INVALID_NUMBER_OF_ATTRIBUTES = "INVALID_NUMBER_OF_ATTRIBUTES",
199
- INVALID_NUMBER_OF_AUTO_SCALING_GROUPS = "INVALID_NUMBER_OF_AUTO_SCALING_GROUPS",
200
- INVALID_NUMBER_OF_FINDING_ARNS = "INVALID_NUMBER_OF_FINDING_ARNS",
201
- INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS = "INVALID_NUMBER_OF_RESOURCE_GROUP_ARNS",
202
- INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS = "INVALID_NUMBER_OF_RESOURCE_GROUP_TAGS",
203
- INVALID_NUMBER_OF_RULES_PACKAGE_ARNS = "INVALID_NUMBER_OF_RULES_PACKAGE_ARNS",
204
- INVALID_NUMBER_OF_RULE_NAMES = "INVALID_NUMBER_OF_RULE_NAMES",
205
- INVALID_NUMBER_OF_SEVERITIES = "INVALID_NUMBER_OF_SEVERITIES",
206
- INVALID_NUMBER_OF_TAGS = "INVALID_NUMBER_OF_TAGS",
207
- INVALID_NUMBER_OF_USER_ATTRIBUTES = "INVALID_NUMBER_OF_USER_ATTRIBUTES",
208
- INVALID_PAGINATION_TOKEN = "INVALID_PAGINATION_TOKEN",
209
- INVALID_RESOURCE_ARN = "INVALID_RESOURCE_ARN",
210
- INVALID_RESOURCE_GROUP_ARN = "INVALID_RESOURCE_GROUP_ARN",
211
- INVALID_RESOURCE_GROUP_TAG_KEY = "INVALID_RESOURCE_GROUP_TAG_KEY",
212
- INVALID_RESOURCE_GROUP_TAG_VALUE = "INVALID_RESOURCE_GROUP_TAG_VALUE",
213
- INVALID_RULES_PACKAGE_ARN = "INVALID_RULES_PACKAGE_ARN",
214
- INVALID_RULE_NAME = "INVALID_RULE_NAME",
215
- INVALID_SEVERITY = "INVALID_SEVERITY",
216
- INVALID_SNS_TOPIC_ARN = "INVALID_SNS_TOPIC_ARN",
217
- INVALID_TAG = "INVALID_TAG",
218
- INVALID_TAG_KEY = "INVALID_TAG_KEY",
219
- INVALID_TAG_VALUE = "INVALID_TAG_VALUE",
220
- INVALID_USER_ATTRIBUTE = "INVALID_USER_ATTRIBUTE",
221
- INVALID_USER_ATTRIBUTE_KEY = "INVALID_USER_ATTRIBUTE_KEY",
222
- INVALID_USER_ATTRIBUTE_VALUE = "INVALID_USER_ATTRIBUTE_VALUE",
223
- }
224
-
225
- /**
226
- * <p>The request was rejected because an invalid or out-of-range value was supplied for an
227
- * input parameter.</p>
228
- */
229
- export interface InvalidInputException extends __SmithyException, $MetadataBearer {
230
- name: "InvalidInputException";
231
- $fault: "client";
232
- /**
233
- * <p>Details of the exception error.</p>
234
- */
235
- message: string | undefined;
236
-
237
- /**
238
- * <p>Code that indicates the type of error that is generated.</p>
239
- */
240
- errorCode: InvalidInputErrorCode | string | undefined;
241
-
242
- /**
243
- * <p>You can immediately retry your request.</p>
244
- */
245
- canRetry: boolean | undefined;
246
- }
247
-
248
- export namespace InvalidInputException {
249
- /**
250
- * @internal
251
- */
252
- export const filterSensitiveLog = (obj: InvalidInputException): any => ({
253
- ...obj,
254
- });
255
- }
256
-
257
- export enum NoSuchEntityErrorCode {
258
- ASSESSMENT_RUN_DOES_NOT_EXIST = "ASSESSMENT_RUN_DOES_NOT_EXIST",
259
- ASSESSMENT_TARGET_DOES_NOT_EXIST = "ASSESSMENT_TARGET_DOES_NOT_EXIST",
260
- ASSESSMENT_TEMPLATE_DOES_NOT_EXIST = "ASSESSMENT_TEMPLATE_DOES_NOT_EXIST",
261
- FINDING_DOES_NOT_EXIST = "FINDING_DOES_NOT_EXIST",
262
- IAM_ROLE_DOES_NOT_EXIST = "IAM_ROLE_DOES_NOT_EXIST",
263
- RESOURCE_GROUP_DOES_NOT_EXIST = "RESOURCE_GROUP_DOES_NOT_EXIST",
264
- RULES_PACKAGE_DOES_NOT_EXIST = "RULES_PACKAGE_DOES_NOT_EXIST",
265
- SNS_TOPIC_DOES_NOT_EXIST = "SNS_TOPIC_DOES_NOT_EXIST",
266
- }
267
-
268
- /**
269
- * <p>The request was rejected because it referenced an entity that does not exist. The
270
- * error code describes the entity.</p>
271
- */
272
- export interface NoSuchEntityException extends __SmithyException, $MetadataBearer {
273
- name: "NoSuchEntityException";
274
- $fault: "client";
275
- /**
276
- * <p>Details of the exception error.</p>
277
- */
278
- message: string | undefined;
279
-
280
- /**
281
- * <p>Code that indicates the type of error that is generated.</p>
282
- */
283
- errorCode: NoSuchEntityErrorCode | string | undefined;
284
-
285
- /**
286
- * <p>You can immediately retry your request.</p>
287
- */
288
- canRetry: boolean | undefined;
289
- }
290
-
291
- export namespace NoSuchEntityException {
292
- /**
293
- * @internal
294
- */
295
- export const filterSensitiveLog = (obj: NoSuchEntityException): any => ({
296
- ...obj,
297
- });
298
- }
299
-
300
- /**
301
- * <p>The serice is temporary unavailable.</p>
302
- */
303
- export interface ServiceTemporarilyUnavailableException extends __SmithyException, $MetadataBearer {
304
- name: "ServiceTemporarilyUnavailableException";
305
- $fault: "server";
306
- /**
307
- * <p>Details of the exception error.</p>
308
- */
309
- message: string | undefined;
310
-
311
- /**
312
- * <p>You can wait and then retry your request.</p>
313
- */
314
- canRetry: boolean | undefined;
315
- }
316
-
317
- export namespace ServiceTemporarilyUnavailableException {
318
- /**
319
- * @internal
320
- */
321
- export const filterSensitiveLog = (obj: ServiceTemporarilyUnavailableException): any => ({
322
- ...obj,
323
- });
324
- }
325
-
326
- /**
327
- * <p>Used in the exception error that is thrown if you start an assessment run for an
328
- * assessment target that includes an EC2 instance that is already participating in another
329
- * started assessment run.</p>
330
- */
331
- export interface AgentAlreadyRunningAssessment {
332
- /**
333
- * <p>ID of the agent that is running on an EC2 instance that is already participating in
334
- * another started assessment run.</p>
335
- */
336
- agentId: string | undefined;
337
-
338
- /**
339
- * <p>The ARN of the assessment run that has already been started.</p>
340
- */
341
- assessmentRunArn: string | undefined;
342
- }
343
-
344
- export namespace AgentAlreadyRunningAssessment {
345
- /**
346
- * @internal
347
- */
348
- export const filterSensitiveLog = (obj: AgentAlreadyRunningAssessment): any => ({
349
- ...obj,
350
- });
351
- }
352
-
353
- export enum AgentHealthCode {
354
- IDLE = "IDLE",
355
- RUNNING = "RUNNING",
356
- SHUTDOWN = "SHUTDOWN",
357
- THROTTLED = "THROTTLED",
358
- UNHEALTHY = "UNHEALTHY",
359
- UNKNOWN = "UNKNOWN",
360
- }
361
-
362
- export enum AgentHealth {
363
- HEALTHY = "HEALTHY",
364
- UNHEALTHY = "UNHEALTHY",
365
- UNKNOWN = "UNKNOWN",
366
- }
367
-
368
- /**
369
- * <p>Contains information about an Amazon Inspector agent. This data type is used as a
370
- * request parameter in the <a>ListAssessmentRunAgents</a> action.</p>
371
- */
372
- export interface AgentFilter {
373
- /**
374
- * <p>The current health state of the agent. Values can be set to <b>HEALTHY</b> or <b>UNHEALTHY</b>.</p>
375
- */
376
- agentHealths: (AgentHealth | string)[] | undefined;
377
-
378
- /**
379
- * <p>The detailed health state of the agent. Values can be set to <b>IDLE</b>, <b>RUNNING</b>, <b>SHUTDOWN</b>, <b>UNHEALTHY</b>, <b>THROTTLED</b>, and <b>UNKNOWN</b>. </p>
380
- */
381
- agentHealthCodes: (AgentHealthCode | string)[] | undefined;
382
- }
383
-
384
- export namespace AgentFilter {
385
- /**
386
- * @internal
387
- */
388
- export const filterSensitiveLog = (obj: AgentFilter): any => ({
389
- ...obj,
390
- });
391
- }
392
-
393
- /**
394
- * <p>Used as a response element in the <a>PreviewAgents</a> action.</p>
395
- */
396
- export interface AgentPreview {
397
- /**
398
- * <p>The hostname of the EC2 instance on which the Amazon Inspector Agent is
399
- * installed.</p>
400
- */
401
- hostname?: string;
402
-
403
- /**
404
- * <p>The ID of the EC2 instance where the agent is installed.</p>
405
- */
406
- agentId: string | undefined;
407
-
408
- /**
409
- * <p>The Auto Scaling group for the EC2 instance where the agent is installed.</p>
410
- */
411
- autoScalingGroup?: string;
412
-
413
- /**
414
- * <p>The health status of the Amazon Inspector Agent.</p>
415
- */
416
- agentHealth?: AgentHealth | string;
417
-
418
- /**
419
- * <p>The version of the Amazon Inspector Agent.</p>
420
- */
421
- agentVersion?: string;
422
-
423
- /**
424
- * <p>The operating system running on the EC2 instance on which the Amazon Inspector Agent
425
- * is installed.</p>
426
- */
427
- operatingSystem?: string;
428
-
429
- /**
430
- * <p>The kernel version of the operating system running on the EC2 instance on which the
431
- * Amazon Inspector Agent is installed.</p>
432
- */
433
- kernelVersion?: string;
434
-
435
- /**
436
- * <p>The IP address of the EC2 instance on which the Amazon Inspector Agent is
437
- * installed.</p>
438
- */
439
- ipv4Address?: string;
440
- }
441
-
442
- export namespace AgentPreview {
443
- /**
444
- * @internal
445
- */
446
- export const filterSensitiveLog = (obj: AgentPreview): any => ({
447
- ...obj,
448
- });
449
- }
450
-
451
- /**
452
- * <p>You started an assessment run, but one of the instances is already participating in
453
- * another assessment run.</p>
454
- */
455
- export interface AgentsAlreadyRunningAssessmentException extends __SmithyException, $MetadataBearer {
456
- name: "AgentsAlreadyRunningAssessmentException";
457
- $fault: "client";
458
- /**
459
- * <p>Details of the exception error.</p>
460
- */
461
- message: string | undefined;
462
-
463
- /**
464
- * <p></p>
465
- */
466
- agents: AgentAlreadyRunningAssessment[] | undefined;
467
-
468
- /**
469
- * <p></p>
470
- */
471
- agentsTruncated: boolean | undefined;
472
-
473
- /**
474
- * <p>You can immediately retry your request.</p>
475
- */
476
- canRetry: boolean | undefined;
477
- }
478
-
479
- export namespace AgentsAlreadyRunningAssessmentException {
480
- /**
481
- * @internal
482
- */
483
- export const filterSensitiveLog = (obj: AgentsAlreadyRunningAssessmentException): any => ({
484
- ...obj,
485
- });
486
- }
487
-
488
- export enum Severity {
489
- HIGH = "High",
490
- INFORMATIONAL = "Informational",
491
- LOW = "Low",
492
- MEDIUM = "Medium",
493
- UNDEFINED = "Undefined",
494
- }
495
-
496
- export enum InspectorEvent {
497
- ASSESSMENT_RUN_COMPLETED = "ASSESSMENT_RUN_COMPLETED",
498
- ASSESSMENT_RUN_STARTED = "ASSESSMENT_RUN_STARTED",
499
- ASSESSMENT_RUN_STATE_CHANGED = "ASSESSMENT_RUN_STATE_CHANGED",
500
- FINDING_REPORTED = "FINDING_REPORTED",
501
- OTHER = "OTHER",
502
- }
503
-
504
- export enum AssessmentRunNotificationSnsStatusCode {
505
- ACCESS_DENIED = "ACCESS_DENIED",
506
- INTERNAL_ERROR = "INTERNAL_ERROR",
507
- SUCCESS = "SUCCESS",
508
- TOPIC_DOES_NOT_EXIST = "TOPIC_DOES_NOT_EXIST",
509
- }
510
-
511
- /**
512
- * <p>Used as one of the elements of the <a>AssessmentRun</a> data
513
- * type.</p>
514
- */
515
- export interface AssessmentRunNotification {
516
- /**
517
- * <p>The date of the notification.</p>
518
- */
519
- date: Date | undefined;
520
-
521
- /**
522
- * <p>The event for which a notification is sent.</p>
523
- */
524
- event: InspectorEvent | string | undefined;
525
-
526
- /**
527
- * <p>The message included in the notification.</p>
528
- */
529
- message?: string;
530
-
531
- /**
532
- * <p>The Boolean value that specifies whether the notification represents an
533
- * error.</p>
534
- */
535
- error: boolean | undefined;
536
-
537
- /**
538
- * <p>The SNS topic to which the SNS notification is sent.</p>
539
- */
540
- snsTopicArn?: string;
541
-
542
- /**
543
- * <p>The status code of the SNS notification.</p>
544
- */
545
- snsPublishStatusCode?: AssessmentRunNotificationSnsStatusCode | string;
546
- }
547
-
548
- export namespace AssessmentRunNotification {
549
- /**
550
- * @internal
551
- */
552
- export const filterSensitiveLog = (obj: AssessmentRunNotification): any => ({
553
- ...obj,
554
- });
555
- }
556
-
557
- export enum AssessmentRunState {
558
- CANCELED = "CANCELED",
559
- COLLECTING_DATA = "COLLECTING_DATA",
560
- COMPLETED = "COMPLETED",
561
- COMPLETED_WITH_ERRORS = "COMPLETED_WITH_ERRORS",
562
- CREATED = "CREATED",
563
- DATA_COLLECTED = "DATA_COLLECTED",
564
- ERROR = "ERROR",
565
- EVALUATING_RULES = "EVALUATING_RULES",
566
- FAILED = "FAILED",
567
- START_DATA_COLLECTION_IN_PROGRESS = "START_DATA_COLLECTION_IN_PROGRESS",
568
- START_DATA_COLLECTION_PENDING = "START_DATA_COLLECTION_PENDING",
569
- START_EVALUATING_RULES_PENDING = "START_EVALUATING_RULES_PENDING",
570
- STOP_DATA_COLLECTION_PENDING = "STOP_DATA_COLLECTION_PENDING",
571
- }
572
-
573
- /**
574
- * <p>Used as one of the elements of the <a>AssessmentRun</a> data
575
- * type.</p>
576
- */
577
- export interface AssessmentRunStateChange {
578
- /**
579
- * <p>The last time the assessment run state changed.</p>
580
- */
581
- stateChangedAt: Date | undefined;
582
-
583
- /**
584
- * <p>The assessment run state.</p>
585
- */
586
- state: AssessmentRunState | string | undefined;
587
- }
588
-
589
- export namespace AssessmentRunStateChange {
590
- /**
591
- * @internal
592
- */
593
- export const filterSensitiveLog = (obj: AssessmentRunStateChange): any => ({
594
- ...obj,
595
- });
596
- }
597
-
598
- /**
599
- * <p>A snapshot of an Amazon Inspector assessment run that contains the findings of the
600
- * assessment run .</p>
601
- * <p>Used as the response element in the <a>DescribeAssessmentRuns</a>
602
- * action.</p>
603
- */
604
- export interface AssessmentRun {
605
- /**
606
- * <p>The ARN of the assessment run.</p>
607
- */
608
- arn: string | undefined;
609
-
610
- /**
611
- * <p>The auto-generated name for the assessment run.</p>
612
- */
613
- name: string | undefined;
614
-
615
- /**
616
- * <p>The ARN of the assessment template that is associated with the assessment
617
- * run.</p>
618
- */
619
- assessmentTemplateArn: string | undefined;
620
-
621
- /**
622
- * <p>The state of the assessment run.</p>
623
- */
624
- state: AssessmentRunState | string | undefined;
625
-
626
- /**
627
- * <p>The duration of the assessment run.</p>
628
- */
629
- durationInSeconds: number | undefined;
630
-
631
- /**
632
- * <p>The rules packages selected for the assessment run.</p>
633
- */
634
- rulesPackageArns: string[] | undefined;
635
-
636
- /**
637
- * <p>The user-defined attributes that are assigned to every generated finding.</p>
638
- */
639
- userAttributesForFindings: Attribute[] | undefined;
640
-
641
- /**
642
- * <p>The time when <a>StartAssessmentRun</a> was called.</p>
643
- */
644
- createdAt: Date | undefined;
645
-
646
- /**
647
- * <p>The time when <a>StartAssessmentRun</a> was called.</p>
648
- */
649
- startedAt?: Date;
650
-
651
- /**
652
- * <p>The assessment run completion time that corresponds to the rules packages evaluation
653
- * completion time or failure.</p>
654
- */
655
- completedAt?: Date;
656
-
657
- /**
658
- * <p>The last time when the assessment run's state changed.</p>
659
- */
660
- stateChangedAt: Date | undefined;
661
-
662
- /**
663
- * <p>A Boolean value (true or false) that specifies whether the process of collecting data
664
- * from the agents is completed.</p>
665
- */
666
- dataCollected: boolean | undefined;
667
-
668
- /**
669
- * <p>A list of the assessment run state changes.</p>
670
- */
671
- stateChanges: AssessmentRunStateChange[] | undefined;
672
-
673
- /**
674
- * <p>A list of notifications for the event subscriptions. A notification about a
675
- * particular generated finding is added to this list only once.</p>
676
- */
677
- notifications: AssessmentRunNotification[] | undefined;
678
-
679
- /**
680
- * <p>Provides a total count of generated findings per severity.</p>
681
- */
682
- findingCounts: { [key: string]: number } | undefined;
683
- }
684
-
685
- export namespace AssessmentRun {
686
- /**
687
- * @internal
688
- */
689
- export const filterSensitiveLog = (obj: AssessmentRun): any => ({
690
- ...obj,
691
- });
692
- }
693
-
694
- /**
695
- * <p>The metadata about the Amazon Inspector application data metrics collected by the
696
- * agent. This data type is used as the response element in the <a>GetTelemetryMetadata</a> action.</p>
697
- */
698
- export interface TelemetryMetadata {
699
- /**
700
- * <p>A specific type of behavioral data that is collected by the agent.</p>
701
- */
702
- messageType: string | undefined;
703
-
704
- /**
705
- * <p>The count of messages that the agent sends to the Amazon Inspector service.</p>
706
- */
707
- count: number | undefined;
708
-
709
- /**
710
- * <p>The data size of messages that the agent sends to the Amazon Inspector
711
- * service.</p>
712
- */
713
- dataSize?: number;
714
- }
715
-
716
- export namespace TelemetryMetadata {
717
- /**
718
- * @internal
719
- */
720
- export const filterSensitiveLog = (obj: TelemetryMetadata): any => ({
721
- ...obj,
722
- });
723
- }
724
-
725
- /**
726
- * <p>Contains information about an Amazon Inspector agent. This data type is used as a
727
- * response element in the <a>ListAssessmentRunAgents</a> action.</p>
728
- */
729
- export interface AssessmentRunAgent {
730
- /**
731
- * <p>The AWS account of the EC2 instance where the agent is installed.</p>
732
- */
733
- agentId: string | undefined;
734
-
735
- /**
736
- * <p>The ARN of the assessment run that is associated with the agent.</p>
737
- */
738
- assessmentRunArn: string | undefined;
739
-
740
- /**
741
- * <p>The current health state of the agent.</p>
742
- */
743
- agentHealth: AgentHealth | string | undefined;
744
-
745
- /**
746
- * <p>The detailed health state of the agent.</p>
747
- */
748
- agentHealthCode: AgentHealthCode | string | undefined;
749
-
750
- /**
751
- * <p>The description for the agent health code.</p>
752
- */
753
- agentHealthDetails?: string;
754
-
755
- /**
756
- * <p>The Auto Scaling group of the EC2 instance that is specified by the agent
757
- * ID.</p>
758
- */
759
- autoScalingGroup?: string;
760
-
761
- /**
762
- * <p>The Amazon Inspector application data metrics that are collected by the
763
- * agent.</p>
764
- */
765
- telemetryMetadata: TelemetryMetadata[] | undefined;
766
- }
767
-
768
- export namespace AssessmentRunAgent {
769
- /**
770
- * @internal
771
- */
772
- export const filterSensitiveLog = (obj: AssessmentRunAgent): any => ({
773
- ...obj,
774
- });
775
- }
776
-
777
- /**
778
- * <p>This data type is used in the <a>AssessmentRunFilter</a> data
779
- * type.</p>
780
- */
781
- export interface TimestampRange {
782
- /**
783
- * <p>The minimum value of the timestamp range.</p>
784
- */
785
- beginDate?: Date;
786
-
787
- /**
788
- * <p>The maximum value of the timestamp range.</p>
789
- */
790
- endDate?: Date;
791
- }
792
-
793
- export namespace TimestampRange {
794
- /**
795
- * @internal
796
- */
797
- export const filterSensitiveLog = (obj: TimestampRange): any => ({
798
- ...obj,
799
- });
800
- }
801
-
802
- /**
803
- * <p>This data type is used in the <a>AssessmentTemplateFilter</a> data
804
- * type.</p>
805
- */
806
- export interface DurationRange {
807
- /**
808
- * <p>The minimum value of the duration range. Must be greater than zero.</p>
809
- */
810
- minSeconds?: number;
811
-
812
- /**
813
- * <p>The maximum value of the duration range. Must be less than or equal to 604800 seconds
814
- * (1 week).</p>
815
- */
816
- maxSeconds?: number;
817
- }
818
-
819
- export namespace DurationRange {
820
- /**
821
- * @internal
822
- */
823
- export const filterSensitiveLog = (obj: DurationRange): any => ({
824
- ...obj,
825
- });
826
- }
827
-
828
- /**
829
- * <p>Used as the request parameter in the <a>ListAssessmentRuns</a>
830
- * action.</p>
831
- */
832
- export interface AssessmentRunFilter {
833
- /**
834
- * <p>For a record to match a filter, an explicit value or a string containing a wildcard
835
- * that is specified for this data type property must match the value of the <b>assessmentRunName</b> property of the <a>AssessmentRun</a>
836
- * data type.</p>
837
- */
838
- namePattern?: string;
839
-
840
- /**
841
- * <p>For a record to match a filter, one of the values specified for this data type
842
- * property must be the exact match of the value of the <b>assessmentRunState</b> property of the <a>AssessmentRun</a> data
843
- * type.</p>
844
- */
845
- states?: (AssessmentRunState | string)[];
846
-
847
- /**
848
- * <p>For a record to match a filter, the value that is specified for this data type
849
- * property must inclusively match any value between the specified minimum and maximum values
850
- * of the <b>durationInSeconds</b> property of the <a>AssessmentRun</a> data type.</p>
851
- */
852
- durationRange?: DurationRange;
853
-
854
- /**
855
- * <p>For a record to match a filter, the value that is specified for this data type
856
- * property must be contained in the list of values of the <b>rulesPackages</b> property of the <a>AssessmentRun</a> data
857
- * type.</p>
858
- */
859
- rulesPackageArns?: string[];
860
-
861
- /**
862
- * <p>For a record to match a filter, the value that is specified for this data type
863
- * property must inclusively match any value between the specified minimum and maximum values
864
- * of the <b>startTime</b> property of the <a>AssessmentRun</a> data type.</p>
865
- */
866
- startTimeRange?: TimestampRange;
867
-
868
- /**
869
- * <p>For a record to match a filter, the value that is specified for this data type
870
- * property must inclusively match any value between the specified minimum and maximum values
871
- * of the <b>completedAt</b> property of the <a>AssessmentRun</a> data type.</p>
872
- */
873
- completionTimeRange?: TimestampRange;
874
-
875
- /**
876
- * <p>For a record to match a filter, the value that is specified for this data type
877
- * property must match the <b>stateChangedAt</b> property of the
878
- * <a>AssessmentRun</a> data type.</p>
879
- */
880
- stateChangeTimeRange?: TimestampRange;
881
- }
882
-
883
- export namespace AssessmentRunFilter {
884
- /**
885
- * @internal
886
- */
887
- export const filterSensitiveLog = (obj: AssessmentRunFilter): any => ({
888
- ...obj,
889
- });
890
- }
891
-
892
- /**
893
- * <p>You cannot perform a specified action if an assessment run is currently in
894
- * progress.</p>
895
- */
896
- export interface AssessmentRunInProgressException extends __SmithyException, $MetadataBearer {
897
- name: "AssessmentRunInProgressException";
898
- $fault: "client";
899
- /**
900
- * <p>Details of the exception error.</p>
901
- */
902
- message: string | undefined;
903
-
904
- /**
905
- * <p>The ARNs of the assessment runs that are currently in progress.</p>
906
- */
907
- assessmentRunArns: string[] | undefined;
908
-
909
- /**
910
- * <p>Boolean value that indicates whether the ARN list of the assessment runs is
911
- * truncated.</p>
912
- */
913
- assessmentRunArnsTruncated: boolean | undefined;
914
-
915
- /**
916
- * <p>You can immediately retry your request.</p>
917
- */
918
- canRetry: boolean | undefined;
919
- }
920
-
921
- export namespace AssessmentRunInProgressException {
922
- /**
923
- * @internal
924
- */
925
- export const filterSensitiveLog = (obj: AssessmentRunInProgressException): any => ({
926
- ...obj,
927
- });
928
- }
929
-
930
- /**
931
- * <p>Contains information about an Amazon Inspector application. This data type is used as
932
- * the response element in the <a>DescribeAssessmentTargets</a> action.</p>
933
- */
934
- export interface AssessmentTarget {
935
- /**
936
- * <p>The ARN that specifies the Amazon Inspector assessment target.</p>
937
- */
938
- arn: string | undefined;
939
-
940
- /**
941
- * <p>The name of the Amazon Inspector assessment target.</p>
942
- */
943
- name: string | undefined;
944
-
945
- /**
946
- * <p>The ARN that specifies the resource group that is associated with the assessment
947
- * target.</p>
948
- */
949
- resourceGroupArn?: string;
950
-
951
- /**
952
- * <p>The time at which the assessment target is created.</p>
953
- */
954
- createdAt: Date | undefined;
955
-
956
- /**
957
- * <p>The time at which <a>UpdateAssessmentTarget</a> is called.</p>
958
- */
959
- updatedAt: Date | undefined;
960
- }
961
-
962
- export namespace AssessmentTarget {
963
- /**
964
- * @internal
965
- */
966
- export const filterSensitiveLog = (obj: AssessmentTarget): any => ({
967
- ...obj,
968
- });
969
- }
970
-
971
- /**
972
- * <p>Used as the request parameter in the <a>ListAssessmentTargets</a>
973
- * action.</p>
974
- */
975
- export interface AssessmentTargetFilter {
976
- /**
977
- * <p>For a record to match a filter, an explicit value or a string that contains a
978
- * wildcard that is specified for this data type property must match the value of the
979
- * <b>assessmentTargetName</b> property of the <a>AssessmentTarget</a> data type.</p>
980
- */
981
- assessmentTargetNamePattern?: string;
982
- }
983
-
984
- export namespace AssessmentTargetFilter {
985
- /**
986
- * @internal
987
- */
988
- export const filterSensitiveLog = (obj: AssessmentTargetFilter): any => ({
989
- ...obj,
990
- });
991
- }
992
-
993
- /**
994
- * <p>Contains information about an Amazon Inspector assessment template. This data type is
995
- * used as the response element in the <a>DescribeAssessmentTemplates</a>
996
- * action.</p>
997
- */
998
- export interface AssessmentTemplate {
999
- /**
1000
- * <p>The ARN of the assessment template.</p>
1001
- */
1002
- arn: string | undefined;
1003
-
1004
- /**
1005
- * <p>The name of the assessment template.</p>
1006
- */
1007
- name: string | undefined;
1008
-
1009
- /**
1010
- * <p>The ARN of the assessment target that corresponds to this assessment
1011
- * template.</p>
1012
- */
1013
- assessmentTargetArn: string | undefined;
1014
-
1015
- /**
1016
- * <p>The duration in seconds specified for this assessment template. The default value is
1017
- * 3600 seconds (one hour). The maximum value is 86400 seconds (one day).</p>
1018
- */
1019
- durationInSeconds: number | undefined;
1020
-
1021
- /**
1022
- * <p>The rules packages that are specified for this assessment template.</p>
1023
- */
1024
- rulesPackageArns: string[] | undefined;
1025
-
1026
- /**
1027
- * <p>The user-defined attributes that are assigned to every generated finding from the
1028
- * assessment run that uses this assessment template.</p>
1029
- */
1030
- userAttributesForFindings: Attribute[] | undefined;
1031
-
1032
- /**
1033
- * <p>The Amazon Resource Name (ARN) of the most recent assessment run associated with this
1034
- * assessment template. This value exists only when the value of assessmentRunCount is
1035
- * greaterpa than zero.</p>
1036
- */
1037
- lastAssessmentRunArn?: string;
1038
-
1039
- /**
1040
- * <p>The number of existing assessment runs associated with this assessment template. This
1041
- * value can be zero or a positive integer.</p>
1042
- */
1043
- assessmentRunCount: number | undefined;
1044
-
1045
- /**
1046
- * <p>The time at which the assessment template is created.</p>
1047
- */
1048
- createdAt: Date | undefined;
1049
- }
1050
-
1051
- export namespace AssessmentTemplate {
1052
- /**
1053
- * @internal
1054
- */
1055
- export const filterSensitiveLog = (obj: AssessmentTemplate): any => ({
1056
- ...obj,
1057
- });
1058
- }
1059
-
1060
- /**
1061
- * <p>Used as the request parameter in the <a>ListAssessmentTemplates</a>
1062
- * action.</p>
1063
- */
1064
- export interface AssessmentTemplateFilter {
1065
- /**
1066
- * <p>For a record to match a filter, an explicit value or a string that contains a
1067
- * wildcard that is specified for this data type property must match the value of the
1068
- * <b>assessmentTemplateName</b> property of the <a>AssessmentTemplate</a> data type.</p>
1069
- */
1070
- namePattern?: string;
1071
-
1072
- /**
1073
- * <p>For a record to match a filter, the value specified for this data type property must
1074
- * inclusively match any value between the specified minimum and maximum values of the
1075
- * <b>durationInSeconds</b> property of the <a>AssessmentTemplate</a> data type.</p>
1076
- */
1077
- durationRange?: DurationRange;
1078
-
1079
- /**
1080
- * <p>For a record to match a filter, the values that are specified for this data type
1081
- * property must be contained in the list of values of the <b>rulesPackageArns</b> property of the <a>AssessmentTemplate</a> data
1082
- * type.</p>
1083
- */
1084
- rulesPackageArns?: string[];
1085
- }
1086
-
1087
- export namespace AssessmentTemplateFilter {
1088
- /**
1089
- * @internal
1090
- */
1091
- export const filterSensitiveLog = (obj: AssessmentTemplateFilter): any => ({
1092
- ...obj,
1093
- });
1094
- }
1095
-
1096
- /**
1097
- * <p>Contains information about a private IP address associated with a network interface. This
1098
- * data type is used as a response element in the <a>DescribeFindings</a>
1099
- * action.</p>
1100
- */
1101
- export interface PrivateIp {
1102
- /**
1103
- * <p>The DNS name of the private IP address.</p>
1104
- */
1105
- privateDnsName?: string;
1106
-
1107
- /**
1108
- * <p>The full IP address of the network inteface.</p>
1109
- */
1110
- privateIpAddress?: string;
1111
- }
1112
-
1113
- export namespace PrivateIp {
1114
- /**
1115
- * @internal
1116
- */
1117
- export const filterSensitiveLog = (obj: PrivateIp): any => ({
1118
- ...obj,
1119
- });
1120
- }
1121
-
1122
- /**
1123
- * <p>Contains information about a security group associated with a network interface. This
1124
- * data type is used as one of the elements of the <a>NetworkInterface</a> data
1125
- * type.</p>
1126
- */
1127
- export interface SecurityGroup {
1128
- /**
1129
- * <p>The name of the security group.</p>
1130
- */
1131
- groupName?: string;
1132
-
1133
- /**
1134
- * <p>The ID of the security group.</p>
1135
- */
1136
- groupId?: string;
1137
- }
1138
-
1139
- export namespace SecurityGroup {
1140
- /**
1141
- * @internal
1142
- */
1143
- export const filterSensitiveLog = (obj: SecurityGroup): any => ({
1144
- ...obj,
1145
- });
1146
- }
1147
-
1148
- /**
1149
- * <p>Contains information about the network interfaces interacting with an EC2 instance.
1150
- * This data type is used as one of the elements of the <a>AssetAttributes</a> data
1151
- * type.</p>
1152
- */
1153
- export interface NetworkInterface {
1154
- /**
1155
- * <p>The ID of the network interface.</p>
1156
- */
1157
- networkInterfaceId?: string;
1158
-
1159
- /**
1160
- * <p>The ID of a subnet associated with the network interface.</p>
1161
- */
1162
- subnetId?: string;
1163
-
1164
- /**
1165
- * <p>The ID of a VPC associated with the network interface.</p>
1166
- */
1167
- vpcId?: string;
1168
-
1169
- /**
1170
- * <p>The name of a private DNS associated with the network interface.</p>
1171
- */
1172
- privateDnsName?: string;
1173
-
1174
- /**
1175
- * <p>The private IP address associated with the network interface.</p>
1176
- */
1177
- privateIpAddress?: string;
1178
-
1179
- /**
1180
- * <p>A list of the private IP addresses associated with the network interface. Includes
1181
- * the privateDnsName and privateIpAddress.</p>
1182
- */
1183
- privateIpAddresses?: PrivateIp[];
1184
-
1185
- /**
1186
- * <p>The name of a public DNS associated with the network interface.</p>
1187
- */
1188
- publicDnsName?: string;
1189
-
1190
- /**
1191
- * <p>The public IP address from which the network interface is reachable.</p>
1192
- */
1193
- publicIp?: string;
1194
-
1195
- /**
1196
- * <p>The IP addresses associated with the network interface.</p>
1197
- */
1198
- ipv6Addresses?: string[];
1199
-
1200
- /**
1201
- * <p>A list of the security groups associated with the network interface. Includes the
1202
- * groupId and groupName.</p>
1203
- */
1204
- securityGroups?: SecurityGroup[];
1205
- }
1206
-
1207
- export namespace NetworkInterface {
1208
- /**
1209
- * @internal
1210
- */
1211
- export const filterSensitiveLog = (obj: NetworkInterface): any => ({
1212
- ...obj,
1213
- });
1214
- }
1215
-
1216
- /**
1217
- * <p>A key and value pair. This data type is used as a request parameter in the <a>SetTagsForResource</a> action and a response element in the <a>ListTagsForResource</a> action.</p>
1218
- */
1219
- export interface Tag {
1220
- /**
1221
- * <p>A tag key.</p>
1222
- */
1223
- key: string | undefined;
1224
-
1225
- /**
1226
- * <p>A value assigned to a tag key.</p>
1227
- */
1228
- value?: string;
1229
- }
1230
-
1231
- export namespace Tag {
1232
- /**
1233
- * @internal
1234
- */
1235
- export const filterSensitiveLog = (obj: Tag): any => ({
1236
- ...obj,
1237
- });
1238
- }
1239
-
1240
- /**
1241
- * <p>A collection of attributes of the host from which the finding is generated.</p>
1242
- */
1243
- export interface AssetAttributes {
1244
- /**
1245
- * <p>The schema version of this data type.</p>
1246
- */
1247
- schemaVersion: number | undefined;
1248
-
1249
- /**
1250
- * <p>The ID of the agent that is installed on the EC2 instance where the finding is
1251
- * generated.</p>
1252
- */
1253
- agentId?: string;
1254
-
1255
- /**
1256
- * <p>The Auto Scaling group of the EC2 instance where the finding is generated.</p>
1257
- */
1258
- autoScalingGroup?: string;
1259
-
1260
- /**
1261
- * <p>The ID of the Amazon Machine Image (AMI) that is installed on the EC2 instance where
1262
- * the finding is generated.</p>
1263
- */
1264
- amiId?: string;
1265
-
1266
- /**
1267
- * <p>The hostname of the EC2 instance where the finding is generated.</p>
1268
- */
1269
- hostname?: string;
1270
-
1271
- /**
1272
- * <p>The list of IP v4 addresses of the EC2 instance where the finding is
1273
- * generated.</p>
1274
- */
1275
- ipv4Addresses?: string[];
1276
-
1277
- /**
1278
- * <p>The tags related to the EC2 instance where the finding is generated.</p>
1279
- */
1280
- tags?: Tag[];
1281
-
1282
- /**
1283
- * <p>An array of the network interfaces interacting with the EC2 instance where the
1284
- * finding is generated.</p>
1285
- */
1286
- networkInterfaces?: NetworkInterface[];
1287
- }
1288
-
1289
- export namespace AssetAttributes {
1290
- /**
1291
- * @internal
1292
- */
1293
- export const filterSensitiveLog = (obj: AssetAttributes): any => ({
1294
- ...obj,
1295
- });
1296
- }
1297
-
1298
- export enum AssetType {
1299
- EC2_INSTANCE = "ec2-instance",
1300
- }
1301
-
1302
- export interface CreateAssessmentTargetRequest {
1303
- /**
1304
- * <p>The user-defined name that identifies the assessment target that you want to create.
1305
- * The name must be unique within the AWS account.</p>
1306
- */
1307
- assessmentTargetName: string | undefined;
1308
-
1309
- /**
1310
- * <p>The ARN that specifies the resource group that is used to create the assessment
1311
- * target. If resourceGroupArn is not specified, all EC2 instances in the current AWS account
1312
- * and region are included in the assessment target.</p>
1313
- */
1314
- resourceGroupArn?: string;
1315
- }
1316
-
1317
- export namespace CreateAssessmentTargetRequest {
1318
- /**
1319
- * @internal
1320
- */
1321
- export const filterSensitiveLog = (obj: CreateAssessmentTargetRequest): any => ({
1322
- ...obj,
1323
- });
1324
- }
1325
-
1326
- export interface CreateAssessmentTargetResponse {
1327
- /**
1328
- * <p>The ARN that specifies the assessment target that is created.</p>
1329
- */
1330
- assessmentTargetArn: string | undefined;
1331
- }
1332
-
1333
- export namespace CreateAssessmentTargetResponse {
1334
- /**
1335
- * @internal
1336
- */
1337
- export const filterSensitiveLog = (obj: CreateAssessmentTargetResponse): any => ({
1338
- ...obj,
1339
- });
1340
- }
1341
-
1342
- export enum InvalidCrossAccountRoleErrorCode {
1343
- ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP = "ROLE_DOES_NOT_EXIST_OR_INVALID_TRUST_RELATIONSHIP",
1344
- ROLE_DOES_NOT_HAVE_CORRECT_POLICY = "ROLE_DOES_NOT_HAVE_CORRECT_POLICY",
1345
- }
1346
-
1347
- /**
1348
- * <p>Amazon Inspector cannot assume the cross-account role that it needs to list your EC2
1349
- * instances during the assessment run.</p>
1350
- */
1351
- export interface InvalidCrossAccountRoleException extends __SmithyException, $MetadataBearer {
1352
- name: "InvalidCrossAccountRoleException";
1353
- $fault: "client";
1354
- /**
1355
- * <p>Details of the exception error.</p>
1356
- */
1357
- message: string | undefined;
1358
-
1359
- /**
1360
- * <p>Code that indicates the type of error that is generated.</p>
1361
- */
1362
- errorCode: InvalidCrossAccountRoleErrorCode | string | undefined;
1363
-
1364
- /**
1365
- * <p>You can immediately retry your request.</p>
1366
- */
1367
- canRetry: boolean | undefined;
1368
- }
1369
-
1370
- export namespace InvalidCrossAccountRoleException {
1371
- /**
1372
- * @internal
1373
- */
1374
- export const filterSensitiveLog = (obj: InvalidCrossAccountRoleException): any => ({
1375
- ...obj,
1376
- });
1377
- }
1378
-
1379
- export enum LimitExceededErrorCode {
1380
- ASSESSMENT_RUN_LIMIT_EXCEEDED = "ASSESSMENT_RUN_LIMIT_EXCEEDED",
1381
- ASSESSMENT_TARGET_LIMIT_EXCEEDED = "ASSESSMENT_TARGET_LIMIT_EXCEEDED",
1382
- ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED = "ASSESSMENT_TEMPLATE_LIMIT_EXCEEDED",
1383
- EVENT_SUBSCRIPTION_LIMIT_EXCEEDED = "EVENT_SUBSCRIPTION_LIMIT_EXCEEDED",
1384
- RESOURCE_GROUP_LIMIT_EXCEEDED = "RESOURCE_GROUP_LIMIT_EXCEEDED",
1385
- }
1386
-
1387
- /**
1388
- * <p>The request was rejected because it attempted to create resources beyond the current
1389
- * AWS account limits. The error code describes the limit exceeded.</p>
1390
- */
1391
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
1392
- name: "LimitExceededException";
1393
- $fault: "client";
1394
- /**
1395
- * <p>Details of the exception error.</p>
1396
- */
1397
- message: string | undefined;
1398
-
1399
- /**
1400
- * <p>Code that indicates the type of error that is generated.</p>
1401
- */
1402
- errorCode: LimitExceededErrorCode | string | undefined;
1403
-
1404
- /**
1405
- * <p>You can immediately retry your request.</p>
1406
- */
1407
- canRetry: boolean | undefined;
1408
- }
1409
-
1410
- export namespace LimitExceededException {
1411
- /**
1412
- * @internal
1413
- */
1414
- export const filterSensitiveLog = (obj: LimitExceededException): any => ({
1415
- ...obj,
1416
- });
1417
- }
1418
-
1419
- export interface CreateAssessmentTemplateRequest {
1420
- /**
1421
- * <p>The ARN that specifies the assessment target for which you want to create the
1422
- * assessment template.</p>
1423
- */
1424
- assessmentTargetArn: string | undefined;
1425
-
1426
- /**
1427
- * <p>The user-defined name that identifies the assessment template that you want to
1428
- * create. You can create several assessment templates for an assessment target. The names of
1429
- * the assessment templates that correspond to a particular assessment target must be
1430
- * unique.</p>
1431
- */
1432
- assessmentTemplateName: string | undefined;
1433
-
1434
- /**
1435
- * <p>The duration of the assessment run in seconds.</p>
1436
- */
1437
- durationInSeconds: number | undefined;
1438
-
1439
- /**
1440
- * <p>The ARNs that specify the rules packages that you want to attach to the assessment
1441
- * template.</p>
1442
- */
1443
- rulesPackageArns: string[] | undefined;
1444
-
1445
- /**
1446
- * <p>The user-defined attributes that are assigned to every finding that is generated by
1447
- * the assessment run that uses this assessment template. An attribute is a key and value pair
1448
- * (an <a>Attribute</a> object). Within an assessment template, each key must be
1449
- * unique.</p>
1450
- */
1451
- userAttributesForFindings?: Attribute[];
1452
- }
1453
-
1454
- export namespace CreateAssessmentTemplateRequest {
1455
- /**
1456
- * @internal
1457
- */
1458
- export const filterSensitiveLog = (obj: CreateAssessmentTemplateRequest): any => ({
1459
- ...obj,
1460
- });
1461
- }
1462
-
1463
- export interface CreateAssessmentTemplateResponse {
1464
- /**
1465
- * <p>The ARN that specifies the assessment template that is created.</p>
1466
- */
1467
- assessmentTemplateArn: string | undefined;
1468
- }
1469
-
1470
- export namespace CreateAssessmentTemplateResponse {
1471
- /**
1472
- * @internal
1473
- */
1474
- export const filterSensitiveLog = (obj: CreateAssessmentTemplateResponse): any => ({
1475
- ...obj,
1476
- });
1477
- }
1478
-
1479
- export interface CreateExclusionsPreviewRequest {
1480
- /**
1481
- * <p>The ARN that specifies the assessment template for which you want to create an
1482
- * exclusions preview.</p>
1483
- */
1484
- assessmentTemplateArn: string | undefined;
1485
- }
1486
-
1487
- export namespace CreateExclusionsPreviewRequest {
1488
- /**
1489
- * @internal
1490
- */
1491
- export const filterSensitiveLog = (obj: CreateExclusionsPreviewRequest): any => ({
1492
- ...obj,
1493
- });
1494
- }
1495
-
1496
- export interface CreateExclusionsPreviewResponse {
1497
- /**
1498
- * <p>Specifies the unique identifier of the requested exclusions preview. You can use the
1499
- * unique identifier to retrieve the exclusions preview when running the GetExclusionsPreview
1500
- * API.</p>
1501
- */
1502
- previewToken: string | undefined;
1503
- }
1504
-
1505
- export namespace CreateExclusionsPreviewResponse {
1506
- /**
1507
- * @internal
1508
- */
1509
- export const filterSensitiveLog = (obj: CreateExclusionsPreviewResponse): any => ({
1510
- ...obj,
1511
- });
1512
- }
1513
-
1514
- /**
1515
- * <p>The request is rejected. The specified assessment template is currently generating an
1516
- * exclusions preview.</p>
1517
- */
1518
- export interface PreviewGenerationInProgressException extends __SmithyException, $MetadataBearer {
1519
- name: "PreviewGenerationInProgressException";
1520
- $fault: "client";
1521
- message: string | undefined;
1522
- }
1523
-
1524
- export namespace PreviewGenerationInProgressException {
1525
- /**
1526
- * @internal
1527
- */
1528
- export const filterSensitiveLog = (obj: PreviewGenerationInProgressException): any => ({
1529
- ...obj,
1530
- });
1531
- }
1532
-
1533
- /**
1534
- * <p>This data type is used as one of the elements of the <a>ResourceGroup</a>
1535
- * data type.</p>
1536
- */
1537
- export interface ResourceGroupTag {
1538
- /**
1539
- * <p>A tag key.</p>
1540
- */
1541
- key: string | undefined;
1542
-
1543
- /**
1544
- * <p>The value assigned to a tag key.</p>
1545
- */
1546
- value?: string;
1547
- }
1548
-
1549
- export namespace ResourceGroupTag {
1550
- /**
1551
- * @internal
1552
- */
1553
- export const filterSensitiveLog = (obj: ResourceGroupTag): any => ({
1554
- ...obj,
1555
- });
1556
- }
1557
-
1558
- export interface CreateResourceGroupRequest {
1559
- /**
1560
- * <p>A collection of keys and an array of possible values,
1561
- * '[{"key":"key1","values":["Value1","Value2"]},{"key":"Key2","values":["Value3"]}]'.</p>
1562
- * <p>For example,'[{"key":"Name","values":["TestEC2Instance"]}]'.</p>
1563
- */
1564
- resourceGroupTags: ResourceGroupTag[] | undefined;
1565
- }
1566
-
1567
- export namespace CreateResourceGroupRequest {
1568
- /**
1569
- * @internal
1570
- */
1571
- export const filterSensitiveLog = (obj: CreateResourceGroupRequest): any => ({
1572
- ...obj,
1573
- });
1574
- }
1575
-
1576
- export interface CreateResourceGroupResponse {
1577
- /**
1578
- * <p>The ARN that specifies the resource group that is created.</p>
1579
- */
1580
- resourceGroupArn: string | undefined;
1581
- }
1582
-
1583
- export namespace CreateResourceGroupResponse {
1584
- /**
1585
- * @internal
1586
- */
1587
- export const filterSensitiveLog = (obj: CreateResourceGroupResponse): any => ({
1588
- ...obj,
1589
- });
1590
- }
1591
-
1592
- export interface DeleteAssessmentRunRequest {
1593
- /**
1594
- * <p>The ARN that specifies the assessment run that you want to delete.</p>
1595
- */
1596
- assessmentRunArn: string | undefined;
1597
- }
1598
-
1599
- export namespace DeleteAssessmentRunRequest {
1600
- /**
1601
- * @internal
1602
- */
1603
- export const filterSensitiveLog = (obj: DeleteAssessmentRunRequest): any => ({
1604
- ...obj,
1605
- });
1606
- }
1607
-
1608
- export interface DeleteAssessmentTargetRequest {
1609
- /**
1610
- * <p>The ARN that specifies the assessment target that you want to delete.</p>
1611
- */
1612
- assessmentTargetArn: string | undefined;
1613
- }
1614
-
1615
- export namespace DeleteAssessmentTargetRequest {
1616
- /**
1617
- * @internal
1618
- */
1619
- export const filterSensitiveLog = (obj: DeleteAssessmentTargetRequest): any => ({
1620
- ...obj,
1621
- });
1622
- }
1623
-
1624
- export interface DeleteAssessmentTemplateRequest {
1625
- /**
1626
- * <p>The ARN that specifies the assessment template that you want to delete.</p>
1627
- */
1628
- assessmentTemplateArn: string | undefined;
1629
- }
1630
-
1631
- export namespace DeleteAssessmentTemplateRequest {
1632
- /**
1633
- * @internal
1634
- */
1635
- export const filterSensitiveLog = (obj: DeleteAssessmentTemplateRequest): any => ({
1636
- ...obj,
1637
- });
1638
- }
1639
-
1640
- export interface DescribeAssessmentRunsRequest {
1641
- /**
1642
- * <p>The ARN that specifies the assessment run that you want to describe.</p>
1643
- */
1644
- assessmentRunArns: string[] | undefined;
1645
- }
1646
-
1647
- export namespace DescribeAssessmentRunsRequest {
1648
- /**
1649
- * @internal
1650
- */
1651
- export const filterSensitiveLog = (obj: DescribeAssessmentRunsRequest): any => ({
1652
- ...obj,
1653
- });
1654
- }
1655
-
1656
- export interface DescribeAssessmentRunsResponse {
1657
- /**
1658
- * <p>Information about the assessment run.</p>
1659
- */
1660
- assessmentRuns: AssessmentRun[] | undefined;
1661
-
1662
- /**
1663
- * <p>Assessment run details that cannot be described. An error code is provided for each
1664
- * failed item.</p>
1665
- */
1666
- failedItems: { [key: string]: FailedItemDetails } | undefined;
1667
- }
1668
-
1669
- export namespace DescribeAssessmentRunsResponse {
1670
- /**
1671
- * @internal
1672
- */
1673
- export const filterSensitiveLog = (obj: DescribeAssessmentRunsResponse): any => ({
1674
- ...obj,
1675
- });
1676
- }
1677
-
1678
- export interface DescribeAssessmentTargetsRequest {
1679
- /**
1680
- * <p>The ARNs that specifies the assessment targets that you want to describe.</p>
1681
- */
1682
- assessmentTargetArns: string[] | undefined;
1683
- }
1684
-
1685
- export namespace DescribeAssessmentTargetsRequest {
1686
- /**
1687
- * @internal
1688
- */
1689
- export const filterSensitiveLog = (obj: DescribeAssessmentTargetsRequest): any => ({
1690
- ...obj,
1691
- });
1692
- }
1693
-
1694
- export interface DescribeAssessmentTargetsResponse {
1695
- /**
1696
- * <p>Information about the assessment targets.</p>
1697
- */
1698
- assessmentTargets: AssessmentTarget[] | undefined;
1699
-
1700
- /**
1701
- * <p>Assessment target details that cannot be described. An error code is provided for
1702
- * each failed item.</p>
1703
- */
1704
- failedItems: { [key: string]: FailedItemDetails } | undefined;
1705
- }
1706
-
1707
- export namespace DescribeAssessmentTargetsResponse {
1708
- /**
1709
- * @internal
1710
- */
1711
- export const filterSensitiveLog = (obj: DescribeAssessmentTargetsResponse): any => ({
1712
- ...obj,
1713
- });
1714
- }
1715
-
1716
- export interface DescribeAssessmentTemplatesRequest {
1717
- assessmentTemplateArns: string[] | undefined;
1718
- }
1719
-
1720
- export namespace DescribeAssessmentTemplatesRequest {
1721
- /**
1722
- * @internal
1723
- */
1724
- export const filterSensitiveLog = (obj: DescribeAssessmentTemplatesRequest): any => ({
1725
- ...obj,
1726
- });
1727
- }
1728
-
1729
- export interface DescribeAssessmentTemplatesResponse {
1730
- /**
1731
- * <p>Information about the assessment templates.</p>
1732
- */
1733
- assessmentTemplates: AssessmentTemplate[] | undefined;
1734
-
1735
- /**
1736
- * <p>Assessment template details that cannot be described. An error code is provided for
1737
- * each failed item.</p>
1738
- */
1739
- failedItems: { [key: string]: FailedItemDetails } | undefined;
1740
- }
1741
-
1742
- export namespace DescribeAssessmentTemplatesResponse {
1743
- /**
1744
- * @internal
1745
- */
1746
- export const filterSensitiveLog = (obj: DescribeAssessmentTemplatesResponse): any => ({
1747
- ...obj,
1748
- });
1749
- }
1750
-
1751
- export interface DescribeCrossAccountAccessRoleResponse {
1752
- /**
1753
- * <p>The ARN that specifies the IAM role that Amazon Inspector uses to access your AWS
1754
- * account.</p>
1755
- */
1756
- roleArn: string | undefined;
1757
-
1758
- /**
1759
- * <p>A Boolean value that specifies whether the IAM role has the necessary policies
1760
- * attached to enable Amazon Inspector to access your AWS account.</p>
1761
- */
1762
- valid: boolean | undefined;
1763
-
1764
- /**
1765
- * <p>The date when the cross-account access role was registered.</p>
1766
- */
1767
- registeredAt: Date | undefined;
1768
- }
1769
-
1770
- export namespace DescribeCrossAccountAccessRoleResponse {
1771
- /**
1772
- * @internal
1773
- */
1774
- export const filterSensitiveLog = (obj: DescribeCrossAccountAccessRoleResponse): any => ({
1775
- ...obj,
1776
- });
1777
- }
1778
-
1779
- export enum Locale {
1780
- EN_US = "EN_US",
1781
- }
1782
-
1783
- export interface DescribeExclusionsRequest {
1784
- /**
1785
- * <p>The list of ARNs that specify the exclusions that you want to describe.</p>
1786
- */
1787
- exclusionArns: string[] | undefined;
1788
-
1789
- /**
1790
- * <p>The locale into which you want to translate the exclusion's title, description, and
1791
- * recommendation.</p>
1792
- */
1793
- locale?: Locale | string;
1794
- }
1795
-
1796
- export namespace DescribeExclusionsRequest {
1797
- /**
1798
- * @internal
1799
- */
1800
- export const filterSensitiveLog = (obj: DescribeExclusionsRequest): any => ({
1801
- ...obj,
1802
- });
1803
- }
1804
-
1805
- export enum ScopeType {
1806
- INSTANCE_ID = "INSTANCE_ID",
1807
- RULES_PACKAGE_ARN = "RULES_PACKAGE_ARN",
1808
- }
1809
-
1810
- /**
1811
- * <p>This data type contains key-value pairs that identify various Amazon
1812
- * resources.</p>
1813
- */
1814
- export interface Scope {
1815
- /**
1816
- * <p>The type of the scope.</p>
1817
- */
1818
- key?: ScopeType | string;
1819
-
1820
- /**
1821
- * <p>The resource identifier for the specified scope type.</p>
1822
- */
1823
- value?: string;
1824
- }
1825
-
1826
- export namespace Scope {
1827
- /**
1828
- * @internal
1829
- */
1830
- export const filterSensitiveLog = (obj: Scope): any => ({
1831
- ...obj,
1832
- });
1833
- }
1834
-
1835
- /**
1836
- * <p>Contains information about what was excluded from an assessment run.</p>
1837
- */
1838
- export interface Exclusion {
1839
- /**
1840
- * <p>The ARN that specifies the exclusion.</p>
1841
- */
1842
- arn: string | undefined;
1843
-
1844
- /**
1845
- * <p>The name of the exclusion.</p>
1846
- */
1847
- title: string | undefined;
1848
-
1849
- /**
1850
- * <p>The description of the exclusion.</p>
1851
- */
1852
- description: string | undefined;
1853
-
1854
- /**
1855
- * <p>The recommendation for the exclusion.</p>
1856
- */
1857
- recommendation: string | undefined;
1858
-
1859
- /**
1860
- * <p>The AWS resources for which the exclusion pertains.</p>
1861
- */
1862
- scopes: Scope[] | undefined;
1863
-
1864
- /**
1865
- * <p>The system-defined attributes for the exclusion.</p>
1866
- */
1867
- attributes?: Attribute[];
1868
- }
1869
-
1870
- export namespace Exclusion {
1871
- /**
1872
- * @internal
1873
- */
1874
- export const filterSensitiveLog = (obj: Exclusion): any => ({
1875
- ...obj,
1876
- });
1877
- }
1878
-
1879
- export interface DescribeExclusionsResponse {
1880
- /**
1881
- * <p>Information about the exclusions.</p>
1882
- */
1883
- exclusions: { [key: string]: Exclusion } | undefined;
1884
-
1885
- /**
1886
- * <p>Exclusion details that cannot be described. An error code is provided for each failed
1887
- * item.</p>
1888
- */
1889
- failedItems: { [key: string]: FailedItemDetails } | undefined;
1890
- }
1891
-
1892
- export namespace DescribeExclusionsResponse {
1893
- /**
1894
- * @internal
1895
- */
1896
- export const filterSensitiveLog = (obj: DescribeExclusionsResponse): any => ({
1897
- ...obj,
1898
- });
1899
- }
1900
-
1901
- export interface DescribeFindingsRequest {
1902
- /**
1903
- * <p>The ARN that specifies the finding that you want to describe.</p>
1904
- */
1905
- findingArns: string[] | undefined;
1906
-
1907
- /**
1908
- * <p>The locale into which you want to translate a finding description, recommendation,
1909
- * and the short description that identifies the finding.</p>
1910
- */
1911
- locale?: Locale | string;
1912
- }
1913
-
1914
- export namespace DescribeFindingsRequest {
1915
- /**
1916
- * @internal
1917
- */
1918
- export const filterSensitiveLog = (obj: DescribeFindingsRequest): any => ({
1919
- ...obj,
1920
- });
1921
- }
1922
-
1923
- /**
1924
- * <p>This data type is used in the <a>Finding</a> data type.</p>
1925
- */
1926
- export interface InspectorServiceAttributes {
1927
- /**
1928
- * <p>The schema version of this data type.</p>
1929
- */
1930
- schemaVersion: number | undefined;
1931
-
1932
- /**
1933
- * <p>The ARN of the assessment run during which the finding is generated.</p>
1934
- */
1935
- assessmentRunArn?: string;
1936
-
1937
- /**
1938
- * <p>The ARN of the rules package that is used to generate the finding.</p>
1939
- */
1940
- rulesPackageArn?: string;
1941
- }
1942
-
1943
- export namespace InspectorServiceAttributes {
1944
- /**
1945
- * @internal
1946
- */
1947
- export const filterSensitiveLog = (obj: InspectorServiceAttributes): any => ({
1948
- ...obj,
1949
- });
1950
- }
1951
-
1952
- /**
1953
- * <p>Contains information about an Amazon Inspector finding. This data type is used as the
1954
- * response element in the <a>DescribeFindings</a> action.</p>
1955
- */
1956
- export interface Finding {
1957
- /**
1958
- * <p>The ARN that specifies the finding.</p>
1959
- */
1960
- arn: string | undefined;
1961
-
1962
- /**
1963
- * <p>The schema version of this data type.</p>
1964
- */
1965
- schemaVersion?: number;
1966
-
1967
- /**
1968
- * <p>The data element is set to "Inspector".</p>
1969
- */
1970
- service?: string;
1971
-
1972
- /**
1973
- * <p>This data type is used in the <a>Finding</a> data type.</p>
1974
- */
1975
- serviceAttributes?: InspectorServiceAttributes;
1976
-
1977
- /**
1978
- * <p>The type of the host from which the finding is generated.</p>
1979
- */
1980
- assetType?: AssetType | string;
1981
-
1982
- /**
1983
- * <p>A collection of attributes of the host from which the finding is generated.</p>
1984
- */
1985
- assetAttributes?: AssetAttributes;
1986
-
1987
- /**
1988
- * <p>The ID of the finding.</p>
1989
- */
1990
- id?: string;
1991
-
1992
- /**
1993
- * <p>The name of the finding.</p>
1994
- */
1995
- title?: string;
1996
-
1997
- /**
1998
- * <p>The description of the finding.</p>
1999
- */
2000
- description?: string;
2001
-
2002
- /**
2003
- * <p>The recommendation for the finding.</p>
2004
- */
2005
- recommendation?: string;
2006
-
2007
- /**
2008
- * <p>The finding severity. Values can be set to High, Medium, Low, and
2009
- * Informational.</p>
2010
- */
2011
- severity?: Severity | string;
2012
-
2013
- /**
2014
- * <p>The numeric value of the finding severity.</p>
2015
- */
2016
- numericSeverity?: number;
2017
-
2018
- /**
2019
- * <p>This data element is currently not used.</p>
2020
- */
2021
- confidence?: number;
2022
-
2023
- /**
2024
- * <p>This data element is currently not used.</p>
2025
- */
2026
- indicatorOfCompromise?: boolean;
2027
-
2028
- /**
2029
- * <p>The system-defined attributes for the finding.</p>
2030
- */
2031
- attributes: Attribute[] | undefined;
2032
-
2033
- /**
2034
- * <p>The user-defined attributes that are assigned to the finding.</p>
2035
- */
2036
- userAttributes: Attribute[] | undefined;
2037
-
2038
- /**
2039
- * <p>The time when the finding was generated.</p>
2040
- */
2041
- createdAt: Date | undefined;
2042
-
2043
- /**
2044
- * <p>The time when <a>AddAttributesToFindings</a> is called.</p>
2045
- */
2046
- updatedAt: Date | undefined;
2047
- }
2048
-
2049
- export namespace Finding {
2050
- /**
2051
- * @internal
2052
- */
2053
- export const filterSensitiveLog = (obj: Finding): any => ({
2054
- ...obj,
2055
- });
2056
- }
2057
-
2058
- export interface DescribeFindingsResponse {
2059
- /**
2060
- * <p>Information about the finding.</p>
2061
- */
2062
- findings: Finding[] | undefined;
2063
-
2064
- /**
2065
- * <p>Finding details that cannot be described. An error code is provided for each failed
2066
- * item.</p>
2067
- */
2068
- failedItems: { [key: string]: FailedItemDetails } | undefined;
2069
- }
2070
-
2071
- export namespace DescribeFindingsResponse {
2072
- /**
2073
- * @internal
2074
- */
2075
- export const filterSensitiveLog = (obj: DescribeFindingsResponse): any => ({
2076
- ...obj,
2077
- });
2078
- }
2079
-
2080
- export interface DescribeResourceGroupsRequest {
2081
- /**
2082
- * <p>The ARN that specifies the resource group that you want to describe.</p>
2083
- */
2084
- resourceGroupArns: string[] | undefined;
2085
- }
2086
-
2087
- export namespace DescribeResourceGroupsRequest {
2088
- /**
2089
- * @internal
2090
- */
2091
- export const filterSensitiveLog = (obj: DescribeResourceGroupsRequest): any => ({
2092
- ...obj,
2093
- });
2094
- }
2095
-
2096
- /**
2097
- * <p>Contains information about a resource group. The resource group defines a set of tags
2098
- * that, when queried, identify the AWS resources that make up the assessment target. This
2099
- * data type is used as the response element in the <a>DescribeResourceGroups</a>
2100
- * action.</p>
2101
- */
2102
- export interface ResourceGroup {
2103
- /**
2104
- * <p>The ARN of the resource group.</p>
2105
- */
2106
- arn: string | undefined;
2107
-
2108
- /**
2109
- * <p>The tags (key and value pairs) of the resource group. This data type property is used
2110
- * in the <a>CreateResourceGroup</a> action.</p>
2111
- */
2112
- tags: ResourceGroupTag[] | undefined;
2113
-
2114
- /**
2115
- * <p>The time at which resource group is created.</p>
2116
- */
2117
- createdAt: Date | undefined;
2118
- }
2119
-
2120
- export namespace ResourceGroup {
2121
- /**
2122
- * @internal
2123
- */
2124
- export const filterSensitiveLog = (obj: ResourceGroup): any => ({
2125
- ...obj,
2126
- });
2127
- }
2128
-
2129
- export interface DescribeResourceGroupsResponse {
2130
- /**
2131
- * <p>Information about a resource group.</p>
2132
- */
2133
- resourceGroups: ResourceGroup[] | undefined;
2134
-
2135
- /**
2136
- * <p>Resource group details that cannot be described. An error code is provided for each
2137
- * failed item.</p>
2138
- */
2139
- failedItems: { [key: string]: FailedItemDetails } | undefined;
2140
- }
2141
-
2142
- export namespace DescribeResourceGroupsResponse {
2143
- /**
2144
- * @internal
2145
- */
2146
- export const filterSensitiveLog = (obj: DescribeResourceGroupsResponse): any => ({
2147
- ...obj,
2148
- });
2149
- }
2150
-
2151
- export interface DescribeRulesPackagesRequest {
2152
- /**
2153
- * <p>The ARN that specifies the rules package that you want to describe.</p>
2154
- */
2155
- rulesPackageArns: string[] | undefined;
2156
-
2157
- /**
2158
- * <p>The locale that you want to translate a rules package description into.</p>
2159
- */
2160
- locale?: Locale | string;
2161
- }
2162
-
2163
- export namespace DescribeRulesPackagesRequest {
2164
- /**
2165
- * @internal
2166
- */
2167
- export const filterSensitiveLog = (obj: DescribeRulesPackagesRequest): any => ({
2168
- ...obj,
2169
- });
2170
- }
2171
-
2172
- /**
2173
- * <p>Contains information about an Amazon Inspector rules package. This data type is used
2174
- * as the response element in the <a>DescribeRulesPackages</a> action.</p>
2175
- */
2176
- export interface RulesPackage {
2177
- /**
2178
- * <p>The ARN of the rules package.</p>
2179
- */
2180
- arn: string | undefined;
2181
-
2182
- /**
2183
- * <p>The name of the rules package.</p>
2184
- */
2185
- name: string | undefined;
2186
-
2187
- /**
2188
- * <p>The version ID of the rules package.</p>
2189
- */
2190
- version: string | undefined;
2191
-
2192
- /**
2193
- * <p>The provider of the rules package.</p>
2194
- */
2195
- provider: string | undefined;
2196
-
2197
- /**
2198
- * <p>The description of the rules package.</p>
2199
- */
2200
- description?: string;
2201
- }
2202
-
2203
- export namespace RulesPackage {
2204
- /**
2205
- * @internal
2206
- */
2207
- export const filterSensitiveLog = (obj: RulesPackage): any => ({
2208
- ...obj,
2209
- });
2210
- }
2211
-
2212
- export interface DescribeRulesPackagesResponse {
2213
- /**
2214
- * <p>Information about the rules package.</p>
2215
- */
2216
- rulesPackages: RulesPackage[] | undefined;
2217
-
2218
- /**
2219
- * <p>Rules package details that cannot be described. An error code is provided for each
2220
- * failed item.</p>
2221
- */
2222
- failedItems: { [key: string]: FailedItemDetails } | undefined;
2223
- }
2224
-
2225
- export namespace DescribeRulesPackagesResponse {
2226
- /**
2227
- * @internal
2228
- */
2229
- export const filterSensitiveLog = (obj: DescribeRulesPackagesResponse): any => ({
2230
- ...obj,
2231
- });
2232
- }
2233
-
2234
- /**
2235
- * <p>This data type is used in the <a>Subscription</a> data type.</p>
2236
- */
2237
- export interface EventSubscription {
2238
- /**
2239
- * <p>The event for which Amazon Simple Notification Service (SNS) notifications are
2240
- * sent.</p>
2241
- */
2242
- event: InspectorEvent | string | undefined;
2243
-
2244
- /**
2245
- * <p>The time at which <a>SubscribeToEvent</a> is called.</p>
2246
- */
2247
- subscribedAt: Date | undefined;
2248
- }
2249
-
2250
- export namespace EventSubscription {
2251
- /**
2252
- * @internal
2253
- */
2254
- export const filterSensitiveLog = (obj: EventSubscription): any => ({
2255
- ...obj,
2256
- });
2257
- }
2258
-
2259
- /**
2260
- * <p>Contains information about what is excluded from an assessment run given the current
2261
- * state of the assessment template.</p>
2262
- */
2263
- export interface ExclusionPreview {
2264
- /**
2265
- * <p>The name of the exclusion preview.</p>
2266
- */
2267
- title: string | undefined;
2268
-
2269
- /**
2270
- * <p>The description of the exclusion preview.</p>
2271
- */
2272
- description: string | undefined;
2273
-
2274
- /**
2275
- * <p>The recommendation for the exclusion preview.</p>
2276
- */
2277
- recommendation: string | undefined;
2278
-
2279
- /**
2280
- * <p>The AWS resources for which the exclusion preview pertains.</p>
2281
- */
2282
- scopes: Scope[] | undefined;
2283
-
2284
- /**
2285
- * <p>The system-defined attributes for the exclusion preview.</p>
2286
- */
2287
- attributes?: Attribute[];
2288
- }
2289
-
2290
- export namespace ExclusionPreview {
2291
- /**
2292
- * @internal
2293
- */
2294
- export const filterSensitiveLog = (obj: ExclusionPreview): any => ({
2295
- ...obj,
2296
- });
2297
- }
2298
-
2299
- /**
2300
- * <p>This data type is used as a request parameter in the <a>ListFindings</a>
2301
- * action.</p>
2302
- */
2303
- export interface FindingFilter {
2304
- /**
2305
- * <p>For a record to match a filter, one of the values that is specified for this data
2306
- * type property must be the exact match of the value of the <b>agentId</b> property of the <a>Finding</a> data type.</p>
2307
- */
2308
- agentIds?: string[];
2309
-
2310
- /**
2311
- * <p>For a record to match a filter, one of the values that is specified for this data
2312
- * type property must be the exact match of the value of the <b>autoScalingGroup</b> property of the <a>Finding</a> data
2313
- * type.</p>
2314
- */
2315
- autoScalingGroups?: string[];
2316
-
2317
- /**
2318
- * <p>For a record to match a filter, one of the values that is specified for this data
2319
- * type property must be the exact match of the value of the <b>ruleName</b> property of the <a>Finding</a> data type.</p>
2320
- */
2321
- ruleNames?: string[];
2322
-
2323
- /**
2324
- * <p>For a record to match a filter, one of the values that is specified for this data
2325
- * type property must be the exact match of the value of the <b>severity</b> property of the <a>Finding</a> data type.</p>
2326
- */
2327
- severities?: (Severity | string)[];
2328
-
2329
- /**
2330
- * <p>For a record to match a filter, one of the values that is specified for this data
2331
- * type property must be the exact match of the value of the <b>rulesPackageArn</b> property of the <a>Finding</a> data
2332
- * type.</p>
2333
- */
2334
- rulesPackageArns?: string[];
2335
-
2336
- /**
2337
- * <p>For a record to match a filter, the list of values that are specified for this data
2338
- * type property must be contained in the list of values of the <b>attributes</b> property of the <a>Finding</a> data type.</p>
2339
- */
2340
- attributes?: Attribute[];
2341
-
2342
- /**
2343
- * <p>For a record to match a filter, the value that is specified for this data type
2344
- * property must be contained in the list of values of the <b>userAttributes</b> property of the <a>Finding</a> data
2345
- * type.</p>
2346
- */
2347
- userAttributes?: Attribute[];
2348
-
2349
- /**
2350
- * <p>The time range during which the finding is generated.</p>
2351
- */
2352
- creationTimeRange?: TimestampRange;
2353
- }
2354
-
2355
- export namespace FindingFilter {
2356
- /**
2357
- * @internal
2358
- */
2359
- export const filterSensitiveLog = (obj: FindingFilter): any => ({
2360
- ...obj,
2361
- });
2362
- }
2363
-
2364
- export enum ReportFileFormat {
2365
- HTML = "HTML",
2366
- PDF = "PDF",
2367
- }
2368
-
2369
- export enum ReportType {
2370
- FINDING = "FINDING",
2371
- FULL = "FULL",
2372
- }
2373
-
2374
- export interface GetAssessmentReportRequest {
2375
- /**
2376
- * <p>The ARN that specifies the assessment run for which you want to generate a
2377
- * report.</p>
2378
- */
2379
- assessmentRunArn: string | undefined;
2380
-
2381
- /**
2382
- * <p>Specifies the file format (html or pdf) of the assessment report that you want to
2383
- * generate.</p>
2384
- */
2385
- reportFileFormat: ReportFileFormat | string | undefined;
2386
-
2387
- /**
2388
- * <p>Specifies the type of the assessment report that you want to generate. There are two
2389
- * types of assessment reports: a finding report and a full report. For more information, see
2390
- * <a href="https://docs.aws.amazon.com/inspector/latest/userguide/inspector_reports.html">Assessment Reports</a>. </p>
2391
- */
2392
- reportType: ReportType | string | undefined;
2393
- }
2394
-
2395
- export namespace GetAssessmentReportRequest {
2396
- /**
2397
- * @internal
2398
- */
2399
- export const filterSensitiveLog = (obj: GetAssessmentReportRequest): any => ({
2400
- ...obj,
2401
- });
2402
- }
2403
-
2404
- export enum ReportStatus {
2405
- COMPLETED = "COMPLETED",
2406
- FAILED = "FAILED",
2407
- WORK_IN_PROGRESS = "WORK_IN_PROGRESS",
2408
- }
2409
-
2410
- export interface GetAssessmentReportResponse {
2411
- /**
2412
- * <p>Specifies the status of the request to generate an assessment report. </p>
2413
- */
2414
- status: ReportStatus | string | undefined;
2415
-
2416
- /**
2417
- * <p>Specifies the URL where you can find the generated assessment report. This parameter
2418
- * is only returned if the report is successfully generated.</p>
2419
- */
2420
- url?: string;
2421
- }
2422
-
2423
- export namespace GetAssessmentReportResponse {
2424
- /**
2425
- * @internal
2426
- */
2427
- export const filterSensitiveLog = (obj: GetAssessmentReportResponse): any => ({
2428
- ...obj,
2429
- });
2430
- }
2431
-
2432
- /**
2433
- * <p>Used by the <a>GetAssessmentReport</a> API. The request was rejected
2434
- * because you tried to generate a report for an assessment run that existed before reporting
2435
- * was supported in Amazon Inspector. You can only generate reports for assessment runs that
2436
- * took place or will take place after generating reports in Amazon Inspector became
2437
- * available.</p>
2438
- */
2439
- export interface UnsupportedFeatureException extends __SmithyException, $MetadataBearer {
2440
- name: "UnsupportedFeatureException";
2441
- $fault: "client";
2442
- message: string | undefined;
2443
- canRetry: boolean | undefined;
2444
- }
2445
-
2446
- export namespace UnsupportedFeatureException {
2447
- /**
2448
- * @internal
2449
- */
2450
- export const filterSensitiveLog = (obj: UnsupportedFeatureException): any => ({
2451
- ...obj,
2452
- });
2453
- }
2454
-
2455
- export interface GetExclusionsPreviewRequest {
2456
- /**
2457
- * <p>The ARN that specifies the assessment template for which the exclusions preview was
2458
- * requested.</p>
2459
- */
2460
- assessmentTemplateArn: string | undefined;
2461
-
2462
- /**
2463
- * <p>The unique identifier associated of the exclusions preview.</p>
2464
- */
2465
- previewToken: string | undefined;
2466
-
2467
- /**
2468
- * <p>You can use this parameter when paginating results. Set the value of this parameter
2469
- * to null on your first call to the GetExclusionsPreviewRequest action. Subsequent calls to
2470
- * the action fill nextToken in the request with the value of nextToken from the previous
2471
- * response to continue listing data.</p>
2472
- */
2473
- nextToken?: string;
2474
-
2475
- /**
2476
- * <p>You can use this parameter to indicate the maximum number of items you want in the
2477
- * response. The default value is 100. The maximum value is 500.</p>
2478
- */
2479
- maxResults?: number;
2480
-
2481
- /**
2482
- * <p>The locale into which you want to translate the exclusion's title, description, and
2483
- * recommendation.</p>
2484
- */
2485
- locale?: Locale | string;
2486
- }
2487
-
2488
- export namespace GetExclusionsPreviewRequest {
2489
- /**
2490
- * @internal
2491
- */
2492
- export const filterSensitiveLog = (obj: GetExclusionsPreviewRequest): any => ({
2493
- ...obj,
2494
- });
2495
- }
2496
-
2497
- export enum PreviewStatus {
2498
- COMPLETED = "COMPLETED",
2499
- WORK_IN_PROGRESS = "WORK_IN_PROGRESS",
2500
- }
2501
-
2502
- export interface GetExclusionsPreviewResponse {
2503
- /**
2504
- * <p>Specifies the status of the request to generate an exclusions preview.</p>
2505
- */
2506
- previewStatus: PreviewStatus | string | undefined;
2507
-
2508
- /**
2509
- * <p>Information about the exclusions included in the preview.</p>
2510
- */
2511
- exclusionPreviews?: ExclusionPreview[];
2512
-
2513
- /**
2514
- * <p>When a response is generated, if there is more data to be listed, this parameters is
2515
- * present in the response and contains the value to use for the nextToken parameter in a
2516
- * subsequent pagination request. If there is no more data to be listed, this parameter is set
2517
- * to null.</p>
2518
- */
2519
- nextToken?: string;
2520
- }
2521
-
2522
- export namespace GetExclusionsPreviewResponse {
2523
- /**
2524
- * @internal
2525
- */
2526
- export const filterSensitiveLog = (obj: GetExclusionsPreviewResponse): any => ({
2527
- ...obj,
2528
- });
2529
- }
2530
-
2531
- export interface GetTelemetryMetadataRequest {
2532
- /**
2533
- * <p>The ARN that specifies the assessment run that has the telemetry data that you want
2534
- * to obtain.</p>
2535
- */
2536
- assessmentRunArn: string | undefined;
2537
- }
2538
-
2539
- export namespace GetTelemetryMetadataRequest {
2540
- /**
2541
- * @internal
2542
- */
2543
- export const filterSensitiveLog = (obj: GetTelemetryMetadataRequest): any => ({
2544
- ...obj,
2545
- });
2546
- }
2547
-
2548
- export interface GetTelemetryMetadataResponse {
2549
- /**
2550
- * <p>Telemetry details.</p>
2551
- */
2552
- telemetryMetadata: TelemetryMetadata[] | undefined;
2553
- }
2554
-
2555
- export namespace GetTelemetryMetadataResponse {
2556
- /**
2557
- * @internal
2558
- */
2559
- export const filterSensitiveLog = (obj: GetTelemetryMetadataResponse): any => ({
2560
- ...obj,
2561
- });
2562
- }
2563
-
2564
- export interface ListAssessmentRunAgentsRequest {
2565
- /**
2566
- * <p>The ARN that specifies the assessment run whose agents you want to list.</p>
2567
- */
2568
- assessmentRunArn: string | undefined;
2569
-
2570
- /**
2571
- * <p>You can use this parameter to specify a subset of data to be included in the action's
2572
- * response.</p>
2573
- * <p>For a record to match a filter, all specified filter attributes must match. When
2574
- * multiple values are specified for a filter attribute, any of the values can
2575
- * match.</p>
2576
- */
2577
- filter?: AgentFilter;
2578
-
2579
- /**
2580
- * <p>You can use this parameter when paginating results. Set the value of this parameter
2581
- * to null on your first call to the <b>ListAssessmentRunAgents</b>
2582
- * action. Subsequent calls to the action fill <b>nextToken</b> in
2583
- * the request with the value of <b>NextToken</b> from the previous
2584
- * response to continue listing data.</p>
2585
- */
2586
- nextToken?: string;
2587
-
2588
- /**
2589
- * <p>You can use this parameter to indicate the maximum number of items that you want in
2590
- * the response. The default value is 10. The maximum value is 500.</p>
2591
- */
2592
- maxResults?: number;
2593
- }
2594
-
2595
- export namespace ListAssessmentRunAgentsRequest {
2596
- /**
2597
- * @internal
2598
- */
2599
- export const filterSensitiveLog = (obj: ListAssessmentRunAgentsRequest): any => ({
2600
- ...obj,
2601
- });
2602
- }
2603
-
2604
- export interface ListAssessmentRunAgentsResponse {
2605
- /**
2606
- * <p>A list of ARNs that specifies the agents returned by the action.</p>
2607
- */
2608
- assessmentRunAgents: AssessmentRunAgent[] | undefined;
2609
-
2610
- /**
2611
- * <p> When a response is generated, if there is more data to be listed, this parameter is
2612
- * present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more
2613
- * data to be listed, this parameter is set to null.</p>
2614
- */
2615
- nextToken?: string;
2616
- }
2617
-
2618
- export namespace ListAssessmentRunAgentsResponse {
2619
- /**
2620
- * @internal
2621
- */
2622
- export const filterSensitiveLog = (obj: ListAssessmentRunAgentsResponse): any => ({
2623
- ...obj,
2624
- });
2625
- }
2626
-
2627
- export interface ListAssessmentRunsRequest {
2628
- /**
2629
- * <p>The ARNs that specify the assessment templates whose assessment runs you want to
2630
- * list.</p>
2631
- */
2632
- assessmentTemplateArns?: string[];
2633
-
2634
- /**
2635
- * <p>You can use this parameter to specify a subset of data to be included in the action's
2636
- * response.</p>
2637
- * <p>For a record to match a filter, all specified filter attributes must match. When
2638
- * multiple values are specified for a filter attribute, any of the values can
2639
- * match.</p>
2640
- */
2641
- filter?: AssessmentRunFilter;
2642
-
2643
- /**
2644
- * <p>You can use this parameter when paginating results. Set the value of this parameter
2645
- * to null on your first call to the <b>ListAssessmentRuns</b>
2646
- * action. Subsequent calls to the action fill <b>nextToken</b> in
2647
- * the request with the value of <b>NextToken</b> from the previous
2648
- * response to continue listing data.</p>
2649
- */
2650
- nextToken?: string;
2651
-
2652
- /**
2653
- * <p>You can use this parameter to indicate the maximum number of items that you want in
2654
- * the response. The default value is 10. The maximum value is 500.</p>
2655
- */
2656
- maxResults?: number;
2657
- }
2658
-
2659
- export namespace ListAssessmentRunsRequest {
2660
- /**
2661
- * @internal
2662
- */
2663
- export const filterSensitiveLog = (obj: ListAssessmentRunsRequest): any => ({
2664
- ...obj,
2665
- });
2666
- }
2667
-
2668
- export interface ListAssessmentRunsResponse {
2669
- /**
2670
- * <p>A list of ARNs that specifies the assessment runs that are returned by the
2671
- * action.</p>
2672
- */
2673
- assessmentRunArns: string[] | undefined;
2674
-
2675
- /**
2676
- * <p> When a response is generated, if there is more data to be listed, this parameter is
2677
- * present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more
2678
- * data to be listed, this parameter is set to null.</p>
2679
- */
2680
- nextToken?: string;
2681
- }
2682
-
2683
- export namespace ListAssessmentRunsResponse {
2684
- /**
2685
- * @internal
2686
- */
2687
- export const filterSensitiveLog = (obj: ListAssessmentRunsResponse): any => ({
2688
- ...obj,
2689
- });
2690
- }
2691
-
2692
- export interface ListAssessmentTargetsRequest {
2693
- /**
2694
- * <p>You can use this parameter to specify a subset of data to be included in the action's
2695
- * response.</p>
2696
- * <p>For a record to match a filter, all specified filter attributes must match. When
2697
- * multiple values are specified for a filter attribute, any of the values can
2698
- * match.</p>
2699
- */
2700
- filter?: AssessmentTargetFilter;
2701
-
2702
- /**
2703
- * <p>You can use this parameter when paginating results. Set the value of this parameter
2704
- * to null on your first call to the <b>ListAssessmentTargets</b>
2705
- * action. Subsequent calls to the action fill <b>nextToken</b> in
2706
- * the request with the value of <b>NextToken</b> from the previous
2707
- * response to continue listing data.</p>
2708
- */
2709
- nextToken?: string;
2710
-
2711
- /**
2712
- * <p>You can use this parameter to indicate the maximum number of items you want in the
2713
- * response. The default value is 10. The maximum value is 500.</p>
2714
- */
2715
- maxResults?: number;
2716
- }
2717
-
2718
- export namespace ListAssessmentTargetsRequest {
2719
- /**
2720
- * @internal
2721
- */
2722
- export const filterSensitiveLog = (obj: ListAssessmentTargetsRequest): any => ({
2723
- ...obj,
2724
- });
2725
- }
2726
-
2727
- export interface ListAssessmentTargetsResponse {
2728
- /**
2729
- * <p>A list of ARNs that specifies the assessment targets that are returned by the
2730
- * action.</p>
2731
- */
2732
- assessmentTargetArns: string[] | undefined;
2733
-
2734
- /**
2735
- * <p> When a response is generated, if there is more data to be listed, this parameter is
2736
- * present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more
2737
- * data to be listed, this parameter is set to null.</p>
2738
- */
2739
- nextToken?: string;
2740
- }
2741
-
2742
- export namespace ListAssessmentTargetsResponse {
2743
- /**
2744
- * @internal
2745
- */
2746
- export const filterSensitiveLog = (obj: ListAssessmentTargetsResponse): any => ({
2747
- ...obj,
2748
- });
2749
- }
2750
-
2751
- export interface ListAssessmentTemplatesRequest {
2752
- /**
2753
- * <p>A list of ARNs that specifies the assessment targets whose assessment templates you
2754
- * want to list.</p>
2755
- */
2756
- assessmentTargetArns?: string[];
2757
-
2758
- /**
2759
- * <p>You can use this parameter to specify a subset of data to be included in the action's
2760
- * response.</p>
2761
- * <p>For a record to match a filter, all specified filter attributes must match. When
2762
- * multiple values are specified for a filter attribute, any of the values can
2763
- * match.</p>
2764
- */
2765
- filter?: AssessmentTemplateFilter;
2766
-
2767
- /**
2768
- * <p>You can use this parameter when paginating results. Set the value of this parameter
2769
- * to null on your first call to the <b>ListAssessmentTemplates</b>
2770
- * action. Subsequent calls to the action fill <b>nextToken</b> in
2771
- * the request with the value of <b>NextToken</b> from the previous
2772
- * response to continue listing data.</p>
2773
- */
2774
- nextToken?: string;
2775
-
2776
- /**
2777
- * <p>You can use this parameter to indicate the maximum number of items you want in the
2778
- * response. The default value is 10. The maximum value is 500.</p>
2779
- */
2780
- maxResults?: number;
2781
- }
2782
-
2783
- export namespace ListAssessmentTemplatesRequest {
2784
- /**
2785
- * @internal
2786
- */
2787
- export const filterSensitiveLog = (obj: ListAssessmentTemplatesRequest): any => ({
2788
- ...obj,
2789
- });
2790
- }
2791
-
2792
- export interface ListAssessmentTemplatesResponse {
2793
- /**
2794
- * <p>A list of ARNs that specifies the assessment templates returned by the
2795
- * action.</p>
2796
- */
2797
- assessmentTemplateArns: string[] | undefined;
2798
-
2799
- /**
2800
- * <p> When a response is generated, if there is more data to be listed, this parameter is
2801
- * present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more
2802
- * data to be listed, this parameter is set to null.</p>
2803
- */
2804
- nextToken?: string;
2805
- }
2806
-
2807
- export namespace ListAssessmentTemplatesResponse {
2808
- /**
2809
- * @internal
2810
- */
2811
- export const filterSensitiveLog = (obj: ListAssessmentTemplatesResponse): any => ({
2812
- ...obj,
2813
- });
2814
- }
2815
-
2816
- export interface ListEventSubscriptionsRequest {
2817
- /**
2818
- * <p>The ARN of the assessment template for which you want to list the existing event
2819
- * subscriptions.</p>
2820
- */
2821
- resourceArn?: string;
2822
-
2823
- /**
2824
- * <p>You can use this parameter when paginating results. Set the value of this parameter
2825
- * to null on your first call to the <b>ListEventSubscriptions</b>
2826
- * action. Subsequent calls to the action fill <b>nextToken</b> in
2827
- * the request with the value of <b>NextToken</b> from the previous
2828
- * response to continue listing data.</p>
2829
- */
2830
- nextToken?: string;
2831
-
2832
- /**
2833
- * <p>You can use this parameter to indicate the maximum number of items you want in the
2834
- * response. The default value is 10. The maximum value is 500.</p>
2835
- */
2836
- maxResults?: number;
2837
- }
2838
-
2839
- export namespace ListEventSubscriptionsRequest {
2840
- /**
2841
- * @internal
2842
- */
2843
- export const filterSensitiveLog = (obj: ListEventSubscriptionsRequest): any => ({
2844
- ...obj,
2845
- });
2846
- }
2847
-
2848
- /**
2849
- * <p>This data type is used as a response element in the <a>ListEventSubscriptions</a> action.</p>
2850
- */
2851
- export interface Subscription {
2852
- /**
2853
- * <p>The ARN of the assessment template that is used during the event for which the SNS
2854
- * notification is sent.</p>
2855
- */
2856
- resourceArn: string | undefined;
2857
-
2858
- /**
2859
- * <p>The ARN of the Amazon Simple Notification Service (SNS) topic to which the SNS
2860
- * notifications are sent.</p>
2861
- */
2862
- topicArn: string | undefined;
2863
-
2864
- /**
2865
- * <p>The list of existing event subscriptions.</p>
2866
- */
2867
- eventSubscriptions: EventSubscription[] | undefined;
2868
- }
2869
-
2870
- export namespace Subscription {
2871
- /**
2872
- * @internal
2873
- */
2874
- export const filterSensitiveLog = (obj: Subscription): any => ({
2875
- ...obj,
2876
- });
2877
- }
2878
-
2879
- export interface ListEventSubscriptionsResponse {
2880
- /**
2881
- * <p>Details of the returned event subscriptions.</p>
2882
- */
2883
- subscriptions: Subscription[] | undefined;
2884
-
2885
- /**
2886
- * <p> When a response is generated, if there is more data to be listed, this parameter is
2887
- * present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more
2888
- * data to be listed, this parameter is set to null.</p>
2889
- */
2890
- nextToken?: string;
2891
- }
2892
-
2893
- export namespace ListEventSubscriptionsResponse {
2894
- /**
2895
- * @internal
2896
- */
2897
- export const filterSensitiveLog = (obj: ListEventSubscriptionsResponse): any => ({
2898
- ...obj,
2899
- });
2900
- }
2901
-
2902
- export interface ListExclusionsRequest {
2903
- /**
2904
- * <p>The ARN of the assessment run that generated the exclusions that you want to
2905
- * list.</p>
2906
- */
2907
- assessmentRunArn: string | undefined;
2908
-
2909
- /**
2910
- * <p>You can use this parameter when paginating results. Set the value of this parameter
2911
- * to null on your first call to the ListExclusionsRequest action. Subsequent calls to the
2912
- * action fill nextToken in the request with the value of nextToken from the previous response
2913
- * to continue listing data.</p>
2914
- */
2915
- nextToken?: string;
2916
-
2917
- /**
2918
- * <p>You can use this parameter to indicate the maximum number of items you want in the
2919
- * response. The default value is 100. The maximum value is 500.</p>
2920
- */
2921
- maxResults?: number;
2922
- }
2923
-
2924
- export namespace ListExclusionsRequest {
2925
- /**
2926
- * @internal
2927
- */
2928
- export const filterSensitiveLog = (obj: ListExclusionsRequest): any => ({
2929
- ...obj,
2930
- });
2931
- }
2932
-
2933
- export interface ListExclusionsResponse {
2934
- /**
2935
- * <p>A list of exclusions' ARNs returned by the action.</p>
2936
- */
2937
- exclusionArns: string[] | undefined;
2938
-
2939
- /**
2940
- * <p>When a response is generated, if there is more data to be listed, this parameters is
2941
- * present in the response and contains the value to use for the nextToken parameter in a
2942
- * subsequent pagination request. If there is no more data to be listed, this parameter is set
2943
- * to null.</p>
2944
- */
2945
- nextToken?: string;
2946
- }
2947
-
2948
- export namespace ListExclusionsResponse {
2949
- /**
2950
- * @internal
2951
- */
2952
- export const filterSensitiveLog = (obj: ListExclusionsResponse): any => ({
2953
- ...obj,
2954
- });
2955
- }
2956
-
2957
- export interface ListFindingsRequest {
2958
- /**
2959
- * <p>The ARNs of the assessment runs that generate the findings that you want to
2960
- * list.</p>
2961
- */
2962
- assessmentRunArns?: string[];
2963
-
2964
- /**
2965
- * <p>You can use this parameter to specify a subset of data to be included in the action's
2966
- * response.</p>
2967
- * <p>For a record to match a filter, all specified filter attributes must match. When
2968
- * multiple values are specified for a filter attribute, any of the values can
2969
- * match.</p>
2970
- */
2971
- filter?: FindingFilter;
2972
-
2973
- /**
2974
- * <p>You can use this parameter when paginating results. Set the value of this parameter
2975
- * to null on your first call to the <b>ListFindings</b> action.
2976
- * Subsequent calls to the action fill <b>nextToken</b> in the
2977
- * request with the value of <b>NextToken</b> from the previous
2978
- * response to continue listing data.</p>
2979
- */
2980
- nextToken?: string;
2981
-
2982
- /**
2983
- * <p>You can use this parameter to indicate the maximum number of items you want in the
2984
- * response. The default value is 10. The maximum value is 500.</p>
2985
- */
2986
- maxResults?: number;
2987
- }
2988
-
2989
- export namespace ListFindingsRequest {
2990
- /**
2991
- * @internal
2992
- */
2993
- export const filterSensitiveLog = (obj: ListFindingsRequest): any => ({
2994
- ...obj,
2995
- });
2996
- }
2997
-
2998
- export interface ListFindingsResponse {
2999
- /**
3000
- * <p>A list of ARNs that specifies the findings returned by the action.</p>
3001
- */
3002
- findingArns: string[] | undefined;
3003
-
3004
- /**
3005
- * <p> When a response is generated, if there is more data to be listed, this parameter is
3006
- * present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more
3007
- * data to be listed, this parameter is set to null.</p>
3008
- */
3009
- nextToken?: string;
3010
- }
3011
-
3012
- export namespace ListFindingsResponse {
3013
- /**
3014
- * @internal
3015
- */
3016
- export const filterSensitiveLog = (obj: ListFindingsResponse): any => ({
3017
- ...obj,
3018
- });
3019
- }
3020
-
3021
- export interface ListRulesPackagesRequest {
3022
- /**
3023
- * <p>You can use this parameter when paginating results. Set the value of this parameter
3024
- * to null on your first call to the <b>ListRulesPackages</b>
3025
- * action. Subsequent calls to the action fill <b>nextToken</b> in
3026
- * the request with the value of <b>NextToken</b> from the previous
3027
- * response to continue listing data.</p>
3028
- */
3029
- nextToken?: string;
3030
-
3031
- /**
3032
- * <p>You can use this parameter to indicate the maximum number of items you want in the
3033
- * response. The default value is 10. The maximum value is 500.</p>
3034
- */
3035
- maxResults?: number;
3036
- }
3037
-
3038
- export namespace ListRulesPackagesRequest {
3039
- /**
3040
- * @internal
3041
- */
3042
- export const filterSensitiveLog = (obj: ListRulesPackagesRequest): any => ({
3043
- ...obj,
3044
- });
3045
- }
3046
-
3047
- export interface ListRulesPackagesResponse {
3048
- /**
3049
- * <p>The list of ARNs that specifies the rules packages returned by the action.</p>
3050
- */
3051
- rulesPackageArns: string[] | undefined;
3052
-
3053
- /**
3054
- * <p> When a response is generated, if there is more data to be listed, this parameter is
3055
- * present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more
3056
- * data to be listed, this parameter is set to null.</p>
3057
- */
3058
- nextToken?: string;
3059
- }
3060
-
3061
- export namespace ListRulesPackagesResponse {
3062
- /**
3063
- * @internal
3064
- */
3065
- export const filterSensitiveLog = (obj: ListRulesPackagesResponse): any => ({
3066
- ...obj,
3067
- });
3068
- }
3069
-
3070
- export interface ListTagsForResourceRequest {
3071
- /**
3072
- * <p>The ARN that specifies the assessment template whose tags you want to list.</p>
3073
- */
3074
- resourceArn: string | undefined;
3075
- }
3076
-
3077
- export namespace ListTagsForResourceRequest {
3078
- /**
3079
- * @internal
3080
- */
3081
- export const filterSensitiveLog = (obj: ListTagsForResourceRequest): any => ({
3082
- ...obj,
3083
- });
3084
- }
3085
-
3086
- export interface ListTagsForResourceResponse {
3087
- /**
3088
- * <p>A collection of key and value pairs.</p>
3089
- */
3090
- tags: Tag[] | undefined;
3091
- }
3092
-
3093
- export namespace ListTagsForResourceResponse {
3094
- /**
3095
- * @internal
3096
- */
3097
- export const filterSensitiveLog = (obj: ListTagsForResourceResponse): any => ({
3098
- ...obj,
3099
- });
3100
- }
3101
-
3102
- export interface PreviewAgentsRequest {
3103
- /**
3104
- * <p>The ARN of the assessment target whose agents you want to preview.</p>
3105
- */
3106
- previewAgentsArn: string | undefined;
3107
-
3108
- /**
3109
- * <p>You can use this parameter when paginating results. Set the value of this parameter
3110
- * to null on your first call to the <b>PreviewAgents</b> action.
3111
- * Subsequent calls to the action fill <b>nextToken</b> in the
3112
- * request with the value of <b>NextToken</b> from the previous
3113
- * response to continue listing data.</p>
3114
- */
3115
- nextToken?: string;
3116
-
3117
- /**
3118
- * <p>You can use this parameter to indicate the maximum number of items you want in the
3119
- * response. The default value is 10. The maximum value is 500.</p>
3120
- */
3121
- maxResults?: number;
3122
- }
3123
-
3124
- export namespace PreviewAgentsRequest {
3125
- /**
3126
- * @internal
3127
- */
3128
- export const filterSensitiveLog = (obj: PreviewAgentsRequest): any => ({
3129
- ...obj,
3130
- });
3131
- }
3132
-
3133
- export interface PreviewAgentsResponse {
3134
- /**
3135
- * <p>The resulting list of agents.</p>
3136
- */
3137
- agentPreviews: AgentPreview[] | undefined;
3138
-
3139
- /**
3140
- * <p> When a response is generated, if there is more data to be listed, this parameter is
3141
- * present in the response and contains the value to use for the <b>nextToken</b> parameter in a subsequent pagination request. If there is no more
3142
- * data to be listed, this parameter is set to null.</p>
3143
- */
3144
- nextToken?: string;
3145
- }
3146
-
3147
- export namespace PreviewAgentsResponse {
3148
- /**
3149
- * @internal
3150
- */
3151
- export const filterSensitiveLog = (obj: PreviewAgentsResponse): any => ({
3152
- ...obj,
3153
- });
3154
- }
3155
-
3156
- export interface RegisterCrossAccountAccessRoleRequest {
3157
- /**
3158
- * <p>The ARN of the IAM role that grants Amazon Inspector access to AWS Services needed to
3159
- * perform security assessments. </p>
3160
- */
3161
- roleArn: string | undefined;
3162
- }
3163
-
3164
- export namespace RegisterCrossAccountAccessRoleRequest {
3165
- /**
3166
- * @internal
3167
- */
3168
- export const filterSensitiveLog = (obj: RegisterCrossAccountAccessRoleRequest): any => ({
3169
- ...obj,
3170
- });
3171
- }
3172
-
3173
- export interface RemoveAttributesFromFindingsRequest {
3174
- /**
3175
- * <p>The ARNs that specify the findings that you want to remove attributes from.</p>
3176
- */
3177
- findingArns: string[] | undefined;
3178
-
3179
- /**
3180
- * <p>The array of attribute keys that you want to remove from specified
3181
- * findings.</p>
3182
- */
3183
- attributeKeys: string[] | undefined;
3184
- }
3185
-
3186
- export namespace RemoveAttributesFromFindingsRequest {
3187
- /**
3188
- * @internal
3189
- */
3190
- export const filterSensitiveLog = (obj: RemoveAttributesFromFindingsRequest): any => ({
3191
- ...obj,
3192
- });
3193
- }
3194
-
3195
- export interface RemoveAttributesFromFindingsResponse {
3196
- /**
3197
- * <p>Attributes details that cannot be described. An error code is provided for each
3198
- * failed item.</p>
3199
- */
3200
- failedItems: { [key: string]: FailedItemDetails } | undefined;
3201
- }
3202
-
3203
- export namespace RemoveAttributesFromFindingsResponse {
3204
- /**
3205
- * @internal
3206
- */
3207
- export const filterSensitiveLog = (obj: RemoveAttributesFromFindingsResponse): any => ({
3208
- ...obj,
3209
- });
3210
- }
3211
-
3212
- export interface SetTagsForResourceRequest {
3213
- /**
3214
- * <p>The ARN of the assessment template that you want to set tags to.</p>
3215
- */
3216
- resourceArn: string | undefined;
3217
-
3218
- /**
3219
- * <p>A collection of key and value pairs that you want to set to the assessment
3220
- * template.</p>
3221
- */
3222
- tags?: Tag[];
3223
- }
3224
-
3225
- export namespace SetTagsForResourceRequest {
3226
- /**
3227
- * @internal
3228
- */
3229
- export const filterSensitiveLog = (obj: SetTagsForResourceRequest): any => ({
3230
- ...obj,
3231
- });
3232
- }
3233
-
3234
- export interface StartAssessmentRunRequest {
3235
- /**
3236
- * <p>The ARN of the assessment template of the assessment run that you want to
3237
- * start.</p>
3238
- */
3239
- assessmentTemplateArn: string | undefined;
3240
-
3241
- /**
3242
- * <p>You can specify the name for the assessment run. The name must be unique for the
3243
- * assessment template whose ARN is used to start the assessment run.</p>
3244
- */
3245
- assessmentRunName?: string;
3246
- }
3247
-
3248
- export namespace StartAssessmentRunRequest {
3249
- /**
3250
- * @internal
3251
- */
3252
- export const filterSensitiveLog = (obj: StartAssessmentRunRequest): any => ({
3253
- ...obj,
3254
- });
3255
- }
3256
-
3257
- export interface StartAssessmentRunResponse {
3258
- /**
3259
- * <p>The ARN of the assessment run that has been started.</p>
3260
- */
3261
- assessmentRunArn: string | undefined;
3262
- }
3263
-
3264
- export namespace StartAssessmentRunResponse {
3265
- /**
3266
- * @internal
3267
- */
3268
- export const filterSensitiveLog = (obj: StartAssessmentRunResponse): any => ({
3269
- ...obj,
3270
- });
3271
- }
3272
-
3273
- export enum StopAction {
3274
- SKIP_EVALUATION = "SKIP_EVALUATION",
3275
- START_EVALUATION = "START_EVALUATION",
3276
- }
3277
-
3278
- export interface StopAssessmentRunRequest {
3279
- /**
3280
- * <p>The ARN of the assessment run that you want to stop.</p>
3281
- */
3282
- assessmentRunArn: string | undefined;
3283
-
3284
- /**
3285
- * <p>An input option that can be set to either START_EVALUATION or SKIP_EVALUATION.
3286
- * START_EVALUATION (the default value), stops the AWS agent from collecting data and begins
3287
- * the results evaluation and the findings generation process. SKIP_EVALUATION cancels the
3288
- * assessment run immediately, after which no findings are generated.</p>
3289
- */
3290
- stopAction?: StopAction | string;
3291
- }
3292
-
3293
- export namespace StopAssessmentRunRequest {
3294
- /**
3295
- * @internal
3296
- */
3297
- export const filterSensitiveLog = (obj: StopAssessmentRunRequest): any => ({
3298
- ...obj,
3299
- });
3300
- }
3301
-
3302
- export interface SubscribeToEventRequest {
3303
- /**
3304
- * <p>The ARN of the assessment template that is used during the event for which you want
3305
- * to receive SNS notifications.</p>
3306
- */
3307
- resourceArn: string | undefined;
3308
-
3309
- /**
3310
- * <p>The event for which you want to receive SNS notifications.</p>
3311
- */
3312
- event: InspectorEvent | string | undefined;
3313
-
3314
- /**
3315
- * <p>The ARN of the SNS topic to which the SNS notifications are sent.</p>
3316
- */
3317
- topicArn: string | undefined;
3318
- }
3319
-
3320
- export namespace SubscribeToEventRequest {
3321
- /**
3322
- * @internal
3323
- */
3324
- export const filterSensitiveLog = (obj: SubscribeToEventRequest): any => ({
3325
- ...obj,
3326
- });
3327
- }
3328
-
3329
- export interface UnsubscribeFromEventRequest {
3330
- /**
3331
- * <p>The ARN of the assessment template that is used during the event for which you want
3332
- * to stop receiving SNS notifications.</p>
3333
- */
3334
- resourceArn: string | undefined;
3335
-
3336
- /**
3337
- * <p>The event for which you want to stop receiving SNS notifications.</p>
3338
- */
3339
- event: InspectorEvent | string | undefined;
3340
-
3341
- /**
3342
- * <p>The ARN of the SNS topic to which SNS notifications are sent.</p>
3343
- */
3344
- topicArn: string | undefined;
3345
- }
3346
-
3347
- export namespace UnsubscribeFromEventRequest {
3348
- /**
3349
- * @internal
3350
- */
3351
- export const filterSensitiveLog = (obj: UnsubscribeFromEventRequest): any => ({
3352
- ...obj,
3353
- });
3354
- }
3355
-
3356
- export interface UpdateAssessmentTargetRequest {
3357
- /**
3358
- * <p>The ARN of the assessment target that you want to update.</p>
3359
- */
3360
- assessmentTargetArn: string | undefined;
3361
-
3362
- /**
3363
- * <p>The name of the assessment target that you want to update.</p>
3364
- */
3365
- assessmentTargetName: string | undefined;
3366
-
3367
- /**
3368
- * <p>The ARN of the resource group that is used to specify the new resource group to
3369
- * associate with the assessment target.</p>
3370
- */
3371
- resourceGroupArn?: string;
3372
- }
3373
-
3374
- export namespace UpdateAssessmentTargetRequest {
3375
- /**
3376
- * @internal
3377
- */
3378
- export const filterSensitiveLog = (obj: UpdateAssessmentTargetRequest): any => ({
3379
- ...obj,
3380
- });
3381
- }