@aws-sdk/client-securityagent 3.1021.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 (266) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +531 -0
  3. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  4. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  5. package/dist-cjs/endpoint/ruleset.js +7 -0
  6. package/dist-cjs/index.js +1084 -0
  7. package/dist-cjs/models/SecurityAgentServiceException.js +12 -0
  8. package/dist-cjs/models/errors.js +88 -0
  9. package/dist-cjs/runtimeConfig.browser.js +38 -0
  10. package/dist-cjs/runtimeConfig.js +54 -0
  11. package/dist-cjs/runtimeConfig.native.js +15 -0
  12. package/dist-cjs/runtimeConfig.shared.js +43 -0
  13. package/dist-cjs/schemas/schemas_0.js +1570 -0
  14. package/dist-es/SecurityAgent.js +133 -0
  15. package/dist-es/SecurityAgentClient.js +50 -0
  16. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  17. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  18. package/dist-es/commands/AddArtifactCommand.js +16 -0
  19. package/dist-es/commands/BatchDeletePentestsCommand.js +16 -0
  20. package/dist-es/commands/BatchGetAgentSpacesCommand.js +16 -0
  21. package/dist-es/commands/BatchGetArtifactMetadataCommand.js +16 -0
  22. package/dist-es/commands/BatchGetFindingsCommand.js +16 -0
  23. package/dist-es/commands/BatchGetPentestJobTasksCommand.js +16 -0
  24. package/dist-es/commands/BatchGetPentestJobsCommand.js +16 -0
  25. package/dist-es/commands/BatchGetPentestsCommand.js +16 -0
  26. package/dist-es/commands/BatchGetTargetDomainsCommand.js +16 -0
  27. package/dist-es/commands/CreateAgentSpaceCommand.js +16 -0
  28. package/dist-es/commands/CreateApplicationCommand.js +16 -0
  29. package/dist-es/commands/CreateIntegrationCommand.js +16 -0
  30. package/dist-es/commands/CreateMembershipCommand.js +16 -0
  31. package/dist-es/commands/CreatePentestCommand.js +16 -0
  32. package/dist-es/commands/CreateTargetDomainCommand.js +16 -0
  33. package/dist-es/commands/DeleteAgentSpaceCommand.js +16 -0
  34. package/dist-es/commands/DeleteApplicationCommand.js +16 -0
  35. package/dist-es/commands/DeleteArtifactCommand.js +16 -0
  36. package/dist-es/commands/DeleteIntegrationCommand.js +16 -0
  37. package/dist-es/commands/DeleteMembershipCommand.js +16 -0
  38. package/dist-es/commands/DeleteTargetDomainCommand.js +16 -0
  39. package/dist-es/commands/GetApplicationCommand.js +16 -0
  40. package/dist-es/commands/GetArtifactCommand.js +16 -0
  41. package/dist-es/commands/GetIntegrationCommand.js +16 -0
  42. package/dist-es/commands/InitiateProviderRegistrationCommand.js +16 -0
  43. package/dist-es/commands/ListAgentSpacesCommand.js +16 -0
  44. package/dist-es/commands/ListApplicationsCommand.js +16 -0
  45. package/dist-es/commands/ListArtifactsCommand.js +16 -0
  46. package/dist-es/commands/ListDiscoveredEndpointsCommand.js +16 -0
  47. package/dist-es/commands/ListFindingsCommand.js +16 -0
  48. package/dist-es/commands/ListIntegratedResourcesCommand.js +16 -0
  49. package/dist-es/commands/ListIntegrationsCommand.js +16 -0
  50. package/dist-es/commands/ListMembershipsCommand.js +16 -0
  51. package/dist-es/commands/ListPentestJobTasksCommand.js +16 -0
  52. package/dist-es/commands/ListPentestJobsForPentestCommand.js +16 -0
  53. package/dist-es/commands/ListPentestsCommand.js +16 -0
  54. package/dist-es/commands/ListTagsForResourceCommand.js +16 -0
  55. package/dist-es/commands/ListTargetDomainsCommand.js +16 -0
  56. package/dist-es/commands/StartCodeRemediationCommand.js +16 -0
  57. package/dist-es/commands/StartPentestJobCommand.js +16 -0
  58. package/dist-es/commands/StopPentestJobCommand.js +16 -0
  59. package/dist-es/commands/TagResourceCommand.js +16 -0
  60. package/dist-es/commands/UntagResourceCommand.js +16 -0
  61. package/dist-es/commands/UpdateAgentSpaceCommand.js +16 -0
  62. package/dist-es/commands/UpdateApplicationCommand.js +16 -0
  63. package/dist-es/commands/UpdateFindingCommand.js +16 -0
  64. package/dist-es/commands/UpdateIntegratedResourcesCommand.js +16 -0
  65. package/dist-es/commands/UpdatePentestCommand.js +16 -0
  66. package/dist-es/commands/UpdateTargetDomainCommand.js +16 -0
  67. package/dist-es/commands/VerifyTargetDomainCommand.js +16 -0
  68. package/dist-es/commands/index.js +50 -0
  69. package/dist-es/endpoint/EndpointParameters.js +11 -0
  70. package/dist-es/endpoint/endpointResolver.js +14 -0
  71. package/dist-es/endpoint/ruleset.js +4 -0
  72. package/dist-es/extensionConfiguration.js +1 -0
  73. package/dist-es/index.js +9 -0
  74. package/dist-es/models/SecurityAgentServiceException.js +8 -0
  75. package/dist-es/models/enums.js +162 -0
  76. package/dist-es/models/errors.js +79 -0
  77. package/dist-es/models/models_0.js +1 -0
  78. package/dist-es/pagination/Interfaces.js +1 -0
  79. package/dist-es/pagination/ListAgentSpacesPaginator.js +4 -0
  80. package/dist-es/pagination/ListApplicationsPaginator.js +4 -0
  81. package/dist-es/pagination/ListArtifactsPaginator.js +4 -0
  82. package/dist-es/pagination/ListDiscoveredEndpointsPaginator.js +4 -0
  83. package/dist-es/pagination/ListFindingsPaginator.js +4 -0
  84. package/dist-es/pagination/ListIntegratedResourcesPaginator.js +4 -0
  85. package/dist-es/pagination/ListIntegrationsPaginator.js +4 -0
  86. package/dist-es/pagination/ListMembershipsPaginator.js +4 -0
  87. package/dist-es/pagination/ListPentestJobTasksPaginator.js +4 -0
  88. package/dist-es/pagination/ListPentestJobsForPentestPaginator.js +4 -0
  89. package/dist-es/pagination/ListPentestsPaginator.js +4 -0
  90. package/dist-es/pagination/ListTargetDomainsPaginator.js +4 -0
  91. package/dist-es/pagination/index.js +13 -0
  92. package/dist-es/runtimeConfig.browser.js +33 -0
  93. package/dist-es/runtimeConfig.js +49 -0
  94. package/dist-es/runtimeConfig.native.js +11 -0
  95. package/dist-es/runtimeConfig.shared.js +39 -0
  96. package/dist-es/runtimeExtensions.js +9 -0
  97. package/dist-es/schemas/schemas_0.js +1563 -0
  98. package/dist-types/SecurityAgent.d.ts +449 -0
  99. package/dist-types/SecurityAgentClient.d.ts +237 -0
  100. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  101. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  102. package/dist-types/commands/AddArtifactCommand.d.ts +94 -0
  103. package/dist-types/commands/BatchDeletePentestsCommand.d.ts +161 -0
  104. package/dist-types/commands/BatchGetAgentSpacesCommand.d.ts +123 -0
  105. package/dist-types/commands/BatchGetArtifactMetadataCommand.d.ts +101 -0
  106. package/dist-types/commands/BatchGetFindingsCommand.d.ts +111 -0
  107. package/dist-types/commands/BatchGetPentestJobTasksCommand.d.ts +109 -0
  108. package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +187 -0
  109. package/dist-types/commands/BatchGetPentestsCommand.d.ts +158 -0
  110. package/dist-types/commands/BatchGetTargetDomainsCommand.d.ts +99 -0
  111. package/dist-types/commands/CreateAgentSpaceCommand.d.ts +154 -0
  112. package/dist-types/commands/CreateApplicationCommand.d.ts +79 -0
  113. package/dist-types/commands/CreateIntegrationCommand.d.ts +106 -0
  114. package/dist-types/commands/CreateMembershipCommand.d.ts +80 -0
  115. package/dist-types/commands/CreatePentestCommand.d.ts +194 -0
  116. package/dist-types/commands/CreateTargetDomainCommand.d.ts +94 -0
  117. package/dist-types/commands/DeleteAgentSpaceCommand.d.ts +74 -0
  118. package/dist-types/commands/DeleteApplicationCommand.d.ts +72 -0
  119. package/dist-types/commands/DeleteArtifactCommand.d.ts +90 -0
  120. package/dist-types/commands/DeleteIntegrationCommand.d.ts +92 -0
  121. package/dist-types/commands/DeleteMembershipCommand.d.ts +75 -0
  122. package/dist-types/commands/DeleteTargetDomainCommand.d.ts +74 -0
  123. package/dist-types/commands/GetApplicationCommand.d.ts +82 -0
  124. package/dist-types/commands/GetArtifactCommand.d.ts +99 -0
  125. package/dist-types/commands/GetIntegrationCommand.d.ts +96 -0
  126. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +95 -0
  127. package/dist-types/commands/ListAgentSpacesCommand.d.ts +83 -0
  128. package/dist-types/commands/ListApplicationsCommand.d.ts +83 -0
  129. package/dist-types/commands/ListArtifactsCommand.d.ts +100 -0
  130. package/dist-types/commands/ListDiscoveredEndpointsCommand.d.ts +89 -0
  131. package/dist-types/commands/ListFindingsCommand.d.ts +97 -0
  132. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +114 -0
  133. package/dist-types/commands/ListIntegrationsCommand.d.ts +100 -0
  134. package/dist-types/commands/ListMembershipsCommand.d.ts +101 -0
  135. package/dist-types/commands/ListPentestJobTasksCommand.d.ts +92 -0
  136. package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +87 -0
  137. package/dist-types/commands/ListPentestsCommand.d.ts +85 -0
  138. package/dist-types/commands/ListTagsForResourceCommand.d.ts +76 -0
  139. package/dist-types/commands/ListTargetDomainsCommand.d.ts +82 -0
  140. package/dist-types/commands/StartCodeRemediationCommand.d.ts +76 -0
  141. package/dist-types/commands/StartPentestJobCommand.d.ts +81 -0
  142. package/dist-types/commands/StopPentestJobCommand.d.ts +73 -0
  143. package/dist-types/commands/TagResourceCommand.d.ts +75 -0
  144. package/dist-types/commands/UntagResourceCommand.d.ts +75 -0
  145. package/dist-types/commands/UpdateAgentSpaceCommand.d.ts +150 -0
  146. package/dist-types/commands/UpdateApplicationCommand.d.ts +76 -0
  147. package/dist-types/commands/UpdateFindingCommand.d.ts +75 -0
  148. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +109 -0
  149. package/dist-types/commands/UpdatePentestCommand.d.ts +195 -0
  150. package/dist-types/commands/UpdateTargetDomainCommand.d.ts +91 -0
  151. package/dist-types/commands/VerifyTargetDomainCommand.d.ts +79 -0
  152. package/dist-types/commands/index.d.ts +50 -0
  153. package/dist-types/endpoint/EndpointParameters.d.ts +44 -0
  154. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  155. package/dist-types/endpoint/ruleset.d.ts +2 -0
  156. package/dist-types/extensionConfiguration.d.ts +9 -0
  157. package/dist-types/index.d.ts +17 -0
  158. package/dist-types/models/SecurityAgentServiceException.d.ts +14 -0
  159. package/dist-types/models/enums.d.ts +609 -0
  160. package/dist-types/models/errors.d.ts +93 -0
  161. package/dist-types/models/models_0.d.ts +3749 -0
  162. package/dist-types/pagination/Interfaces.d.ts +8 -0
  163. package/dist-types/pagination/ListAgentSpacesPaginator.d.ts +7 -0
  164. package/dist-types/pagination/ListApplicationsPaginator.d.ts +7 -0
  165. package/dist-types/pagination/ListArtifactsPaginator.d.ts +7 -0
  166. package/dist-types/pagination/ListDiscoveredEndpointsPaginator.d.ts +7 -0
  167. package/dist-types/pagination/ListFindingsPaginator.d.ts +7 -0
  168. package/dist-types/pagination/ListIntegratedResourcesPaginator.d.ts +7 -0
  169. package/dist-types/pagination/ListIntegrationsPaginator.d.ts +7 -0
  170. package/dist-types/pagination/ListMembershipsPaginator.d.ts +7 -0
  171. package/dist-types/pagination/ListPentestJobTasksPaginator.d.ts +7 -0
  172. package/dist-types/pagination/ListPentestJobsForPentestPaginator.d.ts +7 -0
  173. package/dist-types/pagination/ListPentestsPaginator.d.ts +7 -0
  174. package/dist-types/pagination/ListTargetDomainsPaginator.d.ts +7 -0
  175. package/dist-types/pagination/index.d.ts +13 -0
  176. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  177. package/dist-types/runtimeConfig.d.ts +55 -0
  178. package/dist-types/runtimeConfig.native.d.ts +54 -0
  179. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  180. package/dist-types/runtimeExtensions.d.ts +17 -0
  181. package/dist-types/schemas/schemas_0.d.ts +225 -0
  182. package/dist-types/ts3.4/SecurityAgent.d.ts +950 -0
  183. package/dist-types/ts3.4/SecurityAgentClient.d.ts +419 -0
  184. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  185. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  186. package/dist-types/ts3.4/commands/AddArtifactCommand.d.ts +47 -0
  187. package/dist-types/ts3.4/commands/BatchDeletePentestsCommand.d.ts +51 -0
  188. package/dist-types/ts3.4/commands/BatchGetAgentSpacesCommand.d.ts +51 -0
  189. package/dist-types/ts3.4/commands/BatchGetArtifactMetadataCommand.d.ts +51 -0
  190. package/dist-types/ts3.4/commands/BatchGetFindingsCommand.d.ts +50 -0
  191. package/dist-types/ts3.4/commands/BatchGetPentestJobTasksCommand.d.ts +51 -0
  192. package/dist-types/ts3.4/commands/BatchGetPentestJobsCommand.d.ts +51 -0
  193. package/dist-types/ts3.4/commands/BatchGetPentestsCommand.d.ts +50 -0
  194. package/dist-types/ts3.4/commands/BatchGetTargetDomainsCommand.d.ts +51 -0
  195. package/dist-types/ts3.4/commands/CreateAgentSpaceCommand.d.ts +50 -0
  196. package/dist-types/ts3.4/commands/CreateApplicationCommand.d.ts +51 -0
  197. package/dist-types/ts3.4/commands/CreateIntegrationCommand.d.ts +50 -0
  198. package/dist-types/ts3.4/commands/CreateMembershipCommand.d.ts +50 -0
  199. package/dist-types/ts3.4/commands/CreatePentestCommand.d.ts +47 -0
  200. package/dist-types/ts3.4/commands/CreateTargetDomainCommand.d.ts +51 -0
  201. package/dist-types/ts3.4/commands/DeleteAgentSpaceCommand.d.ts +50 -0
  202. package/dist-types/ts3.4/commands/DeleteApplicationCommand.d.ts +46 -0
  203. package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +47 -0
  204. package/dist-types/ts3.4/commands/DeleteIntegrationCommand.d.ts +50 -0
  205. package/dist-types/ts3.4/commands/DeleteMembershipCommand.d.ts +50 -0
  206. package/dist-types/ts3.4/commands/DeleteTargetDomainCommand.d.ts +51 -0
  207. package/dist-types/ts3.4/commands/GetApplicationCommand.d.ts +50 -0
  208. package/dist-types/ts3.4/commands/GetArtifactCommand.d.ts +47 -0
  209. package/dist-types/ts3.4/commands/GetIntegrationCommand.d.ts +47 -0
  210. package/dist-types/ts3.4/commands/InitiateProviderRegistrationCommand.d.ts +51 -0
  211. package/dist-types/ts3.4/commands/ListAgentSpacesCommand.d.ts +50 -0
  212. package/dist-types/ts3.4/commands/ListApplicationsCommand.d.ts +50 -0
  213. package/dist-types/ts3.4/commands/ListArtifactsCommand.d.ts +47 -0
  214. package/dist-types/ts3.4/commands/ListDiscoveredEndpointsCommand.d.ts +51 -0
  215. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +47 -0
  216. package/dist-types/ts3.4/commands/ListIntegratedResourcesCommand.d.ts +51 -0
  217. package/dist-types/ts3.4/commands/ListIntegrationsCommand.d.ts +50 -0
  218. package/dist-types/ts3.4/commands/ListMembershipsCommand.d.ts +50 -0
  219. package/dist-types/ts3.4/commands/ListPentestJobTasksCommand.d.ts +51 -0
  220. package/dist-types/ts3.4/commands/ListPentestJobsForPentestCommand.d.ts +51 -0
  221. package/dist-types/ts3.4/commands/ListPentestsCommand.d.ts +47 -0
  222. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
  223. package/dist-types/ts3.4/commands/ListTargetDomainsCommand.d.ts +50 -0
  224. package/dist-types/ts3.4/commands/StartCodeRemediationCommand.d.ts +51 -0
  225. package/dist-types/ts3.4/commands/StartPentestJobCommand.d.ts +50 -0
  226. package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +47 -0
  227. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
  228. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +47 -0
  229. package/dist-types/ts3.4/commands/UpdateAgentSpaceCommand.d.ts +50 -0
  230. package/dist-types/ts3.4/commands/UpdateApplicationCommand.d.ts +51 -0
  231. package/dist-types/ts3.4/commands/UpdateFindingCommand.d.ts +47 -0
  232. package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +51 -0
  233. package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +47 -0
  234. package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +51 -0
  235. package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +51 -0
  236. package/dist-types/ts3.4/commands/index.d.ts +50 -0
  237. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +45 -0
  238. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  239. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  240. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  241. package/dist-types/ts3.4/index.d.ts +12 -0
  242. package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +9 -0
  243. package/dist-types/ts3.4/models/enums.d.ts +200 -0
  244. package/dist-types/ts3.4/models/errors.d.ts +46 -0
  245. package/dist-types/ts3.4/models/models_0.d.ts +977 -0
  246. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  247. package/dist-types/ts3.4/pagination/ListAgentSpacesPaginator.d.ts +11 -0
  248. package/dist-types/ts3.4/pagination/ListApplicationsPaginator.d.ts +11 -0
  249. package/dist-types/ts3.4/pagination/ListArtifactsPaginator.d.ts +11 -0
  250. package/dist-types/ts3.4/pagination/ListDiscoveredEndpointsPaginator.d.ts +11 -0
  251. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +11 -0
  252. package/dist-types/ts3.4/pagination/ListIntegratedResourcesPaginator.d.ts +11 -0
  253. package/dist-types/ts3.4/pagination/ListIntegrationsPaginator.d.ts +11 -0
  254. package/dist-types/ts3.4/pagination/ListMembershipsPaginator.d.ts +11 -0
  255. package/dist-types/ts3.4/pagination/ListPentestJobTasksPaginator.d.ts +11 -0
  256. package/dist-types/ts3.4/pagination/ListPentestJobsForPentestPaginator.d.ts +11 -0
  257. package/dist-types/ts3.4/pagination/ListPentestsPaginator.d.ts +11 -0
  258. package/dist-types/ts3.4/pagination/ListTargetDomainsPaginator.d.ts +11 -0
  259. package/dist-types/ts3.4/pagination/index.d.ts +13 -0
  260. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  261. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  262. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  263. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  264. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  265. package/dist-types/ts3.4/schemas/schemas_0.d.ts +225 -0
  266. package/package.json +100 -0
@@ -0,0 +1,3749 @@
1
+ import type { AccessType, ArtifactType, AuthenticationProviderType, CodeRemediationStrategy, CodeRemediationTaskStatus, ConfidenceLevel, ContextType, DNSRecordType, DomainVerificationMethod, ErrorCode, FindingStatus, JobStatus, LogType, MembershipType, MembershipTypeFilter, NetworkTrafficRuleEffect, NetworkTrafficRuleType, Provider, ProviderType, ResourceType, RiskLevel, RiskType, StepName, StepStatus, TargetDomainStatus, TaskExecutionStatus, UserRole } from "./enums";
2
+ /**
3
+ * Authentication information used to access protected resources
4
+ * @public
5
+ */
6
+ export interface Authentication {
7
+ /**
8
+ * Provider type for the authentication credentials
9
+ * @public
10
+ */
11
+ providerType?: AuthenticationProviderType | undefined;
12
+ /**
13
+ * Authentication credential value or reference
14
+ * @public
15
+ */
16
+ value?: string | undefined;
17
+ }
18
+ /**
19
+ * Represents an entity that interacts with the system during security testing
20
+ * @public
21
+ */
22
+ export interface Actor {
23
+ /**
24
+ * Unique identifier for the actor (case-insensitive)
25
+ * @public
26
+ */
27
+ identifier?: string | undefined;
28
+ /**
29
+ * List of URIs accessible with the actor's credentials
30
+ * @public
31
+ */
32
+ uris?: string[] | undefined;
33
+ /**
34
+ * Authentication information used by the actor to access resources
35
+ * @public
36
+ */
37
+ authentication?: Authentication | undefined;
38
+ /**
39
+ * Additional description or details about the actor
40
+ * @public
41
+ */
42
+ description?: string | undefined;
43
+ }
44
+ /**
45
+ * @public
46
+ */
47
+ export interface AddArtifactInput {
48
+ /**
49
+ * Unique identifier of the agent space
50
+ * @public
51
+ */
52
+ agentSpaceId: string | undefined;
53
+ /**
54
+ * Binary content of the artifact
55
+ * @public
56
+ */
57
+ artifactContent: Uint8Array | undefined;
58
+ /**
59
+ * Type of the artifact file
60
+ * @public
61
+ */
62
+ artifactType: ArtifactType | undefined;
63
+ /**
64
+ * Name of the artifact file
65
+ * @public
66
+ */
67
+ fileName: string | undefined;
68
+ }
69
+ /**
70
+ * @public
71
+ */
72
+ export interface AddArtifactOutput {
73
+ /**
74
+ * Unique identifier of the created artifact
75
+ * @public
76
+ */
77
+ artifactId: string | undefined;
78
+ }
79
+ /**
80
+ * Describes one specific validation failure for an input member.
81
+ * @public
82
+ */
83
+ export interface ValidationExceptionField {
84
+ /**
85
+ * A JSONPointer expression to the structure member whose value failed to satisfy the modeled constraints.
86
+ * @public
87
+ */
88
+ path: string | undefined;
89
+ /**
90
+ * A detailed description of the validation failure.
91
+ * @public
92
+ */
93
+ message: string | undefined;
94
+ }
95
+ /**
96
+ * Customer VPC configuration that the Security Agent accesses
97
+ * @public
98
+ */
99
+ export interface VpcConfig {
100
+ /**
101
+ * ARN or ID of the customer VPC
102
+ * @public
103
+ */
104
+ vpcArn?: string | undefined;
105
+ /**
106
+ * List of security group ARNs or IDs in the customer VPC
107
+ * @public
108
+ */
109
+ securityGroupArns?: string[] | undefined;
110
+ /**
111
+ * List of subnet ARNs or IDs in the customer VPC
112
+ * @public
113
+ */
114
+ subnetArns?: string[] | undefined;
115
+ }
116
+ /**
117
+ * AWS resource configurations associated with the agent space
118
+ * @public
119
+ */
120
+ export interface AWSResources {
121
+ /**
122
+ * VPC configurations that the Security Agent accesses in the customer environment
123
+ * @public
124
+ */
125
+ vpcs?: VpcConfig[] | undefined;
126
+ /**
127
+ * CloudWatch log group ARNs or names used to store Security Agent logs
128
+ * @public
129
+ */
130
+ logGroups?: string[] | undefined;
131
+ /**
132
+ * S3 bucket ARNs or names used to store Security Agent artifacts
133
+ * @public
134
+ */
135
+ s3Buckets?: string[] | undefined;
136
+ /**
137
+ * SecretsManager secret ARNs or names used to store tester credentials for pentests
138
+ * @public
139
+ */
140
+ secretArns?: string[] | undefined;
141
+ /**
142
+ * Lambda function ARNs or names used to retrieve tester credentials for pentests
143
+ * @public
144
+ */
145
+ lambdaFunctionArns?: string[] | undefined;
146
+ /**
147
+ * IAM role ARNs that the Security Agent can assume to access customer resources
148
+ * @public
149
+ */
150
+ iamRoles?: string[] | undefined;
151
+ }
152
+ /**
153
+ * Details of code review settings
154
+ * @public
155
+ */
156
+ export interface CodeReviewSettings {
157
+ /**
158
+ * Whether Controls are utilized for code review analysis
159
+ * @public
160
+ */
161
+ controlsScanning: boolean | undefined;
162
+ /**
163
+ * Whether general purpose analysis is performed for code review
164
+ * @public
165
+ */
166
+ generalPurposeScanning: boolean | undefined;
167
+ }
168
+ /**
169
+ * Agent space structure
170
+ * @public
171
+ */
172
+ export interface AgentSpace {
173
+ /**
174
+ * Unique identifier of the agent space
175
+ * @public
176
+ */
177
+ agentSpaceId: string | undefined;
178
+ /**
179
+ * Name of the agent space
180
+ * @public
181
+ */
182
+ name: string | undefined;
183
+ /**
184
+ * Description of the agent space
185
+ * @public
186
+ */
187
+ description?: string | undefined;
188
+ /**
189
+ * AWS resource configurations
190
+ * @public
191
+ */
192
+ awsResources?: AWSResources | undefined;
193
+ /**
194
+ * List of target domain IDs registered with the agent space
195
+ * @public
196
+ */
197
+ targetDomainIds?: string[] | undefined;
198
+ /**
199
+ * Configuration for code review analysis, including controls scanning and general purpose scanning settings
200
+ * @public
201
+ */
202
+ codeReviewSettings?: CodeReviewSettings | undefined;
203
+ /**
204
+ * Identifier of the KMS key used to encrypt data. Can be a key ID, key ARN, alias name, or alias ARN. If not specified, an AWS managed key is used.
205
+ * @public
206
+ */
207
+ kmsKeyId?: string | undefined;
208
+ /**
209
+ * Timestamp when the agent space was created
210
+ * @public
211
+ */
212
+ createdAt?: Date | undefined;
213
+ /**
214
+ * Timestamp when the agent space was last updated
215
+ * @public
216
+ */
217
+ updatedAt?: Date | undefined;
218
+ }
219
+ /**
220
+ * Input for batch retrieving agent spaces
221
+ * @public
222
+ */
223
+ export interface BatchGetAgentSpacesInput {
224
+ /**
225
+ * List of agent space IDs to retrieve
226
+ * @public
227
+ */
228
+ agentSpaceIds: string[] | undefined;
229
+ }
230
+ /**
231
+ * Output for the BatchGetAgentSpaces operation
232
+ * @public
233
+ */
234
+ export interface BatchGetAgentSpacesOutput {
235
+ /**
236
+ * List of agent spaces that were successfully retrieved
237
+ * @public
238
+ */
239
+ agentSpaces?: AgentSpace[] | undefined;
240
+ /**
241
+ * List of agent space IDs that could not be found
242
+ * @public
243
+ */
244
+ notFound?: string[] | undefined;
245
+ }
246
+ /**
247
+ * Input for creating a new agent space
248
+ * @public
249
+ */
250
+ export interface CreateAgentSpaceInput {
251
+ /**
252
+ * Name of the agent space
253
+ * @public
254
+ */
255
+ name: string | undefined;
256
+ /**
257
+ * Description of the agent space
258
+ * @public
259
+ */
260
+ description?: string | undefined;
261
+ /**
262
+ * AWS resource configurations associated with the agent space
263
+ * @public
264
+ */
265
+ awsResources?: AWSResources | undefined;
266
+ /**
267
+ * Target domain IDs to associate with the agent space
268
+ * @public
269
+ */
270
+ targetDomainIds?: string[] | undefined;
271
+ /**
272
+ * Configuration for code review analysis, including controls scanning and general purpose scanning settings
273
+ * @public
274
+ */
275
+ codeReviewSettings?: CodeReviewSettings | undefined;
276
+ /**
277
+ * Identifier of the KMS key used to encrypt data. Can be a key ID, key ARN, alias name, or alias ARN. If not specified, an AWS managed key is used.
278
+ * @public
279
+ */
280
+ kmsKeyId?: string | undefined;
281
+ /**
282
+ * Tags to associate with the agent space
283
+ * @public
284
+ */
285
+ tags?: Record<string, string> | undefined;
286
+ }
287
+ /**
288
+ * Output for the CreateAgentSpace operation
289
+ * @public
290
+ */
291
+ export interface CreateAgentSpaceOutput {
292
+ /**
293
+ * Unique identifier of the created agent space
294
+ * @public
295
+ */
296
+ agentSpaceId: string | undefined;
297
+ /**
298
+ * Name of the created agent space
299
+ * @public
300
+ */
301
+ name: string | undefined;
302
+ /**
303
+ * Description of the created agent space
304
+ * @public
305
+ */
306
+ description?: string | undefined;
307
+ /**
308
+ * AWS resource configurations associated with the agent space
309
+ * @public
310
+ */
311
+ awsResources?: AWSResources | undefined;
312
+ /**
313
+ * List of target domain IDs registered with the agent space
314
+ * @public
315
+ */
316
+ targetDomainIds?: string[] | undefined;
317
+ /**
318
+ * Configuration for code review analysis, including controls scanning and general purpose scanning settings
319
+ * @public
320
+ */
321
+ codeReviewSettings?: CodeReviewSettings | undefined;
322
+ /**
323
+ * Identifier of the KMS key used to encrypt data. Can be a key ID, key ARN, alias name, or alias ARN. If not specified, an AWS managed key is used.
324
+ * @public
325
+ */
326
+ kmsKeyId?: string | undefined;
327
+ /**
328
+ * Timestamp when the agent space was created
329
+ * @public
330
+ */
331
+ createdAt?: Date | undefined;
332
+ /**
333
+ * Timestamp when the agent space was last updated
334
+ * @public
335
+ */
336
+ updatedAt?: Date | undefined;
337
+ }
338
+ /**
339
+ * Input for deleting an agent space
340
+ * @public
341
+ */
342
+ export interface DeleteAgentSpaceInput {
343
+ /**
344
+ * Unique identifier of the agent space to delete
345
+ * @public
346
+ */
347
+ agentSpaceId: string | undefined;
348
+ }
349
+ /**
350
+ * Output for the DeleteAgentSpace operation
351
+ * @public
352
+ */
353
+ export interface DeleteAgentSpaceOutput {
354
+ /**
355
+ * Unique identifier of the deleted agent space
356
+ * @public
357
+ */
358
+ agentSpaceId?: string | undefined;
359
+ }
360
+ /**
361
+ * Input for listing agent spaces
362
+ * @public
363
+ */
364
+ export interface ListAgentSpacesInput {
365
+ /**
366
+ * Token for pagination
367
+ * @public
368
+ */
369
+ nextToken?: string | undefined;
370
+ /**
371
+ * Maximum number of agent spaces to return
372
+ * @public
373
+ */
374
+ maxResults?: number | undefined;
375
+ }
376
+ /**
377
+ * Summary information for an agent space
378
+ * @public
379
+ */
380
+ export interface AgentSpaceSummary {
381
+ /**
382
+ * Unique identifier of the agent space
383
+ * @public
384
+ */
385
+ agentSpaceId: string | undefined;
386
+ /**
387
+ * Name of the agent space
388
+ * @public
389
+ */
390
+ name: string | undefined;
391
+ /**
392
+ * Timestamp when the agent space was created
393
+ * @public
394
+ */
395
+ createdAt?: Date | undefined;
396
+ /**
397
+ * Timestamp when the agent space was last updated
398
+ * @public
399
+ */
400
+ updatedAt?: Date | undefined;
401
+ }
402
+ /**
403
+ * Output for the ListAgentSpaces operation
404
+ * @public
405
+ */
406
+ export interface ListAgentSpacesOutput {
407
+ /**
408
+ * List of agent space summaries
409
+ * @public
410
+ */
411
+ agentSpaceSummaries?: AgentSpaceSummary[] | undefined;
412
+ /**
413
+ * Token for next page of results
414
+ * @public
415
+ */
416
+ nextToken?: string | undefined;
417
+ }
418
+ /**
419
+ * Input for updating an agent space
420
+ * @public
421
+ */
422
+ export interface UpdateAgentSpaceInput {
423
+ /**
424
+ * ID of the agent space to update
425
+ * @public
426
+ */
427
+ agentSpaceId: string | undefined;
428
+ /**
429
+ * Name of the agent space
430
+ * @public
431
+ */
432
+ name?: string | undefined;
433
+ /**
434
+ * Description of the agent space
435
+ * @public
436
+ */
437
+ description?: string | undefined;
438
+ /**
439
+ * AWS resource configurations associated with the agent space
440
+ * @public
441
+ */
442
+ awsResources?: AWSResources | undefined;
443
+ /**
444
+ * Target domain IDs to associate with the agent space
445
+ * @public
446
+ */
447
+ targetDomainIds?: string[] | undefined;
448
+ /**
449
+ * Configuration for code review analysis, including controls scanning and general purpose scanning settings
450
+ * @public
451
+ */
452
+ codeReviewSettings?: CodeReviewSettings | undefined;
453
+ }
454
+ /**
455
+ * Output for the UpdateAgentSpace operation
456
+ * @public
457
+ */
458
+ export interface UpdateAgentSpaceOutput {
459
+ /**
460
+ * Unique identifier of the agent space
461
+ * @public
462
+ */
463
+ agentSpaceId: string | undefined;
464
+ /**
465
+ * Name of the agent space
466
+ * @public
467
+ */
468
+ name: string | undefined;
469
+ /**
470
+ * Description of the agent space
471
+ * @public
472
+ */
473
+ description?: string | undefined;
474
+ /**
475
+ * AWS resource configurations associated with the agent space
476
+ * @public
477
+ */
478
+ awsResources?: AWSResources | undefined;
479
+ /**
480
+ * List of target domain IDs registered with the agent space
481
+ * @public
482
+ */
483
+ targetDomainIds?: string[] | undefined;
484
+ /**
485
+ * Configuration for code review analysis, including controls scanning and general purpose scanning settings
486
+ * @public
487
+ */
488
+ codeReviewSettings?: CodeReviewSettings | undefined;
489
+ /**
490
+ * Timestamp when the agent space was created
491
+ * @public
492
+ */
493
+ createdAt?: Date | undefined;
494
+ /**
495
+ * Timestamp when the agent space was last updated
496
+ * @public
497
+ */
498
+ updatedAt?: Date | undefined;
499
+ }
500
+ /**
501
+ * @public
502
+ */
503
+ export interface CreateApplicationRequest {
504
+ /**
505
+ * ARN of the IAM Identity Center instance used for user authentication. Optional for non-IdC applications
506
+ * @public
507
+ */
508
+ idcInstanceArn?: string | undefined;
509
+ /**
510
+ * ARN of the IAM role that the application uses to access AWS resources on your behalf
511
+ * @public
512
+ */
513
+ roleArn?: string | undefined;
514
+ /**
515
+ * Default KMS key identifier used to encrypt application data
516
+ * @public
517
+ */
518
+ defaultKmsKeyId?: string | undefined;
519
+ /**
520
+ * Tags to associate with the application
521
+ * @public
522
+ */
523
+ tags?: Record<string, string> | undefined;
524
+ }
525
+ /**
526
+ * @public
527
+ */
528
+ export interface CreateApplicationResponse {
529
+ /**
530
+ * Application ID
531
+ * @public
532
+ */
533
+ applicationId: string | undefined;
534
+ }
535
+ /**
536
+ * @public
537
+ */
538
+ export interface DeleteApplicationRequest {
539
+ /**
540
+ * Application ID
541
+ * @public
542
+ */
543
+ applicationId: string | undefined;
544
+ }
545
+ /**
546
+ * @public
547
+ */
548
+ export interface GetApplicationRequest {
549
+ /**
550
+ * Application ID
551
+ * @public
552
+ */
553
+ applicationId: string | undefined;
554
+ }
555
+ /**
556
+ * IdC configuration containing application and instance ARNs
557
+ * @public
558
+ */
559
+ export interface IdCConfiguration {
560
+ /**
561
+ * ARN of the IAM Identity Center application associated with this application
562
+ * @public
563
+ */
564
+ idcApplicationArn?: string | undefined;
565
+ /**
566
+ * ARN of the IAM Identity Center instance used for user authentication
567
+ * @public
568
+ */
569
+ idcInstanceArn?: string | undefined;
570
+ }
571
+ /**
572
+ * @public
573
+ */
574
+ export interface GetApplicationResponse {
575
+ /**
576
+ * Application ID
577
+ * @public
578
+ */
579
+ applicationId: string | undefined;
580
+ /**
581
+ * Domain where the application is available
582
+ * @public
583
+ */
584
+ domain: string | undefined;
585
+ /**
586
+ * Name of the application, automatically assigned by the service
587
+ * @public
588
+ */
589
+ applicationName?: string | undefined;
590
+ /**
591
+ * IAM Identity Center configuration for the application
592
+ * @public
593
+ */
594
+ idcConfiguration?: IdCConfiguration | undefined;
595
+ /**
596
+ * ARN of the IAM role that the application uses to access AWS resources on your behalf
597
+ * @public
598
+ */
599
+ roleArn?: string | undefined;
600
+ /**
601
+ * Default KMS key identifier used to encrypt application data
602
+ * @public
603
+ */
604
+ defaultKmsKeyId?: string | undefined;
605
+ }
606
+ /**
607
+ * @public
608
+ */
609
+ export interface ListApplicationsRequest {
610
+ /**
611
+ * Token for pagination
612
+ * @public
613
+ */
614
+ nextToken?: string | undefined;
615
+ /**
616
+ * Maximum number of results to return
617
+ * @public
618
+ */
619
+ maxResults?: number | undefined;
620
+ }
621
+ /**
622
+ * Application summary for list operations
623
+ * @public
624
+ */
625
+ export interface ApplicationSummary {
626
+ /**
627
+ * Unique identifier of the application
628
+ * @public
629
+ */
630
+ applicationId: string | undefined;
631
+ /**
632
+ * Name of the application, automatically assigned by the service
633
+ * @public
634
+ */
635
+ applicationName: string | undefined;
636
+ /**
637
+ * Domain where the application is available
638
+ * @public
639
+ */
640
+ domain: string | undefined;
641
+ /**
642
+ * Default KMS key identifier used to encrypt application data
643
+ * @public
644
+ */
645
+ defaultKmsKeyId?: string | undefined;
646
+ }
647
+ /**
648
+ * @public
649
+ */
650
+ export interface ListApplicationsResponse {
651
+ /**
652
+ * List of application summaries
653
+ * @public
654
+ */
655
+ applicationSummaries: ApplicationSummary[] | undefined;
656
+ /**
657
+ * Token for next page of results
658
+ * @public
659
+ */
660
+ nextToken?: string | undefined;
661
+ }
662
+ /**
663
+ * @public
664
+ */
665
+ export interface UpdateApplicationRequest {
666
+ /**
667
+ * Application ID
668
+ * @public
669
+ */
670
+ applicationId: string | undefined;
671
+ /**
672
+ * ARN of the IAM role that the application uses to access AWS resources on your behalf
673
+ * @public
674
+ */
675
+ roleArn?: string | undefined;
676
+ /**
677
+ * Default KMS key identifier. Use an empty string to remove the default KMS key.
678
+ * @public
679
+ */
680
+ defaultKmsKeyId?: string | undefined;
681
+ }
682
+ /**
683
+ * @public
684
+ */
685
+ export interface UpdateApplicationResponse {
686
+ /**
687
+ * Application ID
688
+ * @public
689
+ */
690
+ applicationId: string | undefined;
691
+ }
692
+ /**
693
+ * Files containing relevant data for review
694
+ * @public
695
+ */
696
+ export interface Artifact {
697
+ /**
698
+ * The content of the artifact
699
+ * @public
700
+ */
701
+ contents: string | undefined;
702
+ /**
703
+ * The file type of the artifact
704
+ * @public
705
+ */
706
+ type: ArtifactType | undefined;
707
+ }
708
+ /**
709
+ * Metadata in relation to the artifact
710
+ * @public
711
+ */
712
+ export interface ArtifactMetadataItem {
713
+ /**
714
+ * Unique identifier of the agent space
715
+ * @public
716
+ */
717
+ agentSpaceId: string | undefined;
718
+ /**
719
+ * Unique identifier of the artifact
720
+ * @public
721
+ */
722
+ artifactId: string | undefined;
723
+ /**
724
+ * Name of the artifact file
725
+ * @public
726
+ */
727
+ fileName: string | undefined;
728
+ /**
729
+ * Timestamp when the artifact was last updated
730
+ * @public
731
+ */
732
+ updatedAt: Date | undefined;
733
+ }
734
+ /**
735
+ * Summary information about an artifact
736
+ * @public
737
+ */
738
+ export interface ArtifactSummary {
739
+ /**
740
+ * Unique identifier of the artifact
741
+ * @public
742
+ */
743
+ artifactId: string | undefined;
744
+ /**
745
+ * Name of the artifact file
746
+ * @public
747
+ */
748
+ fileName: string | undefined;
749
+ /**
750
+ * Type of the artifact file
751
+ * @public
752
+ */
753
+ artifactType: ArtifactType | undefined;
754
+ }
755
+ /**
756
+ * Information about a document relevant to security testing
757
+ * @public
758
+ */
759
+ export interface DocumentInfo {
760
+ /**
761
+ * S3 storage location of the document
762
+ * @public
763
+ */
764
+ s3Location?: string | undefined;
765
+ /**
766
+ * Artifact ID of the document
767
+ * @public
768
+ */
769
+ artifactId?: string | undefined;
770
+ }
771
+ /**
772
+ * Represents a web application endpoint to be tested
773
+ * @public
774
+ */
775
+ export interface Endpoint {
776
+ /**
777
+ * URI of the endpoint to test
778
+ * @public
779
+ */
780
+ uri?: string | undefined;
781
+ }
782
+ /**
783
+ * Information about an integrated repository
784
+ * @public
785
+ */
786
+ export interface IntegratedRepository {
787
+ /**
788
+ * Integration identifier
789
+ * @public
790
+ */
791
+ integrationId: string | undefined;
792
+ /**
793
+ * External provider resource identifier, e.g., Github repository identifier
794
+ * @public
795
+ */
796
+ providerResourceId: string | undefined;
797
+ }
798
+ /**
799
+ * Information about a source code repository for static analysis
800
+ * @public
801
+ */
802
+ export interface SourceCodeRepository {
803
+ /**
804
+ * S3 storage location of the repository
805
+ * @public
806
+ */
807
+ s3Location?: string | undefined;
808
+ }
809
+ /**
810
+ * Collection of assets to be tested or used during a pentest
811
+ * @public
812
+ */
813
+ export interface Assets {
814
+ /**
815
+ * List of web application endpoints to test
816
+ * @public
817
+ */
818
+ endpoints?: Endpoint[] | undefined;
819
+ /**
820
+ * List of actors that interact with the system
821
+ * @public
822
+ */
823
+ actors?: Actor[] | undefined;
824
+ /**
825
+ * List of documents providing context for testing
826
+ * @public
827
+ */
828
+ documents?: DocumentInfo[] | undefined;
829
+ /**
830
+ * List of source code repositories for static analysis
831
+ * @public
832
+ */
833
+ sourceCode?: SourceCodeRepository[] | undefined;
834
+ /**
835
+ * List of integrated code repositories
836
+ * @public
837
+ */
838
+ integratedRepositories?: IntegratedRepository[] | undefined;
839
+ }
840
+ /**
841
+ * Input for deleting multiple pentests
842
+ * @public
843
+ */
844
+ export interface BatchDeletePentestsInput {
845
+ /**
846
+ * List of pentest IDs to delete
847
+ * @public
848
+ */
849
+ pentestIds: string[] | undefined;
850
+ /**
851
+ * ID of the agent space where the pentests exist
852
+ * @public
853
+ */
854
+ agentSpaceId: string | undefined;
855
+ }
856
+ /**
857
+ * Reference to logs stored in CloudWatch
858
+ * @public
859
+ */
860
+ export interface CloudWatchLog {
861
+ /**
862
+ * Name of the CloudWatch log group
863
+ * @public
864
+ */
865
+ logGroup?: string | undefined;
866
+ /**
867
+ * Name of the CloudWatch log stream
868
+ * @public
869
+ */
870
+ logStream?: string | undefined;
871
+ }
872
+ /**
873
+ * Custom headers to be set for network requests
874
+ * @public
875
+ */
876
+ export interface CustomHeader {
877
+ /**
878
+ * Name of header to set value for
879
+ * @public
880
+ */
881
+ name?: string | undefined;
882
+ /**
883
+ * Value to set for header
884
+ * @public
885
+ */
886
+ value?: string | undefined;
887
+ }
888
+ /**
889
+ * Network traffic filtering rule
890
+ * @public
891
+ */
892
+ export interface NetworkTrafficRule {
893
+ /**
894
+ * Action to take when the rule matches
895
+ * @public
896
+ */
897
+ effect?: NetworkTrafficRuleEffect | undefined;
898
+ /**
899
+ * Pattern to match against
900
+ * @public
901
+ */
902
+ pattern?: string | undefined;
903
+ /**
904
+ * Type of network traffic rule
905
+ * @public
906
+ */
907
+ networkTrafficRuleType?: NetworkTrafficRuleType | undefined;
908
+ }
909
+ /**
910
+ * Configuration for network traffic filtering
911
+ * @public
912
+ */
913
+ export interface NetworkTrafficConfig {
914
+ /**
915
+ * Traffic filtering rules
916
+ * @public
917
+ */
918
+ rules?: NetworkTrafficRule[] | undefined;
919
+ /**
920
+ * Custom headers for requests
921
+ * @public
922
+ */
923
+ customHeaders?: CustomHeader[] | undefined;
924
+ }
925
+ /**
926
+ * Represents a pentest configuration and execution details
927
+ * @public
928
+ */
929
+ export interface Pentest {
930
+ /**
931
+ * Unique identifier for the pentest
932
+ * @public
933
+ */
934
+ pentestId: string | undefined;
935
+ /**
936
+ * ID of the agent space where the pentest exists
937
+ * @public
938
+ */
939
+ agentSpaceId: string | undefined;
940
+ /**
941
+ * Title or name of the pentest
942
+ * @public
943
+ */
944
+ title: string | undefined;
945
+ /**
946
+ * Collection of assets to be tested or used during the pentest
947
+ * @public
948
+ */
949
+ assets: Assets | undefined;
950
+ /**
951
+ * A list of risk types excluded from the pentest execution
952
+ * @public
953
+ */
954
+ excludeRiskTypes?: RiskType[] | undefined;
955
+ /**
956
+ * Service role ARN for accessing customer resources
957
+ * @public
958
+ */
959
+ serviceRole?: string | undefined;
960
+ /**
961
+ * CloudWatch log group and stream prefix where pentest execution logs are stored
962
+ * @public
963
+ */
964
+ logConfig?: CloudWatchLog | undefined;
965
+ /**
966
+ * VPC configuration that the Security Agent accesses
967
+ * @public
968
+ */
969
+ vpcConfig?: VpcConfig | undefined;
970
+ /**
971
+ * Configuration for network traffic filtering
972
+ * @public
973
+ */
974
+ networkTrafficConfig?: NetworkTrafficConfig | undefined;
975
+ /**
976
+ * Strategy for code remediation on findings
977
+ * @public
978
+ */
979
+ codeRemediationStrategy?: CodeRemediationStrategy | undefined;
980
+ /**
981
+ * Timestamp when the pentest was created
982
+ * @public
983
+ */
984
+ createdAt?: Date | undefined;
985
+ /**
986
+ * Timestamp when the pentest was last updated
987
+ * @public
988
+ */
989
+ updatedAt?: Date | undefined;
990
+ }
991
+ /**
992
+ * Information about a failed pentest deletion attempt
993
+ * @public
994
+ */
995
+ export interface DeletePentestFailure {
996
+ /**
997
+ * Identifier of the pentest that failed to delete
998
+ * @public
999
+ */
1000
+ pentestId?: string | undefined;
1001
+ /**
1002
+ * Reason for the deletion failure
1003
+ * @public
1004
+ */
1005
+ reason?: string | undefined;
1006
+ }
1007
+ /**
1008
+ * Output for the BatchDeletePentests operation
1009
+ * @public
1010
+ */
1011
+ export interface BatchDeletePentestsOutput {
1012
+ /**
1013
+ * List of successfully deleted pentests
1014
+ * @public
1015
+ */
1016
+ deleted?: Pentest[] | undefined;
1017
+ /**
1018
+ * List of pentests that could not be deleted and the reasons for failure
1019
+ * @public
1020
+ */
1021
+ failed?: DeletePentestFailure[] | undefined;
1022
+ }
1023
+ /**
1024
+ * @public
1025
+ */
1026
+ export interface BatchGetArtifactMetadataInput {
1027
+ /**
1028
+ * Unique identifier of the agent space
1029
+ * @public
1030
+ */
1031
+ agentSpaceId: string | undefined;
1032
+ /**
1033
+ * List of artifact identifiers
1034
+ * @public
1035
+ */
1036
+ artifactIds: string[] | undefined;
1037
+ }
1038
+ /**
1039
+ * @public
1040
+ */
1041
+ export interface BatchGetArtifactMetadataOutput {
1042
+ /**
1043
+ * List of artifact metadata
1044
+ * @public
1045
+ */
1046
+ artifactMetadataList: ArtifactMetadataItem[] | undefined;
1047
+ }
1048
+ /**
1049
+ * Input for BatchGetFindings operation
1050
+ * @public
1051
+ */
1052
+ export interface BatchGetFindingsInput {
1053
+ /**
1054
+ * List of finding IDs to retrieve
1055
+ * @public
1056
+ */
1057
+ findingIds: string[] | undefined;
1058
+ /**
1059
+ * ID of the agent space where the findings exist
1060
+ * @public
1061
+ */
1062
+ agentSpaceId: string | undefined;
1063
+ }
1064
+ /**
1065
+ * Code remediation details for a single repository
1066
+ * @public
1067
+ */
1068
+ export interface CodeRemediationTaskDetails {
1069
+ /**
1070
+ * Name of the repository
1071
+ * @public
1072
+ */
1073
+ repoName?: string | undefined;
1074
+ /**
1075
+ * Link to the code diff for the remediation
1076
+ * @public
1077
+ */
1078
+ codeDiffLink?: string | undefined;
1079
+ /**
1080
+ * Link to the pull request for the remediation
1081
+ * @public
1082
+ */
1083
+ pullRequestLink?: string | undefined;
1084
+ }
1085
+ /**
1086
+ * Information about task for code remediation
1087
+ * @public
1088
+ */
1089
+ export interface CodeRemediationTask {
1090
+ /**
1091
+ * Current status of the code remediation task
1092
+ * @public
1093
+ */
1094
+ status: CodeRemediationTaskStatus | undefined;
1095
+ /**
1096
+ * Reason for the current code remediation task status
1097
+ * @public
1098
+ */
1099
+ statusReason?: string | undefined;
1100
+ /**
1101
+ * Details of the code remediation for each repository
1102
+ * @public
1103
+ */
1104
+ taskDetails?: CodeRemediationTaskDetails[] | undefined;
1105
+ }
1106
+ /**
1107
+ * Represents a security vulnerability or issue discovered during testing
1108
+ * @public
1109
+ */
1110
+ export interface Finding {
1111
+ /**
1112
+ * Unique identifier for the finding
1113
+ * @public
1114
+ */
1115
+ findingId: string | undefined;
1116
+ /**
1117
+ * Identifier of the agent space that created this finding
1118
+ * @public
1119
+ */
1120
+ agentSpaceId: string | undefined;
1121
+ /**
1122
+ * Identifier of the parent pentest
1123
+ * @public
1124
+ */
1125
+ pentestId?: string | undefined;
1126
+ /**
1127
+ * Identifier of the pentest job
1128
+ * @public
1129
+ */
1130
+ pentestJobId?: string | undefined;
1131
+ /**
1132
+ * Identifier of the associated task
1133
+ * @public
1134
+ */
1135
+ taskId?: string | undefined;
1136
+ /**
1137
+ * Name or title of the finding
1138
+ * @public
1139
+ */
1140
+ name?: string | undefined;
1141
+ /**
1142
+ * Detailed description of the security vulnerability
1143
+ * @public
1144
+ */
1145
+ description?: string | undefined;
1146
+ /**
1147
+ * Current status of the finding
1148
+ * @public
1149
+ */
1150
+ status?: FindingStatus | undefined;
1151
+ /**
1152
+ * Type of security risk identified
1153
+ * @public
1154
+ */
1155
+ riskType?: string | undefined;
1156
+ /**
1157
+ * Severity level of the identified risk
1158
+ * @public
1159
+ */
1160
+ riskLevel?: RiskLevel | undefined;
1161
+ /**
1162
+ * Risk score associated with the finding
1163
+ * @public
1164
+ */
1165
+ riskScore?: string | undefined;
1166
+ /**
1167
+ * Justification for the assigned risk score
1168
+ * @public
1169
+ */
1170
+ reasoning?: string | undefined;
1171
+ /**
1172
+ * Confidence level of the finding
1173
+ * @public
1174
+ */
1175
+ confidence?: ConfidenceLevel | undefined;
1176
+ /**
1177
+ * Proof-of-concept code demonstrating the vulnerability
1178
+ * @public
1179
+ */
1180
+ attackScript?: string | undefined;
1181
+ /**
1182
+ * Code remediation task associated with this finding
1183
+ * @public
1184
+ */
1185
+ codeRemediationTask?: CodeRemediationTask | undefined;
1186
+ /**
1187
+ * Identifier of the task or agent that last updated this finding
1188
+ * @public
1189
+ */
1190
+ lastUpdatedBy?: string | undefined;
1191
+ /**
1192
+ * Timestamp when the finding was created
1193
+ * @public
1194
+ */
1195
+ createdAt?: Date | undefined;
1196
+ /**
1197
+ * Timestamp when the finding was last updated
1198
+ * @public
1199
+ */
1200
+ updatedAt?: Date | undefined;
1201
+ }
1202
+ /**
1203
+ * Output for the BatchGetFindings operation
1204
+ * @public
1205
+ */
1206
+ export interface BatchGetFindingsOutput {
1207
+ /**
1208
+ * List of successfully retrieved findings
1209
+ * @public
1210
+ */
1211
+ findings?: Finding[] | undefined;
1212
+ /**
1213
+ * List of finding IDs that could not be found
1214
+ * @public
1215
+ */
1216
+ notFound?: string[] | undefined;
1217
+ }
1218
+ /**
1219
+ * Input for BatchGetPentestJobs operation
1220
+ * @public
1221
+ */
1222
+ export interface BatchGetPentestJobsInput {
1223
+ /**
1224
+ * List of pentest job IDs to retrieve
1225
+ * @public
1226
+ */
1227
+ pentestJobIds: string[] | undefined;
1228
+ /**
1229
+ * ID of the agent space where the pentest exists
1230
+ * @public
1231
+ */
1232
+ agentSpaceId: string | undefined;
1233
+ }
1234
+ /**
1235
+ * Error information regarding the pentest job
1236
+ * @public
1237
+ */
1238
+ export interface ErrorInformation {
1239
+ /**
1240
+ * Pentest job failure error code
1241
+ * @public
1242
+ */
1243
+ code?: ErrorCode | undefined;
1244
+ /**
1245
+ * Pentest job failure error message
1246
+ * @public
1247
+ */
1248
+ message?: string | undefined;
1249
+ }
1250
+ /**
1251
+ * Additional context about a pentest or task execution
1252
+ * @public
1253
+ */
1254
+ export interface ExecutionContext {
1255
+ /**
1256
+ * The category of context
1257
+ * @public
1258
+ */
1259
+ contextType?: ContextType | undefined;
1260
+ /**
1261
+ * Context associated with a pentest or task execution
1262
+ * @public
1263
+ */
1264
+ context?: string | undefined;
1265
+ /**
1266
+ * Timestamp associated with a pentest or task execution
1267
+ * @public
1268
+ */
1269
+ timestamp?: Date | undefined;
1270
+ }
1271
+ /**
1272
+ * Represents a single step in pentest job execution
1273
+ * @public
1274
+ */
1275
+ export interface Step {
1276
+ /**
1277
+ * Name of the execution step
1278
+ * @public
1279
+ */
1280
+ name?: StepName | undefined;
1281
+ /**
1282
+ * Current status of the step
1283
+ * @public
1284
+ */
1285
+ status?: StepStatus | undefined;
1286
+ /**
1287
+ * Timestamp when the step was created
1288
+ * @public
1289
+ */
1290
+ createdAt?: Date | undefined;
1291
+ /**
1292
+ * Timestamp when the step was last updated
1293
+ * @public
1294
+ */
1295
+ updatedAt?: Date | undefined;
1296
+ }
1297
+ /**
1298
+ * Represents a pentest job
1299
+ * @public
1300
+ */
1301
+ export interface PentestJob {
1302
+ /**
1303
+ * Unique identifier of the pentest job
1304
+ * @public
1305
+ */
1306
+ pentestJobId?: string | undefined;
1307
+ /**
1308
+ * Identifier of the parent pentest
1309
+ * @public
1310
+ */
1311
+ pentestId?: string | undefined;
1312
+ /**
1313
+ * Title or name of the pentest
1314
+ * @public
1315
+ */
1316
+ title?: string | undefined;
1317
+ /**
1318
+ * Overview or description of the pentest job
1319
+ * @public
1320
+ */
1321
+ overview?: string | undefined;
1322
+ /**
1323
+ * Current status of the pentest job
1324
+ * @public
1325
+ */
1326
+ status?: JobStatus | undefined;
1327
+ /**
1328
+ * List of web application endpoints to test
1329
+ * @public
1330
+ */
1331
+ endpoints?: Endpoint[] | undefined;
1332
+ /**
1333
+ * List of actors that interact with the system
1334
+ * @public
1335
+ */
1336
+ actors?: Actor[] | undefined;
1337
+ /**
1338
+ * List of documents providing context for testing
1339
+ * @public
1340
+ */
1341
+ documents?: DocumentInfo[] | undefined;
1342
+ /**
1343
+ * List of source code repositories for static analysis
1344
+ * @public
1345
+ */
1346
+ sourceCode?: SourceCodeRepository[] | undefined;
1347
+ /**
1348
+ * List of URL paths to exclude from testing
1349
+ * @public
1350
+ */
1351
+ excludePaths?: Endpoint[] | undefined;
1352
+ /**
1353
+ * List of allowed domains for network access
1354
+ * @public
1355
+ */
1356
+ allowedDomains?: Endpoint[] | undefined;
1357
+ /**
1358
+ * A list of risk types excluded from the pentest job
1359
+ * @public
1360
+ */
1361
+ excludeRiskTypes?: RiskType[] | undefined;
1362
+ /**
1363
+ * List of execution steps for the pentest job
1364
+ * @public
1365
+ */
1366
+ steps?: Step[] | undefined;
1367
+ /**
1368
+ * A list of execution context messages associated with the pentest job
1369
+ * @public
1370
+ */
1371
+ executionContext?: ExecutionContext[] | undefined;
1372
+ /**
1373
+ * Service role ARN for accessing customer resources
1374
+ * @public
1375
+ */
1376
+ serviceRole?: string | undefined;
1377
+ /**
1378
+ * CloudWatch log group and stream prefix where pentest job logs are stored
1379
+ * @public
1380
+ */
1381
+ logConfig?: CloudWatchLog | undefined;
1382
+ /**
1383
+ * VPC configuration that the Security Agent accesses
1384
+ * @public
1385
+ */
1386
+ vpcConfig?: VpcConfig | undefined;
1387
+ /**
1388
+ * Configuration for network traffic filtering
1389
+ * @public
1390
+ */
1391
+ networkTrafficConfig?: NetworkTrafficConfig | undefined;
1392
+ /**
1393
+ * Error information regarding the pentest job
1394
+ * @public
1395
+ */
1396
+ errorInformation?: ErrorInformation | undefined;
1397
+ /**
1398
+ * List of integrated code repositories
1399
+ * @public
1400
+ */
1401
+ integratedRepositories?: IntegratedRepository[] | undefined;
1402
+ /**
1403
+ * Strategy for code remediation on findings
1404
+ * @public
1405
+ */
1406
+ codeRemediationStrategy?: CodeRemediationStrategy | undefined;
1407
+ /**
1408
+ * Timestamp when the pentest job was created
1409
+ * @public
1410
+ */
1411
+ createdAt?: Date | undefined;
1412
+ /**
1413
+ * Timestamp when the pentest job was last updated
1414
+ * @public
1415
+ */
1416
+ updatedAt?: Date | undefined;
1417
+ }
1418
+ /**
1419
+ * Output for the BatchGetPentestJobs operation
1420
+ * @public
1421
+ */
1422
+ export interface BatchGetPentestJobsOutput {
1423
+ /**
1424
+ * List of successfully retrieved pentest jobs
1425
+ * @public
1426
+ */
1427
+ pentestJobs?: PentestJob[] | undefined;
1428
+ /**
1429
+ * List of pentest job IDs that could not be found
1430
+ * @public
1431
+ */
1432
+ notFound?: string[] | undefined;
1433
+ }
1434
+ /**
1435
+ * Input for retrieving multiple tasks by their IDs for a pentest job
1436
+ * @public
1437
+ */
1438
+ export interface BatchGetPentestJobTasksInput {
1439
+ /**
1440
+ * ID of the agent space where the pentest exists
1441
+ * @public
1442
+ */
1443
+ agentSpaceId: string | undefined;
1444
+ /**
1445
+ * List of task IDs to retrieve
1446
+ * @public
1447
+ */
1448
+ taskIds: string[] | undefined;
1449
+ }
1450
+ /**
1451
+ * Represents a category classification for tasks
1452
+ * @public
1453
+ */
1454
+ export interface Category {
1455
+ /**
1456
+ * Name of the category
1457
+ * @public
1458
+ */
1459
+ name?: string | undefined;
1460
+ /**
1461
+ * Whether this is the primary category for the task
1462
+ * @public
1463
+ */
1464
+ isPrimary?: boolean | undefined;
1465
+ }
1466
+ /**
1467
+ * Location information for execution logs
1468
+ * @public
1469
+ */
1470
+ export interface LogLocation {
1471
+ /**
1472
+ * Type of log storage
1473
+ * @public
1474
+ */
1475
+ logType?: LogType | undefined;
1476
+ /**
1477
+ * CloudWatch log information if logs are stored in CloudWatch
1478
+ * @public
1479
+ */
1480
+ cloudWatchLog?: CloudWatchLog | undefined;
1481
+ }
1482
+ /**
1483
+ * Represents a task within a pentest job
1484
+ * @public
1485
+ */
1486
+ export interface Task {
1487
+ /**
1488
+ * Unique identifier for the task
1489
+ * @public
1490
+ */
1491
+ taskId: string | undefined;
1492
+ /**
1493
+ * Identifier of the parent pentest
1494
+ * @public
1495
+ */
1496
+ pentestId?: string | undefined;
1497
+ /**
1498
+ * Identifier of the pentest job this task belongs to
1499
+ * @public
1500
+ */
1501
+ pentestJobId?: string | undefined;
1502
+ /**
1503
+ * Identifier of the agent space this task belongs to
1504
+ * @public
1505
+ */
1506
+ agentSpaceId?: string | undefined;
1507
+ /**
1508
+ * Title or name of the task
1509
+ * @public
1510
+ */
1511
+ title?: string | undefined;
1512
+ /**
1513
+ * Detailed description of the task's purpose and scope
1514
+ * @public
1515
+ */
1516
+ description?: string | undefined;
1517
+ /**
1518
+ * List of categories associated with this task
1519
+ * @public
1520
+ */
1521
+ categories?: Category[] | undefined;
1522
+ /**
1523
+ * Type of security risk this task is designed to test
1524
+ * @public
1525
+ */
1526
+ riskType?: RiskType | undefined;
1527
+ /**
1528
+ * Target endpoint for this security test
1529
+ * @public
1530
+ */
1531
+ targetEndpoint?: Endpoint | undefined;
1532
+ /**
1533
+ * Current status of the task execution
1534
+ * @public
1535
+ */
1536
+ executionStatus?: TaskExecutionStatus | undefined;
1537
+ /**
1538
+ * Location of execution logs for auditing and review
1539
+ * @public
1540
+ */
1541
+ logsLocation?: LogLocation | undefined;
1542
+ /**
1543
+ * Timestamp when the task was created
1544
+ * @public
1545
+ */
1546
+ createdAt?: Date | undefined;
1547
+ /**
1548
+ * Timestamp when the task was last updated
1549
+ * @public
1550
+ */
1551
+ updatedAt?: Date | undefined;
1552
+ }
1553
+ /**
1554
+ * Output for the BatchGetPentestJobTasks operation
1555
+ * @public
1556
+ */
1557
+ export interface BatchGetPentestJobTasksOutput {
1558
+ /**
1559
+ * List of successfully retrieved tasks
1560
+ * @public
1561
+ */
1562
+ tasks?: Task[] | undefined;
1563
+ /**
1564
+ * List of task IDs that could not be found
1565
+ * @public
1566
+ */
1567
+ notFound?: string[] | undefined;
1568
+ }
1569
+ /**
1570
+ * Input for retrieving multiple pentests by their IDs
1571
+ * @public
1572
+ */
1573
+ export interface BatchGetPentestsInput {
1574
+ /**
1575
+ * List of pentest IDs to retrieve
1576
+ * @public
1577
+ */
1578
+ pentestIds: string[] | undefined;
1579
+ /**
1580
+ * ID of the agent space where the pentest exists
1581
+ * @public
1582
+ */
1583
+ agentSpaceId: string | undefined;
1584
+ }
1585
+ /**
1586
+ * Output for the BatchGetPentests operation
1587
+ * @public
1588
+ */
1589
+ export interface BatchGetPentestsOutput {
1590
+ /**
1591
+ * List of successfully retrieved pentests
1592
+ * @public
1593
+ */
1594
+ pentests?: Pentest[] | undefined;
1595
+ /**
1596
+ * List of pentest IDs that could not be found
1597
+ * @public
1598
+ */
1599
+ notFound?: string[] | undefined;
1600
+ }
1601
+ /**
1602
+ * Input for batch retrieving target domains
1603
+ * @public
1604
+ */
1605
+ export interface BatchGetTargetDomainsInput {
1606
+ /**
1607
+ * List of target domain IDs to retrieve
1608
+ * @public
1609
+ */
1610
+ targetDomainIds: string[] | undefined;
1611
+ }
1612
+ /**
1613
+ * Represents dns txt verification details
1614
+ * @public
1615
+ */
1616
+ export interface DnsVerification {
1617
+ /**
1618
+ * Token used to verify domain ownership
1619
+ * @public
1620
+ */
1621
+ token?: string | undefined;
1622
+ /**
1623
+ * Record name to be added in DNS for target domain
1624
+ * @public
1625
+ */
1626
+ dnsRecordName?: string | undefined;
1627
+ /**
1628
+ * Type of record to be added in DNS for target domain
1629
+ * @public
1630
+ */
1631
+ dnsRecordType?: DNSRecordType | undefined;
1632
+ }
1633
+ /**
1634
+ * Represents http route verification details
1635
+ * @public
1636
+ */
1637
+ export interface HttpVerification {
1638
+ /**
1639
+ * Token used to verify domain ownership
1640
+ * @public
1641
+ */
1642
+ token?: string | undefined;
1643
+ /**
1644
+ * Route path where verification token should be placed
1645
+ * @public
1646
+ */
1647
+ routePath?: string | undefined;
1648
+ }
1649
+ /**
1650
+ * Verification details to verify registered target domain
1651
+ * @public
1652
+ */
1653
+ export interface VerificationDetails {
1654
+ /**
1655
+ * Type of domain ownership verification method
1656
+ * @public
1657
+ */
1658
+ method?: DomainVerificationMethod | undefined;
1659
+ /**
1660
+ * Represents dns txt verification details
1661
+ * @public
1662
+ */
1663
+ dnsTxt?: DnsVerification | undefined;
1664
+ /**
1665
+ * Represents http route verification details
1666
+ * @public
1667
+ */
1668
+ httpRoute?: HttpVerification | undefined;
1669
+ }
1670
+ /**
1671
+ * Represents a target domain
1672
+ * @public
1673
+ */
1674
+ export interface TargetDomain {
1675
+ /**
1676
+ * Unique identifier of the target domain
1677
+ * @public
1678
+ */
1679
+ targetDomainId: string | undefined;
1680
+ /**
1681
+ * Name of the registered target domain
1682
+ * @public
1683
+ */
1684
+ domainName: string | undefined;
1685
+ /**
1686
+ * Current verification status of the registered target domain
1687
+ * @public
1688
+ */
1689
+ verificationStatus?: TargetDomainStatus | undefined;
1690
+ /**
1691
+ * Verification details to verify registered target domain
1692
+ * @public
1693
+ */
1694
+ verificationDetails?: VerificationDetails | undefined;
1695
+ /**
1696
+ * Timestamp when the target domain was registered
1697
+ * @public
1698
+ */
1699
+ createdAt?: Date | undefined;
1700
+ /**
1701
+ * Timestamp when the target domain was last successfully verified
1702
+ * @public
1703
+ */
1704
+ verifiedAt?: Date | undefined;
1705
+ }
1706
+ /**
1707
+ * Output for the BatchGetTargetDomains operation
1708
+ * @public
1709
+ */
1710
+ export interface BatchGetTargetDomainsOutput {
1711
+ /**
1712
+ * List of target domains that were successfully retrieved
1713
+ * @public
1714
+ */
1715
+ targetDomains?: TargetDomain[] | undefined;
1716
+ /**
1717
+ * List of target domain IDs that could not be found
1718
+ * @public
1719
+ */
1720
+ notFound?: string[] | undefined;
1721
+ }
1722
+ /**
1723
+ * Input parameters for GitHub integration
1724
+ * @public
1725
+ */
1726
+ export interface GitHubIntegrationInput {
1727
+ /**
1728
+ * Authorization code from OAuth flow
1729
+ * @public
1730
+ */
1731
+ code: string | undefined;
1732
+ /**
1733
+ * CSRF state token for OAuth security
1734
+ * @public
1735
+ */
1736
+ state: string | undefined;
1737
+ /**
1738
+ * Name of the GitHub organization
1739
+ * @public
1740
+ */
1741
+ organizationName?: string | undefined;
1742
+ }
1743
+ /**
1744
+ * Provider-specific input parameters for integration
1745
+ * @public
1746
+ */
1747
+ export type ProviderInput = ProviderInput.GithubMember | ProviderInput.$UnknownMember;
1748
+ /**
1749
+ * @public
1750
+ */
1751
+ export declare namespace ProviderInput {
1752
+ /**
1753
+ * GitHub integration input
1754
+ * @public
1755
+ */
1756
+ interface GithubMember {
1757
+ github: GitHubIntegrationInput;
1758
+ $unknown?: never;
1759
+ }
1760
+ /**
1761
+ * @public
1762
+ */
1763
+ interface $UnknownMember {
1764
+ github?: never;
1765
+ $unknown: [string, any];
1766
+ }
1767
+ /**
1768
+ * @deprecated unused in schema-serde mode.
1769
+ *
1770
+ */
1771
+ interface Visitor<T> {
1772
+ github: (value: GitHubIntegrationInput) => T;
1773
+ _: (name: string, value: any) => T;
1774
+ }
1775
+ }
1776
+ /**
1777
+ * @public
1778
+ */
1779
+ export interface CreateIntegrationInput {
1780
+ /**
1781
+ * Provider to integrate with
1782
+ * @public
1783
+ */
1784
+ provider: Provider | undefined;
1785
+ /**
1786
+ * Provider-specific input parameters
1787
+ * @public
1788
+ */
1789
+ input: ProviderInput | undefined;
1790
+ /**
1791
+ * Display name for the integration
1792
+ * @public
1793
+ */
1794
+ integrationDisplayName: string | undefined;
1795
+ /**
1796
+ * KMS key ID for encrypting integration details
1797
+ * @public
1798
+ */
1799
+ kmsKeyId?: string | undefined;
1800
+ /**
1801
+ * Tags to associate with the integration
1802
+ * @public
1803
+ */
1804
+ tags?: Record<string, string> | undefined;
1805
+ }
1806
+ /**
1807
+ * @public
1808
+ */
1809
+ export interface CreateIntegrationOutput {
1810
+ /**
1811
+ * Unique identifier of the created integration
1812
+ * @public
1813
+ */
1814
+ integrationId: string | undefined;
1815
+ }
1816
+ /**
1817
+ * User membership configuration
1818
+ * @public
1819
+ */
1820
+ export interface UserConfig {
1821
+ /**
1822
+ * Role of the user associated to the agent space
1823
+ * @public
1824
+ */
1825
+ role?: UserRole | undefined;
1826
+ }
1827
+ /**
1828
+ * Member-specific configuration
1829
+ * @public
1830
+ */
1831
+ export type MembershipConfig = MembershipConfig.UserMember | MembershipConfig.$UnknownMember;
1832
+ /**
1833
+ * @public
1834
+ */
1835
+ export declare namespace MembershipConfig {
1836
+ /**
1837
+ * Configuration for user members
1838
+ * @public
1839
+ */
1840
+ interface UserMember {
1841
+ user: UserConfig;
1842
+ $unknown?: never;
1843
+ }
1844
+ /**
1845
+ * @public
1846
+ */
1847
+ interface $UnknownMember {
1848
+ user?: never;
1849
+ $unknown: [string, any];
1850
+ }
1851
+ /**
1852
+ * @deprecated unused in schema-serde mode.
1853
+ *
1854
+ */
1855
+ interface Visitor<T> {
1856
+ user: (value: UserConfig) => T;
1857
+ _: (name: string, value: any) => T;
1858
+ }
1859
+ }
1860
+ /**
1861
+ * Request structure for adding a single member to an agent space
1862
+ * @public
1863
+ */
1864
+ export interface CreateMembershipRequest {
1865
+ /**
1866
+ * Application identifier
1867
+ * @public
1868
+ */
1869
+ applicationId: string | undefined;
1870
+ /**
1871
+ * Agent space identifier
1872
+ * @public
1873
+ */
1874
+ agentSpaceId: string | undefined;
1875
+ /**
1876
+ * Member identifier (userId or agentSpaceId)
1877
+ * @public
1878
+ */
1879
+ membershipId: string | undefined;
1880
+ /**
1881
+ * Type of member (USER or AGENT_SPACE)
1882
+ * @public
1883
+ */
1884
+ memberType: MembershipType | undefined;
1885
+ /**
1886
+ * Membership details (user or agent specific)
1887
+ * @public
1888
+ */
1889
+ config?: MembershipConfig | undefined;
1890
+ }
1891
+ /**
1892
+ * Response structure for adding a single member to an agent space
1893
+ * @public
1894
+ */
1895
+ export interface CreateMembershipResponse {
1896
+ }
1897
+ /**
1898
+ * Input for creating a new pentest
1899
+ * @public
1900
+ */
1901
+ export interface CreatePentestInput {
1902
+ /**
1903
+ * Title of the pentest
1904
+ * @public
1905
+ */
1906
+ title: string | undefined;
1907
+ /**
1908
+ * ID of the agent space where the pentest should be created
1909
+ * @public
1910
+ */
1911
+ agentSpaceId: string | undefined;
1912
+ /**
1913
+ * Assets to be tested during the pentest
1914
+ * @public
1915
+ */
1916
+ assets?: Assets | undefined;
1917
+ /**
1918
+ * A list of risk types excluded from the pentest execution
1919
+ * @public
1920
+ */
1921
+ excludeRiskTypes?: RiskType[] | undefined;
1922
+ /**
1923
+ * Service role ARN for accessing customer resources
1924
+ * @public
1925
+ */
1926
+ serviceRole?: string | undefined;
1927
+ /**
1928
+ * CloudWatch log group and stream prefix where pentest execution logs are stored
1929
+ * @public
1930
+ */
1931
+ logConfig?: CloudWatchLog | undefined;
1932
+ /**
1933
+ * VPC configuration that the Security Agent accesses
1934
+ * @public
1935
+ */
1936
+ vpcConfig?: VpcConfig | undefined;
1937
+ /**
1938
+ * Configuration for network traffic filtering
1939
+ * @public
1940
+ */
1941
+ networkTrafficConfig?: NetworkTrafficConfig | undefined;
1942
+ /**
1943
+ * Strategy for code remediation on findings
1944
+ * @public
1945
+ */
1946
+ codeRemediationStrategy?: CodeRemediationStrategy | undefined;
1947
+ }
1948
+ /**
1949
+ * Output for the CreatePentest operation
1950
+ * @public
1951
+ */
1952
+ export interface CreatePentestOutput {
1953
+ /**
1954
+ * Unique identifier of the created pentest
1955
+ * @public
1956
+ */
1957
+ pentestId?: string | undefined;
1958
+ /**
1959
+ * Title of the created pentest
1960
+ * @public
1961
+ */
1962
+ title?: string | undefined;
1963
+ /**
1964
+ * Timestamp when the pentest was created
1965
+ * @public
1966
+ */
1967
+ createdAt?: Date | undefined;
1968
+ /**
1969
+ * Timestamp when the pentest was last updated
1970
+ * @public
1971
+ */
1972
+ updatedAt?: Date | undefined;
1973
+ /**
1974
+ * Assets to be tested in the created pentest
1975
+ * @public
1976
+ */
1977
+ assets?: Assets | undefined;
1978
+ /**
1979
+ * A list of risk types excluded from the pentest execution
1980
+ * @public
1981
+ */
1982
+ excludeRiskTypes?: RiskType[] | undefined;
1983
+ /**
1984
+ * Service role ARN for accessing customer resources
1985
+ * @public
1986
+ */
1987
+ serviceRole?: string | undefined;
1988
+ /**
1989
+ * CloudWatch log group and stream prefix where pentest execution logs are stored
1990
+ * @public
1991
+ */
1992
+ logConfig?: CloudWatchLog | undefined;
1993
+ /**
1994
+ * ID of the agent space where the pentest was created
1995
+ * @public
1996
+ */
1997
+ agentSpaceId?: string | undefined;
1998
+ }
1999
+ /**
2000
+ * Input for creating a new target domain
2001
+ * @public
2002
+ */
2003
+ export interface CreateTargetDomainInput {
2004
+ /**
2005
+ * Domain name of the target domain
2006
+ * @public
2007
+ */
2008
+ targetDomainName: string | undefined;
2009
+ /**
2010
+ * Verification method for the target domain
2011
+ * @public
2012
+ */
2013
+ verificationMethod: DomainVerificationMethod | undefined;
2014
+ /**
2015
+ * Tags to associate with the target domain
2016
+ * @public
2017
+ */
2018
+ tags?: Record<string, string> | undefined;
2019
+ }
2020
+ /**
2021
+ * Output for the CreateTargetDomain operation
2022
+ * @public
2023
+ */
2024
+ export interface CreateTargetDomainOutput {
2025
+ /**
2026
+ * Unique identifier of the created target domain
2027
+ * @public
2028
+ */
2029
+ targetDomainId: string | undefined;
2030
+ /**
2031
+ * Name of the created target domain
2032
+ * @public
2033
+ */
2034
+ domainName: string | undefined;
2035
+ /**
2036
+ * Current verification status of the registered target domain
2037
+ * @public
2038
+ */
2039
+ verificationStatus: TargetDomainStatus | undefined;
2040
+ /**
2041
+ * Verification details to verify registered target domain
2042
+ * @public
2043
+ */
2044
+ verificationDetails?: VerificationDetails | undefined;
2045
+ /**
2046
+ * Timestamp when the target domain was registered
2047
+ * @public
2048
+ */
2049
+ createdAt?: Date | undefined;
2050
+ /**
2051
+ * Timestamp when the target domain was last successfully verified
2052
+ * @public
2053
+ */
2054
+ verifiedAt?: Date | undefined;
2055
+ }
2056
+ /**
2057
+ * @public
2058
+ */
2059
+ export interface DeleteArtifactInput {
2060
+ /**
2061
+ * Unique identifier of the agent space
2062
+ * @public
2063
+ */
2064
+ agentSpaceId: string | undefined;
2065
+ /**
2066
+ * Unique identifier of the artifact
2067
+ * @public
2068
+ */
2069
+ artifactId: string | undefined;
2070
+ }
2071
+ /**
2072
+ * @public
2073
+ */
2074
+ export interface DeleteArtifactOutput {
2075
+ }
2076
+ /**
2077
+ * @public
2078
+ */
2079
+ export interface DeleteIntegrationInput {
2080
+ /**
2081
+ * Unique identifier of the integration
2082
+ * @public
2083
+ */
2084
+ integrationId: string | undefined;
2085
+ }
2086
+ /**
2087
+ * @public
2088
+ */
2089
+ export interface DeleteIntegrationOutput {
2090
+ }
2091
+ /**
2092
+ * Request structure for removing a single member from an agent space
2093
+ * @public
2094
+ */
2095
+ export interface DeleteMembershipRequest {
2096
+ /**
2097
+ * Application identifier
2098
+ * @public
2099
+ */
2100
+ applicationId: string | undefined;
2101
+ /**
2102
+ * Agent space identifier
2103
+ * @public
2104
+ */
2105
+ agentSpaceId: string | undefined;
2106
+ /**
2107
+ * Member identifier (userId or agentSpaceId)
2108
+ * @public
2109
+ */
2110
+ membershipId: string | undefined;
2111
+ /**
2112
+ * Type of member (USER or AGENT_SPACE)
2113
+ * @public
2114
+ */
2115
+ memberType?: MembershipType | undefined;
2116
+ }
2117
+ /**
2118
+ * Response structure for removing a single member from an agent space
2119
+ * @public
2120
+ */
2121
+ export interface DeleteMembershipResponse {
2122
+ }
2123
+ /**
2124
+ * Input for deleting a target domain
2125
+ * @public
2126
+ */
2127
+ export interface DeleteTargetDomainInput {
2128
+ /**
2129
+ * Unique identifier of the target domain to delete
2130
+ * @public
2131
+ */
2132
+ targetDomainId: string | undefined;
2133
+ }
2134
+ /**
2135
+ * Output for the DeleteTargetDomain operation
2136
+ * @public
2137
+ */
2138
+ export interface DeleteTargetDomainOutput {
2139
+ /**
2140
+ * Unique identifier of the deleted target domain
2141
+ * @public
2142
+ */
2143
+ targetDomainId?: string | undefined;
2144
+ }
2145
+ /**
2146
+ * Represents a discovered endpoint during pentest execution
2147
+ * @public
2148
+ */
2149
+ export interface DiscoveredEndpoint {
2150
+ /**
2151
+ * The URI of the discovered endpoint
2152
+ * @public
2153
+ */
2154
+ uri: string | undefined;
2155
+ /**
2156
+ * Identifier of the pentest job that discovered this endpoint
2157
+ * @public
2158
+ */
2159
+ pentestJobId: string | undefined;
2160
+ /**
2161
+ * Identifier of the task that discovered this endpoint
2162
+ * @public
2163
+ */
2164
+ taskId: string | undefined;
2165
+ /**
2166
+ * Identifier of the agent space where the endpoint was discovered
2167
+ * @public
2168
+ */
2169
+ agentSpaceId: string | undefined;
2170
+ /**
2171
+ * Optional evidence or additional information about the endpoint
2172
+ * @public
2173
+ */
2174
+ evidence?: string | undefined;
2175
+ /**
2176
+ * Operation or action associated with the endpoint
2177
+ * @public
2178
+ */
2179
+ operation?: string | undefined;
2180
+ /**
2181
+ * Additional description of the endpoint
2182
+ * @public
2183
+ */
2184
+ description?: string | undefined;
2185
+ }
2186
+ /**
2187
+ * Summary information for a security finding
2188
+ * @public
2189
+ */
2190
+ export interface FindingSummary {
2191
+ /**
2192
+ * Unique identifier for the finding
2193
+ * @public
2194
+ */
2195
+ findingId: string | undefined;
2196
+ /**
2197
+ * Identifier of the agent space that created this finding
2198
+ * @public
2199
+ */
2200
+ agentSpaceId: string | undefined;
2201
+ /**
2202
+ * Identifier of the parent pentest
2203
+ * @public
2204
+ */
2205
+ pentestId?: string | undefined;
2206
+ /**
2207
+ * Identifier of the pentest job
2208
+ * @public
2209
+ */
2210
+ pentestJobId?: string | undefined;
2211
+ /**
2212
+ * Name or title of the finding
2213
+ * @public
2214
+ */
2215
+ name?: string | undefined;
2216
+ /**
2217
+ * Current status of the finding
2218
+ * @public
2219
+ */
2220
+ status?: FindingStatus | undefined;
2221
+ /**
2222
+ * Type of security risk identified
2223
+ * @public
2224
+ */
2225
+ riskType?: string | undefined;
2226
+ /**
2227
+ * Severity level of the identified risk
2228
+ * @public
2229
+ */
2230
+ riskLevel?: RiskLevel | undefined;
2231
+ /**
2232
+ * Confidence level of the finding
2233
+ * @public
2234
+ */
2235
+ confidence?: ConfidenceLevel | undefined;
2236
+ /**
2237
+ * Timestamp when the finding was created
2238
+ * @public
2239
+ */
2240
+ createdAt?: Date | undefined;
2241
+ /**
2242
+ * Timestamp when the finding was last updated
2243
+ * @public
2244
+ */
2245
+ updatedAt?: Date | undefined;
2246
+ }
2247
+ /**
2248
+ * @public
2249
+ */
2250
+ export interface GetArtifactInput {
2251
+ /**
2252
+ * Unique identifier of the agent space
2253
+ * @public
2254
+ */
2255
+ agentSpaceId: string | undefined;
2256
+ /**
2257
+ * Unique identifier of the artifact
2258
+ * @public
2259
+ */
2260
+ artifactId: string | undefined;
2261
+ }
2262
+ /**
2263
+ * @public
2264
+ */
2265
+ export interface GetArtifactOutput {
2266
+ /**
2267
+ * Unique identifier of the agent space
2268
+ * @public
2269
+ */
2270
+ agentSpaceId: string | undefined;
2271
+ /**
2272
+ * Unique identifier of the artifact
2273
+ * @public
2274
+ */
2275
+ artifactId: string | undefined;
2276
+ /**
2277
+ * Artifact details
2278
+ * @public
2279
+ */
2280
+ artifact: Artifact | undefined;
2281
+ /**
2282
+ * Name of the artifact file
2283
+ * @public
2284
+ */
2285
+ fileName: string | undefined;
2286
+ /**
2287
+ * Timestamp when the artifact was last updated
2288
+ * @public
2289
+ */
2290
+ updatedAt: Date | undefined;
2291
+ }
2292
+ /**
2293
+ * @public
2294
+ */
2295
+ export interface GetIntegrationInput {
2296
+ /**
2297
+ * Unique identifier of the integration
2298
+ * @public
2299
+ */
2300
+ integrationId: string | undefined;
2301
+ }
2302
+ /**
2303
+ * @public
2304
+ */
2305
+ export interface GetIntegrationOutput {
2306
+ /**
2307
+ * Unique identifier of the integration
2308
+ * @public
2309
+ */
2310
+ integrationId: string | undefined;
2311
+ /**
2312
+ * Installation identifier from the provider
2313
+ * @public
2314
+ */
2315
+ installationId: string | undefined;
2316
+ /**
2317
+ * Provider type
2318
+ * @public
2319
+ */
2320
+ provider: Provider | undefined;
2321
+ /**
2322
+ * Type of provider integration
2323
+ * @public
2324
+ */
2325
+ providerType: ProviderType | undefined;
2326
+ /**
2327
+ * Display name for the integration
2328
+ * @public
2329
+ */
2330
+ displayName?: string | undefined;
2331
+ /**
2332
+ * KMS key ID for encrypting integration details
2333
+ * @public
2334
+ */
2335
+ kmsKeyId?: string | undefined;
2336
+ }
2337
+ /**
2338
+ * Metadata specific to a GitHub repository integrated resource
2339
+ * @public
2340
+ */
2341
+ export interface GitHubRepositoryMetadata {
2342
+ /**
2343
+ * Name of the resource e.g. repository name, etc
2344
+ * @public
2345
+ */
2346
+ name: string | undefined;
2347
+ /**
2348
+ * Unique resource identifier from the vendor
2349
+ * @public
2350
+ */
2351
+ providerResourceId: string | undefined;
2352
+ /**
2353
+ * Owner of the repository
2354
+ * @public
2355
+ */
2356
+ owner: string | undefined;
2357
+ /**
2358
+ * Access / Visibility Type of the integrated resource
2359
+ * @public
2360
+ */
2361
+ accessType?: AccessType | undefined;
2362
+ }
2363
+ /**
2364
+ * GitHub repository resource details
2365
+ * @public
2366
+ */
2367
+ export interface GitHubRepositoryResource {
2368
+ /**
2369
+ * Name of the resource e.g. repository name, etc
2370
+ * @public
2371
+ */
2372
+ name: string | undefined;
2373
+ /**
2374
+ * Owner of the repository
2375
+ * @public
2376
+ */
2377
+ owner: string | undefined;
2378
+ }
2379
+ /**
2380
+ * Capabilities for GitHub repositories
2381
+ * @public
2382
+ */
2383
+ export interface GitHubResourceCapabilities {
2384
+ /**
2385
+ * Post code review comments on pull requests
2386
+ * @public
2387
+ */
2388
+ leaveComments?: boolean | undefined;
2389
+ /**
2390
+ * Create pull requests with automated fixes
2391
+ * @public
2392
+ */
2393
+ remediateCode?: boolean | undefined;
2394
+ }
2395
+ /**
2396
+ * @public
2397
+ */
2398
+ export interface InitiateProviderRegistrationInput {
2399
+ /**
2400
+ * Provider to register with
2401
+ * @public
2402
+ */
2403
+ provider: Provider | undefined;
2404
+ }
2405
+ /**
2406
+ * @public
2407
+ */
2408
+ export interface InitiateProviderRegistrationOutput {
2409
+ /**
2410
+ * OAuth redirect URL
2411
+ * @public
2412
+ */
2413
+ redirectTo: string | undefined;
2414
+ /**
2415
+ * CSRF state token for OAuth security
2416
+ * @public
2417
+ */
2418
+ csrfState: string | undefined;
2419
+ }
2420
+ /**
2421
+ * Integrated resource details from a provider
2422
+ * @public
2423
+ */
2424
+ export type IntegratedResource = IntegratedResource.GithubRepositoryMember | IntegratedResource.$UnknownMember;
2425
+ /**
2426
+ * @public
2427
+ */
2428
+ export declare namespace IntegratedResource {
2429
+ /**
2430
+ * GitHub repository resource
2431
+ * @public
2432
+ */
2433
+ interface GithubRepositoryMember {
2434
+ githubRepository: GitHubRepositoryResource;
2435
+ $unknown?: never;
2436
+ }
2437
+ /**
2438
+ * @public
2439
+ */
2440
+ interface $UnknownMember {
2441
+ githubRepository?: never;
2442
+ $unknown: [string, any];
2443
+ }
2444
+ /**
2445
+ * @deprecated unused in schema-serde mode.
2446
+ *
2447
+ */
2448
+ interface Visitor<T> {
2449
+ githubRepository: (value: GitHubRepositoryResource) => T;
2450
+ _: (name: string, value: any) => T;
2451
+ }
2452
+ }
2453
+ /**
2454
+ * Provider-specific capabilities for integrated resources
2455
+ * @public
2456
+ */
2457
+ export type ProviderResourceCapabilities = ProviderResourceCapabilities.GithubMember | ProviderResourceCapabilities.$UnknownMember;
2458
+ /**
2459
+ * @public
2460
+ */
2461
+ export declare namespace ProviderResourceCapabilities {
2462
+ /**
2463
+ * Capabilities for GitHub repositories
2464
+ * @public
2465
+ */
2466
+ interface GithubMember {
2467
+ github: GitHubResourceCapabilities;
2468
+ $unknown?: never;
2469
+ }
2470
+ /**
2471
+ * @public
2472
+ */
2473
+ interface $UnknownMember {
2474
+ github?: never;
2475
+ $unknown: [string, any];
2476
+ }
2477
+ /**
2478
+ * @deprecated unused in schema-serde mode.
2479
+ *
2480
+ */
2481
+ interface Visitor<T> {
2482
+ github: (value: GitHubResourceCapabilities) => T;
2483
+ _: (name: string, value: any) => T;
2484
+ }
2485
+ }
2486
+ /**
2487
+ * Input item for updating an integrated resource
2488
+ * @public
2489
+ */
2490
+ export interface IntegratedResourceInputItem {
2491
+ /**
2492
+ * Configuration of the resource
2493
+ * @public
2494
+ */
2495
+ resource: IntegratedResource | undefined;
2496
+ /**
2497
+ * Provider-specific capabilities for the resource
2498
+ * @public
2499
+ */
2500
+ capabilities?: ProviderResourceCapabilities | undefined;
2501
+ }
2502
+ /**
2503
+ * Metadata about an integrated resource
2504
+ * @public
2505
+ */
2506
+ export type IntegratedResourceMetadata = IntegratedResourceMetadata.GithubRepositoryMember | IntegratedResourceMetadata.$UnknownMember;
2507
+ /**
2508
+ * @public
2509
+ */
2510
+ export declare namespace IntegratedResourceMetadata {
2511
+ /**
2512
+ * Metadata for a GitHub repository resource
2513
+ * @public
2514
+ */
2515
+ interface GithubRepositoryMember {
2516
+ githubRepository: GitHubRepositoryMetadata;
2517
+ $unknown?: never;
2518
+ }
2519
+ /**
2520
+ * @public
2521
+ */
2522
+ interface $UnknownMember {
2523
+ githubRepository?: never;
2524
+ $unknown: [string, any];
2525
+ }
2526
+ /**
2527
+ * @deprecated unused in schema-serde mode.
2528
+ *
2529
+ */
2530
+ interface Visitor<T> {
2531
+ githubRepository: (value: GitHubRepositoryMetadata) => T;
2532
+ _: (name: string, value: any) => T;
2533
+ }
2534
+ }
2535
+ /**
2536
+ * Summary information about an integrated resource
2537
+ * @public
2538
+ */
2539
+ export interface IntegratedResourceSummary {
2540
+ /**
2541
+ * Unique identifier of the integration
2542
+ * @public
2543
+ */
2544
+ integrationId: string | undefined;
2545
+ /**
2546
+ * The integrated resource details
2547
+ * @public
2548
+ */
2549
+ resource: IntegratedResourceMetadata | undefined;
2550
+ /**
2551
+ * Capabilities of the integrated resource
2552
+ * @public
2553
+ */
2554
+ capabilities?: ProviderResourceCapabilities | undefined;
2555
+ }
2556
+ /**
2557
+ * Filter criteria for integrations
2558
+ * @public
2559
+ */
2560
+ export type IntegrationFilter = IntegrationFilter.ProviderMember | IntegrationFilter.ProviderTypeMember | IntegrationFilter.$UnknownMember;
2561
+ /**
2562
+ * @public
2563
+ */
2564
+ export declare namespace IntegrationFilter {
2565
+ /**
2566
+ * Filter by provider
2567
+ * @public
2568
+ */
2569
+ interface ProviderMember {
2570
+ provider: Provider;
2571
+ providerType?: never;
2572
+ $unknown?: never;
2573
+ }
2574
+ /**
2575
+ * Filter by provider type
2576
+ * @public
2577
+ */
2578
+ interface ProviderTypeMember {
2579
+ provider?: never;
2580
+ providerType: ProviderType;
2581
+ $unknown?: never;
2582
+ }
2583
+ /**
2584
+ * @public
2585
+ */
2586
+ interface $UnknownMember {
2587
+ provider?: never;
2588
+ providerType?: never;
2589
+ $unknown: [string, any];
2590
+ }
2591
+ /**
2592
+ * @deprecated unused in schema-serde mode.
2593
+ *
2594
+ */
2595
+ interface Visitor<T> {
2596
+ provider: (value: Provider) => T;
2597
+ providerType: (value: ProviderType) => T;
2598
+ _: (name: string, value: any) => T;
2599
+ }
2600
+ }
2601
+ /**
2602
+ * @public
2603
+ */
2604
+ export interface ListIntegrationsInput {
2605
+ /**
2606
+ * Filter criteria for integrations
2607
+ * @public
2608
+ */
2609
+ filter?: IntegrationFilter | undefined;
2610
+ /**
2611
+ * Token for pagination
2612
+ * @public
2613
+ */
2614
+ nextToken?: string | undefined;
2615
+ /**
2616
+ * Maximum number of results to return
2617
+ * @public
2618
+ */
2619
+ maxResults?: number | undefined;
2620
+ }
2621
+ /**
2622
+ * Summary information about an integration
2623
+ * @public
2624
+ */
2625
+ export interface IntegrationSummary {
2626
+ /**
2627
+ * Unique identifier of the integration
2628
+ * @public
2629
+ */
2630
+ integrationId: string | undefined;
2631
+ /**
2632
+ * Installation identifier from the provider
2633
+ * @public
2634
+ */
2635
+ installationId: string | undefined;
2636
+ /**
2637
+ * Provider type
2638
+ * @public
2639
+ */
2640
+ provider: Provider | undefined;
2641
+ /**
2642
+ * Type of provider integration
2643
+ * @public
2644
+ */
2645
+ providerType: ProviderType | undefined;
2646
+ /**
2647
+ * Display name for the integration
2648
+ * @public
2649
+ */
2650
+ displayName: string | undefined;
2651
+ }
2652
+ /**
2653
+ * @public
2654
+ */
2655
+ export interface ListIntegrationsOutput {
2656
+ /**
2657
+ * List of integration summaries
2658
+ * @public
2659
+ */
2660
+ integrationSummaries: IntegrationSummary[] | undefined;
2661
+ /**
2662
+ * Token for pagination to retrieve the next set of results
2663
+ * @public
2664
+ */
2665
+ nextToken?: string | undefined;
2666
+ }
2667
+ /**
2668
+ * @public
2669
+ */
2670
+ export interface ListArtifactsInput {
2671
+ /**
2672
+ * Unique identifier of the agent space
2673
+ * @public
2674
+ */
2675
+ agentSpaceId: string | undefined;
2676
+ /**
2677
+ * Token for pagination
2678
+ * @public
2679
+ */
2680
+ nextToken?: string | undefined;
2681
+ /**
2682
+ * Maximum number of results to return
2683
+ * @public
2684
+ */
2685
+ maxResults?: number | undefined;
2686
+ }
2687
+ /**
2688
+ * @public
2689
+ */
2690
+ export interface ListArtifactsOutput {
2691
+ /**
2692
+ * List of artifact summaries
2693
+ * @public
2694
+ */
2695
+ artifactSummaries: ArtifactSummary[] | undefined;
2696
+ /**
2697
+ * Token for pagination to retrieve the next set of results
2698
+ * @public
2699
+ */
2700
+ nextToken?: string | undefined;
2701
+ }
2702
+ /**
2703
+ * Input for ListDiscoveredEndpoints operation
2704
+ * @public
2705
+ */
2706
+ export interface ListDiscoveredEndpointsInput {
2707
+ /**
2708
+ * Maximum number of discovered endpoints to return in a single request (default: 50)
2709
+ * @public
2710
+ */
2711
+ maxResults?: number | undefined;
2712
+ /**
2713
+ * Identifier of the pentest job for which to retrieve discovered endpoints
2714
+ * @public
2715
+ */
2716
+ pentestJobId: string | undefined;
2717
+ /**
2718
+ * ID of the agent space where the pentest job exists
2719
+ * @public
2720
+ */
2721
+ agentSpaceId: string | undefined;
2722
+ /**
2723
+ * Optional URI prefix filter to narrow down results
2724
+ * @public
2725
+ */
2726
+ prefix?: string | undefined;
2727
+ /**
2728
+ * Token for pagination
2729
+ * @public
2730
+ */
2731
+ nextToken?: string | undefined;
2732
+ }
2733
+ /**
2734
+ * Output for the ListDiscoveredEndpoints operation
2735
+ * @public
2736
+ */
2737
+ export interface ListDiscoveredEndpointsOutput {
2738
+ /**
2739
+ * List of discovered endpoints for the pentest job
2740
+ * @public
2741
+ */
2742
+ discoveredEndpoints?: DiscoveredEndpoint[] | undefined;
2743
+ /**
2744
+ * Token for pagination to retrieve the next set of results
2745
+ * @public
2746
+ */
2747
+ nextToken?: string | undefined;
2748
+ }
2749
+ /**
2750
+ * Input for ListFindings operation with filtering support
2751
+ * @public
2752
+ */
2753
+ export interface ListFindingsInput {
2754
+ /**
2755
+ * Maximum number of findings to return in a single request (default: 50)
2756
+ * @public
2757
+ */
2758
+ maxResults?: number | undefined;
2759
+ /**
2760
+ * Identifier of the pentest job for which to retrieve associated findings
2761
+ * @public
2762
+ */
2763
+ pentestJobId: string | undefined;
2764
+ /**
2765
+ * ID of the agent space where the pentest job exists
2766
+ * @public
2767
+ */
2768
+ agentSpaceId: string | undefined;
2769
+ /**
2770
+ * Token for pagination
2771
+ * @public
2772
+ */
2773
+ nextToken?: string | undefined;
2774
+ /**
2775
+ * Filter findings by risk type
2776
+ * @public
2777
+ */
2778
+ riskType?: string | undefined;
2779
+ /**
2780
+ * Filter findings by risk level
2781
+ * @public
2782
+ */
2783
+ riskLevel?: RiskLevel | undefined;
2784
+ /**
2785
+ * Filter findings by status
2786
+ * @public
2787
+ */
2788
+ status?: FindingStatus | undefined;
2789
+ /**
2790
+ * Filter findings by confidence level
2791
+ * @public
2792
+ */
2793
+ confidence?: ConfidenceLevel | undefined;
2794
+ /**
2795
+ * Filter findings by name (case-insensitive substring search)
2796
+ * @public
2797
+ */
2798
+ name?: string | undefined;
2799
+ }
2800
+ /**
2801
+ * Output for the ListFindings operation
2802
+ * @public
2803
+ */
2804
+ export interface ListFindingsOutput {
2805
+ /**
2806
+ * List of finding summaries matching the filter criteria
2807
+ * @public
2808
+ */
2809
+ findingsSummaries?: FindingSummary[] | undefined;
2810
+ /**
2811
+ * Token for pagination to retrieve the next set of results
2812
+ * @public
2813
+ */
2814
+ nextToken?: string | undefined;
2815
+ }
2816
+ /**
2817
+ * @public
2818
+ */
2819
+ export interface ListIntegratedResourcesInput {
2820
+ /**
2821
+ * Unique identifier of the agent space
2822
+ * @public
2823
+ */
2824
+ agentSpaceId: string | undefined;
2825
+ /**
2826
+ * Filter integrated resources by a specific integration
2827
+ * @public
2828
+ */
2829
+ integrationId?: string | undefined;
2830
+ /**
2831
+ * Filter integrated resources by resource type
2832
+ * @public
2833
+ */
2834
+ resourceType?: ResourceType | undefined;
2835
+ /**
2836
+ * Token for pagination
2837
+ * @public
2838
+ */
2839
+ nextToken?: string | undefined;
2840
+ /**
2841
+ * Maximum number of results to return
2842
+ * @public
2843
+ */
2844
+ maxResults?: number | undefined;
2845
+ }
2846
+ /**
2847
+ * @public
2848
+ */
2849
+ export interface ListIntegratedResourcesOutput {
2850
+ /**
2851
+ * List of integrated resources
2852
+ * @public
2853
+ */
2854
+ integratedResourceSummaries: IntegratedResourceSummary[] | undefined;
2855
+ /**
2856
+ * Token for pagination to retrieve the next set of results
2857
+ * @public
2858
+ */
2859
+ nextToken?: string | undefined;
2860
+ }
2861
+ /**
2862
+ * Request structure for listing agent space members
2863
+ * @public
2864
+ */
2865
+ export interface ListMembershipsRequest {
2866
+ /**
2867
+ * Application identifier
2868
+ * @public
2869
+ */
2870
+ applicationId: string | undefined;
2871
+ /**
2872
+ * Agent space identifier
2873
+ * @public
2874
+ */
2875
+ agentSpaceId: string | undefined;
2876
+ /**
2877
+ * Filter by member type
2878
+ * @public
2879
+ */
2880
+ memberType?: MembershipTypeFilter | undefined;
2881
+ /**
2882
+ * Maximum number of results to return
2883
+ * @public
2884
+ */
2885
+ maxResults?: number | undefined;
2886
+ /**
2887
+ * Token for pagination
2888
+ * @public
2889
+ */
2890
+ nextToken?: string | undefined;
2891
+ }
2892
+ /**
2893
+ * User-specific metadata
2894
+ * @public
2895
+ */
2896
+ export interface UserMetadata {
2897
+ /**
2898
+ * User name/display name
2899
+ * @public
2900
+ */
2901
+ username: string | undefined;
2902
+ /**
2903
+ * User email address
2904
+ * @public
2905
+ */
2906
+ email: string | undefined;
2907
+ }
2908
+ /**
2909
+ * Metadata associated with the member
2910
+ * @public
2911
+ */
2912
+ export type MemberMetadata = MemberMetadata.UserMember | MemberMetadata.$UnknownMember;
2913
+ /**
2914
+ * @public
2915
+ */
2916
+ export declare namespace MemberMetadata {
2917
+ /**
2918
+ * User metadata for USER members
2919
+ * @public
2920
+ */
2921
+ interface UserMember {
2922
+ user: UserMetadata;
2923
+ $unknown?: never;
2924
+ }
2925
+ /**
2926
+ * @public
2927
+ */
2928
+ interface $UnknownMember {
2929
+ user?: never;
2930
+ $unknown: [string, any];
2931
+ }
2932
+ /**
2933
+ * @deprecated unused in schema-serde mode.
2934
+ *
2935
+ */
2936
+ interface Visitor<T> {
2937
+ user: (value: UserMetadata) => T;
2938
+ _: (name: string, value: any) => T;
2939
+ }
2940
+ }
2941
+ /**
2942
+ * Membership summary for list operations
2943
+ * @public
2944
+ */
2945
+ export interface MembershipSummary {
2946
+ /**
2947
+ * Member identifier (userId or agentSpaceId)
2948
+ * @public
2949
+ */
2950
+ membershipId: string | undefined;
2951
+ /**
2952
+ * Application identifier
2953
+ * @public
2954
+ */
2955
+ applicationId: string | undefined;
2956
+ /**
2957
+ * Agent space identifier
2958
+ * @public
2959
+ */
2960
+ agentSpaceId: string | undefined;
2961
+ /**
2962
+ * Type of member
2963
+ * @public
2964
+ */
2965
+ memberType: MembershipType | undefined;
2966
+ /**
2967
+ * Configuration specific to the member type
2968
+ * @public
2969
+ */
2970
+ config?: MembershipConfig | undefined;
2971
+ /**
2972
+ * Member-specific metadata
2973
+ * @public
2974
+ */
2975
+ metadata?: MemberMetadata | undefined;
2976
+ /**
2977
+ * Timestamp when the membership was created (ISO 8601)
2978
+ * @public
2979
+ */
2980
+ createdAt: Date | undefined;
2981
+ /**
2982
+ * Timestamp when the membership was last updated (ISO 8601)
2983
+ * @public
2984
+ */
2985
+ updatedAt: Date | undefined;
2986
+ /**
2987
+ * User ID who created the membership
2988
+ * @public
2989
+ */
2990
+ createdBy: string | undefined;
2991
+ /**
2992
+ * User ID who last updated the membership
2993
+ * @public
2994
+ */
2995
+ updatedBy: string | undefined;
2996
+ }
2997
+ /**
2998
+ * Response structure for listing members associated to an agent space
2999
+ * @public
3000
+ */
3001
+ export interface ListMembershipsResponse {
3002
+ /**
3003
+ * List of membership summaries
3004
+ * @public
3005
+ */
3006
+ membershipSummaries: MembershipSummary[] | undefined;
3007
+ /**
3008
+ * Token for next page of results
3009
+ * @public
3010
+ */
3011
+ nextToken?: string | undefined;
3012
+ }
3013
+ /**
3014
+ * Input for ListPentestJobsForPentest operation
3015
+ * @public
3016
+ */
3017
+ export interface ListPentestJobsForPentestInput {
3018
+ /**
3019
+ * Maximum number of pentest jobs to return in a single request
3020
+ * @public
3021
+ */
3022
+ maxResults?: number | undefined;
3023
+ /**
3024
+ * Identifier of the pentest for which to retrieve associated jobs
3025
+ * @public
3026
+ */
3027
+ pentestId: string | undefined;
3028
+ /**
3029
+ * ID of the agent space where the pentest exists
3030
+ * @public
3031
+ */
3032
+ agentSpaceId: string | undefined;
3033
+ /**
3034
+ * Token for pagination
3035
+ * @public
3036
+ */
3037
+ nextToken?: string | undefined;
3038
+ }
3039
+ /**
3040
+ * Summary information for a pentest job
3041
+ * @public
3042
+ */
3043
+ export interface PentestJobSummary {
3044
+ /**
3045
+ * Unique identifier of the pentest job
3046
+ * @public
3047
+ */
3048
+ pentestJobId: string | undefined;
3049
+ /**
3050
+ * Identifier of the parent pentest
3051
+ * @public
3052
+ */
3053
+ pentestId: string | undefined;
3054
+ /**
3055
+ * Title or name of the pentest
3056
+ * @public
3057
+ */
3058
+ title?: string | undefined;
3059
+ /**
3060
+ * Current status of the pentest job
3061
+ * @public
3062
+ */
3063
+ status?: JobStatus | undefined;
3064
+ /**
3065
+ * Timestamp when the pentest job was created
3066
+ * @public
3067
+ */
3068
+ createdAt?: Date | undefined;
3069
+ /**
3070
+ * Timestamp when the pentest job was last updated
3071
+ * @public
3072
+ */
3073
+ updatedAt?: Date | undefined;
3074
+ }
3075
+ /**
3076
+ * Output for the ListPentestJobsForPentest operation
3077
+ * @public
3078
+ */
3079
+ export interface ListPentestJobsForPentestOutput {
3080
+ /**
3081
+ * List of pentest job summaries associated with the pentest
3082
+ * @public
3083
+ */
3084
+ pentestJobSummaries?: PentestJobSummary[] | undefined;
3085
+ /**
3086
+ * Token for pagination to retrieve the next set of results
3087
+ * @public
3088
+ */
3089
+ nextToken?: string | undefined;
3090
+ }
3091
+ /**
3092
+ * Input for listing tasks associated with a specific pentest job
3093
+ * @public
3094
+ */
3095
+ export interface ListPentestJobTasksInput {
3096
+ /**
3097
+ * ID of the agent space where the pentest exists
3098
+ * @public
3099
+ */
3100
+ agentSpaceId: string | undefined;
3101
+ /**
3102
+ * Maximum number of tasks to return in a single request
3103
+ * @public
3104
+ */
3105
+ maxResults?: number | undefined;
3106
+ /**
3107
+ * Identifier of the pentest job whose tasks to list
3108
+ * @public
3109
+ */
3110
+ pentestJobId?: string | undefined;
3111
+ /**
3112
+ * Filter tasks by step name
3113
+ * @public
3114
+ */
3115
+ stepName?: StepName | undefined;
3116
+ /**
3117
+ * Filter tasks by category name.
3118
+ * @public
3119
+ */
3120
+ categoryName?: string | undefined;
3121
+ /**
3122
+ * Token for pagination to retrieve the next set of results
3123
+ * @public
3124
+ */
3125
+ nextToken?: string | undefined;
3126
+ }
3127
+ /**
3128
+ * Summary information for a task
3129
+ * @public
3130
+ */
3131
+ export interface TaskSummary {
3132
+ /**
3133
+ * Unique identifier for the task
3134
+ * @public
3135
+ */
3136
+ taskId: string | undefined;
3137
+ /**
3138
+ * Identifier of the parent pentest
3139
+ * @public
3140
+ */
3141
+ pentestId?: string | undefined;
3142
+ /**
3143
+ * Identifier of the pentest job this task belongs to
3144
+ * @public
3145
+ */
3146
+ pentestJobId?: string | undefined;
3147
+ /**
3148
+ * Identifier of the agent space this task belongs to
3149
+ * @public
3150
+ */
3151
+ agentSpaceId?: string | undefined;
3152
+ /**
3153
+ * Title or name of the task
3154
+ * @public
3155
+ */
3156
+ title?: string | undefined;
3157
+ /**
3158
+ * Type of security risk this task is designed to test
3159
+ * @public
3160
+ */
3161
+ riskType?: RiskType | undefined;
3162
+ /**
3163
+ * Current status of the task execution
3164
+ * @public
3165
+ */
3166
+ executionStatus?: TaskExecutionStatus | undefined;
3167
+ /**
3168
+ * Timestamp when the task was created
3169
+ * @public
3170
+ */
3171
+ createdAt?: Date | undefined;
3172
+ /**
3173
+ * Timestamp when the task was last updated
3174
+ * @public
3175
+ */
3176
+ updatedAt?: Date | undefined;
3177
+ }
3178
+ /**
3179
+ * Output for the ListPentestJobTasks operation
3180
+ * @public
3181
+ */
3182
+ export interface ListPentestJobTasksOutput {
3183
+ /**
3184
+ * List of task summaries associated with the specified pentest job
3185
+ * @public
3186
+ */
3187
+ taskSummaries?: TaskSummary[] | undefined;
3188
+ /**
3189
+ * Token for pagination to retrieve the next set of results
3190
+ * @public
3191
+ */
3192
+ nextToken?: string | undefined;
3193
+ }
3194
+ /**
3195
+ * Input for listing pentests with optional filtering
3196
+ * @public
3197
+ */
3198
+ export interface ListPentestsInput {
3199
+ /**
3200
+ * Maximum number of pentests to return in a single request
3201
+ * @public
3202
+ */
3203
+ maxResults?: number | undefined;
3204
+ /**
3205
+ * Token for pagination
3206
+ * @public
3207
+ */
3208
+ nextToken?: string | undefined;
3209
+ /**
3210
+ * ID of the agent space where the pentest exists
3211
+ * @public
3212
+ */
3213
+ agentSpaceId: string | undefined;
3214
+ }
3215
+ /**
3216
+ * Summary information for a pentest
3217
+ * @public
3218
+ */
3219
+ export interface PentestSummary {
3220
+ /**
3221
+ * Unique identifier for the pentest
3222
+ * @public
3223
+ */
3224
+ pentestId: string | undefined;
3225
+ /**
3226
+ * ID of the agent space where the pentest exists
3227
+ * @public
3228
+ */
3229
+ agentSpaceId: string | undefined;
3230
+ /**
3231
+ * Title or name of the pentest
3232
+ * @public
3233
+ */
3234
+ title: string | undefined;
3235
+ /**
3236
+ * Timestamp when the pentest was created
3237
+ * @public
3238
+ */
3239
+ createdAt?: Date | undefined;
3240
+ /**
3241
+ * Timestamp when the pentest was last updated
3242
+ * @public
3243
+ */
3244
+ updatedAt?: Date | undefined;
3245
+ }
3246
+ /**
3247
+ * Output for the ListPentests operation
3248
+ * @public
3249
+ */
3250
+ export interface ListPentestsOutput {
3251
+ /**
3252
+ * List of pentest summaries matching the filter criteria
3253
+ * @public
3254
+ */
3255
+ pentestSummaries?: PentestSummary[] | undefined;
3256
+ /**
3257
+ * Token for pagination to retrieve the next set of results
3258
+ * @public
3259
+ */
3260
+ nextToken?: string | undefined;
3261
+ }
3262
+ /**
3263
+ * Input for ListTagsForResource operation
3264
+ * @public
3265
+ */
3266
+ export interface ListTagsForResourceInput {
3267
+ /**
3268
+ * ARN of the resource to list tags for
3269
+ * @public
3270
+ */
3271
+ resourceArn: string | undefined;
3272
+ }
3273
+ /**
3274
+ * Output for ListTagsForResource operation
3275
+ * @public
3276
+ */
3277
+ export interface ListTagsForResourceOutput {
3278
+ /**
3279
+ * Tags associated with the resource
3280
+ * @public
3281
+ */
3282
+ tags?: Record<string, string> | undefined;
3283
+ }
3284
+ /**
3285
+ * Input for listing target domains
3286
+ * @public
3287
+ */
3288
+ export interface ListTargetDomainsInput {
3289
+ /**
3290
+ * Token for pagination
3291
+ * @public
3292
+ */
3293
+ nextToken?: string | undefined;
3294
+ /**
3295
+ * Maximum number of target domains to return
3296
+ * @public
3297
+ */
3298
+ maxResults?: number | undefined;
3299
+ }
3300
+ /**
3301
+ * Summary information for a target domain
3302
+ * @public
3303
+ */
3304
+ export interface TargetDomainSummary {
3305
+ /**
3306
+ * Unique identifier of the target domain
3307
+ * @public
3308
+ */
3309
+ targetDomainId: string | undefined;
3310
+ /**
3311
+ * Name of the registered target domain
3312
+ * @public
3313
+ */
3314
+ domainName: string | undefined;
3315
+ /**
3316
+ * Current verification status of the registered target domain
3317
+ * @public
3318
+ */
3319
+ verificationStatus?: TargetDomainStatus | undefined;
3320
+ }
3321
+ /**
3322
+ * Output for the ListTargetDomains operation
3323
+ * @public
3324
+ */
3325
+ export interface ListTargetDomainsOutput {
3326
+ /**
3327
+ * List of target domain summaries
3328
+ * @public
3329
+ */
3330
+ targetDomainSummaries?: TargetDomainSummary[] | undefined;
3331
+ /**
3332
+ * Token for next page of results
3333
+ * @public
3334
+ */
3335
+ nextToken?: string | undefined;
3336
+ }
3337
+ /**
3338
+ * Input for the StartCodeRemediation operation
3339
+ * @public
3340
+ */
3341
+ export interface StartCodeRemediationInput {
3342
+ /**
3343
+ * ID of the agent space where the pentest job exists
3344
+ * @public
3345
+ */
3346
+ agentSpaceId: string | undefined;
3347
+ /**
3348
+ * Identifier of the pentest job to start code remediation for
3349
+ * @public
3350
+ */
3351
+ pentestJobId: string | undefined;
3352
+ /**
3353
+ * Identifiers of the findings to start code remediation for
3354
+ * @public
3355
+ */
3356
+ findingIds: string[] | undefined;
3357
+ }
3358
+ /**
3359
+ * Output for the StartCodeRemediation operation
3360
+ * @public
3361
+ */
3362
+ export interface StartCodeRemediationOutput {
3363
+ }
3364
+ /**
3365
+ * Input for starting the execution of a pentest
3366
+ * @public
3367
+ */
3368
+ export interface StartPentestJobInput {
3369
+ /**
3370
+ * ID of the agent space where the pentest exists
3371
+ * @public
3372
+ */
3373
+ agentSpaceId: string | undefined;
3374
+ /**
3375
+ * Identifier of the pentest to execute
3376
+ * @public
3377
+ */
3378
+ pentestId: string | undefined;
3379
+ }
3380
+ /**
3381
+ * Output for the StartPentestJob operation
3382
+ * @public
3383
+ */
3384
+ export interface StartPentestJobOutput {
3385
+ /**
3386
+ * Title of the pentest job
3387
+ * @public
3388
+ */
3389
+ title?: string | undefined;
3390
+ /**
3391
+ * Current status of the pentest job
3392
+ * @public
3393
+ */
3394
+ status?: JobStatus | undefined;
3395
+ /**
3396
+ * Timestamp when the pentest job was created
3397
+ * @public
3398
+ */
3399
+ createdAt?: Date | undefined;
3400
+ /**
3401
+ * Timestamp when the pentest job was last updated
3402
+ * @public
3403
+ */
3404
+ updatedAt?: Date | undefined;
3405
+ /**
3406
+ * Unique identifier of the pentest
3407
+ * @public
3408
+ */
3409
+ pentestId?: string | undefined;
3410
+ /**
3411
+ * Unique identifier of the pentest job
3412
+ * @public
3413
+ */
3414
+ pentestJobId?: string | undefined;
3415
+ /**
3416
+ * ID of the agent space where the pentest exists
3417
+ * @public
3418
+ */
3419
+ agentSpaceId?: string | undefined;
3420
+ }
3421
+ /**
3422
+ * Input for stopping the execution of a pentest
3423
+ * @public
3424
+ */
3425
+ export interface StopPentestJobInput {
3426
+ /**
3427
+ * ID of the agent space where the pentest exists
3428
+ * @public
3429
+ */
3430
+ agentSpaceId: string | undefined;
3431
+ /**
3432
+ * Identifier of the pentest job to stop
3433
+ * @public
3434
+ */
3435
+ pentestJobId: string | undefined;
3436
+ }
3437
+ /**
3438
+ * Output for the StopPentestJob operation
3439
+ * @public
3440
+ */
3441
+ export interface StopPentestJobOutput {
3442
+ }
3443
+ /**
3444
+ * Input for TagResource operation
3445
+ * @public
3446
+ */
3447
+ export interface TagResourceInput {
3448
+ /**
3449
+ * ARN of the resource to tag
3450
+ * @public
3451
+ */
3452
+ resourceArn: string | undefined;
3453
+ /**
3454
+ * Tags to add to the resource
3455
+ * @public
3456
+ */
3457
+ tags: Record<string, string> | undefined;
3458
+ }
3459
+ /**
3460
+ * Output for TagResource operation
3461
+ * @public
3462
+ */
3463
+ export interface TagResourceOutput {
3464
+ }
3465
+ /**
3466
+ * Input for updating a target domain
3467
+ * @public
3468
+ */
3469
+ export interface UpdateTargetDomainInput {
3470
+ /**
3471
+ * Unique identifier of the target domain to update
3472
+ * @public
3473
+ */
3474
+ targetDomainId: string | undefined;
3475
+ /**
3476
+ * Verification method for the target domain
3477
+ * @public
3478
+ */
3479
+ verificationMethod: DomainVerificationMethod | undefined;
3480
+ }
3481
+ /**
3482
+ * Output for the UpdateTargetDomain operation
3483
+ * @public
3484
+ */
3485
+ export interface UpdateTargetDomainOutput {
3486
+ /**
3487
+ * Unique identifier of the target domain
3488
+ * @public
3489
+ */
3490
+ targetDomainId: string | undefined;
3491
+ /**
3492
+ * Name of the target domain
3493
+ * @public
3494
+ */
3495
+ domainName: string | undefined;
3496
+ /**
3497
+ * Current verification status of the registered target domain
3498
+ * @public
3499
+ */
3500
+ verificationStatus: TargetDomainStatus | undefined;
3501
+ /**
3502
+ * Verification details to verify registered target domain
3503
+ * @public
3504
+ */
3505
+ verificationDetails?: VerificationDetails | undefined;
3506
+ /**
3507
+ * Timestamp when the target domain was registered
3508
+ * @public
3509
+ */
3510
+ createdAt?: Date | undefined;
3511
+ /**
3512
+ * Timestamp when the target domain was last successfully verified
3513
+ * @public
3514
+ */
3515
+ verifiedAt?: Date | undefined;
3516
+ }
3517
+ /**
3518
+ * Input for UntagResource operation
3519
+ * @public
3520
+ */
3521
+ export interface UntagResourceInput {
3522
+ /**
3523
+ * ARN of the resource to untag
3524
+ * @public
3525
+ */
3526
+ resourceArn: string | undefined;
3527
+ /**
3528
+ * List of tag keys to remove from the resource
3529
+ * @public
3530
+ */
3531
+ tagKeys: string[] | undefined;
3532
+ }
3533
+ /**
3534
+ * Output for UntagResource operation
3535
+ * @public
3536
+ */
3537
+ export interface UntagResourceOutput {
3538
+ }
3539
+ /**
3540
+ * Input for updating an existing security finding
3541
+ * @public
3542
+ */
3543
+ export interface UpdateFindingInput {
3544
+ /**
3545
+ * Identifier of the finding to update
3546
+ * @public
3547
+ */
3548
+ findingId: string | undefined;
3549
+ /**
3550
+ * ID of the agent space where the finding exists
3551
+ * @public
3552
+ */
3553
+ agentSpaceId: string | undefined;
3554
+ /**
3555
+ * Updated severity level of the identified risk
3556
+ * @public
3557
+ */
3558
+ riskLevel?: RiskLevel | undefined;
3559
+ /**
3560
+ * Updated status of the finding
3561
+ * @public
3562
+ */
3563
+ status?: FindingStatus | undefined;
3564
+ }
3565
+ /**
3566
+ * Output for the UpdateFinding operation
3567
+ * @public
3568
+ */
3569
+ export interface UpdateFindingOutput {
3570
+ }
3571
+ /**
3572
+ * @public
3573
+ */
3574
+ export interface UpdateIntegratedResourcesInput {
3575
+ /**
3576
+ * Unique identifier of the agent space
3577
+ * @public
3578
+ */
3579
+ agentSpaceId: string | undefined;
3580
+ /**
3581
+ * Unique identifier of the integration
3582
+ * @public
3583
+ */
3584
+ integrationId: string | undefined;
3585
+ /**
3586
+ * List of integrated resources to update
3587
+ * @public
3588
+ */
3589
+ items: IntegratedResourceInputItem[] | undefined;
3590
+ }
3591
+ /**
3592
+ * @public
3593
+ */
3594
+ export interface UpdateIntegratedResourcesOutput {
3595
+ }
3596
+ /**
3597
+ * Input for updating an existing pentest
3598
+ * @public
3599
+ */
3600
+ export interface UpdatePentestInput {
3601
+ /**
3602
+ * Identifier of the pentest to update
3603
+ * @public
3604
+ */
3605
+ pentestId: string | undefined;
3606
+ /**
3607
+ * ID of the agent space where the pentest exists
3608
+ * @public
3609
+ */
3610
+ agentSpaceId: string | undefined;
3611
+ /**
3612
+ * New title for the pentest
3613
+ * @public
3614
+ */
3615
+ title?: string | undefined;
3616
+ /**
3617
+ * Updated assets to be tested
3618
+ * @public
3619
+ */
3620
+ assets?: Assets | undefined;
3621
+ /**
3622
+ * A list of risk types excluded from the pentest execution
3623
+ * @public
3624
+ */
3625
+ excludeRiskTypes?: RiskType[] | undefined;
3626
+ /**
3627
+ * Updated service role ARN for accessing customer resources
3628
+ * @public
3629
+ */
3630
+ serviceRole?: string | undefined;
3631
+ /**
3632
+ * CloudWatch log group and stream prefix where pentest execution logs are stored
3633
+ * @public
3634
+ */
3635
+ logConfig?: CloudWatchLog | undefined;
3636
+ /**
3637
+ * VPC configuration that the Security Agent accesses
3638
+ * @public
3639
+ */
3640
+ vpcConfig?: VpcConfig | undefined;
3641
+ /**
3642
+ * Configuration for network traffic filtering
3643
+ * @public
3644
+ */
3645
+ networkTrafficConfig?: NetworkTrafficConfig | undefined;
3646
+ /**
3647
+ * Strategy for code remediation on findings
3648
+ * @public
3649
+ */
3650
+ codeRemediationStrategy?: CodeRemediationStrategy | undefined;
3651
+ }
3652
+ /**
3653
+ * Output for the UpdatePentest operation
3654
+ * @public
3655
+ */
3656
+ export interface UpdatePentestOutput {
3657
+ /**
3658
+ * Unique identifier of the updated pentest
3659
+ * @public
3660
+ */
3661
+ pentestId?: string | undefined;
3662
+ /**
3663
+ * Title of the updated pentest
3664
+ * @public
3665
+ */
3666
+ title?: string | undefined;
3667
+ /**
3668
+ * Timestamp when the pentest was created
3669
+ * @public
3670
+ */
3671
+ createdAt?: Date | undefined;
3672
+ /**
3673
+ * Timestamp when the pentest was last updated
3674
+ * @public
3675
+ */
3676
+ updatedAt?: Date | undefined;
3677
+ /**
3678
+ * Assets to be tested in the updated pentest
3679
+ * @public
3680
+ */
3681
+ assets?: Assets | undefined;
3682
+ /**
3683
+ * A list of risk types excluded from the pentest execution
3684
+ * @public
3685
+ */
3686
+ excludeRiskTypes?: RiskType[] | undefined;
3687
+ /**
3688
+ * Service role ARN for accessing customer resources
3689
+ * @public
3690
+ */
3691
+ serviceRole?: string | undefined;
3692
+ /**
3693
+ * CloudWatch log group and stream prefix where pentest execution logs are stored
3694
+ * @public
3695
+ */
3696
+ logConfig?: CloudWatchLog | undefined;
3697
+ /**
3698
+ * ID of the agent space where the pentest exists
3699
+ * @public
3700
+ */
3701
+ agentSpaceId?: string | undefined;
3702
+ }
3703
+ /**
3704
+ * Input for verifying ownership for a registered target domain in an agent space
3705
+ * @public
3706
+ */
3707
+ export interface VerifyTargetDomainInput {
3708
+ /**
3709
+ * Unique identifier of the target domain
3710
+ * @public
3711
+ */
3712
+ targetDomainId: string | undefined;
3713
+ }
3714
+ /**
3715
+ * Output for verifying ownership for a registered target domain in an agent space
3716
+ * @public
3717
+ */
3718
+ export interface VerifyTargetDomainOutput {
3719
+ /**
3720
+ * Unique identifier of the target domain
3721
+ * @public
3722
+ */
3723
+ targetDomainId?: string | undefined;
3724
+ /**
3725
+ * Name of the registered target domain
3726
+ * @public
3727
+ */
3728
+ domainName?: string | undefined;
3729
+ /**
3730
+ * Timestamp when the target domain was registered
3731
+ * @public
3732
+ */
3733
+ createdAt?: Date | undefined;
3734
+ /**
3735
+ * Timestamp when the target domain was last updated
3736
+ * @public
3737
+ */
3738
+ updatedAt?: Date | undefined;
3739
+ /**
3740
+ * Timestamp when the target domain was last successfully verified
3741
+ * @public
3742
+ */
3743
+ verifiedAt?: Date | undefined;
3744
+ /**
3745
+ * Current verification status of the registered target domain
3746
+ * @public
3747
+ */
3748
+ status?: TargetDomainStatus | undefined;
3749
+ }