@aws-sdk/client-securityagent 3.1142.0 → 3.1144.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 +7 -0
- package/dist-cjs/index.js +123 -43
- package/dist-es/SecurityAgent.js +2 -0
- package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +103 -42
- package/dist-types/SecurityAgent.d.ts +7 -0
- package/dist-types/SecurityAgentClient.d.ts +3 -2
- package/dist-types/commands/CreateIntegrationCommand.d.ts +11 -1
- package/dist-types/commands/GetIntegrationCommand.d.ts +2 -1
- package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +5 -1
- package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -0
- package/dist-types/commands/ListIntegrationsCommand.d.ts +3 -2
- package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -1
- package/dist-types/commands/UpdateIntegrationCommand.d.ts +92 -0
- package/dist-types/commands/UpdatePentestCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThreatCommand.d.ts +1 -1
- package/dist-types/commands/UpdateThreatModelCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +19 -0
- package/dist-types/models/models_0.d.ts +281 -427
- package/dist-types/models/models_1.d.ts +422 -2
- package/dist-types/schemas/schemas_0.d.ts +8 -0
- package/dist-types/ts3.4/SecurityAgent.d.ts +17 -0
- package/dist-types/ts3.4/SecurityAgentClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +120 -89
- package/dist-types/ts3.4/models/models_1.d.ts +112 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
- package/package.json +1 -1
|
@@ -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, UserRole, ValidationMode, ValidationStatus } 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, ThreatActor, ThreatSeverity, ThreatStatus, 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
|
|
@@ -974,6 +974,100 @@ export interface Assets {
|
|
|
974
974
|
*/
|
|
975
975
|
trustedCaCertificates?: TrustedCaCertificate[] | undefined;
|
|
976
976
|
}
|
|
977
|
+
/**
|
|
978
|
+
* <p>Connection details for an Azure DevOps integration.</p>
|
|
979
|
+
* @public
|
|
980
|
+
*/
|
|
981
|
+
export interface AzureDevOpsIntegrationInput {
|
|
982
|
+
/**
|
|
983
|
+
* <p>The OAuth 2.0 authorization code returned to your redirect URL after the connection is authorized.</p>
|
|
984
|
+
* @public
|
|
985
|
+
*/
|
|
986
|
+
code: string | undefined;
|
|
987
|
+
/**
|
|
988
|
+
* <p>The CSRF state value returned by <code>InitiateProviderRegistration</code> and echoed back on the authorization redirect.</p>
|
|
989
|
+
* @public
|
|
990
|
+
*/
|
|
991
|
+
state: string | undefined;
|
|
992
|
+
/**
|
|
993
|
+
* <p>The name of the Azure DevOps organization to connect, for example <code>my-org</code>.</p>
|
|
994
|
+
* @public
|
|
995
|
+
*/
|
|
996
|
+
organizationName: string | undefined;
|
|
997
|
+
}
|
|
998
|
+
/**
|
|
999
|
+
* <p>Metadata for an integrated Azure DevOps repository.</p>
|
|
1000
|
+
* @public
|
|
1001
|
+
*/
|
|
1002
|
+
export interface AzureDevOpsRepositoryMetadata {
|
|
1003
|
+
/**
|
|
1004
|
+
* <p>Name of the resource e.g. repository name, etc.</p>
|
|
1005
|
+
* @public
|
|
1006
|
+
*/
|
|
1007
|
+
name: string | undefined;
|
|
1008
|
+
/**
|
|
1009
|
+
* <p>Provider Id of the resource e.g. GitHub repository id, etc.</p>
|
|
1010
|
+
* @public
|
|
1011
|
+
*/
|
|
1012
|
+
providerResourceId: string | undefined;
|
|
1013
|
+
/**
|
|
1014
|
+
* <p>The name of the Azure DevOps organization that owns the repository.</p>
|
|
1015
|
+
* @public
|
|
1016
|
+
*/
|
|
1017
|
+
organization: string | undefined;
|
|
1018
|
+
/**
|
|
1019
|
+
* <p>The name of the Azure DevOps project that contains the repository.</p>
|
|
1020
|
+
* @public
|
|
1021
|
+
*/
|
|
1022
|
+
project?: string | undefined;
|
|
1023
|
+
/**
|
|
1024
|
+
* <p>The GUID of the Azure DevOps project that contains the repository.</p>
|
|
1025
|
+
* @public
|
|
1026
|
+
*/
|
|
1027
|
+
projectId?: string | undefined;
|
|
1028
|
+
/**
|
|
1029
|
+
* <p>Defines the visibility level of provider resources. PRIVATE indicates restricted access, while PUBLIC indicates open access.</p>
|
|
1030
|
+
* @public
|
|
1031
|
+
*/
|
|
1032
|
+
accessType?: AccessType | undefined;
|
|
1033
|
+
}
|
|
1034
|
+
/**
|
|
1035
|
+
* <p>An Azure DevOps repository integrated as a resource.</p>
|
|
1036
|
+
* @public
|
|
1037
|
+
*/
|
|
1038
|
+
export interface AzureDevOpsRepositoryResource {
|
|
1039
|
+
/**
|
|
1040
|
+
* <p>Name of the resource e.g. repository name, etc.</p>
|
|
1041
|
+
* @public
|
|
1042
|
+
*/
|
|
1043
|
+
name: string | undefined;
|
|
1044
|
+
/**
|
|
1045
|
+
* <p>The name of the Azure DevOps organization that owns the repository.</p>
|
|
1046
|
+
* @public
|
|
1047
|
+
*/
|
|
1048
|
+
organization: string | undefined;
|
|
1049
|
+
/**
|
|
1050
|
+
* <p>The name of the Azure DevOps project that contains the repository.</p>
|
|
1051
|
+
* @public
|
|
1052
|
+
*/
|
|
1053
|
+
project?: string | undefined;
|
|
1054
|
+
}
|
|
1055
|
+
/**
|
|
1056
|
+
* <p>Capabilities for an integrated Azure DevOps repository.</p>
|
|
1057
|
+
* @public
|
|
1058
|
+
*/
|
|
1059
|
+
export interface AzureDevOpsResourceCapabilities {
|
|
1060
|
+
/**
|
|
1061
|
+
* <p>Whether to post code review comments on pull requests.</p>
|
|
1062
|
+
* @public
|
|
1063
|
+
*/
|
|
1064
|
+
leaveComments?: boolean | undefined;
|
|
1065
|
+
/**
|
|
1066
|
+
* <p>Whether to create pull requests with automated fixes.</p>
|
|
1067
|
+
* @public
|
|
1068
|
+
*/
|
|
1069
|
+
remediateCode?: boolean | undefined;
|
|
1070
|
+
}
|
|
977
1071
|
/**
|
|
978
1072
|
* <p>Contains information about a successfully created security requirement.</p>
|
|
979
1073
|
* @public
|
|
@@ -3393,6 +3487,27 @@ export interface BatchUpdateSecurityRequirementsOutput {
|
|
|
3393
3487
|
*/
|
|
3394
3488
|
errors: BatchSecurityRequirementError[] | undefined;
|
|
3395
3489
|
}
|
|
3490
|
+
/**
|
|
3491
|
+
* <p>Connection details for a self-managed Bitbucket Data Center integration.</p>
|
|
3492
|
+
* @public
|
|
3493
|
+
*/
|
|
3494
|
+
export interface BitbucketDataCenterIntegrationInput {
|
|
3495
|
+
/**
|
|
3496
|
+
* <p>The HTTPS URL of your Bitbucket Data Center instance, for example <code>https://bitbucket.example.com</code>.</p>
|
|
3497
|
+
* @public
|
|
3498
|
+
*/
|
|
3499
|
+
targetUrl: string | undefined;
|
|
3500
|
+
/**
|
|
3501
|
+
* <p>The OAuth 2.0 authorization code returned to your redirect URL after the connection is authorized.</p>
|
|
3502
|
+
* @public
|
|
3503
|
+
*/
|
|
3504
|
+
code: string | undefined;
|
|
3505
|
+
/**
|
|
3506
|
+
* <p>The CSRF state value returned by <code>InitiateProviderRegistration</code> and echoed back on the authorization redirect.</p>
|
|
3507
|
+
* @public
|
|
3508
|
+
*/
|
|
3509
|
+
state: string | undefined;
|
|
3510
|
+
}
|
|
3396
3511
|
/**
|
|
3397
3512
|
* <p>The configuration for creating a Bitbucket integration.</p>
|
|
3398
3513
|
* @public
|
|
@@ -3897,7 +4012,7 @@ export interface GitLabIntegrationInput {
|
|
|
3897
4012
|
* <p>The provider-specific input for creating an integration. This is a union type that contains provider-specific configuration.</p>
|
|
3898
4013
|
* @public
|
|
3899
4014
|
*/
|
|
3900
|
-
export type ProviderInput = ProviderInput.BitbucketMember | ProviderInput.ConfluenceMember | ProviderInput.GithubMember | ProviderInput.GitlabMember | ProviderInput.$UnknownMember;
|
|
4015
|
+
export type ProviderInput = ProviderInput.AzureDevOpsMember | ProviderInput.BitbucketMember | ProviderInput.BitbucketDataCenterMember | ProviderInput.ConfluenceMember | ProviderInput.GithubMember | ProviderInput.GitlabMember | ProviderInput.$UnknownMember;
|
|
3901
4016
|
/**
|
|
3902
4017
|
* @public
|
|
3903
4018
|
*/
|
|
@@ -3911,6 +4026,8 @@ export declare namespace ProviderInput {
|
|
|
3911
4026
|
gitlab?: never;
|
|
3912
4027
|
bitbucket?: never;
|
|
3913
4028
|
confluence?: never;
|
|
4029
|
+
azureDevOps?: never;
|
|
4030
|
+
bitbucketDataCenter?: never;
|
|
3914
4031
|
$unknown?: never;
|
|
3915
4032
|
}
|
|
3916
4033
|
/**
|
|
@@ -3922,6 +4039,8 @@ export declare namespace ProviderInput {
|
|
|
3922
4039
|
gitlab: GitLabIntegrationInput;
|
|
3923
4040
|
bitbucket?: never;
|
|
3924
4041
|
confluence?: never;
|
|
4042
|
+
azureDevOps?: never;
|
|
4043
|
+
bitbucketDataCenter?: never;
|
|
3925
4044
|
$unknown?: never;
|
|
3926
4045
|
}
|
|
3927
4046
|
/**
|
|
@@ -3933,6 +4052,8 @@ export declare namespace ProviderInput {
|
|
|
3933
4052
|
gitlab?: never;
|
|
3934
4053
|
bitbucket: BitbucketIntegrationInput;
|
|
3935
4054
|
confluence?: never;
|
|
4055
|
+
azureDevOps?: never;
|
|
4056
|
+
bitbucketDataCenter?: never;
|
|
3936
4057
|
$unknown?: never;
|
|
3937
4058
|
}
|
|
3938
4059
|
/**
|
|
@@ -3944,6 +4065,34 @@ export declare namespace ProviderInput {
|
|
|
3944
4065
|
gitlab?: never;
|
|
3945
4066
|
bitbucket?: never;
|
|
3946
4067
|
confluence: ConfluenceIntegrationInput;
|
|
4068
|
+
azureDevOps?: never;
|
|
4069
|
+
bitbucketDataCenter?: never;
|
|
4070
|
+
$unknown?: never;
|
|
4071
|
+
}
|
|
4072
|
+
/**
|
|
4073
|
+
* <p>The Azure DevOps-specific input for creating an integration.</p>
|
|
4074
|
+
* @public
|
|
4075
|
+
*/
|
|
4076
|
+
interface AzureDevOpsMember {
|
|
4077
|
+
github?: never;
|
|
4078
|
+
gitlab?: never;
|
|
4079
|
+
bitbucket?: never;
|
|
4080
|
+
confluence?: never;
|
|
4081
|
+
azureDevOps: AzureDevOpsIntegrationInput;
|
|
4082
|
+
bitbucketDataCenter?: never;
|
|
4083
|
+
$unknown?: never;
|
|
4084
|
+
}
|
|
4085
|
+
/**
|
|
4086
|
+
* <p>The Bitbucket Data Center-specific input for creating an integration.</p>
|
|
4087
|
+
* @public
|
|
4088
|
+
*/
|
|
4089
|
+
interface BitbucketDataCenterMember {
|
|
4090
|
+
github?: never;
|
|
4091
|
+
gitlab?: never;
|
|
4092
|
+
bitbucket?: never;
|
|
4093
|
+
confluence?: never;
|
|
4094
|
+
azureDevOps?: never;
|
|
4095
|
+
bitbucketDataCenter: BitbucketDataCenterIntegrationInput;
|
|
3947
4096
|
$unknown?: never;
|
|
3948
4097
|
}
|
|
3949
4098
|
/**
|
|
@@ -3954,6 +4103,8 @@ export declare namespace ProviderInput {
|
|
|
3954
4103
|
gitlab?: never;
|
|
3955
4104
|
bitbucket?: never;
|
|
3956
4105
|
confluence?: never;
|
|
4106
|
+
azureDevOps?: never;
|
|
4107
|
+
bitbucketDataCenter?: never;
|
|
3957
4108
|
$unknown: [string, any];
|
|
3958
4109
|
}
|
|
3959
4110
|
/**
|
|
@@ -3965,6 +4116,8 @@ export declare namespace ProviderInput {
|
|
|
3965
4116
|
gitlab: (value: GitLabIntegrationInput) => T;
|
|
3966
4117
|
bitbucket: (value: BitbucketIntegrationInput) => T;
|
|
3967
4118
|
confluence: (value: ConfluenceIntegrationInput) => T;
|
|
4119
|
+
azureDevOps: (value: AzureDevOpsIntegrationInput) => T;
|
|
4120
|
+
bitbucketDataCenter: (value: BitbucketDataCenterIntegrationInput) => T;
|
|
3968
4121
|
_: (name: string, value: any) => T;
|
|
3969
4122
|
}
|
|
3970
4123
|
}
|
|
@@ -3973,7 +4126,7 @@ export declare namespace ProviderInput {
|
|
|
3973
4126
|
*/
|
|
3974
4127
|
export interface CreateIntegrationInput {
|
|
3975
4128
|
/**
|
|
3976
|
-
* <p>The integration provider
|
|
4129
|
+
* <p>The integration provider.</p>
|
|
3977
4130
|
* @public
|
|
3978
4131
|
*/
|
|
3979
4132
|
provider: Provider | undefined;
|
|
@@ -5332,6 +5485,11 @@ export interface GetIntegrationOutput {
|
|
|
5332
5485
|
* @public
|
|
5333
5486
|
*/
|
|
5334
5487
|
targetUrl?: string | undefined;
|
|
5488
|
+
/**
|
|
5489
|
+
* <p>The payload URL of the integration's webhook, once it has been created. The signing secret is never returned on a read.</p>
|
|
5490
|
+
* @public
|
|
5491
|
+
*/
|
|
5492
|
+
webhookUrl?: string | undefined;
|
|
5335
5493
|
/**
|
|
5336
5494
|
* <p>The name of the private connection used to reach the integration's self-hosted instance over private networking, if one is configured.</p>
|
|
5337
5495
|
* @public
|
|
@@ -5608,10 +5766,30 @@ export interface ImportSecurityRequirementsOutput {
|
|
|
5608
5766
|
*/
|
|
5609
5767
|
export interface InitiateProviderRegistrationInput {
|
|
5610
5768
|
/**
|
|
5611
|
-
* <p>The provider to initiate registration with
|
|
5769
|
+
* <p>The provider to initiate registration with.</p>
|
|
5612
5770
|
* @public
|
|
5613
5771
|
*/
|
|
5614
5772
|
provider: Provider | undefined;
|
|
5773
|
+
/**
|
|
5774
|
+
* <p>The HTTPS URL of a self-managed provider instance. Omit for SaaS providers.</p>
|
|
5775
|
+
* @public
|
|
5776
|
+
*/
|
|
5777
|
+
targetUrl?: string | undefined;
|
|
5778
|
+
/**
|
|
5779
|
+
* <p>The name of the organization to connect.</p>
|
|
5780
|
+
* @public
|
|
5781
|
+
*/
|
|
5782
|
+
organizationName?: string | undefined;
|
|
5783
|
+
/**
|
|
5784
|
+
* <p>The client ID of the OAuth application registered on your self-managed provider instance.</p>
|
|
5785
|
+
* @public
|
|
5786
|
+
*/
|
|
5787
|
+
clientId?: string | undefined;
|
|
5788
|
+
/**
|
|
5789
|
+
* <p>The client secret of the OAuth application registered on your self-managed provider instance.</p>
|
|
5790
|
+
* @public
|
|
5791
|
+
*/
|
|
5792
|
+
clientSecret?: string | undefined;
|
|
5615
5793
|
}
|
|
5616
5794
|
/**
|
|
5617
5795
|
* @public
|
|
@@ -5632,7 +5810,7 @@ export interface InitiateProviderRegistrationOutput {
|
|
|
5632
5810
|
* <p>Represents an integrated resource from a third-party provider. This is a union type that contains provider-specific resource information.</p>
|
|
5633
5811
|
* @public
|
|
5634
5812
|
*/
|
|
5635
|
-
export type IntegratedResource = IntegratedResource.BitbucketRepositoryMember | IntegratedResource.ConfluenceDocumentMember | IntegratedResource.GithubRepositoryMember | IntegratedResource.GitlabRepositoryMember | IntegratedResource.$UnknownMember;
|
|
5813
|
+
export type IntegratedResource = IntegratedResource.AzureDevOpsRepositoryMember | IntegratedResource.BitbucketRepositoryMember | IntegratedResource.ConfluenceDocumentMember | IntegratedResource.GithubRepositoryMember | IntegratedResource.GitlabRepositoryMember | IntegratedResource.$UnknownMember;
|
|
5636
5814
|
/**
|
|
5637
5815
|
* @public
|
|
5638
5816
|
*/
|
|
@@ -5646,6 +5824,7 @@ export declare namespace IntegratedResource {
|
|
|
5646
5824
|
gitlabRepository?: never;
|
|
5647
5825
|
bitbucketRepository?: never;
|
|
5648
5826
|
confluenceDocument?: never;
|
|
5827
|
+
azureDevOpsRepository?: never;
|
|
5649
5828
|
$unknown?: never;
|
|
5650
5829
|
}
|
|
5651
5830
|
/**
|
|
@@ -5657,6 +5836,7 @@ export declare namespace IntegratedResource {
|
|
|
5657
5836
|
gitlabRepository: GitLabRepositoryResource;
|
|
5658
5837
|
bitbucketRepository?: never;
|
|
5659
5838
|
confluenceDocument?: never;
|
|
5839
|
+
azureDevOpsRepository?: never;
|
|
5660
5840
|
$unknown?: never;
|
|
5661
5841
|
}
|
|
5662
5842
|
/**
|
|
@@ -5668,6 +5848,7 @@ export declare namespace IntegratedResource {
|
|
|
5668
5848
|
gitlabRepository?: never;
|
|
5669
5849
|
bitbucketRepository: BitbucketRepositoryResource;
|
|
5670
5850
|
confluenceDocument?: never;
|
|
5851
|
+
azureDevOpsRepository?: never;
|
|
5671
5852
|
$unknown?: never;
|
|
5672
5853
|
}
|
|
5673
5854
|
/**
|
|
@@ -5679,6 +5860,19 @@ export declare namespace IntegratedResource {
|
|
|
5679
5860
|
gitlabRepository?: never;
|
|
5680
5861
|
bitbucketRepository?: never;
|
|
5681
5862
|
confluenceDocument: ConfluenceDocumentResource;
|
|
5863
|
+
azureDevOpsRepository?: never;
|
|
5864
|
+
$unknown?: never;
|
|
5865
|
+
}
|
|
5866
|
+
/**
|
|
5867
|
+
* <p>The Azure DevOps repository resource information.</p>
|
|
5868
|
+
* @public
|
|
5869
|
+
*/
|
|
5870
|
+
interface AzureDevOpsRepositoryMember {
|
|
5871
|
+
githubRepository?: never;
|
|
5872
|
+
gitlabRepository?: never;
|
|
5873
|
+
bitbucketRepository?: never;
|
|
5874
|
+
confluenceDocument?: never;
|
|
5875
|
+
azureDevOpsRepository: AzureDevOpsRepositoryResource;
|
|
5682
5876
|
$unknown?: never;
|
|
5683
5877
|
}
|
|
5684
5878
|
/**
|
|
@@ -5689,6 +5883,7 @@ export declare namespace IntegratedResource {
|
|
|
5689
5883
|
gitlabRepository?: never;
|
|
5690
5884
|
bitbucketRepository?: never;
|
|
5691
5885
|
confluenceDocument?: never;
|
|
5886
|
+
azureDevOpsRepository?: never;
|
|
5692
5887
|
$unknown: [string, any];
|
|
5693
5888
|
}
|
|
5694
5889
|
/**
|
|
@@ -5700,6 +5895,7 @@ export declare namespace IntegratedResource {
|
|
|
5700
5895
|
gitlabRepository: (value: GitLabRepositoryResource) => T;
|
|
5701
5896
|
bitbucketRepository: (value: BitbucketRepositoryResource) => T;
|
|
5702
5897
|
confluenceDocument: (value: ConfluenceDocumentResource) => T;
|
|
5898
|
+
azureDevOpsRepository: (value: AzureDevOpsRepositoryResource) => T;
|
|
5703
5899
|
_: (name: string, value: any) => T;
|
|
5704
5900
|
}
|
|
5705
5901
|
}
|
|
@@ -5707,7 +5903,7 @@ export declare namespace IntegratedResource {
|
|
|
5707
5903
|
* <p>The capabilities for an integrated resource from a third-party provider. This is a union type that contains provider-specific capabilities.</p>
|
|
5708
5904
|
* @public
|
|
5709
5905
|
*/
|
|
5710
|
-
export type ProviderResourceCapabilities = ProviderResourceCapabilities.BitbucketMember | ProviderResourceCapabilities.ConfluenceMember | ProviderResourceCapabilities.GithubMember | ProviderResourceCapabilities.GitlabMember | ProviderResourceCapabilities.$UnknownMember;
|
|
5906
|
+
export type ProviderResourceCapabilities = ProviderResourceCapabilities.AzureDevOpsMember | ProviderResourceCapabilities.BitbucketMember | ProviderResourceCapabilities.ConfluenceMember | ProviderResourceCapabilities.GithubMember | ProviderResourceCapabilities.GitlabMember | ProviderResourceCapabilities.$UnknownMember;
|
|
5711
5907
|
/**
|
|
5712
5908
|
* @public
|
|
5713
5909
|
*/
|
|
@@ -5721,6 +5917,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
5721
5917
|
gitlab?: never;
|
|
5722
5918
|
bitbucket?: never;
|
|
5723
5919
|
confluence?: never;
|
|
5920
|
+
azureDevOps?: never;
|
|
5724
5921
|
$unknown?: never;
|
|
5725
5922
|
}
|
|
5726
5923
|
/**
|
|
@@ -5732,6 +5929,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
5732
5929
|
gitlab: GitLabResourceCapabilities;
|
|
5733
5930
|
bitbucket?: never;
|
|
5734
5931
|
confluence?: never;
|
|
5932
|
+
azureDevOps?: never;
|
|
5735
5933
|
$unknown?: never;
|
|
5736
5934
|
}
|
|
5737
5935
|
/**
|
|
@@ -5743,6 +5941,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
5743
5941
|
gitlab?: never;
|
|
5744
5942
|
bitbucket: BitbucketResourceCapabilities;
|
|
5745
5943
|
confluence?: never;
|
|
5944
|
+
azureDevOps?: never;
|
|
5746
5945
|
$unknown?: never;
|
|
5747
5946
|
}
|
|
5748
5947
|
/**
|
|
@@ -5754,6 +5953,19 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
5754
5953
|
gitlab?: never;
|
|
5755
5954
|
bitbucket?: never;
|
|
5756
5955
|
confluence: ConfluenceResourceCapabilities;
|
|
5956
|
+
azureDevOps?: never;
|
|
5957
|
+
$unknown?: never;
|
|
5958
|
+
}
|
|
5959
|
+
/**
|
|
5960
|
+
* <p>The Azure DevOps-specific resource capabilities.</p>
|
|
5961
|
+
* @public
|
|
5962
|
+
*/
|
|
5963
|
+
interface AzureDevOpsMember {
|
|
5964
|
+
github?: never;
|
|
5965
|
+
gitlab?: never;
|
|
5966
|
+
bitbucket?: never;
|
|
5967
|
+
confluence?: never;
|
|
5968
|
+
azureDevOps: AzureDevOpsResourceCapabilities;
|
|
5757
5969
|
$unknown?: never;
|
|
5758
5970
|
}
|
|
5759
5971
|
/**
|
|
@@ -5764,6 +5976,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
5764
5976
|
gitlab?: never;
|
|
5765
5977
|
bitbucket?: never;
|
|
5766
5978
|
confluence?: never;
|
|
5979
|
+
azureDevOps?: never;
|
|
5767
5980
|
$unknown: [string, any];
|
|
5768
5981
|
}
|
|
5769
5982
|
/**
|
|
@@ -5775,6 +5988,7 @@ export declare namespace ProviderResourceCapabilities {
|
|
|
5775
5988
|
gitlab: (value: GitLabResourceCapabilities) => T;
|
|
5776
5989
|
bitbucket: (value: BitbucketResourceCapabilities) => T;
|
|
5777
5990
|
confluence: (value: ConfluenceResourceCapabilities) => T;
|
|
5991
|
+
azureDevOps: (value: AzureDevOpsResourceCapabilities) => T;
|
|
5778
5992
|
_: (name: string, value: any) => T;
|
|
5779
5993
|
}
|
|
5780
5994
|
}
|
|
@@ -5798,7 +6012,7 @@ export interface IntegratedResourceInputItem {
|
|
|
5798
6012
|
* <p>Contains metadata about an integrated resource. This is a union type that contains provider-specific metadata.</p>
|
|
5799
6013
|
* @public
|
|
5800
6014
|
*/
|
|
5801
|
-
export type IntegratedResourceMetadata = IntegratedResourceMetadata.BitbucketRepositoryMember | IntegratedResourceMetadata.ConfluenceDocumentMember | IntegratedResourceMetadata.GithubRepositoryMember | IntegratedResourceMetadata.GitlabRepositoryMember | IntegratedResourceMetadata.$UnknownMember;
|
|
6015
|
+
export type IntegratedResourceMetadata = IntegratedResourceMetadata.AzureDevOpsRepositoryMember | IntegratedResourceMetadata.BitbucketRepositoryMember | IntegratedResourceMetadata.ConfluenceDocumentMember | IntegratedResourceMetadata.GithubRepositoryMember | IntegratedResourceMetadata.GitlabRepositoryMember | IntegratedResourceMetadata.$UnknownMember;
|
|
5802
6016
|
/**
|
|
5803
6017
|
* @public
|
|
5804
6018
|
*/
|
|
@@ -5812,6 +6026,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
5812
6026
|
gitlabRepository?: never;
|
|
5813
6027
|
bitbucketRepository?: never;
|
|
5814
6028
|
confluenceDocument?: never;
|
|
6029
|
+
azureDevOpsRepository?: never;
|
|
5815
6030
|
$unknown?: never;
|
|
5816
6031
|
}
|
|
5817
6032
|
/**
|
|
@@ -5823,6 +6038,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
5823
6038
|
gitlabRepository: GitLabRepositoryMetadata;
|
|
5824
6039
|
bitbucketRepository?: never;
|
|
5825
6040
|
confluenceDocument?: never;
|
|
6041
|
+
azureDevOpsRepository?: never;
|
|
5826
6042
|
$unknown?: never;
|
|
5827
6043
|
}
|
|
5828
6044
|
/**
|
|
@@ -5834,6 +6050,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
5834
6050
|
gitlabRepository?: never;
|
|
5835
6051
|
bitbucketRepository: BitbucketRepositoryMetadata;
|
|
5836
6052
|
confluenceDocument?: never;
|
|
6053
|
+
azureDevOpsRepository?: never;
|
|
5837
6054
|
$unknown?: never;
|
|
5838
6055
|
}
|
|
5839
6056
|
/**
|
|
@@ -5845,6 +6062,19 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
5845
6062
|
gitlabRepository?: never;
|
|
5846
6063
|
bitbucketRepository?: never;
|
|
5847
6064
|
confluenceDocument: ConfluenceDocumentMetadata;
|
|
6065
|
+
azureDevOpsRepository?: never;
|
|
6066
|
+
$unknown?: never;
|
|
6067
|
+
}
|
|
6068
|
+
/**
|
|
6069
|
+
* <p>The Azure DevOps repository metadata.</p>
|
|
6070
|
+
* @public
|
|
6071
|
+
*/
|
|
6072
|
+
interface AzureDevOpsRepositoryMember {
|
|
6073
|
+
githubRepository?: never;
|
|
6074
|
+
gitlabRepository?: never;
|
|
6075
|
+
bitbucketRepository?: never;
|
|
6076
|
+
confluenceDocument?: never;
|
|
6077
|
+
azureDevOpsRepository: AzureDevOpsRepositoryMetadata;
|
|
5848
6078
|
$unknown?: never;
|
|
5849
6079
|
}
|
|
5850
6080
|
/**
|
|
@@ -5855,6 +6085,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
5855
6085
|
gitlabRepository?: never;
|
|
5856
6086
|
bitbucketRepository?: never;
|
|
5857
6087
|
confluenceDocument?: never;
|
|
6088
|
+
azureDevOpsRepository?: never;
|
|
5858
6089
|
$unknown: [string, any];
|
|
5859
6090
|
}
|
|
5860
6091
|
/**
|
|
@@ -5866,6 +6097,7 @@ export declare namespace IntegratedResourceMetadata {
|
|
|
5866
6097
|
gitlabRepository: (value: GitLabRepositoryMetadata) => T;
|
|
5867
6098
|
bitbucketRepository: (value: BitbucketRepositoryMetadata) => T;
|
|
5868
6099
|
confluenceDocument: (value: ConfluenceDocumentMetadata) => T;
|
|
6100
|
+
azureDevOpsRepository: (value: AzureDevOpsRepositoryMetadata) => T;
|
|
5869
6101
|
_: (name: string, value: any) => T;
|
|
5870
6102
|
}
|
|
5871
6103
|
}
|
|
@@ -5990,6 +6222,11 @@ export interface IntegrationSummary {
|
|
|
5990
6222
|
* @public
|
|
5991
6223
|
*/
|
|
5992
6224
|
targetUrl?: string | undefined;
|
|
6225
|
+
/**
|
|
6226
|
+
* <p>The payload URL of the integration's webhook, once it has been created. The signing secret is never returned on a read.</p>
|
|
6227
|
+
* @public
|
|
6228
|
+
*/
|
|
6229
|
+
webhookUrl?: string | undefined;
|
|
5993
6230
|
/**
|
|
5994
6231
|
* <p>The name of the private connection used to reach the integration's self-hosted instance over private networking, if one is configured.</p>
|
|
5995
6232
|
* @public
|
|
@@ -6011,6 +6248,43 @@ export interface ListIntegrationsOutput {
|
|
|
6011
6248
|
*/
|
|
6012
6249
|
nextToken?: string | undefined;
|
|
6013
6250
|
}
|
|
6251
|
+
/**
|
|
6252
|
+
* <p>Input for creating or rotating an integration's webhook.</p>
|
|
6253
|
+
* @public
|
|
6254
|
+
*/
|
|
6255
|
+
export interface UpdateIntegrationInput {
|
|
6256
|
+
/**
|
|
6257
|
+
* <p>The ID of the integration whose webhook you want to create or rotate.</p>
|
|
6258
|
+
* @public
|
|
6259
|
+
*/
|
|
6260
|
+
integrationId: string | undefined;
|
|
6261
|
+
/**
|
|
6262
|
+
* <p>The action to perform on the integration's webhook.</p>
|
|
6263
|
+
* @public
|
|
6264
|
+
*/
|
|
6265
|
+
webhookAction: WebhookAction | undefined;
|
|
6266
|
+
}
|
|
6267
|
+
/**
|
|
6268
|
+
* <p>Output for the UpdateIntegration operation.</p>
|
|
6269
|
+
* @public
|
|
6270
|
+
*/
|
|
6271
|
+
export interface UpdateIntegrationOutput {
|
|
6272
|
+
/**
|
|
6273
|
+
* <p>The ID of the integration.</p>
|
|
6274
|
+
* @public
|
|
6275
|
+
*/
|
|
6276
|
+
integrationId: string | undefined;
|
|
6277
|
+
/**
|
|
6278
|
+
* <p>The payload URL to configure on your provider instance. Returned when a webhook is created; unchanged by a rotate.</p>
|
|
6279
|
+
* @public
|
|
6280
|
+
*/
|
|
6281
|
+
webhookUrl?: string | undefined;
|
|
6282
|
+
/**
|
|
6283
|
+
* <p>The HMAC signing secret for the webhook. Returned only once, in this response; it is never returned again.</p>
|
|
6284
|
+
* @public
|
|
6285
|
+
*/
|
|
6286
|
+
secret?: string | undefined;
|
|
6287
|
+
}
|
|
6014
6288
|
/**
|
|
6015
6289
|
* @public
|
|
6016
6290
|
*/
|
|
@@ -8192,423 +8466,3 @@ export interface UpdateFindingInput {
|
|
|
8192
8466
|
*/
|
|
8193
8467
|
export interface UpdateFindingOutput {
|
|
8194
8468
|
}
|
|
8195
|
-
/**
|
|
8196
|
-
* @public
|
|
8197
|
-
*/
|
|
8198
|
-
export interface UpdateIntegratedResourcesInput {
|
|
8199
|
-
/**
|
|
8200
|
-
* <p>The unique identifier of the agent space.</p>
|
|
8201
|
-
* @public
|
|
8202
|
-
*/
|
|
8203
|
-
agentSpaceId: string | undefined;
|
|
8204
|
-
/**
|
|
8205
|
-
* <p>The unique identifier of the integration.</p>
|
|
8206
|
-
* @public
|
|
8207
|
-
*/
|
|
8208
|
-
integrationId: string | undefined;
|
|
8209
|
-
/**
|
|
8210
|
-
* <p>The list of integrated resource items to update.</p>
|
|
8211
|
-
* @public
|
|
8212
|
-
*/
|
|
8213
|
-
items: IntegratedResourceInputItem[] | undefined;
|
|
8214
|
-
}
|
|
8215
|
-
/**
|
|
8216
|
-
* @public
|
|
8217
|
-
*/
|
|
8218
|
-
export interface UpdateIntegratedResourcesOutput {
|
|
8219
|
-
}
|
|
8220
|
-
/**
|
|
8221
|
-
* <p>Input for updating an existing pentest.</p>
|
|
8222
|
-
* @public
|
|
8223
|
-
*/
|
|
8224
|
-
export interface UpdatePentestInput {
|
|
8225
|
-
/**
|
|
8226
|
-
* <p>The unique identifier of the pentest to update.</p>
|
|
8227
|
-
* @public
|
|
8228
|
-
*/
|
|
8229
|
-
pentestId: string | undefined;
|
|
8230
|
-
/**
|
|
8231
|
-
* <p>The unique identifier of the agent space that contains the pentest.</p>
|
|
8232
|
-
* @public
|
|
8233
|
-
*/
|
|
8234
|
-
agentSpaceId: string | undefined;
|
|
8235
|
-
/**
|
|
8236
|
-
* <p>The updated title of the pentest.</p>
|
|
8237
|
-
* @public
|
|
8238
|
-
*/
|
|
8239
|
-
title?: string | undefined;
|
|
8240
|
-
/**
|
|
8241
|
-
* <p>The updated assets for the pentest.</p>
|
|
8242
|
-
* @public
|
|
8243
|
-
*/
|
|
8244
|
-
assets?: Assets | undefined;
|
|
8245
|
-
/**
|
|
8246
|
-
* <p>The updated list of risk types to exclude from the pentest.</p>
|
|
8247
|
-
* @public
|
|
8248
|
-
*/
|
|
8249
|
-
excludeRiskTypes?: RiskType[] | undefined;
|
|
8250
|
-
/**
|
|
8251
|
-
* <p>The updated IAM service role for the pentest.</p>
|
|
8252
|
-
* @public
|
|
8253
|
-
*/
|
|
8254
|
-
serviceRole?: string | undefined;
|
|
8255
|
-
/**
|
|
8256
|
-
* <p>The updated CloudWatch Logs configuration for the pentest.</p>
|
|
8257
|
-
* @public
|
|
8258
|
-
*/
|
|
8259
|
-
logConfig?: CloudWatchLog | undefined;
|
|
8260
|
-
/**
|
|
8261
|
-
* <p>The updated VPC configuration for the pentest.</p>
|
|
8262
|
-
* @public
|
|
8263
|
-
*/
|
|
8264
|
-
vpcConfig?: VpcConfig | undefined;
|
|
8265
|
-
/**
|
|
8266
|
-
* <p>The updated network traffic configuration for the pentest.</p>
|
|
8267
|
-
* @public
|
|
8268
|
-
*/
|
|
8269
|
-
networkTrafficConfig?: NetworkTrafficConfig | undefined;
|
|
8270
|
-
/**
|
|
8271
|
-
* <p>The updated code remediation strategy for the pentest.</p>
|
|
8272
|
-
* @public
|
|
8273
|
-
*/
|
|
8274
|
-
codeRemediationStrategy?: CodeRemediationStrategy | undefined;
|
|
8275
|
-
/**
|
|
8276
|
-
* <p>The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.</p>
|
|
8277
|
-
* @public
|
|
8278
|
-
*/
|
|
8279
|
-
disableManagedSkills?: SkillType[] | undefined;
|
|
8280
|
-
/**
|
|
8281
|
-
* <p>The updated maximum number of billable task hours allowed for jobs started from this pentest.</p>
|
|
8282
|
-
* @public
|
|
8283
|
-
*/
|
|
8284
|
-
maxTaskHours?: number | undefined;
|
|
8285
|
-
/**
|
|
8286
|
-
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
8287
|
-
* @public
|
|
8288
|
-
*/
|
|
8289
|
-
reportDestination?: ReportDestination | undefined;
|
|
8290
|
-
/**
|
|
8291
|
-
* <p>The report-generation filters applied when the report is exported.</p>
|
|
8292
|
-
* @public
|
|
8293
|
-
*/
|
|
8294
|
-
reportFilters?: ReportFilters | undefined;
|
|
8295
|
-
/**
|
|
8296
|
-
* <p>The updated CI/CD pentesting configuration to apply to the pentest.</p>
|
|
8297
|
-
* @public
|
|
8298
|
-
*/
|
|
8299
|
-
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
8300
|
-
}
|
|
8301
|
-
/**
|
|
8302
|
-
* <p>Output for the UpdatePentest operation.</p>
|
|
8303
|
-
* @public
|
|
8304
|
-
*/
|
|
8305
|
-
export interface UpdatePentestOutput {
|
|
8306
|
-
/**
|
|
8307
|
-
* <p>The unique identifier of the pentest.</p>
|
|
8308
|
-
* @public
|
|
8309
|
-
*/
|
|
8310
|
-
pentestId?: string | undefined;
|
|
8311
|
-
/**
|
|
8312
|
-
* <p>The title of the pentest.</p>
|
|
8313
|
-
* @public
|
|
8314
|
-
*/
|
|
8315
|
-
title?: string | undefined;
|
|
8316
|
-
/**
|
|
8317
|
-
* <p>The date and time the pentest was created, in UTC format.</p>
|
|
8318
|
-
* @public
|
|
8319
|
-
*/
|
|
8320
|
-
createdAt?: Date | undefined;
|
|
8321
|
-
/**
|
|
8322
|
-
* <p>The date and time the pentest was last updated, in UTC format.</p>
|
|
8323
|
-
* @public
|
|
8324
|
-
*/
|
|
8325
|
-
updatedAt?: Date | undefined;
|
|
8326
|
-
/**
|
|
8327
|
-
* <p>The assets included in the pentest.</p>
|
|
8328
|
-
* @public
|
|
8329
|
-
*/
|
|
8330
|
-
assets?: Assets | undefined;
|
|
8331
|
-
/**
|
|
8332
|
-
* <p>The list of risk types excluded from the pentest.</p>
|
|
8333
|
-
* @public
|
|
8334
|
-
*/
|
|
8335
|
-
excludeRiskTypes?: RiskType[] | undefined;
|
|
8336
|
-
/**
|
|
8337
|
-
* <p>The IAM service role used for the pentest.</p>
|
|
8338
|
-
* @public
|
|
8339
|
-
*/
|
|
8340
|
-
serviceRole?: string | undefined;
|
|
8341
|
-
/**
|
|
8342
|
-
* <p>The CloudWatch Logs configuration for the pentest.</p>
|
|
8343
|
-
* @public
|
|
8344
|
-
*/
|
|
8345
|
-
logConfig?: CloudWatchLog | undefined;
|
|
8346
|
-
/**
|
|
8347
|
-
* <p>The unique identifier of the agent space that contains the pentest.</p>
|
|
8348
|
-
* @public
|
|
8349
|
-
*/
|
|
8350
|
-
agentSpaceId?: string | undefined;
|
|
8351
|
-
/**
|
|
8352
|
-
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
8353
|
-
* @public
|
|
8354
|
-
*/
|
|
8355
|
-
reportDestination?: ReportDestination | undefined;
|
|
8356
|
-
/**
|
|
8357
|
-
* <p>The report-generation filters applied when the report is exported.</p>
|
|
8358
|
-
* @public
|
|
8359
|
-
*/
|
|
8360
|
-
reportFilters?: ReportFilters | undefined;
|
|
8361
|
-
/**
|
|
8362
|
-
* <p>The CI/CD pentesting configuration applied to the pentest.</p>
|
|
8363
|
-
* @public
|
|
8364
|
-
*/
|
|
8365
|
-
cicdConfiguration?: CiCdConfiguration | undefined;
|
|
8366
|
-
}
|
|
8367
|
-
/**
|
|
8368
|
-
* <p>Input for updating an existing threat.</p>
|
|
8369
|
-
* @public
|
|
8370
|
-
*/
|
|
8371
|
-
export interface UpdateThreatInput {
|
|
8372
|
-
/**
|
|
8373
|
-
* <p>The unique identifier of the threat to update.</p>
|
|
8374
|
-
* @public
|
|
8375
|
-
*/
|
|
8376
|
-
threatId: string | undefined;
|
|
8377
|
-
/**
|
|
8378
|
-
* <p>The unique identifier of the agent space.</p>
|
|
8379
|
-
* @public
|
|
8380
|
-
*/
|
|
8381
|
-
agentSpaceId: string | undefined;
|
|
8382
|
-
/**
|
|
8383
|
-
* <p>A short title summarizing the threat.</p>
|
|
8384
|
-
* @public
|
|
8385
|
-
*/
|
|
8386
|
-
title?: string | undefined;
|
|
8387
|
-
/**
|
|
8388
|
-
* <p>The updated status of the threat.</p>
|
|
8389
|
-
* @public
|
|
8390
|
-
*/
|
|
8391
|
-
status?: ThreatStatus | undefined;
|
|
8392
|
-
/**
|
|
8393
|
-
* <p>Optional customer comment.</p>
|
|
8394
|
-
* @public
|
|
8395
|
-
*/
|
|
8396
|
-
comments?: string | undefined;
|
|
8397
|
-
/**
|
|
8398
|
-
* <p>The updated natural-language threat statement.</p>
|
|
8399
|
-
* @public
|
|
8400
|
-
*/
|
|
8401
|
-
statement?: string | undefined;
|
|
8402
|
-
/**
|
|
8403
|
-
* <p>The updated severity level of the threat.</p>
|
|
8404
|
-
* @public
|
|
8405
|
-
*/
|
|
8406
|
-
severity?: ThreatSeverity | undefined;
|
|
8407
|
-
/**
|
|
8408
|
-
* <p>The updated actor or origin of the threat.</p>
|
|
8409
|
-
* @public
|
|
8410
|
-
*/
|
|
8411
|
-
threatSource?: string | undefined;
|
|
8412
|
-
/**
|
|
8413
|
-
* <p>The updated conditions required for the threat to be exploitable.</p>
|
|
8414
|
-
* @public
|
|
8415
|
-
*/
|
|
8416
|
-
prerequisites?: string | undefined;
|
|
8417
|
-
/**
|
|
8418
|
-
* <p>The updated description of what the threat source can do.</p>
|
|
8419
|
-
* @public
|
|
8420
|
-
*/
|
|
8421
|
-
threatAction?: string | undefined;
|
|
8422
|
-
/**
|
|
8423
|
-
* <p>The updated direct consequence of the threat action.</p>
|
|
8424
|
-
* @public
|
|
8425
|
-
*/
|
|
8426
|
-
threatImpact?: string | undefined;
|
|
8427
|
-
/**
|
|
8428
|
-
* <p>The updated security goals affected by the threat.</p>
|
|
8429
|
-
* @public
|
|
8430
|
-
*/
|
|
8431
|
-
impactedGoal?: string[] | undefined;
|
|
8432
|
-
/**
|
|
8433
|
-
* <p>The updated list of specific assets affected by the threat.</p>
|
|
8434
|
-
* @public
|
|
8435
|
-
*/
|
|
8436
|
-
impactedAssets?: string[] | undefined;
|
|
8437
|
-
/**
|
|
8438
|
-
* <p>The updated DFD element this threat is anchored to.</p>
|
|
8439
|
-
* @public
|
|
8440
|
-
*/
|
|
8441
|
-
anchor?: ThreatAnchorShape | undefined;
|
|
8442
|
-
/**
|
|
8443
|
-
* <p>The updated source code files supporting the threat.</p>
|
|
8444
|
-
* @public
|
|
8445
|
-
*/
|
|
8446
|
-
evidence?: ThreatEvidenceShape[] | undefined;
|
|
8447
|
-
/**
|
|
8448
|
-
* <p>The updated recommended mitigation guidance for this threat.</p>
|
|
8449
|
-
* @public
|
|
8450
|
-
*/
|
|
8451
|
-
recommendation?: string | undefined;
|
|
8452
|
-
}
|
|
8453
|
-
/**
|
|
8454
|
-
* <p>Output for the UpdateThreat operation.</p>
|
|
8455
|
-
* @public
|
|
8456
|
-
*/
|
|
8457
|
-
export interface UpdateThreatOutput {
|
|
8458
|
-
/**
|
|
8459
|
-
* <p>The unique identifier of the threat.</p>
|
|
8460
|
-
* @public
|
|
8461
|
-
*/
|
|
8462
|
-
threatId: string | undefined;
|
|
8463
|
-
/**
|
|
8464
|
-
* <p>The unique identifier of the threat model job the threat belongs to.</p>
|
|
8465
|
-
* @public
|
|
8466
|
-
*/
|
|
8467
|
-
threatJobId: string | undefined;
|
|
8468
|
-
/**
|
|
8469
|
-
* <p>A short title summarizing the threat.</p>
|
|
8470
|
-
* @public
|
|
8471
|
-
*/
|
|
8472
|
-
title?: string | undefined;
|
|
8473
|
-
/**
|
|
8474
|
-
* <p>The natural-language threat statement.</p>
|
|
8475
|
-
* @public
|
|
8476
|
-
*/
|
|
8477
|
-
statement?: string | undefined;
|
|
8478
|
-
/**
|
|
8479
|
-
* <p>The severity level of the threat.</p>
|
|
8480
|
-
* @public
|
|
8481
|
-
*/
|
|
8482
|
-
severity?: ThreatSeverity | undefined;
|
|
8483
|
-
/**
|
|
8484
|
-
* <p>The current status of the threat.</p>
|
|
8485
|
-
* @public
|
|
8486
|
-
*/
|
|
8487
|
-
status?: ThreatStatus | undefined;
|
|
8488
|
-
/**
|
|
8489
|
-
* <p>Optional customer comment on the threat.</p>
|
|
8490
|
-
* @public
|
|
8491
|
-
*/
|
|
8492
|
-
comments?: string | undefined;
|
|
8493
|
-
/**
|
|
8494
|
-
* <p>The STRIDE categories applicable to this threat.</p>
|
|
8495
|
-
* @public
|
|
8496
|
-
*/
|
|
8497
|
-
stride?: StrideCategory[] | undefined;
|
|
8498
|
-
/**
|
|
8499
|
-
* <p>The actor or origin of the threat.</p>
|
|
8500
|
-
* @public
|
|
8501
|
-
*/
|
|
8502
|
-
threatSource?: string | undefined;
|
|
8503
|
-
/**
|
|
8504
|
-
* <p>The conditions required for the threat to be exploitable.</p>
|
|
8505
|
-
* @public
|
|
8506
|
-
*/
|
|
8507
|
-
prerequisites?: string | undefined;
|
|
8508
|
-
/**
|
|
8509
|
-
* <p>What the threat source can do.</p>
|
|
8510
|
-
* @public
|
|
8511
|
-
*/
|
|
8512
|
-
threatAction?: string | undefined;
|
|
8513
|
-
/**
|
|
8514
|
-
* <p>The direct consequence of the threat action.</p>
|
|
8515
|
-
* @public
|
|
8516
|
-
*/
|
|
8517
|
-
threatImpact?: string | undefined;
|
|
8518
|
-
/**
|
|
8519
|
-
* <p>The security goals affected by the threat.</p>
|
|
8520
|
-
* @public
|
|
8521
|
-
*/
|
|
8522
|
-
impactedGoal?: string[] | undefined;
|
|
8523
|
-
/**
|
|
8524
|
-
* <p>The specific assets affected by the threat.</p>
|
|
8525
|
-
* @public
|
|
8526
|
-
*/
|
|
8527
|
-
impactedAssets?: string[] | undefined;
|
|
8528
|
-
/**
|
|
8529
|
-
* <p>The DFD element this threat is anchored to.</p>
|
|
8530
|
-
* @public
|
|
8531
|
-
*/
|
|
8532
|
-
anchor?: ThreatAnchorShape | undefined;
|
|
8533
|
-
/**
|
|
8534
|
-
* <p>The source code files supporting the threat.</p>
|
|
8535
|
-
* @public
|
|
8536
|
-
*/
|
|
8537
|
-
evidence?: ThreatEvidenceShape[] | undefined;
|
|
8538
|
-
/**
|
|
8539
|
-
* <p>The recommended mitigation guidance for this threat.</p>
|
|
8540
|
-
* @public
|
|
8541
|
-
*/
|
|
8542
|
-
recommendation?: string | undefined;
|
|
8543
|
-
/**
|
|
8544
|
-
* <p>Who created this threat.</p>
|
|
8545
|
-
* @public
|
|
8546
|
-
*/
|
|
8547
|
-
createdBy?: ThreatActor | undefined;
|
|
8548
|
-
/**
|
|
8549
|
-
* <p>Who last updated this threat.</p>
|
|
8550
|
-
* @public
|
|
8551
|
-
*/
|
|
8552
|
-
updatedBy?: ThreatActor | undefined;
|
|
8553
|
-
/**
|
|
8554
|
-
* <p>The date and time the threat was created, in UTC format.</p>
|
|
8555
|
-
* @public
|
|
8556
|
-
*/
|
|
8557
|
-
createdAt?: Date | undefined;
|
|
8558
|
-
/**
|
|
8559
|
-
* <p>The date and time the threat was last updated, in UTC format.</p>
|
|
8560
|
-
* @public
|
|
8561
|
-
*/
|
|
8562
|
-
updatedAt?: Date | undefined;
|
|
8563
|
-
}
|
|
8564
|
-
/**
|
|
8565
|
-
* <p>Input for updating an existing threat model.</p>
|
|
8566
|
-
* @public
|
|
8567
|
-
*/
|
|
8568
|
-
export interface UpdateThreatModelInput {
|
|
8569
|
-
/**
|
|
8570
|
-
* <p>The unique identifier of the threat model to update.</p>
|
|
8571
|
-
* @public
|
|
8572
|
-
*/
|
|
8573
|
-
threatModelId: string | undefined;
|
|
8574
|
-
/**
|
|
8575
|
-
* <p>The unique identifier of the agent space that contains the threat model.</p>
|
|
8576
|
-
* @public
|
|
8577
|
-
*/
|
|
8578
|
-
agentSpaceId: string | undefined;
|
|
8579
|
-
/**
|
|
8580
|
-
* <p>The updated title of the threat model.</p>
|
|
8581
|
-
* @public
|
|
8582
|
-
*/
|
|
8583
|
-
title?: string | undefined;
|
|
8584
|
-
/**
|
|
8585
|
-
* <p>The updated description of the application or system being threat modeled.</p>
|
|
8586
|
-
* @public
|
|
8587
|
-
*/
|
|
8588
|
-
description?: string | undefined;
|
|
8589
|
-
/**
|
|
8590
|
-
* <p>The updated assets for the threat model.</p>
|
|
8591
|
-
* @public
|
|
8592
|
-
*/
|
|
8593
|
-
assets?: Assets | undefined;
|
|
8594
|
-
/**
|
|
8595
|
-
* <p>The updated scoped documents for the agent to focus on during threat modeling.</p>
|
|
8596
|
-
* @public
|
|
8597
|
-
*/
|
|
8598
|
-
scopeDocs?: DocumentInfo[] | undefined;
|
|
8599
|
-
/**
|
|
8600
|
-
* <p>The updated IAM service role for the threat model.</p>
|
|
8601
|
-
* @public
|
|
8602
|
-
*/
|
|
8603
|
-
serviceRole?: string | undefined;
|
|
8604
|
-
/**
|
|
8605
|
-
* <p>The updated CloudWatch Logs configuration for the threat model.</p>
|
|
8606
|
-
* @public
|
|
8607
|
-
*/
|
|
8608
|
-
logConfig?: CloudWatchLog | undefined;
|
|
8609
|
-
/**
|
|
8610
|
-
* <p>The destination for publishing scan reports to an integrated document provider.</p>
|
|
8611
|
-
* @public
|
|
8612
|
-
*/
|
|
8613
|
-
reportDestination?: ReportDestination | undefined;
|
|
8614
|
-
}
|