@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,609 @@
1
+ /**
2
+ * @public
3
+ * @enum
4
+ */
5
+ export declare const AccessType: {
6
+ /**
7
+ * Resource is private and has restricted access
8
+ */
9
+ readonly PRIVATE: "PRIVATE";
10
+ /**
11
+ * Resource is public and openly accessible
12
+ */
13
+ readonly PUBLIC: "PUBLIC";
14
+ };
15
+ /**
16
+ * @public
17
+ */
18
+ export type AccessType = (typeof AccessType)[keyof typeof AccessType];
19
+ /**
20
+ * @public
21
+ * @enum
22
+ */
23
+ export declare const AuthenticationProviderType: {
24
+ /**
25
+ * Authentication using an AWS IAM role
26
+ */
27
+ readonly AWS_IAM_ROLE: "AWS_IAM_ROLE";
28
+ /**
29
+ * Internal AWS authentication
30
+ */
31
+ readonly AWS_INTERNAL: "AWS_INTERNAL";
32
+ /**
33
+ * Credentials retrieved via AWS Lambda function
34
+ */
35
+ readonly AWS_LAMBDA: "AWS_LAMBDA";
36
+ /**
37
+ * Credentials stored in AWS Secrets Manager
38
+ */
39
+ readonly SECRETS_MANAGER: "SECRETS_MANAGER";
40
+ };
41
+ /**
42
+ * @public
43
+ */
44
+ export type AuthenticationProviderType = (typeof AuthenticationProviderType)[keyof typeof AuthenticationProviderType];
45
+ /**
46
+ * @public
47
+ * @enum
48
+ */
49
+ export declare const ArtifactType: {
50
+ readonly DOC: "DOC";
51
+ readonly DOCX: "DOCX";
52
+ readonly JPEG: "JPEG";
53
+ readonly JSON: "JSON";
54
+ readonly MD: "MD";
55
+ readonly PDF: "PDF";
56
+ readonly PNG: "PNG";
57
+ readonly TXT: "TXT";
58
+ readonly YAML: "YAML";
59
+ };
60
+ /**
61
+ * @public
62
+ */
63
+ export type ArtifactType = (typeof ArtifactType)[keyof typeof ArtifactType];
64
+ /**
65
+ * @public
66
+ * @enum
67
+ */
68
+ export declare const CodeRemediationStrategy: {
69
+ /**
70
+ * Automatically generate code remediation for findings
71
+ */
72
+ readonly AUTOMATIC: "AUTOMATIC";
73
+ /**
74
+ * Code remediation is disabled
75
+ */
76
+ readonly DISABLED: "DISABLED";
77
+ };
78
+ /**
79
+ * @public
80
+ */
81
+ export type CodeRemediationStrategy = (typeof CodeRemediationStrategy)[keyof typeof CodeRemediationStrategy];
82
+ /**
83
+ * @public
84
+ * @enum
85
+ */
86
+ export declare const RiskType: {
87
+ /**
88
+ * Arbitrary file upload vulnerability
89
+ */
90
+ readonly ARBITRARY_FILE_UPLOAD: "ARBITRARY_FILE_UPLOAD";
91
+ /**
92
+ * Business logic vulnerability
93
+ */
94
+ readonly BUSINESS_LOGIC_VULNERABILITIES: "BUSINESS_LOGIC_VULNERABILITIES";
95
+ /**
96
+ * Code injection vulnerability
97
+ */
98
+ readonly CODE_INJECTION: "CODE_INJECTION";
99
+ /**
100
+ * Command injection vulnerability
101
+ */
102
+ readonly COMMAND_INJECTION: "COMMAND_INJECTION";
103
+ /**
104
+ * Cross-site scripting vulnerability
105
+ */
106
+ readonly CROSS_SITE_SCRIPTING: "CROSS_SITE_SCRIPTING";
107
+ /**
108
+ * Cryptographic vulnerability
109
+ */
110
+ readonly CRYPTOGRAPHIC_VULNERABILITIES: "CRYPTOGRAPHIC_VULNERABILITIES";
111
+ /**
112
+ * Unauthorized database access
113
+ */
114
+ readonly DATABASE_ACCESS: "DATABASE_ACCESS";
115
+ /**
116
+ * Unauthorized database modification
117
+ */
118
+ readonly DATABASE_MODIFICATION: "DATABASE_MODIFICATION";
119
+ /**
120
+ * Default or weak credentials detected
121
+ */
122
+ readonly DEFAULT_CREDENTIALS: "DEFAULT_CREDENTIALS";
123
+ /**
124
+ * Denial of service vulnerability
125
+ */
126
+ readonly DENIAL_OF_SERVICE: "DENIAL_OF_SERVICE";
127
+ /**
128
+ * Unauthorized file access vulnerability
129
+ */
130
+ readonly FILE_ACCESS: "FILE_ACCESS";
131
+ /**
132
+ * Unauthorized file creation vulnerability
133
+ */
134
+ readonly FILE_CREATION: "FILE_CREATION";
135
+ /**
136
+ * File deletion vulnerability
137
+ */
138
+ readonly FILE_DELETION: "FILE_DELETION";
139
+ /**
140
+ * GraphQL-specific vulnerability
141
+ */
142
+ readonly GRAPHQL_VULNERABILITIES: "GRAPHQL_VULNERABILITIES";
143
+ /**
144
+ * Information disclosure vulnerability
145
+ */
146
+ readonly INFORMATION_DISCLOSURE: "INFORMATION_DISCLOSURE";
147
+ /**
148
+ * Insecure deserialization vulnerability
149
+ */
150
+ readonly INSECURE_DESERIALIZATION: "INSECURE_DESERIALIZATION";
151
+ /**
152
+ * Insecure direct object reference vulnerability
153
+ */
154
+ readonly INSECURE_DIRECT_OBJECT_REFERENCE: "INSECURE_DIRECT_OBJECT_REFERENCE";
155
+ /**
156
+ * JSON Web Token vulnerability
157
+ */
158
+ readonly JSON_WEB_TOKEN_VULNERABILITIES: "JSON_WEB_TOKEN_VULNERABILITIES";
159
+ /**
160
+ * Local file inclusion vulnerability
161
+ */
162
+ readonly LOCAL_FILE_INCLUSION: "LOCAL_FILE_INCLUSION";
163
+ /**
164
+ * Other risk type not covered by specific categories
165
+ */
166
+ readonly OTHER: "OTHER";
167
+ /**
168
+ * Outbound service request vulnerability
169
+ */
170
+ readonly OUTBOUND_SERVICE_REQUEST: "OUTBOUND_SERVICE_REQUEST";
171
+ /**
172
+ * Path traversal vulnerability
173
+ */
174
+ readonly PATH_TRAVERSAL: "PATH_TRAVERSAL";
175
+ /**
176
+ * Privilege escalation vulnerability
177
+ */
178
+ readonly PRIVILEGE_ESCALATION: "PRIVILEGE_ESCALATION";
179
+ /**
180
+ * Server-side request forgery vulnerability
181
+ */
182
+ readonly SERVER_SIDE_REQUEST_FORGERY: "SERVER_SIDE_REQUEST_FORGERY";
183
+ /**
184
+ * Server-side template injection vulnerability
185
+ */
186
+ readonly SERVER_SIDE_TEMPLATE_INJECTION: "SERVER_SIDE_TEMPLATE_INJECTION";
187
+ /**
188
+ * SQL injection vulnerability
189
+ */
190
+ readonly SQL_INJECTION: "SQL_INJECTION";
191
+ /**
192
+ * Unknown risk type
193
+ */
194
+ readonly UNKNOWN: "UNKNOWN";
195
+ /**
196
+ * XML external entity vulnerability
197
+ */
198
+ readonly XML_EXTERNAL_ENTITY: "XML_EXTERNAL_ENTITY";
199
+ };
200
+ /**
201
+ * @public
202
+ */
203
+ export type RiskType = (typeof RiskType)[keyof typeof RiskType];
204
+ /**
205
+ * @public
206
+ * @enum
207
+ */
208
+ export declare const NetworkTrafficRuleEffect: {
209
+ /**
210
+ * Allow matching traffic
211
+ */
212
+ readonly ALLOW: "ALLOW";
213
+ /**
214
+ * Deny matching traffic
215
+ */
216
+ readonly DENY: "DENY";
217
+ };
218
+ /**
219
+ * @public
220
+ */
221
+ export type NetworkTrafficRuleEffect = (typeof NetworkTrafficRuleEffect)[keyof typeof NetworkTrafficRuleEffect];
222
+ /**
223
+ * @public
224
+ * @enum
225
+ */
226
+ export declare const NetworkTrafficRuleType: {
227
+ /**
228
+ * URL-based traffic rule
229
+ */
230
+ readonly URL: "URL";
231
+ };
232
+ /**
233
+ * @public
234
+ */
235
+ export type NetworkTrafficRuleType = (typeof NetworkTrafficRuleType)[keyof typeof NetworkTrafficRuleType];
236
+ /**
237
+ * @public
238
+ * @enum
239
+ */
240
+ export declare const CodeRemediationTaskStatus: {
241
+ readonly COMPLETED: "COMPLETED";
242
+ readonly FAILED: "FAILED";
243
+ readonly IN_PROGRESS: "IN_PROGRESS";
244
+ };
245
+ /**
246
+ * @public
247
+ */
248
+ export type CodeRemediationTaskStatus = (typeof CodeRemediationTaskStatus)[keyof typeof CodeRemediationTaskStatus];
249
+ /**
250
+ * @public
251
+ * @enum
252
+ */
253
+ export declare const ConfidenceLevel: {
254
+ readonly FALSE_POSITIVE: "FALSE_POSITIVE";
255
+ readonly HIGH: "HIGH";
256
+ readonly LOW: "LOW";
257
+ readonly MEDIUM: "MEDIUM";
258
+ readonly UNCONFIRMED: "UNCONFIRMED";
259
+ };
260
+ /**
261
+ * @public
262
+ */
263
+ export type ConfidenceLevel = (typeof ConfidenceLevel)[keyof typeof ConfidenceLevel];
264
+ /**
265
+ * @public
266
+ * @enum
267
+ */
268
+ export declare const RiskLevel: {
269
+ readonly CRITICAL: "CRITICAL";
270
+ readonly HIGH: "HIGH";
271
+ readonly INFORMATIONAL: "INFORMATIONAL";
272
+ readonly LOW: "LOW";
273
+ readonly MEDIUM: "MEDIUM";
274
+ readonly UNKNOWN: "UNKNOWN";
275
+ };
276
+ /**
277
+ * @public
278
+ */
279
+ export type RiskLevel = (typeof RiskLevel)[keyof typeof RiskLevel];
280
+ /**
281
+ * @public
282
+ * @enum
283
+ */
284
+ export declare const FindingStatus: {
285
+ readonly ACCEPTED: "ACCEPTED";
286
+ readonly ACTIVE: "ACTIVE";
287
+ readonly FALSE_POSITIVE: "FALSE_POSITIVE";
288
+ readonly RESOLVED: "RESOLVED";
289
+ };
290
+ /**
291
+ * @public
292
+ */
293
+ export type FindingStatus = (typeof FindingStatus)[keyof typeof FindingStatus];
294
+ /**
295
+ * @public
296
+ * @enum
297
+ */
298
+ export declare const ErrorCode: {
299
+ /**
300
+ * Failure caused by a client-side error
301
+ */
302
+ readonly CLIENT_ERROR: "CLIENT_ERROR";
303
+ /**
304
+ * Failure caused by an internal error
305
+ */
306
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
307
+ /**
308
+ * Pentest job was stopped by the user
309
+ */
310
+ readonly STOPPED_BY_USER: "STOPPED_BY_USER";
311
+ };
312
+ /**
313
+ * @public
314
+ */
315
+ export type ErrorCode = (typeof ErrorCode)[keyof typeof ErrorCode];
316
+ /**
317
+ * @public
318
+ * @enum
319
+ */
320
+ export declare const ContextType: {
321
+ /**
322
+ * Client-side error encountered during execution
323
+ */
324
+ readonly CLIENT_ERROR: "CLIENT_ERROR";
325
+ /**
326
+ * Error encountered during execution
327
+ */
328
+ readonly ERROR: "ERROR";
329
+ /**
330
+ * Informational message during execution
331
+ */
332
+ readonly INFO: "INFO";
333
+ /**
334
+ * Warning encountered during execution
335
+ */
336
+ readonly WARNING: "WARNING";
337
+ };
338
+ /**
339
+ * @public
340
+ */
341
+ export type ContextType = (typeof ContextType)[keyof typeof ContextType];
342
+ /**
343
+ * @public
344
+ * @enum
345
+ */
346
+ export declare const JobStatus: {
347
+ /**
348
+ * Pentest job completed successfully
349
+ */
350
+ readonly COMPLETED: "COMPLETED";
351
+ /**
352
+ * Pentest job failed during execution
353
+ */
354
+ readonly FAILED: "FAILED";
355
+ /**
356
+ * Pentest job is currently running
357
+ */
358
+ readonly IN_PROGRESS: "IN_PROGRESS";
359
+ /**
360
+ * Pentest job was stopped by the user
361
+ */
362
+ readonly STOPPED: "STOPPED";
363
+ /**
364
+ * Pentest job is being stopped
365
+ */
366
+ readonly STOPPING: "STOPPING";
367
+ };
368
+ /**
369
+ * @public
370
+ */
371
+ export type JobStatus = (typeof JobStatus)[keyof typeof JobStatus];
372
+ /**
373
+ * @public
374
+ * @enum
375
+ */
376
+ export declare const StepName: {
377
+ /**
378
+ * Cleanup of infrastructure and resources created by the agent
379
+ */
380
+ readonly FINALIZING: "FINALIZING";
381
+ /**
382
+ * Active pentest step
383
+ */
384
+ readonly PENTEST: "PENTEST";
385
+ /**
386
+ * Pre-flight validation and setup step
387
+ */
388
+ readonly PREFLIGHT: "PREFLIGHT";
389
+ /**
390
+ * Static code and network scan analysis step
391
+ */
392
+ readonly STATIC_ANALYSIS: "STATIC_ANALYSIS";
393
+ };
394
+ /**
395
+ * @public
396
+ */
397
+ export type StepName = (typeof StepName)[keyof typeof StepName];
398
+ /**
399
+ * @public
400
+ * @enum
401
+ */
402
+ export declare const StepStatus: {
403
+ /**
404
+ * Step completed successfully
405
+ */
406
+ readonly COMPLETED: "COMPLETED";
407
+ /**
408
+ * Step failed during execution
409
+ */
410
+ readonly FAILED: "FAILED";
411
+ /**
412
+ * Step is currently running
413
+ */
414
+ readonly IN_PROGRESS: "IN_PROGRESS";
415
+ /**
416
+ * Step has not started yet
417
+ */
418
+ readonly NOT_STARTED: "NOT_STARTED";
419
+ /**
420
+ * Step was stopped by the user
421
+ */
422
+ readonly STOPPED: "STOPPED";
423
+ };
424
+ /**
425
+ * @public
426
+ */
427
+ export type StepStatus = (typeof StepStatus)[keyof typeof StepStatus];
428
+ /**
429
+ * @public
430
+ * @enum
431
+ */
432
+ export declare const TaskExecutionStatus: {
433
+ /**
434
+ * Task was aborted
435
+ */
436
+ readonly ABORTED: "ABORTED";
437
+ /**
438
+ * Task completed successfully
439
+ */
440
+ readonly COMPLETED: "COMPLETED";
441
+ /**
442
+ * Task failed during execution
443
+ */
444
+ readonly FAILED: "FAILED";
445
+ /**
446
+ * Task failed due to an internal error
447
+ */
448
+ readonly INTERNAL_ERROR: "INTERNAL_ERROR";
449
+ /**
450
+ * Task is currently running
451
+ */
452
+ readonly IN_PROGRESS: "IN_PROGRESS";
453
+ };
454
+ /**
455
+ * @public
456
+ */
457
+ export type TaskExecutionStatus = (typeof TaskExecutionStatus)[keyof typeof TaskExecutionStatus];
458
+ /**
459
+ * @public
460
+ * @enum
461
+ */
462
+ export declare const LogType: {
463
+ /**
464
+ * Logs stored in CloudWatch
465
+ */
466
+ readonly CLOUDWATCH: "CLOUDWATCH";
467
+ };
468
+ /**
469
+ * @public
470
+ */
471
+ export type LogType = (typeof LogType)[keyof typeof LogType];
472
+ /**
473
+ * @public
474
+ * @enum
475
+ */
476
+ export declare const DNSRecordType: {
477
+ /**
478
+ * DNS TXT record
479
+ */
480
+ readonly TXT: "TXT";
481
+ };
482
+ /**
483
+ * @public
484
+ */
485
+ export type DNSRecordType = (typeof DNSRecordType)[keyof typeof DNSRecordType];
486
+ /**
487
+ * @public
488
+ * @enum
489
+ */
490
+ export declare const DomainVerificationMethod: {
491
+ /**
492
+ * Verify ownership via DNS TXT record
493
+ */
494
+ readonly DNS_TXT: "DNS_TXT";
495
+ /**
496
+ * Verify ownership via HTTP route
497
+ */
498
+ readonly HTTP_ROUTE: "HTTP_ROUTE";
499
+ };
500
+ /**
501
+ * @public
502
+ */
503
+ export type DomainVerificationMethod = (typeof DomainVerificationMethod)[keyof typeof DomainVerificationMethod];
504
+ /**
505
+ * @public
506
+ * @enum
507
+ */
508
+ export declare const TargetDomainStatus: {
509
+ /**
510
+ * Domain verification failed
511
+ */
512
+ readonly FAILED: "FAILED";
513
+ /**
514
+ * Domain verification is pending
515
+ */
516
+ readonly PENDING: "PENDING";
517
+ /**
518
+ * Domain is unreachable for verification
519
+ */
520
+ readonly UNREACHABLE: "UNREACHABLE";
521
+ /**
522
+ * Domain ownership has been verified
523
+ */
524
+ readonly VERIFIED: "VERIFIED";
525
+ };
526
+ /**
527
+ * @public
528
+ */
529
+ export type TargetDomainStatus = (typeof TargetDomainStatus)[keyof typeof TargetDomainStatus];
530
+ /**
531
+ * @public
532
+ * @enum
533
+ */
534
+ export declare const Provider: {
535
+ readonly GITHUB: "GITHUB";
536
+ };
537
+ /**
538
+ * @public
539
+ */
540
+ export type Provider = (typeof Provider)[keyof typeof Provider];
541
+ /**
542
+ * @public
543
+ * @enum
544
+ */
545
+ export declare const UserRole: {
546
+ /**
547
+ * Default member role with standard permissions
548
+ */
549
+ readonly MEMBER: "MEMBER";
550
+ };
551
+ /**
552
+ * @public
553
+ */
554
+ export type UserRole = (typeof UserRole)[keyof typeof UserRole];
555
+ /**
556
+ * @public
557
+ * @enum
558
+ */
559
+ export declare const MembershipType: {
560
+ /**
561
+ * Human user member
562
+ */
563
+ readonly USER: "USER";
564
+ };
565
+ /**
566
+ * @public
567
+ */
568
+ export type MembershipType = (typeof MembershipType)[keyof typeof MembershipType];
569
+ /**
570
+ * @public
571
+ * @enum
572
+ */
573
+ export declare const ProviderType: {
574
+ readonly DOCUMENTATION: "DOCUMENTATION";
575
+ readonly SOURCE_CODE: "SOURCE_CODE";
576
+ };
577
+ /**
578
+ * @public
579
+ */
580
+ export type ProviderType = (typeof ProviderType)[keyof typeof ProviderType];
581
+ /**
582
+ * @public
583
+ * @enum
584
+ */
585
+ export declare const ResourceType: {
586
+ readonly CODE_REPOSITORY: "CODE_REPOSITORY";
587
+ };
588
+ /**
589
+ * @public
590
+ */
591
+ export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType];
592
+ /**
593
+ * @public
594
+ * @enum
595
+ */
596
+ export declare const MembershipTypeFilter: {
597
+ /**
598
+ * Show all member types
599
+ */
600
+ readonly ALL: "ALL";
601
+ /**
602
+ * Show only user members
603
+ */
604
+ readonly USER: "USER";
605
+ };
606
+ /**
607
+ * @public
608
+ */
609
+ export type MembershipTypeFilter = (typeof MembershipTypeFilter)[keyof typeof MembershipTypeFilter];
@@ -0,0 +1,93 @@
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import type { ValidationExceptionField } from "./models_0";
3
+ import { SecurityAgentServiceException as __BaseException } from "./SecurityAgentServiceException";
4
+ /**
5
+ * Request denied due to insufficient permissions
6
+ * @public
7
+ */
8
+ export declare class AccessDeniedException extends __BaseException {
9
+ readonly name: "AccessDeniedException";
10
+ readonly $fault: "client";
11
+ /**
12
+ * @internal
13
+ */
14
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
+ }
16
+ /**
17
+ * Unexpected server error occurred
18
+ * @public
19
+ */
20
+ export declare class InternalServerException extends __BaseException {
21
+ readonly name: "InternalServerException";
22
+ readonly $fault: "server";
23
+ /**
24
+ * @internal
25
+ */
26
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
27
+ }
28
+ /**
29
+ * Specified resource was not found
30
+ * @public
31
+ */
32
+ export declare class ResourceNotFoundException extends __BaseException {
33
+ readonly name: "ResourceNotFoundException";
34
+ readonly $fault: "client";
35
+ /**
36
+ * @internal
37
+ */
38
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
39
+ }
40
+ /**
41
+ * Request denied due to throttling
42
+ * @public
43
+ */
44
+ export declare class ThrottlingException extends __BaseException {
45
+ readonly name: "ThrottlingException";
46
+ readonly $fault: "client";
47
+ /**
48
+ * Service code for throttling limit
49
+ * @public
50
+ */
51
+ serviceCode?: string | undefined;
52
+ /**
53
+ * Quota code for throttling limit
54
+ * @public
55
+ */
56
+ quotaCode?: string | undefined;
57
+ /**
58
+ * @internal
59
+ */
60
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
61
+ }
62
+ /**
63
+ * A standard error for input validation failures.
64
+ * This should be thrown by services when a member of the input structure
65
+ * falls outside of the modeled or documented constraints.
66
+ * @public
67
+ */
68
+ export declare class ValidationException extends __BaseException {
69
+ readonly name: "ValidationException";
70
+ readonly $fault: "client";
71
+ /**
72
+ * A list of specific failures encountered while validating the input.
73
+ * A member can appear in this list more than once if it failed to satisfy multiple constraints.
74
+ * @public
75
+ */
76
+ fieldList?: ValidationExceptionField[] | undefined;
77
+ /**
78
+ * @internal
79
+ */
80
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
81
+ }
82
+ /**
83
+ * Request conflicts with current resource state
84
+ * @public
85
+ */
86
+ export declare class ConflictException extends __BaseException {
87
+ readonly name: "ConflictException";
88
+ readonly $fault: "client";
89
+ /**
90
+ * @internal
91
+ */
92
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
93
+ }