@aws-sdk/client-securityagent 3.1148.0 → 3.1150.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.
- package/README.md +14 -0
- package/dist-cjs/index.js +232 -73
- package/dist-es/SecurityAgent.js +4 -0
- package/dist-es/commands/BatchDisassociateFindingIssueCommand.js +4 -0
- package/dist-es/commands/BatchExportFindingsCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/SecurityAgentServiceException.js +1 -0
- package/dist-es/models/enums.js +14 -7
- package/dist-es/models/errors.js +7 -0
- package/dist-es/schemas/schemas_0.js +182 -65
- package/dist-types/SecurityAgent.d.ts +14 -0
- package/dist-types/SecurityAgentClient.d.ts +4 -2
- package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
- package/dist-types/commands/BatchDisassociateFindingIssueCommand.d.ts +103 -0
- package/dist-types/commands/BatchExportFindingsCommand.d.ts +121 -0
- package/dist-types/commands/BatchGetFindingsCommand.d.ts +9 -0
- package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +3 -0
- package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
- package/dist-types/commands/CreateIntegrationCommand.d.ts +7 -1
- package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
- package/dist-types/commands/GetIntegrationCommand.d.ts +3 -2
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +1 -1
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -1
- package/dist-types/commands/ListIntegrationsCommand.d.ts +4 -4
- package/dist-types/commands/StopCodeReviewJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPentestJobCommand.d.ts +1 -1
- package/dist-types/commands/StopThreatModelJobCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCodeReviewCommand.d.ts +1 -1
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +6 -0
- package/dist-types/commands/UpdateTargetDomainCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/SecurityAgentServiceException.d.ts +1 -0
- package/dist-types/models/enums.d.ts +36 -15
- package/dist-types/models/errors.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +436 -314
- package/dist-types/models/models_1.d.ts +311 -2
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +34 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/BatchDisassociateFindingIssueCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/BatchExportFindingsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StopCodeReviewJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPentestJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopThreatModelJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCodeReviewCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateTargetDomainCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/SecurityAgentServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +16 -8
- package/dist-types/ts3.4/models/errors.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +150 -66
- package/dist-types/ts3.4/models/models_1.d.ts +72 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AccessType, ArtifactType, AuthenticationProviderType, CleanUpStrategy, CodeRemediationStrategy, CodeRemediationTaskStatus, ConfidenceLevel, ContextType, DNSRecordType, DomainVerificationMethod, ErrorCode, FindingStatus, GitLabTokenType, IpAddressType, JobStatus, JobType, LogType, ManagementType, MembershipType, MembershipTypeFilter, NetworkTrafficRuleEffect, NetworkTrafficRuleType, PrivateConnectionStatus, PrivateConnectionType, Provider, ProviderType, ResourceConfigDnsResolution, ResourceType, RiskLevel, RiskType, ScopeDecision, SecurityRequirementArtifactFormat, SecurityRequirementPackImportStatus, SecurityRequirementPackStatus, SkillType, StepName, StepStatus, StrideCategory, TargetDomainStatus, TaskExecutionStatus, ThreatActor, ThreatSeverity, ThreatStatus, TriggerEvent, TriggerFilterMatchMode, TriggerFilterType, UserRole, ValidationMode, ValidationStatus, WebhookAction } from "./enums";
|
|
1
|
+
import type { AccessType, ArtifactType, AuthenticationProviderType, CleanUpStrategy, CodeRemediationStrategy, CodeRemediationTaskStatus, ConfidenceLevel, ContextType, DNSRecordType, DomainVerificationMethod, ErrorCode, FindingStatus, GitLabTokenType, IpAddressType, JobStatus, JobType, LogType, ManagementType, MembershipType, MembershipTypeFilter, NetworkTrafficRuleEffect, NetworkTrafficRuleType, PrivateConnectionStatus, PrivateConnectionType, Provider, ProviderType, ResourceConfigDnsResolution, ResourceType, RiskLevel, RiskType, ScopeDecision, SecurityRequirementArtifactFormat, SecurityRequirementPackImportStatus, SecurityRequirementPackStatus, SkillType, StepName, StepStatus, StrideCategory, TargetDomainStatus, TaskExecutionStatus, TestScopeType, ThreatActor, ThreatSeverity, ThreatStatus, TriggerEvent, TriggerFilterMatchMode, TriggerFilterType, UserRole, ValidationMode, ValidationStatus, WebhookAction } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>The authentication configuration for an actor, specifying the provider type and credentials.</p>
|
|
4
4
|
* @public
|
|
@@ -1454,6 +1454,17 @@ export interface ReportFilters {
|
|
|
1454
1454
|
*/
|
|
1455
1455
|
complianceReport?: boolean | undefined;
|
|
1456
1456
|
}
|
|
1457
|
+
/**
|
|
1458
|
+
* <p>The category of application a pentest targets.</p>
|
|
1459
|
+
* @public
|
|
1460
|
+
*/
|
|
1461
|
+
export interface TestScope {
|
|
1462
|
+
/**
|
|
1463
|
+
* <p>The category of application under test.</p>
|
|
1464
|
+
* @public
|
|
1465
|
+
*/
|
|
1466
|
+
type: TestScopeType | undefined;
|
|
1467
|
+
}
|
|
1457
1468
|
/**
|
|
1458
1469
|
* <p>Represents a pentest configuration that defines the parameters for security testing, including target assets, risk type exclusions, and infrastructure settings.</p>
|
|
1459
1470
|
* @public
|
|
@@ -1539,6 +1550,11 @@ export interface Pentest {
|
|
|
1539
1550
|
* @public
|
|
1540
1551
|
*/
|
|
1541
1552
|
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
1553
|
+
/**
|
|
1554
|
+
* <p>The category of application a pentest targets.</p>
|
|
1555
|
+
* @public
|
|
1556
|
+
*/
|
|
1557
|
+
testScope?: TestScope | undefined;
|
|
1542
1558
|
/**
|
|
1543
1559
|
* <p>The date and time the pentest was created, in UTC format.</p>
|
|
1544
1560
|
* @public
|
|
@@ -1660,6 +1676,205 @@ export interface BatchDeleteThreatModelsOutput {
|
|
|
1660
1676
|
*/
|
|
1661
1677
|
failed?: DeleteThreatModelFailure[] | undefined;
|
|
1662
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
|
+
}
|
|
1663
1878
|
/**
|
|
1664
1879
|
* @public
|
|
1665
1880
|
*/
|
|
@@ -2370,6 +2585,11 @@ export interface Finding {
|
|
|
2370
2585
|
* @public
|
|
2371
2586
|
*/
|
|
2372
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;
|
|
2373
2593
|
/**
|
|
2374
2594
|
* <p>The date and time the finding was created, in UTC format.</p>
|
|
2375
2595
|
* @public
|
|
@@ -2625,6 +2845,11 @@ export interface PentestJob {
|
|
|
2625
2845
|
* @public
|
|
2626
2846
|
*/
|
|
2627
2847
|
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
2848
|
+
/**
|
|
2849
|
+
* <p>The category of application a pentest targets.</p>
|
|
2850
|
+
* @public
|
|
2851
|
+
*/
|
|
2852
|
+
testScope?: TestScope | undefined;
|
|
2628
2853
|
/**
|
|
2629
2854
|
* <p>The date and time the pentest job was created, in UTC format.</p>
|
|
2630
2855
|
* @public
|
|
@@ -4060,11 +4285,37 @@ export interface GitLabIntegrationInput {
|
|
|
4060
4285
|
*/
|
|
4061
4286
|
groupId?: string | undefined;
|
|
4062
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
|
+
}
|
|
4063
4314
|
/**
|
|
4064
4315
|
* <p>The provider-specific input for creating an integration. This is a union type that contains provider-specific configuration.</p>
|
|
4065
4316
|
* @public
|
|
4066
4317
|
*/
|
|
4067
|
-
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;
|
|
4068
4319
|
/**
|
|
4069
4320
|
* @public
|
|
4070
4321
|
*/
|
|
@@ -4080,6 +4331,7 @@ export declare namespace ProviderInput {
|
|
|
4080
4331
|
confluence?: never;
|
|
4081
4332
|
azureDevOps?: never;
|
|
4082
4333
|
bitbucketDataCenter?: never;
|
|
4334
|
+
jira?: never;
|
|
4083
4335
|
$unknown?: never;
|
|
4084
4336
|
}
|
|
4085
4337
|
/**
|
|
@@ -4093,6 +4345,7 @@ export declare namespace ProviderInput {
|
|
|
4093
4345
|
confluence?: never;
|
|
4094
4346
|
azureDevOps?: never;
|
|
4095
4347
|
bitbucketDataCenter?: never;
|
|
4348
|
+
jira?: never;
|
|
4096
4349
|
$unknown?: never;
|
|
4097
4350
|
}
|
|
4098
4351
|
/**
|
|
@@ -4106,6 +4359,7 @@ export declare namespace ProviderInput {
|
|
|
4106
4359
|
confluence?: never;
|
|
4107
4360
|
azureDevOps?: never;
|
|
4108
4361
|
bitbucketDataCenter?: never;
|
|
4362
|
+
jira?: never;
|
|
4109
4363
|
$unknown?: never;
|
|
4110
4364
|
}
|
|
4111
4365
|
/**
|
|
@@ -4119,6 +4373,7 @@ export declare namespace ProviderInput {
|
|
|
4119
4373
|
confluence: ConfluenceIntegrationInput;
|
|
4120
4374
|
azureDevOps?: never;
|
|
4121
4375
|
bitbucketDataCenter?: never;
|
|
4376
|
+
jira?: never;
|
|
4122
4377
|
$unknown?: never;
|
|
4123
4378
|
}
|
|
4124
4379
|
/**
|
|
@@ -4132,6 +4387,7 @@ export declare namespace ProviderInput {
|
|
|
4132
4387
|
confluence?: never;
|
|
4133
4388
|
azureDevOps: AzureDevOpsIntegrationInput;
|
|
4134
4389
|
bitbucketDataCenter?: never;
|
|
4390
|
+
jira?: never;
|
|
4135
4391
|
$unknown?: never;
|
|
4136
4392
|
}
|
|
4137
4393
|
/**
|
|
@@ -4145,6 +4401,21 @@ export declare namespace ProviderInput {
|
|
|
4145
4401
|
confluence?: never;
|
|
4146
4402
|
azureDevOps?: never;
|
|
4147
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;
|
|
4148
4419
|
$unknown?: never;
|
|
4149
4420
|
}
|
|
4150
4421
|
/**
|
|
@@ -4157,6 +4428,7 @@ export declare namespace ProviderInput {
|
|
|
4157
4428
|
confluence?: never;
|
|
4158
4429
|
azureDevOps?: never;
|
|
4159
4430
|
bitbucketDataCenter?: never;
|
|
4431
|
+
jira?: never;
|
|
4160
4432
|
$unknown: [string, any];
|
|
4161
4433
|
}
|
|
4162
4434
|
/**
|
|
@@ -4170,6 +4442,7 @@ export declare namespace ProviderInput {
|
|
|
4170
4442
|
confluence: (value: ConfluenceIntegrationInput) => T;
|
|
4171
4443
|
azureDevOps: (value: AzureDevOpsIntegrationInput) => T;
|
|
4172
4444
|
bitbucketDataCenter: (value: BitbucketDataCenterIntegrationInput) => T;
|
|
4445
|
+
jira: (value: JiraIntegrationInput) => T;
|
|
4173
4446
|
_: (name: string, value: any) => T;
|
|
4174
4447
|
}
|
|
4175
4448
|
}
|
|
@@ -4374,6 +4647,11 @@ export interface CreatePentestInput {
|
|
|
4374
4647
|
* @public
|
|
4375
4648
|
*/
|
|
4376
4649
|
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
4650
|
+
/**
|
|
4651
|
+
* <p>The category of application a pentest targets.</p>
|
|
4652
|
+
* @public
|
|
4653
|
+
*/
|
|
4654
|
+
testScope?: TestScope | undefined;
|
|
4377
4655
|
}
|
|
4378
4656
|
/**
|
|
4379
4657
|
* <p>Output for the CreatePentest operation.</p>
|
|
@@ -4440,6 +4718,11 @@ export interface CreatePentestOutput {
|
|
|
4440
4718
|
* @public
|
|
4441
4719
|
*/
|
|
4442
4720
|
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
4721
|
+
/**
|
|
4722
|
+
* <p>The category of application a pentest targets.</p>
|
|
4723
|
+
* @public
|
|
4724
|
+
*/
|
|
4725
|
+
testScope?: TestScope | undefined;
|
|
4443
4726
|
}
|
|
4444
4727
|
/**
|
|
4445
4728
|
* <p>The configuration for a self-managed private connection.</p>
|
|
@@ -5537,6 +5820,11 @@ export interface GetIntegrationOutput {
|
|
|
5537
5820
|
* @public
|
|
5538
5821
|
*/
|
|
5539
5822
|
targetUrl?: string | undefined;
|
|
5823
|
+
/**
|
|
5824
|
+
* <p>The Atlassian Cloud site URL for Atlassian integrations.</p>
|
|
5825
|
+
* @public
|
|
5826
|
+
*/
|
|
5827
|
+
siteUrl?: string | undefined;
|
|
5540
5828
|
/**
|
|
5541
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>
|
|
5542
5830
|
* @public
|
|
@@ -5868,11 +6156,37 @@ export interface InitiateProviderRegistrationOutput {
|
|
|
5868
6156
|
*/
|
|
5869
6157
|
csrfState: string | undefined;
|
|
5870
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
|
+
}
|
|
5871
6185
|
/**
|
|
5872
6186
|
* <p>Represents an integrated resource from a third-party provider. This is a union type that contains provider-specific resource information.</p>
|
|
5873
6187
|
* @public
|
|
5874
6188
|
*/
|
|
5875
|
-
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;
|
|
5876
6190
|
/**
|
|
5877
6191
|
* @public
|
|
5878
6192
|
*/
|
|
@@ -5887,6 +6201,7 @@ export declare namespace IntegratedResource {
|
|
|
5887
6201
|
bitbucketRepository?: never;
|
|
5888
6202
|
confluenceDocument?: never;
|
|
5889
6203
|
azureDevOpsRepository?: never;
|
|
6204
|
+
jiraProject?: never;
|
|
5890
6205
|
$unknown?: never;
|
|
5891
6206
|
}
|
|
5892
6207
|
/**
|
|
@@ -5899,6 +6214,7 @@ export declare namespace IntegratedResource {
|
|
|
5899
6214
|
bitbucketRepository?: never;
|
|
5900
6215
|
confluenceDocument?: never;
|
|
5901
6216
|
azureDevOpsRepository?: never;
|
|
6217
|
+
jiraProject?: never;
|
|
5902
6218
|
$unknown?: never;
|
|
5903
6219
|
}
|
|
5904
6220
|
/**
|
|
@@ -5911,6 +6227,7 @@ export declare namespace IntegratedResource {
|
|
|
5911
6227
|
bitbucketRepository: BitbucketRepositoryResource;
|
|
5912
6228
|
confluenceDocument?: never;
|
|
5913
6229
|
azureDevOpsRepository?: never;
|
|
6230
|
+
jiraProject?: never;
|
|
5914
6231
|
$unknown?: never;
|
|
5915
6232
|
}
|
|
5916
6233
|
/**
|
|
@@ -5923,6 +6240,7 @@ export declare namespace IntegratedResource {
|
|
|
5923
6240
|
bitbucketRepository?: never;
|
|
5924
6241
|
confluenceDocument: ConfluenceDocumentResource;
|
|
5925
6242
|
azureDevOpsRepository?: never;
|
|
6243
|
+
jiraProject?: never;
|
|
5926
6244
|
$unknown?: never;
|
|
5927
6245
|
}
|
|
5928
6246
|
/**
|
|
@@ -5935,6 +6253,20 @@ export declare namespace IntegratedResource {
|
|
|
5935
6253
|
bitbucketRepository?: never;
|
|
5936
6254
|
confluenceDocument?: never;
|
|
5937
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;
|
|
5938
6270
|
$unknown?: never;
|
|
5939
6271
|
}
|
|
5940
6272
|
/**
|
|
@@ -5946,6 +6278,7 @@ export declare namespace IntegratedResource {
|
|
|
5946
6278
|
bitbucketRepository?: never;
|
|
5947
6279
|
confluenceDocument?: never;
|
|
5948
6280
|
azureDevOpsRepository?: never;
|
|
6281
|
+
jiraProject?: never;
|
|
5949
6282
|
$unknown: [string, any];
|
|
5950
6283
|
}
|
|
5951
6284
|
/**
|
|
@@ -5958,14 +6291,31 @@ export declare namespace IntegratedResource {
|
|
|
5958
6291
|
bitbucketRepository: (value: BitbucketRepositoryResource) => T;
|
|
5959
6292
|
confluenceDocument: (value: ConfluenceDocumentResource) => T;
|
|
5960
6293
|
azureDevOpsRepository: (value: AzureDevOpsRepositoryResource) => T;
|
|
6294
|
+
jiraProject: (value: JiraProjectResource) => T;
|
|
5961
6295
|
_: (name: string, value: any) => T;
|
|
5962
6296
|
}
|
|
5963
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
|
+
}
|
|
5964
6314
|
/**
|
|
5965
6315
|
* <p>The capabilities for an integrated resource from a third-party provider. This is a union type that contains provider-specific capabilities.</p>
|
|
5966
6316
|
* @public
|
|
5967
6317
|
*/
|
|
5968
|
-
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;
|
|
5969
6319
|
/**
|
|
5970
6320
|
* @public
|
|
5971
6321
|
*/
|
|
@@ -5980,6 +6330,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
5980
6330
|
bitbucket?: never;
|
|
5981
6331
|
confluence?: never;
|
|
5982
6332
|
azureDevOps?: never;
|
|
6333
|
+
jira?: never;
|
|
5983
6334
|
$unknown?: never;
|
|
5984
6335
|
}
|
|
5985
6336
|
/**
|
|
@@ -5992,6 +6343,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
5992
6343
|
bitbucket?: never;
|
|
5993
6344
|
confluence?: never;
|
|
5994
6345
|
azureDevOps?: never;
|
|
6346
|
+
jira?: never;
|
|
5995
6347
|
$unknown?: never;
|
|
5996
6348
|
}
|
|
5997
6349
|
/**
|
|
@@ -6004,6 +6356,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
6004
6356
|
bitbucket: BitbucketResourceCapabilities;
|
|
6005
6357
|
confluence?: never;
|
|
6006
6358
|
azureDevOps?: never;
|
|
6359
|
+
jira?: never;
|
|
6007
6360
|
$unknown?: never;
|
|
6008
6361
|
}
|
|
6009
6362
|
/**
|
|
@@ -6016,6 +6369,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
6016
6369
|
bitbucket?: never;
|
|
6017
6370
|
confluence: ConfluenceResourceCapabilities;
|
|
6018
6371
|
azureDevOps?: never;
|
|
6372
|
+
jira?: never;
|
|
6019
6373
|
$unknown?: never;
|
|
6020
6374
|
}
|
|
6021
6375
|
/**
|
|
@@ -6028,6 +6382,20 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
6028
6382
|
bitbucket?: never;
|
|
6029
6383
|
confluence?: never;
|
|
6030
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;
|
|
6031
6399
|
$unknown?: never;
|
|
6032
6400
|
}
|
|
6033
6401
|
/**
|
|
@@ -6039,6 +6407,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
6039
6407
|
bitbucket?: never;
|
|
6040
6408
|
confluence?: never;
|
|
6041
6409
|
azureDevOps?: never;
|
|
6410
|
+
jira?: never;
|
|
6042
6411
|
$unknown: [string, any];
|
|
6043
6412
|
}
|
|
6044
6413
|
/**
|
|
@@ -6051,6 +6420,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
6051
6420
|
bitbucket: (value: BitbucketResourceCapabilities) => T;
|
|
6052
6421
|
confluence: (value: ConfluenceResourceCapabilities) => T;
|
|
6053
6422
|
azureDevOps: (value: AzureDevOpsResourceCapabilities) => T;
|
|
6423
|
+
jira: (value: JiraResourceCapabilities) => T;
|
|
6054
6424
|
_: (name: string, value: any) => T;
|
|
6055
6425
|
}
|
|
6056
6426
|
}
|
|
@@ -6071,24 +6441,56 @@ export interface IntegratedResourceInputItem {
|
|
|
6071
6441
|
capabilities?: ProviderResourceCapabilities | undefined;
|
|
6072
6442
|
}
|
|
6073
6443
|
/**
|
|
6074
|
-
* <p>Contains metadata about
|
|
6075
|
-
* @public
|
|
6076
|
-
*/
|
|
6077
|
-
export type IntegratedResourceMetadata = IntegratedResourceMetadata.AzureDevOpsRepositoryMember | IntegratedResourceMetadata.BitbucketRepositoryMember | IntegratedResourceMetadata.ConfluenceDocumentMember | IntegratedResourceMetadata.GithubRepositoryMember | IntegratedResourceMetadata.GitlabRepositoryMember | IntegratedResourceMetadata.$UnknownMember;
|
|
6078
|
-
/**
|
|
6444
|
+
* <p>Contains metadata about a Jira project that is integrated with the service.</p>
|
|
6079
6445
|
* @public
|
|
6080
6446
|
*/
|
|
6081
|
-
export
|
|
6447
|
+
export interface JiraProjectMetadata {
|
|
6082
6448
|
/**
|
|
6083
|
-
* <p>
|
|
6449
|
+
* <p>Name of the resource e.g. repository name, etc.</p>
|
|
6084
6450
|
* @public
|
|
6085
6451
|
*/
|
|
6086
|
-
|
|
6087
|
-
|
|
6088
|
-
|
|
6089
|
-
|
|
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
|
+
}
|
|
6474
|
+
/**
|
|
6475
|
+
* <p>Contains metadata about an integrated resource. This is a union type that contains provider-specific metadata.</p>
|
|
6476
|
+
* @public
|
|
6477
|
+
*/
|
|
6478
|
+
export type IntegratedResourceMetadata = IntegratedResourceMetadata.AzureDevOpsRepositoryMember | IntegratedResourceMetadata.BitbucketRepositoryMember | IntegratedResourceMetadata.ConfluenceDocumentMember | IntegratedResourceMetadata.GithubRepositoryMember | IntegratedResourceMetadata.GitlabRepositoryMember | IntegratedResourceMetadata.JiraProjectMember | IntegratedResourceMetadata.$UnknownMember;
|
|
6479
|
+
/**
|
|
6480
|
+
* @public
|
|
6481
|
+
*/
|
|
6482
|
+
export declare namespace IntegratedResourceMetadata {
|
|
6483
|
+
/**
|
|
6484
|
+
* <p>The GitHub repository metadata.</p>
|
|
6485
|
+
* @public
|
|
6486
|
+
*/
|
|
6487
|
+
interface GithubRepositoryMember {
|
|
6488
|
+
githubRepository: GitHubRepositoryMetadata;
|
|
6489
|
+
gitlabRepository?: never;
|
|
6490
|
+
bitbucketRepository?: never;
|
|
6090
6491
|
confluenceDocument?: never;
|
|
6091
6492
|
azureDevOpsRepository?: never;
|
|
6493
|
+
jiraProject?: never;
|
|
6092
6494
|
$unknown?: never;
|
|
6093
6495
|
}
|
|
6094
6496
|
/**
|
|
@@ -6101,6 +6503,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
6101
6503
|
bitbucketRepository?: never;
|
|
6102
6504
|
confluenceDocument?: never;
|
|
6103
6505
|
azureDevOpsRepository?: never;
|
|
6506
|
+
jiraProject?: never;
|
|
6104
6507
|
$unknown?: never;
|
|
6105
6508
|
}
|
|
6106
6509
|
/**
|
|
@@ -6113,6 +6516,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
6113
6516
|
bitbucketRepository: BitbucketRepositoryMetadata;
|
|
6114
6517
|
confluenceDocument?: never;
|
|
6115
6518
|
azureDevOpsRepository?: never;
|
|
6519
|
+
jiraProject?: never;
|
|
6116
6520
|
$unknown?: never;
|
|
6117
6521
|
}
|
|
6118
6522
|
/**
|
|
@@ -6125,6 +6529,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
6125
6529
|
bitbucketRepository?: never;
|
|
6126
6530
|
confluenceDocument: ConfluenceDocumentMetadata;
|
|
6127
6531
|
azureDevOpsRepository?: never;
|
|
6532
|
+
jiraProject?: never;
|
|
6128
6533
|
$unknown?: never;
|
|
6129
6534
|
}
|
|
6130
6535
|
/**
|
|
@@ -6137,6 +6542,20 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
6137
6542
|
bitbucketRepository?: never;
|
|
6138
6543
|
confluenceDocument?: never;
|
|
6139
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;
|
|
6140
6559
|
$unknown?: never;
|
|
6141
6560
|
}
|
|
6142
6561
|
/**
|
|
@@ -6148,6 +6567,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
6148
6567
|
bitbucketRepository?: never;
|
|
6149
6568
|
confluenceDocument?: never;
|
|
6150
6569
|
azureDevOpsRepository?: never;
|
|
6570
|
+
jiraProject?: never;
|
|
6151
6571
|
$unknown: [string, any];
|
|
6152
6572
|
}
|
|
6153
6573
|
/**
|
|
@@ -6160,6 +6580,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
6160
6580
|
bitbucketRepository: (value: BitbucketRepositoryMetadata) => T;
|
|
6161
6581
|
confluenceDocument: (value: ConfluenceDocumentMetadata) => T;
|
|
6162
6582
|
azureDevOpsRepository: (value: AzureDevOpsRepositoryMetadata) => T;
|
|
6583
|
+
jiraProject: (value: JiraProjectMetadata) => T;
|
|
6163
6584
|
_: (name: string, value: any) => T;
|
|
6164
6585
|
}
|
|
6165
6586
|
}
|
|
@@ -8162,302 +8583,3 @@ export interface StartThreatModelJobOutput {
|
|
|
8162
8583
|
*/
|
|
8163
8584
|
agentSpaceId?: string | undefined;
|
|
8164
8585
|
}
|
|
8165
|
-
/**
|
|
8166
|
-
* <p>Input for stopping the execution of a code review job.</p>
|
|
8167
|
-
* @public
|
|
8168
|
-
*/
|
|
8169
|
-
export interface StopCodeReviewJobInput {
|
|
8170
|
-
/**
|
|
8171
|
-
* <p>The unique identifier of the agent space.</p>
|
|
8172
|
-
* @public
|
|
8173
|
-
*/
|
|
8174
|
-
agentSpaceId: string | undefined;
|
|
8175
|
-
/**
|
|
8176
|
-
* <p>The unique identifier of the code review job to stop.</p>
|
|
8177
|
-
* @public
|
|
8178
|
-
*/
|
|
8179
|
-
codeReviewJobId: string | undefined;
|
|
8180
|
-
}
|
|
8181
|
-
/**
|
|
8182
|
-
* <p>Output for the StopCodeReviewJob operation.</p>
|
|
8183
|
-
* @public
|
|
8184
|
-
*/
|
|
8185
|
-
export interface StopCodeReviewJobOutput {
|
|
8186
|
-
}
|
|
8187
|
-
/**
|
|
8188
|
-
* <p>Input for stopping the execution of a pentest.</p>
|
|
8189
|
-
* @public
|
|
8190
|
-
*/
|
|
8191
|
-
export interface StopPentestJobInput {
|
|
8192
|
-
/**
|
|
8193
|
-
* <p>The unique identifier of the agent space.</p>
|
|
8194
|
-
* @public
|
|
8195
|
-
*/
|
|
8196
|
-
agentSpaceId: string | undefined;
|
|
8197
|
-
/**
|
|
8198
|
-
* <p>The unique identifier of the pentest job to stop.</p>
|
|
8199
|
-
* @public
|
|
8200
|
-
*/
|
|
8201
|
-
pentestJobId: string | undefined;
|
|
8202
|
-
}
|
|
8203
|
-
/**
|
|
8204
|
-
* <p>Output for the StopPentestJob operation.</p>
|
|
8205
|
-
* @public
|
|
8206
|
-
*/
|
|
8207
|
-
export interface StopPentestJobOutput {
|
|
8208
|
-
}
|
|
8209
|
-
/**
|
|
8210
|
-
* <p>Input for stopping a threat model job.</p>
|
|
8211
|
-
* @public
|
|
8212
|
-
*/
|
|
8213
|
-
export interface StopThreatModelJobInput {
|
|
8214
|
-
/**
|
|
8215
|
-
* <p>The unique identifier of the agent space.</p>
|
|
8216
|
-
* @public
|
|
8217
|
-
*/
|
|
8218
|
-
agentSpaceId: string | undefined;
|
|
8219
|
-
/**
|
|
8220
|
-
* <p>The unique identifier of the threat model job to stop.</p>
|
|
8221
|
-
* @public
|
|
8222
|
-
*/
|
|
8223
|
-
threatModelJobId: string | undefined;
|
|
8224
|
-
}
|
|
8225
|
-
/**
|
|
8226
|
-
* <p>Output for the StopThreatModelJob operation.</p>
|
|
8227
|
-
* @public
|
|
8228
|
-
*/
|
|
8229
|
-
export interface StopThreatModelJobOutput {
|
|
8230
|
-
}
|
|
8231
|
-
/**
|
|
8232
|
-
* <p>Input for TagResource operation.</p>
|
|
8233
|
-
* @public
|
|
8234
|
-
*/
|
|
8235
|
-
export interface TagResourceInput {
|
|
8236
|
-
/**
|
|
8237
|
-
* <p>The Amazon Resource Name (ARN) of the resource to tag.</p>
|
|
8238
|
-
* @public
|
|
8239
|
-
*/
|
|
8240
|
-
resourceArn: string | undefined;
|
|
8241
|
-
/**
|
|
8242
|
-
* <p>The tags to add to the resource.</p>
|
|
8243
|
-
* @public
|
|
8244
|
-
*/
|
|
8245
|
-
tags: Record<string, string> | undefined;
|
|
8246
|
-
}
|
|
8247
|
-
/**
|
|
8248
|
-
* <p>Output for TagResource operation.</p>
|
|
8249
|
-
* @public
|
|
8250
|
-
*/
|
|
8251
|
-
export interface TagResourceOutput {
|
|
8252
|
-
}
|
|
8253
|
-
/**
|
|
8254
|
-
* <p>Input for updating a target domain.</p>
|
|
8255
|
-
* @public
|
|
8256
|
-
*/
|
|
8257
|
-
export interface UpdateTargetDomainInput {
|
|
8258
|
-
/**
|
|
8259
|
-
* <p>The unique identifier of the target domain to update.</p>
|
|
8260
|
-
* @public
|
|
8261
|
-
*/
|
|
8262
|
-
targetDomainId: string | undefined;
|
|
8263
|
-
/**
|
|
8264
|
-
* <p>The updated verification method for the target domain.</p>
|
|
8265
|
-
* @public
|
|
8266
|
-
*/
|
|
8267
|
-
verificationMethod: DomainVerificationMethod | undefined;
|
|
8268
|
-
}
|
|
8269
|
-
/**
|
|
8270
|
-
* <p>Output for the UpdateTargetDomain operation.</p>
|
|
8271
|
-
* @public
|
|
8272
|
-
*/
|
|
8273
|
-
export interface UpdateTargetDomainOutput {
|
|
8274
|
-
/**
|
|
8275
|
-
* <p>The unique identifier of the target domain.</p>
|
|
8276
|
-
* @public
|
|
8277
|
-
*/
|
|
8278
|
-
targetDomainId: string | undefined;
|
|
8279
|
-
/**
|
|
8280
|
-
* <p>The domain name of the target domain.</p>
|
|
8281
|
-
* @public
|
|
8282
|
-
*/
|
|
8283
|
-
domainName: string | undefined;
|
|
8284
|
-
/**
|
|
8285
|
-
* <p>The current verification status of the target domain.</p>
|
|
8286
|
-
* @public
|
|
8287
|
-
*/
|
|
8288
|
-
verificationStatus: TargetDomainStatus | undefined;
|
|
8289
|
-
/**
|
|
8290
|
-
* <p>The reason for the current target domain verification status.</p>
|
|
8291
|
-
* @public
|
|
8292
|
-
*/
|
|
8293
|
-
verificationStatusReason?: string | undefined;
|
|
8294
|
-
/**
|
|
8295
|
-
* <p>The updated verification details for the target domain.</p>
|
|
8296
|
-
* @public
|
|
8297
|
-
*/
|
|
8298
|
-
verificationDetails?: VerificationDetails | undefined;
|
|
8299
|
-
/**
|
|
8300
|
-
* <p>The date and time the target domain was created, in UTC format.</p>
|
|
8301
|
-
* @public
|
|
8302
|
-
*/
|
|
8303
|
-
createdAt?: Date | undefined;
|
|
8304
|
-
/**
|
|
8305
|
-
* <p>The date and time the target domain was verified, in UTC format.</p>
|
|
8306
|
-
* @public
|
|
8307
|
-
*/
|
|
8308
|
-
verifiedAt?: Date | undefined;
|
|
8309
|
-
}
|
|
8310
|
-
/**
|
|
8311
|
-
* <p>Input for UntagResource operation.</p>
|
|
8312
|
-
* @public
|
|
8313
|
-
*/
|
|
8314
|
-
export interface UntagResourceInput {
|
|
8315
|
-
/**
|
|
8316
|
-
* <p>The Amazon Resource Name (ARN) of the resource to remove tags from.</p>
|
|
8317
|
-
* @public
|
|
8318
|
-
*/
|
|
8319
|
-
resourceArn: string | undefined;
|
|
8320
|
-
/**
|
|
8321
|
-
* <p>The list of tag keys to remove from the resource.</p>
|
|
8322
|
-
* @public
|
|
8323
|
-
*/
|
|
8324
|
-
tagKeys: string[] | undefined;
|
|
8325
|
-
}
|
|
8326
|
-
/**
|
|
8327
|
-
* <p>Output for UntagResource operation.</p>
|
|
8328
|
-
* @public
|
|
8329
|
-
*/
|
|
8330
|
-
export interface UntagResourceOutput {
|
|
8331
|
-
}
|
|
8332
|
-
/**
|
|
8333
|
-
* <p>Input for updating an existing code review.</p>
|
|
8334
|
-
* @public
|
|
8335
|
-
*/
|
|
8336
|
-
export interface UpdateCodeReviewInput {
|
|
8337
|
-
/**
|
|
8338
|
-
* <p>The unique identifier of the code review to update.</p>
|
|
8339
|
-
* @public
|
|
8340
|
-
*/
|
|
8341
|
-
codeReviewId: string | undefined;
|
|
8342
|
-
/**
|
|
8343
|
-
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
8344
|
-
* @public
|
|
8345
|
-
*/
|
|
8346
|
-
agentSpaceId: string | undefined;
|
|
8347
|
-
/**
|
|
8348
|
-
* <p>The updated title of the code review.</p>
|
|
8349
|
-
* @public
|
|
8350
|
-
*/
|
|
8351
|
-
title?: string | undefined;
|
|
8352
|
-
/**
|
|
8353
|
-
* <p>The updated assets for the code review.</p>
|
|
8354
|
-
* @public
|
|
8355
|
-
*/
|
|
8356
|
-
assets?: Assets | undefined;
|
|
8357
|
-
/**
|
|
8358
|
-
* <p>The updated IAM service role for the code review.</p>
|
|
8359
|
-
* @public
|
|
8360
|
-
*/
|
|
8361
|
-
serviceRole?: string | undefined;
|
|
8362
|
-
/**
|
|
8363
|
-
* <p>The updated CloudWatch Logs configuration for the code review.</p>
|
|
8364
|
-
* @public
|
|
8365
|
-
*/
|
|
8366
|
-
logConfig?: CloudWatchLog | undefined;
|
|
8367
|
-
/**
|
|
8368
|
-
* <p>The updated code remediation strategy for the code review.</p>
|
|
8369
|
-
* @public
|
|
8370
|
-
*/
|
|
8371
|
-
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
8372
|
-
/**
|
|
8373
|
-
* <p>The updated validation mode for the code review. Valid values are SIMULATED and DISABLED.</p>
|
|
8374
|
-
* @public
|
|
8375
|
-
*/
|
|
8376
|
-
validationMode?: ValidationMode | undefined;
|
|
8377
|
-
/**
|
|
8378
|
-
* <p>The updated maximum number of billable task hours allowed for jobs started from this code review.</p>
|
|
8379
|
-
* @public
|
|
8380
|
-
*/
|
|
8381
|
-
maxTaskHours?: number | undefined;
|
|
8382
|
-
/**
|
|
8383
|
-
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
8384
|
-
* @public
|
|
8385
|
-
*/
|
|
8386
|
-
reportDestination?: ReportDestination | undefined;
|
|
8387
|
-
/**
|
|
8388
|
-
* <p>The report-generation filters applied when the report is exported.</p>
|
|
8389
|
-
* @public
|
|
8390
|
-
*/
|
|
8391
|
-
reportFilters?: ReportFilters | undefined;
|
|
8392
|
-
}
|
|
8393
|
-
/**
|
|
8394
|
-
* <p>Output for the UpdateCodeReview operation.</p>
|
|
8395
|
-
* @public
|
|
8396
|
-
*/
|
|
8397
|
-
export interface UpdateCodeReviewOutput {
|
|
8398
|
-
/**
|
|
8399
|
-
* <p>The unique identifier of the code review.</p>
|
|
8400
|
-
* @public
|
|
8401
|
-
*/
|
|
8402
|
-
codeReviewId: string | undefined;
|
|
8403
|
-
/**
|
|
8404
|
-
* <p>The title of the code review.</p>
|
|
8405
|
-
* @public
|
|
8406
|
-
*/
|
|
8407
|
-
title?: string | undefined;
|
|
8408
|
-
/**
|
|
8409
|
-
* <p>The date and time the code review was created, in UTC format.</p>
|
|
8410
|
-
* @public
|
|
8411
|
-
*/
|
|
8412
|
-
createdAt?: Date | undefined;
|
|
8413
|
-
/**
|
|
8414
|
-
* <p>The date and time the code review was last updated, in UTC format.</p>
|
|
8415
|
-
* @public
|
|
8416
|
-
*/
|
|
8417
|
-
updatedAt?: Date | undefined;
|
|
8418
|
-
/**
|
|
8419
|
-
* <p>The assets included in the code review.</p>
|
|
8420
|
-
* @public
|
|
8421
|
-
*/
|
|
8422
|
-
assets?: Assets | undefined;
|
|
8423
|
-
/**
|
|
8424
|
-
* <p>The IAM service role used for the code review.</p>
|
|
8425
|
-
* @public
|
|
8426
|
-
*/
|
|
8427
|
-
serviceRole?: string | undefined;
|
|
8428
|
-
/**
|
|
8429
|
-
* <p>The CloudWatch Logs configuration for the code review.</p>
|
|
8430
|
-
* @public
|
|
8431
|
-
*/
|
|
8432
|
-
logConfig?: CloudWatchLog | undefined;
|
|
8433
|
-
/**
|
|
8434
|
-
* <p>The unique identifier of the agent space that contains the code review.</p>
|
|
8435
|
-
* @public
|
|
8436
|
-
*/
|
|
8437
|
-
agentSpaceId?: string | undefined;
|
|
8438
|
-
/**
|
|
8439
|
-
* <p>The code remediation strategy for the code review.</p>
|
|
8440
|
-
* @public
|
|
8441
|
-
*/
|
|
8442
|
-
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
8443
|
-
/**
|
|
8444
|
-
* <p>The validation mode for the code review.</p>
|
|
8445
|
-
* @public
|
|
8446
|
-
*/
|
|
8447
|
-
validationMode?: ValidationMode | undefined;
|
|
8448
|
-
/**
|
|
8449
|
-
* <p>The maximum number of billable task hours configured for jobs started from this code review. Null if no budget cap is set.</p>
|
|
8450
|
-
* @public
|
|
8451
|
-
*/
|
|
8452
|
-
maxTaskHours?: number | undefined;
|
|
8453
|
-
/**
|
|
8454
|
-
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
8455
|
-
* @public
|
|
8456
|
-
*/
|
|
8457
|
-
reportDestination?: ReportDestination | undefined;
|
|
8458
|
-
/**
|
|
8459
|
-
* <p>The report-generation filters applied when the report is exported.</p>
|
|
8460
|
-
* @public
|
|
8461
|
-
*/
|
|
8462
|
-
reportFilters?: ReportFilters | undefined;
|
|
8463
|
-
}
|