@aws-sdk/client-securityagent 3.1149.0 → 3.1151.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 (48) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +199 -61
  3. package/dist-es/SecurityAgent.js +4 -0
  4. package/dist-es/commands/BatchDisassociateFindingIssueCommand.js +4 -0
  5. package/dist-es/commands/BatchExportFindingsCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +10 -7
  8. package/dist-es/schemas/schemas_0.js +163 -53
  9. package/dist-types/SecurityAgent.d.ts +14 -0
  10. package/dist-types/SecurityAgentClient.d.ts +4 -2
  11. package/dist-types/commands/BatchDisassociateFindingIssueCommand.d.ts +103 -0
  12. package/dist-types/commands/BatchExportFindingsCommand.d.ts +121 -0
  13. package/dist-types/commands/BatchGetFindingsCommand.d.ts +9 -0
  14. package/dist-types/commands/CreateIntegrationCommand.d.ts +7 -1
  15. package/dist-types/commands/GetIntegrationCommand.d.ts +3 -2
  16. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
  17. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -1
  18. package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -4
  19. package/dist-types/commands/StopCodeReviewJobCommand.d.ts +1 -1
  20. package/dist-types/commands/StopPentestJobCommand.d.ts +1 -1
  21. package/dist-types/commands/StopThreatModelJobCommand.d.ts +1 -1
  22. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  23. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  24. package/dist-types/commands/UpdateCodeReviewCommand.d.ts +1 -2
  25. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -0
  26. package/dist-types/commands/UpdateTargetDomainCommand.d.ts +1 -1
  27. package/dist-types/commands/index.d.ts +2 -0
  28. package/dist-types/models/enums.d.ts +18 -15
  29. package/dist-types/models/models_0.d.ts +394 -232
  30. package/dist-types/models/models_1.d.ts +230 -2
  31. package/dist-types/schemas/schemas_0.d.ts +15 -0
  32. package/dist-types/ts3.4/SecurityAgent.d.ts +34 -0
  33. package/dist-types/ts3.4/SecurityAgentClient.d.ts +12 -0
  34. package/dist-types/ts3.4/commands/BatchDisassociateFindingIssueCommand.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/BatchExportFindingsCommand.d.ts +39 -0
  36. package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +1 -2
  42. package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +11 -8
  45. package/dist-types/ts3.4/models/models_0.d.ts +142 -51
  46. package/dist-types/ts3.4/models/models_1.d.ts +53 -0
  47. package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
  48. package/package.json +3 -3
@@ -1676,6 +1676,205 @@ export interface BatchDeleteThreatModelsOutput {
1676
1676
  */
1677
1677
  failed?: DeleteThreatModelFailure[] | undefined;
1678
1678
  }
1679
+ /**
1680
+ * <p>The input for the BatchDisassociateFindingIssue operation.</p>
1681
+ * @public
1682
+ */
1683
+ export interface BatchDisassociateFindingIssueInput {
1684
+ /**
1685
+ * <p>The identifier of the agent space where the job exists.</p>
1686
+ * @public
1687
+ */
1688
+ agentSpaceId: string | undefined;
1689
+ /**
1690
+ * <p>The identifier of the penetration test job. This parameter is mutually exclusive with <code>codeReviewJobId</code>.</p>
1691
+ * @public
1692
+ */
1693
+ pentestJobId?: string | undefined;
1694
+ /**
1695
+ * <p>The identifier of the code review job. This parameter is mutually exclusive with <code>pentestJobId</code>.</p>
1696
+ * @public
1697
+ */
1698
+ codeReviewJobId?: string | undefined;
1699
+ /**
1700
+ * <p>The identifiers of the findings to disassociate from their issues. Each must belong to the specified job.</p>
1701
+ * @public
1702
+ */
1703
+ findingIds: string[] | undefined;
1704
+ }
1705
+ /**
1706
+ * <p>A finding that failed to disassociate, with the cause of the failure.</p>
1707
+ * @public
1708
+ */
1709
+ export interface BatchDisassociateFindingIssueError {
1710
+ /**
1711
+ * <p>The identifier of the finding that failed to disassociate.</p>
1712
+ * @public
1713
+ */
1714
+ findingId: string | undefined;
1715
+ /**
1716
+ * <p>The machine-readable failure category.</p>
1717
+ * @public
1718
+ */
1719
+ code: ErrorCode | undefined;
1720
+ /**
1721
+ * <p>A customer-facing explanation of the failure.</p>
1722
+ * @public
1723
+ */
1724
+ message: string | undefined;
1725
+ }
1726
+ /**
1727
+ * <p>The output for the BatchDisassociateFindingIssue operation.</p>
1728
+ * @public
1729
+ */
1730
+ export interface BatchDisassociateFindingIssueOutput {
1731
+ /**
1732
+ * <p>The findings whose issue could not be disassociated.</p>
1733
+ * @public
1734
+ */
1735
+ errors: BatchDisassociateFindingIssueError[] | undefined;
1736
+ }
1737
+ /**
1738
+ * <p>A finding whose issue could not be created, with the cause of the failure.</p>
1739
+ * @public
1740
+ */
1741
+ export interface BatchExportFindingError {
1742
+ /**
1743
+ * <p>The identifier of the finding this error corresponds to.</p>
1744
+ * @public
1745
+ */
1746
+ findingId: string | undefined;
1747
+ /**
1748
+ * <p>The machine-readable failure category.</p>
1749
+ * @public
1750
+ */
1751
+ code: ErrorCode | undefined;
1752
+ /**
1753
+ * <p>A customer-facing explanation of why the issue could not be created.</p>
1754
+ * @public
1755
+ */
1756
+ message: string | undefined;
1757
+ }
1758
+ /**
1759
+ * <p>A reference to an issue created for a finding in a third-party issue tracker.</p>
1760
+ * @public
1761
+ */
1762
+ export interface LinkedIssue {
1763
+ /**
1764
+ * <p>The issue-tracker provider.</p>
1765
+ * @public
1766
+ */
1767
+ provider?: Provider | undefined;
1768
+ /**
1769
+ * <p>The integration identifier for the issue-tracker provider.</p>
1770
+ * @public
1771
+ */
1772
+ integrationId?: string | undefined;
1773
+ /**
1774
+ * <p>The key of the project the issue belongs to.</p>
1775
+ * @public
1776
+ */
1777
+ projectKey?: string | undefined;
1778
+ /**
1779
+ * <p>The issue key.</p>
1780
+ * @public
1781
+ */
1782
+ issueKey?: string | undefined;
1783
+ /**
1784
+ * <p>The stable numeric issue identifier.</p>
1785
+ * @public
1786
+ */
1787
+ issueId?: string | undefined;
1788
+ /**
1789
+ * <p>The issue URL.</p>
1790
+ * @public
1791
+ */
1792
+ issueUrl?: string | undefined;
1793
+ /**
1794
+ * <p>The Atlassian Cloud site URL.</p>
1795
+ * @public
1796
+ */
1797
+ siteUrl?: string | undefined;
1798
+ }
1799
+ /**
1800
+ * <p>A finding whose issue was created.</p>
1801
+ * @public
1802
+ */
1803
+ export interface BatchExportFindingResult {
1804
+ /**
1805
+ * <p>The identifier of the finding this result corresponds to.</p>
1806
+ * @public
1807
+ */
1808
+ findingId: string | undefined;
1809
+ /**
1810
+ * <p>The issue that was created for the finding.</p>
1811
+ * @public
1812
+ */
1813
+ linkedIssue: LinkedIssue | undefined;
1814
+ }
1815
+ /**
1816
+ * <p>The destination for filing findings as issues in an integrated issue tracker.</p>
1817
+ * @public
1818
+ */
1819
+ export interface IssueDestination {
1820
+ /**
1821
+ * <p>The integration identifier for the issue-tracker provider.</p>
1822
+ * @public
1823
+ */
1824
+ integrationId: string | undefined;
1825
+ /**
1826
+ * <p>The identifier of the project the issues are filed under.</p>
1827
+ * @public
1828
+ */
1829
+ projectKey: string | undefined;
1830
+ }
1831
+ /**
1832
+ * <p>The input for the BatchExportFindings operation.</p>
1833
+ * @public
1834
+ */
1835
+ export interface BatchExportFindingsInput {
1836
+ /**
1837
+ * <p>The identifier of the agent space where the job exists.</p>
1838
+ * @public
1839
+ */
1840
+ agentSpaceId: string | undefined;
1841
+ /**
1842
+ * <p>The identifier of the penetration test job. This parameter is mutually exclusive with <code>codeReviewJobId</code>.</p>
1843
+ * @public
1844
+ */
1845
+ pentestJobId?: string | undefined;
1846
+ /**
1847
+ * <p>The identifier of the code review job. This parameter is mutually exclusive with <code>pentestJobId</code>.</p>
1848
+ * @public
1849
+ */
1850
+ codeReviewJobId?: string | undefined;
1851
+ /**
1852
+ * <p>The destination issue-tracker project the findings are exported to. Must be a connected capability of the agent space.</p>
1853
+ * @public
1854
+ */
1855
+ issueDestination: IssueDestination | undefined;
1856
+ /**
1857
+ * <p>The identifiers of the findings to export. Each must belong to the specified job.</p>
1858
+ * @public
1859
+ */
1860
+ findingIds: string[] | undefined;
1861
+ }
1862
+ /**
1863
+ * <p>The output for the BatchExportFindings operation.</p>
1864
+ * @public
1865
+ */
1866
+ export interface BatchExportFindingsOutput {
1867
+ /**
1868
+ * <p>The findings whose issue was created, each with its linked issue.</p>
1869
+ * @public
1870
+ */
1871
+ results: BatchExportFindingResult[] | undefined;
1872
+ /**
1873
+ * <p>The findings whose issue could not be created, each with a customer-facing reason.</p>
1874
+ * @public
1875
+ */
1876
+ errors: BatchExportFindingError[] | undefined;
1877
+ }
1679
1878
  /**
1680
1879
  * @public
1681
1880
  */
@@ -2386,6 +2585,11 @@ export interface Finding {
2386
2585
  * @public
2387
2586
  */
2388
2587
  originalFindingId?: string | undefined;
2588
+ /**
2589
+ * <p>The issue in a third-party issue tracker that this finding has been exported to.</p>
2590
+ * @public
2591
+ */
2592
+ linkedIssue?: LinkedIssue | undefined;
2389
2593
  /**
2390
2594
  * <p>The date and time the finding was created, in UTC format.</p>
2391
2595
  * @public
@@ -4081,11 +4285,37 @@ export interface GitLabIntegrationInput {
4081
4285
  */
4082
4286
  groupId?: string | undefined;
4083
4287
  }
4288
+ /**
4289
+ * <p>The configuration for creating a Jira integration.</p>
4290
+ * @public
4291
+ */
4292
+ export interface JiraIntegrationInput {
4293
+ /**
4294
+ * <p>The Atlassian installation identifier, available from the Atlassian administration console.</p>
4295
+ * @public
4296
+ */
4297
+ installationId: string | undefined;
4298
+ /**
4299
+ * <p>The OAuth 2.0 authorization code returned from the consent redirect.</p>
4300
+ * @public
4301
+ */
4302
+ code: string | undefined;
4303
+ /**
4304
+ * <p>The CSRF state token echoed back from the OAuth redirect.</p>
4305
+ * @public
4306
+ */
4307
+ state: string | undefined;
4308
+ /**
4309
+ * <p>The Jira Cloud site URL, for example https://mysite.atlassian.net.</p>
4310
+ * @public
4311
+ */
4312
+ siteUrl: string | undefined;
4313
+ }
4084
4314
  /**
4085
4315
  * <p>The provider-specific input for creating an integration. This is a union type that contains provider-specific configuration.</p>
4086
4316
  * @public
4087
4317
  */
4088
- export type ProviderInput = ProviderInput.AzureDevOpsMember | ProviderInput.BitbucketMember | ProviderInput.BitbucketDataCenterMember | ProviderInput.ConfluenceMember | ProviderInput.GithubMember | ProviderInput.GitlabMember | ProviderInput.$UnknownMember;
4318
+ export type ProviderInput = ProviderInput.AzureDevOpsMember | ProviderInput.BitbucketMember | ProviderInput.BitbucketDataCenterMember | ProviderInput.ConfluenceMember | ProviderInput.GithubMember | ProviderInput.GitlabMember | ProviderInput.JiraMember | ProviderInput.$UnknownMember;
4089
4319
  /**
4090
4320
  * @public
4091
4321
  */
@@ -4101,6 +4331,7 @@ export declare namespace ProviderInput {
4101
4331
  confluence?: never;
4102
4332
  azureDevOps?: never;
4103
4333
  bitbucketDataCenter?: never;
4334
+ jira?: never;
4104
4335
  $unknown?: never;
4105
4336
  }
4106
4337
  /**
@@ -4114,6 +4345,7 @@ export declare namespace ProviderInput {
4114
4345
  confluence?: never;
4115
4346
  azureDevOps?: never;
4116
4347
  bitbucketDataCenter?: never;
4348
+ jira?: never;
4117
4349
  $unknown?: never;
4118
4350
  }
4119
4351
  /**
@@ -4127,6 +4359,7 @@ export declare namespace ProviderInput {
4127
4359
  confluence?: never;
4128
4360
  azureDevOps?: never;
4129
4361
  bitbucketDataCenter?: never;
4362
+ jira?: never;
4130
4363
  $unknown?: never;
4131
4364
  }
4132
4365
  /**
@@ -4140,6 +4373,7 @@ export declare namespace ProviderInput {
4140
4373
  confluence: ConfluenceIntegrationInput;
4141
4374
  azureDevOps?: never;
4142
4375
  bitbucketDataCenter?: never;
4376
+ jira?: never;
4143
4377
  $unknown?: never;
4144
4378
  }
4145
4379
  /**
@@ -4153,6 +4387,7 @@ export declare namespace ProviderInput {
4153
4387
  confluence?: never;
4154
4388
  azureDevOps: AzureDevOpsIntegrationInput;
4155
4389
  bitbucketDataCenter?: never;
4390
+ jira?: never;
4156
4391
  $unknown?: never;
4157
4392
  }
4158
4393
  /**
@@ -4166,6 +4401,21 @@ export declare namespace ProviderInput {
4166
4401
  confluence?: never;
4167
4402
  azureDevOps?: never;
4168
4403
  bitbucketDataCenter: BitbucketDataCenterIntegrationInput;
4404
+ jira?: never;
4405
+ $unknown?: never;
4406
+ }
4407
+ /**
4408
+ * <p>The configuration for a Jira integration.</p>
4409
+ * @public
4410
+ */
4411
+ interface JiraMember {
4412
+ github?: never;
4413
+ gitlab?: never;
4414
+ bitbucket?: never;
4415
+ confluence?: never;
4416
+ azureDevOps?: never;
4417
+ bitbucketDataCenter?: never;
4418
+ jira: JiraIntegrationInput;
4169
4419
  $unknown?: never;
4170
4420
  }
4171
4421
  /**
@@ -4178,6 +4428,7 @@ export declare namespace ProviderInput {
4178
4428
  confluence?: never;
4179
4429
  azureDevOps?: never;
4180
4430
  bitbucketDataCenter?: never;
4431
+ jira?: never;
4181
4432
  $unknown: [string, any];
4182
4433
  }
4183
4434
  /**
@@ -4191,6 +4442,7 @@ export declare namespace ProviderInput {
4191
4442
  confluence: (value: ConfluenceIntegrationInput) => T;
4192
4443
  azureDevOps: (value: AzureDevOpsIntegrationInput) => T;
4193
4444
  bitbucketDataCenter: (value: BitbucketDataCenterIntegrationInput) => T;
4445
+ jira: (value: JiraIntegrationInput) => T;
4194
4446
  _: (name: string, value: any) => T;
4195
4447
  }
4196
4448
  }
@@ -5568,6 +5820,11 @@ export interface GetIntegrationOutput {
5568
5820
  * @public
5569
5821
  */
5570
5822
  targetUrl?: string | undefined;
5823
+ /**
5824
+ * <p>The Atlassian Cloud site URL for Atlassian integrations.</p>
5825
+ * @public
5826
+ */
5827
+ siteUrl?: string | undefined;
5571
5828
  /**
5572
5829
  * <p>The payload URL of the integration's webhook, once it has been created. The signing secret is never returned on a read.</p>
5573
5830
  * @public
@@ -5899,11 +6156,37 @@ export interface InitiateProviderRegistrationOutput {
5899
6156
  */
5900
6157
  csrfState: string | undefined;
5901
6158
  }
6159
+ /**
6160
+ * <p>Represents a Jira project resource used in an integration.</p>
6161
+ * @public
6162
+ */
6163
+ export interface JiraProjectResource {
6164
+ /**
6165
+ * <p>Name of the resource e.g. repository name, etc.</p>
6166
+ * @public
6167
+ */
6168
+ name: string | undefined;
6169
+ /**
6170
+ * <p>The Jira project key, for example PROJ.</p>
6171
+ * @public
6172
+ */
6173
+ projectKey: string | undefined;
6174
+ /**
6175
+ * <p>The Jira project identifier.</p>
6176
+ * @public
6177
+ */
6178
+ projectId: string | undefined;
6179
+ /**
6180
+ * <p>The display name of the Jira project.</p>
6181
+ * @public
6182
+ */
6183
+ projectName?: string | undefined;
6184
+ }
5902
6185
  /**
5903
6186
  * <p>Represents an integrated resource from a third-party provider. This is a union type that contains provider-specific resource information.</p>
5904
6187
  * @public
5905
6188
  */
5906
- export type IntegratedResource = IntegratedResource.AzureDevOpsRepositoryMember | IntegratedResource.BitbucketRepositoryMember | IntegratedResource.ConfluenceDocumentMember | IntegratedResource.GithubRepositoryMember | IntegratedResource.GitlabRepositoryMember | IntegratedResource.$UnknownMember;
6189
+ export type IntegratedResource = IntegratedResource.AzureDevOpsRepositoryMember | IntegratedResource.BitbucketRepositoryMember | IntegratedResource.ConfluenceDocumentMember | IntegratedResource.GithubRepositoryMember | IntegratedResource.GitlabRepositoryMember | IntegratedResource.JiraProjectMember | IntegratedResource.$UnknownMember;
5907
6190
  /**
5908
6191
  * @public
5909
6192
  */
@@ -5918,6 +6201,7 @@ export declare namespace IntegratedResource {
5918
6201
  bitbucketRepository?: never;
5919
6202
  confluenceDocument?: never;
5920
6203
  azureDevOpsRepository?: never;
6204
+ jiraProject?: never;
5921
6205
  $unknown?: never;
5922
6206
  }
5923
6207
  /**
@@ -5930,6 +6214,7 @@ export declare namespace IntegratedResource {
5930
6214
  bitbucketRepository?: never;
5931
6215
  confluenceDocument?: never;
5932
6216
  azureDevOpsRepository?: never;
6217
+ jiraProject?: never;
5933
6218
  $unknown?: never;
5934
6219
  }
5935
6220
  /**
@@ -5942,6 +6227,7 @@ export declare namespace IntegratedResource {
5942
6227
  bitbucketRepository: BitbucketRepositoryResource;
5943
6228
  confluenceDocument?: never;
5944
6229
  azureDevOpsRepository?: never;
6230
+ jiraProject?: never;
5945
6231
  $unknown?: never;
5946
6232
  }
5947
6233
  /**
@@ -5954,6 +6240,7 @@ export declare namespace IntegratedResource {
5954
6240
  bitbucketRepository?: never;
5955
6241
  confluenceDocument: ConfluenceDocumentResource;
5956
6242
  azureDevOpsRepository?: never;
6243
+ jiraProject?: never;
5957
6244
  $unknown?: never;
5958
6245
  }
5959
6246
  /**
@@ -5966,6 +6253,20 @@ export declare namespace IntegratedResource {
5966
6253
  bitbucketRepository?: never;
5967
6254
  confluenceDocument?: never;
5968
6255
  azureDevOpsRepository: AzureDevOpsRepositoryResource;
6256
+ jiraProject?: never;
6257
+ $unknown?: never;
6258
+ }
6259
+ /**
6260
+ * <p>The Jira project resource information.</p>
6261
+ * @public
6262
+ */
6263
+ interface JiraProjectMember {
6264
+ githubRepository?: never;
6265
+ gitlabRepository?: never;
6266
+ bitbucketRepository?: never;
6267
+ confluenceDocument?: never;
6268
+ azureDevOpsRepository?: never;
6269
+ jiraProject: JiraProjectResource;
5969
6270
  $unknown?: never;
5970
6271
  }
5971
6272
  /**
@@ -5977,6 +6278,7 @@ export declare namespace IntegratedResource {
5977
6278
  bitbucketRepository?: never;
5978
6279
  confluenceDocument?: never;
5979
6280
  azureDevOpsRepository?: never;
6281
+ jiraProject?: never;
5980
6282
  $unknown: [string, any];
5981
6283
  }
5982
6284
  /**
@@ -5989,14 +6291,31 @@ export declare namespace IntegratedResource {
5989
6291
  bitbucketRepository: (value: BitbucketRepositoryResource) => T;
5990
6292
  confluenceDocument: (value: ConfluenceDocumentResource) => T;
5991
6293
  azureDevOpsRepository: (value: AzureDevOpsRepositoryResource) => T;
6294
+ jiraProject: (value: JiraProjectResource) => T;
5992
6295
  _: (name: string, value: any) => T;
5993
6296
  }
5994
6297
  }
6298
+ /**
6299
+ * <p>Capabilities for an integrated Jira project.</p>
6300
+ * @public
6301
+ */
6302
+ export interface JiraResourceCapabilities {
6303
+ /**
6304
+ * <p>Whether to create issues in the integrated jira project.</p>
6305
+ * @public
6306
+ */
6307
+ createIssue?: boolean | undefined;
6308
+ /**
6309
+ * <p>Whether to post comments on issues in the integrated jira project.</p>
6310
+ * @public
6311
+ */
6312
+ commentIssue?: boolean | undefined;
6313
+ }
5995
6314
  /**
5996
6315
  * <p>The capabilities for an integrated resource from a third-party provider. This is a union type that contains provider-specific capabilities.</p>
5997
6316
  * @public
5998
6317
  */
5999
- export type ProviderResourceCapabilities = ProviderResourceCapabilities.AzureDevOpsMember | ProviderResourceCapabilities.BitbucketMember | ProviderResourceCapabilities.ConfluenceMember | ProviderResourceCapabilities.GithubMember | ProviderResourceCapabilities.GitlabMember | ProviderResourceCapabilities.$UnknownMember;
6318
+ export type ProviderResourceCapabilities = ProviderResourceCapabilities.AzureDevOpsMember | ProviderResourceCapabilities.BitbucketMember | ProviderResourceCapabilities.ConfluenceMember | ProviderResourceCapabilities.GithubMember | ProviderResourceCapabilities.GitlabMember | ProviderResourceCapabilities.JiraMember | ProviderResourceCapabilities.$UnknownMember;
6000
6319
  /**
6001
6320
  * @public
6002
6321
  */
@@ -6011,6 +6330,7 @@ export declare namespace ProviderResourceCapabilities {
6011
6330
  bitbucket?: never;
6012
6331
  confluence?: never;
6013
6332
  azureDevOps?: never;
6333
+ jira?: never;
6014
6334
  $unknown?: never;
6015
6335
  }
6016
6336
  /**
@@ -6023,6 +6343,7 @@ export declare namespace ProviderResourceCapabilities {
6023
6343
  bitbucket?: never;
6024
6344
  confluence?: never;
6025
6345
  azureDevOps?: never;
6346
+ jira?: never;
6026
6347
  $unknown?: never;
6027
6348
  }
6028
6349
  /**
@@ -6035,6 +6356,7 @@ export declare namespace ProviderResourceCapabilities {
6035
6356
  bitbucket: BitbucketResourceCapabilities;
6036
6357
  confluence?: never;
6037
6358
  azureDevOps?: never;
6359
+ jira?: never;
6038
6360
  $unknown?: never;
6039
6361
  }
6040
6362
  /**
@@ -6047,6 +6369,7 @@ export declare namespace ProviderResourceCapabilities {
6047
6369
  bitbucket?: never;
6048
6370
  confluence: ConfluenceResourceCapabilities;
6049
6371
  azureDevOps?: never;
6372
+ jira?: never;
6050
6373
  $unknown?: never;
6051
6374
  }
6052
6375
  /**
@@ -6059,6 +6382,20 @@ export declare namespace ProviderResourceCapabilities {
6059
6382
  bitbucket?: never;
6060
6383
  confluence?: never;
6061
6384
  azureDevOps: AzureDevOpsResourceCapabilities;
6385
+ jira?: never;
6386
+ $unknown?: never;
6387
+ }
6388
+ /**
6389
+ * <p>The Jira-specific resource capabilities.</p>
6390
+ * @public
6391
+ */
6392
+ interface JiraMember {
6393
+ github?: never;
6394
+ gitlab?: never;
6395
+ bitbucket?: never;
6396
+ confluence?: never;
6397
+ azureDevOps?: never;
6398
+ jira: JiraResourceCapabilities;
6062
6399
  $unknown?: never;
6063
6400
  }
6064
6401
  /**
@@ -6070,6 +6407,7 @@ export declare namespace ProviderResourceCapabilities {
6070
6407
  bitbucket?: never;
6071
6408
  confluence?: never;
6072
6409
  azureDevOps?: never;
6410
+ jira?: never;
6073
6411
  $unknown: [string, any];
6074
6412
  }
6075
6413
  /**
@@ -6082,6 +6420,7 @@ export declare namespace ProviderResourceCapabilities {
6082
6420
  bitbucket: (value: BitbucketResourceCapabilities) => T;
6083
6421
  confluence: (value: ConfluenceResourceCapabilities) => T;
6084
6422
  azureDevOps: (value: AzureDevOpsResourceCapabilities) => T;
6423
+ jira: (value: JiraResourceCapabilities) => T;
6085
6424
  _: (name: string, value: any) => T;
6086
6425
  }
6087
6426
  }
@@ -6101,11 +6440,42 @@ export interface IntegratedResourceInputItem {
6101
6440
  */
6102
6441
  capabilities?: ProviderResourceCapabilities | undefined;
6103
6442
  }
6443
+ /**
6444
+ * <p>Contains metadata about a Jira project that is integrated with the service.</p>
6445
+ * @public
6446
+ */
6447
+ export interface JiraProjectMetadata {
6448
+ /**
6449
+ * <p>Name of the resource e.g. repository name, etc.</p>
6450
+ * @public
6451
+ */
6452
+ name: string | undefined;
6453
+ /**
6454
+ * <p>Provider Id of the resource e.g. GitHub repository id, etc.</p>
6455
+ * @public
6456
+ */
6457
+ providerResourceId: string | undefined;
6458
+ /**
6459
+ * <p>The Jira project key, for example PROJ.</p>
6460
+ * @public
6461
+ */
6462
+ projectKey: string | undefined;
6463
+ /**
6464
+ * <p>The Jira project identifier.</p>
6465
+ * @public
6466
+ */
6467
+ projectId: string | undefined;
6468
+ /**
6469
+ * <p>The display name of the Jira project.</p>
6470
+ * @public
6471
+ */
6472
+ projectName?: string | undefined;
6473
+ }
6104
6474
  /**
6105
6475
  * <p>Contains metadata about an integrated resource. This is a union type that contains provider-specific metadata.</p>
6106
6476
  * @public
6107
6477
  */
6108
- export type IntegratedResourceMetadata = IntegratedResourceMetadata.AzureDevOpsRepositoryMember | IntegratedResourceMetadata.BitbucketRepositoryMember | IntegratedResourceMetadata.ConfluenceDocumentMember | IntegratedResourceMetadata.GithubRepositoryMember | IntegratedResourceMetadata.GitlabRepositoryMember | IntegratedResourceMetadata.$UnknownMember;
6478
+ export type IntegratedResourceMetadata = IntegratedResourceMetadata.AzureDevOpsRepositoryMember | IntegratedResourceMetadata.BitbucketRepositoryMember | IntegratedResourceMetadata.ConfluenceDocumentMember | IntegratedResourceMetadata.GithubRepositoryMember | IntegratedResourceMetadata.GitlabRepositoryMember | IntegratedResourceMetadata.JiraProjectMember | IntegratedResourceMetadata.$UnknownMember;
6109
6479
  /**
6110
6480
  * @public
6111
6481
  */
@@ -6120,6 +6490,7 @@ export declare namespace IntegratedResourceMetadata {
6120
6490
  bitbucketRepository?: never;
6121
6491
  confluenceDocument?: never;
6122
6492
  azureDevOpsRepository?: never;
6493
+ jiraProject?: never;
6123
6494
  $unknown?: never;
6124
6495
  }
6125
6496
  /**
@@ -6132,6 +6503,7 @@ export declare namespace IntegratedResourceMetadata {
6132
6503
  bitbucketRepository?: never;
6133
6504
  confluenceDocument?: never;
6134
6505
  azureDevOpsRepository?: never;
6506
+ jiraProject?: never;
6135
6507
  $unknown?: never;
6136
6508
  }
6137
6509
  /**
@@ -6144,6 +6516,7 @@ export declare namespace IntegratedResourceMetadata {
6144
6516
  bitbucketRepository: BitbucketRepositoryMetadata;
6145
6517
  confluenceDocument?: never;
6146
6518
  azureDevOpsRepository?: never;
6519
+ jiraProject?: never;
6147
6520
  $unknown?: never;
6148
6521
  }
6149
6522
  /**
@@ -6156,6 +6529,7 @@ export declare namespace IntegratedResourceMetadata {
6156
6529
  bitbucketRepository?: never;
6157
6530
  confluenceDocument: ConfluenceDocumentMetadata;
6158
6531
  azureDevOpsRepository?: never;
6532
+ jiraProject?: never;
6159
6533
  $unknown?: never;
6160
6534
  }
6161
6535
  /**
@@ -6168,6 +6542,20 @@ export declare namespace IntegratedResourceMetadata {
6168
6542
  bitbucketRepository?: never;
6169
6543
  confluenceDocument?: never;
6170
6544
  azureDevOpsRepository: AzureDevOpsRepositoryMetadata;
6545
+ jiraProject?: never;
6546
+ $unknown?: never;
6547
+ }
6548
+ /**
6549
+ * <p>The Jira project metadata.</p>
6550
+ * @public
6551
+ */
6552
+ interface JiraProjectMember {
6553
+ githubRepository?: never;
6554
+ gitlabRepository?: never;
6555
+ bitbucketRepository?: never;
6556
+ confluenceDocument?: never;
6557
+ azureDevOpsRepository?: never;
6558
+ jiraProject: JiraProjectMetadata;
6171
6559
  $unknown?: never;
6172
6560
  }
6173
6561
  /**
@@ -6179,6 +6567,7 @@ export declare namespace IntegratedResourceMetadata {
6179
6567
  bitbucketRepository?: never;
6180
6568
  confluenceDocument?: never;
6181
6569
  azureDevOpsRepository?: never;
6570
+ jiraProject?: never;
6182
6571
  $unknown: [string, any];
6183
6572
  }
6184
6573
  /**
@@ -6191,6 +6580,7 @@ export declare namespace IntegratedResourceMetadata {
6191
6580
  bitbucketRepository: (value: BitbucketRepositoryMetadata) => T;
6192
6581
  confluenceDocument: (value: ConfluenceDocumentMetadata) => T;
6193
6582
  azureDevOpsRepository: (value: AzureDevOpsRepositoryMetadata) => T;
6583
+ jiraProject: (value: JiraProjectMetadata) => T;
6194
6584
  _: (name: string, value: any) => T;
6195
6585
  }
6196
6586
  }
@@ -8193,231 +8583,3 @@ export interface StartThreatModelJobOutput {
8193
8583
  */
8194
8584
  agentSpaceId?: string | undefined;
8195
8585
  }
8196
- /**
8197
- * <p>Input for stopping the execution of a code review job.</p>
8198
- * @public
8199
- */
8200
- export interface StopCodeReviewJobInput {
8201
- /**
8202
- * <p>The unique identifier of the agent space.</p>
8203
- * @public
8204
- */
8205
- agentSpaceId: string | undefined;
8206
- /**
8207
- * <p>The unique identifier of the code review job to stop.</p>
8208
- * @public
8209
- */
8210
- codeReviewJobId: string | undefined;
8211
- }
8212
- /**
8213
- * <p>Output for the StopCodeReviewJob operation.</p>
8214
- * @public
8215
- */
8216
- export interface StopCodeReviewJobOutput {
8217
- }
8218
- /**
8219
- * <p>Input for stopping the execution of a pentest.</p>
8220
- * @public
8221
- */
8222
- export interface StopPentestJobInput {
8223
- /**
8224
- * <p>The unique identifier of the agent space.</p>
8225
- * @public
8226
- */
8227
- agentSpaceId: string | undefined;
8228
- /**
8229
- * <p>The unique identifier of the pentest job to stop.</p>
8230
- * @public
8231
- */
8232
- pentestJobId: string | undefined;
8233
- }
8234
- /**
8235
- * <p>Output for the StopPentestJob operation.</p>
8236
- * @public
8237
- */
8238
- export interface StopPentestJobOutput {
8239
- }
8240
- /**
8241
- * <p>Input for stopping a threat model job.</p>
8242
- * @public
8243
- */
8244
- export interface StopThreatModelJobInput {
8245
- /**
8246
- * <p>The unique identifier of the agent space.</p>
8247
- * @public
8248
- */
8249
- agentSpaceId: string | undefined;
8250
- /**
8251
- * <p>The unique identifier of the threat model job to stop.</p>
8252
- * @public
8253
- */
8254
- threatModelJobId: string | undefined;
8255
- }
8256
- /**
8257
- * <p>Output for the StopThreatModelJob operation.</p>
8258
- * @public
8259
- */
8260
- export interface StopThreatModelJobOutput {
8261
- }
8262
- /**
8263
- * <p>Input for TagResource operation.</p>
8264
- * @public
8265
- */
8266
- export interface TagResourceInput {
8267
- /**
8268
- * <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
8269
- * @public
8270
- */
8271
- resourceArn: string | undefined;
8272
- /**
8273
- * <p>The tags to add to the resource.</p>
8274
- * @public
8275
- */
8276
- tags: Record<string, string> | undefined;
8277
- }
8278
- /**
8279
- * <p>Output for TagResource operation.</p>
8280
- * @public
8281
- */
8282
- export interface TagResourceOutput {
8283
- }
8284
- /**
8285
- * <p>Input for updating a target domain.</p>
8286
- * @public
8287
- */
8288
- export interface UpdateTargetDomainInput {
8289
- /**
8290
- * <p>The unique identifier of the target domain to update.</p>
8291
- * @public
8292
- */
8293
- targetDomainId: string | undefined;
8294
- /**
8295
- * <p>The updated verification method for the target domain.</p>
8296
- * @public
8297
- */
8298
- verificationMethod: DomainVerificationMethod | undefined;
8299
- }
8300
- /**
8301
- * <p>Output for the UpdateTargetDomain operation.</p>
8302
- * @public
8303
- */
8304
- export interface UpdateTargetDomainOutput {
8305
- /**
8306
- * <p>The unique identifier of the target domain.</p>
8307
- * @public
8308
- */
8309
- targetDomainId: string | undefined;
8310
- /**
8311
- * <p>The domain name of the target domain.</p>
8312
- * @public
8313
- */
8314
- domainName: string | undefined;
8315
- /**
8316
- * <p>The current verification status of the target domain.</p>
8317
- * @public
8318
- */
8319
- verificationStatus: TargetDomainStatus | undefined;
8320
- /**
8321
- * <p>The reason for the current target domain verification status.</p>
8322
- * @public
8323
- */
8324
- verificationStatusReason?: string | undefined;
8325
- /**
8326
- * <p>The updated verification details for the target domain.</p>
8327
- * @public
8328
- */
8329
- verificationDetails?: VerificationDetails | undefined;
8330
- /**
8331
- * <p>The date and time the target domain was created, in UTC format.</p>
8332
- * @public
8333
- */
8334
- createdAt?: Date | undefined;
8335
- /**
8336
- * <p>The date and time the target domain was verified, in UTC format.</p>
8337
- * @public
8338
- */
8339
- verifiedAt?: Date | undefined;
8340
- }
8341
- /**
8342
- * <p>Input for UntagResource operation.</p>
8343
- * @public
8344
- */
8345
- export interface UntagResourceInput {
8346
- /**
8347
- * <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
8348
- * @public
8349
- */
8350
- resourceArn: string | undefined;
8351
- /**
8352
- * <p>The list of tag keys to remove from the resource.</p>
8353
- * @public
8354
- */
8355
- tagKeys: string[] | undefined;
8356
- }
8357
- /**
8358
- * <p>Output for UntagResource operation.</p>
8359
- * @public
8360
- */
8361
- export interface UntagResourceOutput {
8362
- }
8363
- /**
8364
- * <p>Input for updating an existing code review.</p>
8365
- * @public
8366
- */
8367
- export interface UpdateCodeReviewInput {
8368
- /**
8369
- * <p>The unique identifier of the code review to update.</p>
8370
- * @public
8371
- */
8372
- codeReviewId: string | undefined;
8373
- /**
8374
- * <p>The unique identifier of the agent space that contains the code review.</p>
8375
- * @public
8376
- */
8377
- agentSpaceId: string | undefined;
8378
- /**
8379
- * <p>The updated title of the code review.</p>
8380
- * @public
8381
- */
8382
- title?: string | undefined;
8383
- /**
8384
- * <p>The updated assets for the code review.</p>
8385
- * @public
8386
- */
8387
- assets?: Assets | undefined;
8388
- /**
8389
- * <p>The updated IAM service role for the code review.</p>
8390
- * @public
8391
- */
8392
- serviceRole?: string | undefined;
8393
- /**
8394
- * <p>The updated CloudWatch Logs configuration for the code review.</p>
8395
- * @public
8396
- */
8397
- logConfig?: CloudWatchLog | undefined;
8398
- /**
8399
- * <p>The updated code remediation strategy for the code review.</p>
8400
- * @public
8401
- */
8402
- codeRemediationStrategy?: CodeRemediationStrategy | undefined;
8403
- /**
8404
- * <p>The updated validation mode for the code review. Valid values are SIMULATED and DISABLED.</p>
8405
- * @public
8406
- */
8407
- validationMode?: ValidationMode | undefined;
8408
- /**
8409
- * <p>The updated maximum number of billable task hours allowed for jobs started from this code review.</p>
8410
- * @public
8411
- */
8412
- maxTaskHours?: number | undefined;
8413
- /**
8414
- * <p>The destination for publishing scan reports to an integrated document provider.</p>
8415
- * @public
8416
- */
8417
- reportDestination?: ReportDestination | undefined;
8418
- /**
8419
- * <p>The report-generation filters applied when the report is exported.</p>
8420
- * @public
8421
- */
8422
- reportFilters?: ReportFilters | undefined;
8423
- }