@aws-sdk/client-securityagent 3.1141.0 → 3.1143.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 (49) hide show
  1. package/README.md +7 -0
  2. package/dist-cjs/index.js +181 -60
  3. package/dist-es/SecurityAgent.js +2 -0
  4. package/dist-es/commands/UpdateIntegrationCommand.js +4 -0
  5. package/dist-es/commands/index.js +1 -0
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/enums.js +11 -0
  8. package/dist-es/models/models_1.js +1 -0
  9. package/dist-es/schemas/schemas_0.js +151 -59
  10. package/dist-types/SecurityAgent.d.ts +7 -0
  11. package/dist-types/SecurityAgentClient.d.ts +3 -2
  12. package/dist-types/commands/BatchDeletePentestsCommand.d.ts +3 -0
  13. package/dist-types/commands/BatchGetPentestJobsCommand.d.ts +18 -1
  14. package/dist-types/commands/BatchGetPentestsCommand.d.ts +3 -0
  15. package/dist-types/commands/CreateIntegrationCommand.d.ts +11 -1
  16. package/dist-types/commands/CreatePentestCommand.d.ts +6 -0
  17. package/dist-types/commands/GetIntegrationCommand.d.ts +2 -1
  18. package/dist-types/commands/InitiateProviderRegistrationCommand.d.ts +5 -1
  19. package/dist-types/commands/ListIntegratedResourcesCommand.d.ts +12 -0
  20. package/dist-types/commands/ListIntegrationsCommand.d.ts +3 -2
  21. package/dist-types/commands/ListPentestJobsForPentestCommand.d.ts +3 -0
  22. package/dist-types/commands/StartPentestJobCommand.d.ts +10 -1
  23. package/dist-types/commands/UpdateIntegratedResourcesCommand.d.ts +10 -1
  24. package/dist-types/commands/UpdateIntegrationCommand.d.ts +92 -0
  25. package/dist-types/commands/UpdatePentestCommand.d.ts +7 -1
  26. package/dist-types/commands/UpdateThreatCommand.d.ts +1 -1
  27. package/dist-types/commands/UpdateThreatModelCommand.d.ts +1 -1
  28. package/dist-types/commands/VerifyTargetDomainCommand.d.ts +1 -1
  29. package/dist-types/commands/index.d.ts +1 -0
  30. package/dist-types/index.d.ts +1 -0
  31. package/dist-types/models/enums.d.ts +45 -0
  32. package/dist-types/models/models_0.d.ts +396 -532
  33. package/dist-types/models/models_1.d.ts +535 -0
  34. package/dist-types/schemas/schemas_0.d.ts +11 -0
  35. package/dist-types/ts3.4/SecurityAgent.d.ts +17 -0
  36. package/dist-types/ts3.4/SecurityAgentClient.d.ts +6 -0
  37. package/dist-types/ts3.4/commands/UpdateIntegratedResourcesCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/UpdateIntegrationCommand.d.ts +38 -0
  39. package/dist-types/ts3.4/commands/UpdatePentestCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/UpdateThreatCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/UpdateThreatModelCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/VerifyTargetDomainCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  44. package/dist-types/ts3.4/index.d.ts +1 -0
  45. package/dist-types/ts3.4/models/enums.d.ts +13 -0
  46. package/dist-types/ts3.4/models/models_0.d.ts +146 -112
  47. package/dist-types/ts3.4/models/models_1.d.ts +137 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +11 -0
  49. 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, 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
@@ -1166,6 +1260,17 @@ export interface BatchDeletePentestsInput {
1166
1260
  */
1167
1261
  agentSpaceId: string | undefined;
1168
1262
  }
1263
+ /**
1264
+ * <p>The configuration that enables a pentest to run as part of a CI/CD pipeline, scoped to the code changes in each pipeline run.</p>
1265
+ * @public
1266
+ */
1267
+ export interface CiCdConfiguration {
1268
+ /**
1269
+ * <p>Whether CI/CD pentesting is enabled for this pentest.</p>
1270
+ * @public
1271
+ */
1272
+ enabled?: boolean | undefined;
1273
+ }
1169
1274
  /**
1170
1275
  * <p>The Amazon CloudWatch Logs configuration for pentest job logging.</p>
1171
1276
  * @public
@@ -1387,6 +1492,11 @@ export interface Pentest {
1387
1492
  * @public
1388
1493
  */
1389
1494
  reportFilters?: ReportFilters | undefined;
1495
+ /**
1496
+ * <p>The CI/CD pentesting configuration for this pentest. Present when the pentest is set up to run from a CI/CD pipeline.</p>
1497
+ * @public
1498
+ */
1499
+ cicdConfiguration?: CiCdConfiguration | undefined;
1390
1500
  /**
1391
1501
  * <p>The date and time the pentest was created, in UTC format.</p>
1392
1502
  * @public
@@ -2256,6 +2366,53 @@ export interface BatchGetPentestJobsInput {
2256
2366
  */
2257
2367
  agentSpaceId: string | undefined;
2258
2368
  }
2369
+ /**
2370
+ * <p>A code change in a CI/CD pipeline run that defines what a CI/CD pentest job tests. Each scope change identifies an integrated repository and the commit range for the change.</p>
2371
+ * @public
2372
+ */
2373
+ export interface ScopeChange {
2374
+ /**
2375
+ * <p>The identifier of the integration for the source-code provider that hosts the repository.</p>
2376
+ * @public
2377
+ */
2378
+ integrationId: string | undefined;
2379
+ /**
2380
+ * <p>The provider-specific identifier of the repository the change belongs to.</p>
2381
+ * @public
2382
+ */
2383
+ providerResourceId: string | undefined;
2384
+ /**
2385
+ * <p>The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.</p>
2386
+ * @public
2387
+ */
2388
+ baseCommitSha?: string | undefined;
2389
+ /**
2390
+ * <p>The commit SHA at the tip of the change to be tested.</p>
2391
+ * @public
2392
+ */
2393
+ headCommitSha: string | undefined;
2394
+ /**
2395
+ * <p>The identifier of the CI/CD pipeline run that triggered this pentest job.</p>
2396
+ * @public
2397
+ */
2398
+ triggerRunId?: string | undefined;
2399
+ }
2400
+ /**
2401
+ * <p>The outcome of scoping a CI/CD pentest job's code changes, including the decision and the reason for it.</p>
2402
+ * @public
2403
+ */
2404
+ export interface ScopeResult {
2405
+ /**
2406
+ * <p>The scoping decision for the job's code changes.</p>
2407
+ * @public
2408
+ */
2409
+ decision: ScopeDecision | undefined;
2410
+ /**
2411
+ * <p>A human-readable explanation of the scoping decision.</p>
2412
+ * @public
2413
+ */
2414
+ reason: string | undefined;
2415
+ }
2259
2416
  /**
2260
2417
  * <p>Represents a pentest job, which is an execution instance of a pentest. A pentest job progresses through preflight, static analysis, pentest, and finalizing steps.</p>
2261
2418
  * @public
@@ -2387,7 +2544,7 @@ export interface PentestJob {
2387
2544
  */
2388
2545
  maxTaskHours?: number | undefined;
2389
2546
  /**
2390
- * <p>The type of the pentest job. Valid values are FULL and REVALIDATION.</p>
2547
+ * <p>The type of the pentest job. Valid values are FULL, REVALIDATION, and CICD.</p>
2391
2548
  * @public
2392
2549
  */
2393
2550
  jobType?: JobType | undefined;
@@ -2401,6 +2558,26 @@ export interface PentestJob {
2401
2558
  * @public
2402
2559
  */
2403
2560
  reportDestination?: ReportDestination | undefined;
2561
+ /**
2562
+ * <p>The URL to view this pentest job's findings report in the console.</p>
2563
+ * @public
2564
+ */
2565
+ reportUrl?: string | undefined;
2566
+ /**
2567
+ * <p>The scoping outcome for this CI/CD pentest job. Present only for jobs of type CICD.</p>
2568
+ * @public
2569
+ */
2570
+ scopeResult?: ScopeResult | undefined;
2571
+ /**
2572
+ * <p>The code changes that defined the scope of this CI/CD pentest job. Present only for jobs of type CICD.</p>
2573
+ * @public
2574
+ */
2575
+ scopeChanges?: ScopeChange[] | undefined;
2576
+ /**
2577
+ * <p>The configuration that enables a pentest to run as part of a CI/CD pipeline, scoped to the code changes in each pipeline run.</p>
2578
+ * @public
2579
+ */
2580
+ cicdConfiguration?: CiCdConfiguration | undefined;
2404
2581
  /**
2405
2582
  * <p>The date and time the pentest job was created, in UTC format.</p>
2406
2583
  * @public
@@ -3310,6 +3487,27 @@ export interface BatchUpdateSecurityRequirementsOutput {
3310
3487
  */
3311
3488
  errors: BatchSecurityRequirementError[] | undefined;
3312
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
+ }
3313
3511
  /**
3314
3512
  * <p>The configuration for creating a Bitbucket integration.</p>
3315
3513
  * @public
@@ -3814,7 +4012,7 @@ export interface GitLabIntegrationInput {
3814
4012
  * <p>The provider-specific input for creating an integration. This is a union type that contains provider-specific configuration.</p>
3815
4013
  * @public
3816
4014
  */
3817
- 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;
3818
4016
  /**
3819
4017
  * @public
3820
4018
  */
@@ -3828,6 +4026,8 @@ export declare namespace ProviderInput {
3828
4026
  gitlab?: never;
3829
4027
  bitbucket?: never;
3830
4028
  confluence?: never;
4029
+ azureDevOps?: never;
4030
+ bitbucketDataCenter?: never;
3831
4031
  $unknown?: never;
3832
4032
  }
3833
4033
  /**
@@ -3839,6 +4039,8 @@ export declare namespace ProviderInput {
3839
4039
  gitlab: GitLabIntegrationInput;
3840
4040
  bitbucket?: never;
3841
4041
  confluence?: never;
4042
+ azureDevOps?: never;
4043
+ bitbucketDataCenter?: never;
3842
4044
  $unknown?: never;
3843
4045
  }
3844
4046
  /**
@@ -3850,6 +4052,8 @@ export declare namespace ProviderInput {
3850
4052
  gitlab?: never;
3851
4053
  bitbucket: BitbucketIntegrationInput;
3852
4054
  confluence?: never;
4055
+ azureDevOps?: never;
4056
+ bitbucketDataCenter?: never;
3853
4057
  $unknown?: never;
3854
4058
  }
3855
4059
  /**
@@ -3861,6 +4065,34 @@ export declare namespace ProviderInput {
3861
4065
  gitlab?: never;
3862
4066
  bitbucket?: never;
3863
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;
3864
4096
  $unknown?: never;
3865
4097
  }
3866
4098
  /**
@@ -3871,6 +4103,8 @@ export declare namespace ProviderInput {
3871
4103
  gitlab?: never;
3872
4104
  bitbucket?: never;
3873
4105
  confluence?: never;
4106
+ azureDevOps?: never;
4107
+ bitbucketDataCenter?: never;
3874
4108
  $unknown: [string, any];
3875
4109
  }
3876
4110
  /**
@@ -3882,6 +4116,8 @@ export declare namespace ProviderInput {
3882
4116
  gitlab: (value: GitLabIntegrationInput) => T;
3883
4117
  bitbucket: (value: BitbucketIntegrationInput) => T;
3884
4118
  confluence: (value: ConfluenceIntegrationInput) => T;
4119
+ azureDevOps: (value: AzureDevOpsIntegrationInput) => T;
4120
+ bitbucketDataCenter: (value: BitbucketDataCenterIntegrationInput) => T;
3885
4121
  _: (name: string, value: any) => T;
3886
4122
  }
3887
4123
  }
@@ -3890,7 +4126,7 @@ export declare namespace ProviderInput {
3890
4126
  */
3891
4127
  export interface CreateIntegrationInput {
3892
4128
  /**
3893
- * <p>The integration provider. Currently, only GITHUB is supported.</p>
4129
+ * <p>The integration provider.</p>
3894
4130
  * @public
3895
4131
  */
3896
4132
  provider: Provider | undefined;
@@ -4081,6 +4317,11 @@ export interface CreatePentestInput {
4081
4317
  * @public
4082
4318
  */
4083
4319
  reportFilters?: ReportFilters | undefined;
4320
+ /**
4321
+ * <p>The CI/CD pentesting configuration to apply to the pentest.</p>
4322
+ * @public
4323
+ */
4324
+ cicdConfiguration?: CiCdConfiguration | undefined;
4084
4325
  }
4085
4326
  /**
4086
4327
  * <p>Output for the CreatePentest operation.</p>
@@ -4142,6 +4383,11 @@ export interface CreatePentestOutput {
4142
4383
  * @public
4143
4384
  */
4144
4385
  reportFilters?: ReportFilters | undefined;
4386
+ /**
4387
+ * <p>The CI/CD pentesting configuration applied to the pentest.</p>
4388
+ * @public
4389
+ */
4390
+ cicdConfiguration?: CiCdConfiguration | undefined;
4145
4391
  }
4146
4392
  /**
4147
4393
  * <p>The configuration for a self-managed private connection.</p>
@@ -5239,6 +5485,11 @@ export interface GetIntegrationOutput {
5239
5485
  * @public
5240
5486
  */
5241
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;
5242
5493
  /**
5243
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>
5244
5495
  * @public
@@ -5515,10 +5766,30 @@ export interface ImportSecurityRequirementsOutput {
5515
5766
  */
5516
5767
  export interface InitiateProviderRegistrationInput {
5517
5768
  /**
5518
- * <p>The provider to initiate registration with. Currently, only GITHUB is supported.</p>
5769
+ * <p>The provider to initiate registration with.</p>
5519
5770
  * @public
5520
5771
  */
5521
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;
5522
5793
  }
5523
5794
  /**
5524
5795
  * @public
@@ -5539,7 +5810,7 @@ export interface InitiateProviderRegistrationOutput {
5539
5810
  * <p>Represents an integrated resource from a third-party provider. This is a union type that contains provider-specific resource information.</p>
5540
5811
  * @public
5541
5812
  */
5542
- 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;
5543
5814
  /**
5544
5815
  * @public
5545
5816
  */
@@ -5553,6 +5824,7 @@ export declare namespace IntegratedResource {
5553
5824
  gitlabRepository?: never;
5554
5825
  bitbucketRepository?: never;
5555
5826
  confluenceDocument?: never;
5827
+ azureDevOpsRepository?: never;
5556
5828
  $unknown?: never;
5557
5829
  }
5558
5830
  /**
@@ -5564,6 +5836,7 @@ export declare namespace IntegratedResource {
5564
5836
  gitlabRepository: GitLabRepositoryResource;
5565
5837
  bitbucketRepository?: never;
5566
5838
  confluenceDocument?: never;
5839
+ azureDevOpsRepository?: never;
5567
5840
  $unknown?: never;
5568
5841
  }
5569
5842
  /**
@@ -5575,6 +5848,7 @@ export declare namespace IntegratedResource {
5575
5848
  gitlabRepository?: never;
5576
5849
  bitbucketRepository: BitbucketRepositoryResource;
5577
5850
  confluenceDocument?: never;
5851
+ azureDevOpsRepository?: never;
5578
5852
  $unknown?: never;
5579
5853
  }
5580
5854
  /**
@@ -5586,6 +5860,19 @@ export declare namespace IntegratedResource {
5586
5860
  gitlabRepository?: never;
5587
5861
  bitbucketRepository?: never;
5588
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;
5589
5876
  $unknown?: never;
5590
5877
  }
5591
5878
  /**
@@ -5596,6 +5883,7 @@ export declare namespace IntegratedResource {
5596
5883
  gitlabRepository?: never;
5597
5884
  bitbucketRepository?: never;
5598
5885
  confluenceDocument?: never;
5886
+ azureDevOpsRepository?: never;
5599
5887
  $unknown: [string, any];
5600
5888
  }
5601
5889
  /**
@@ -5607,6 +5895,7 @@ export declare namespace IntegratedResource {
5607
5895
  gitlabRepository: (value: GitLabRepositoryResource) => T;
5608
5896
  bitbucketRepository: (value: BitbucketRepositoryResource) => T;
5609
5897
  confluenceDocument: (value: ConfluenceDocumentResource) => T;
5898
+ azureDevOpsRepository: (value: AzureDevOpsRepositoryResource) => T;
5610
5899
  _: (name: string, value: any) => T;
5611
5900
  }
5612
5901
  }
@@ -5614,7 +5903,7 @@ export declare namespace IntegratedResource {
5614
5903
  * <p>The capabilities for an integrated resource from a third-party provider. This is a union type that contains provider-specific capabilities.</p>
5615
5904
  * @public
5616
5905
  */
5617
- 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;
5618
5907
  /**
5619
5908
  * @public
5620
5909
  */
@@ -5628,6 +5917,7 @@ export declare namespace ProviderResourceCapabilities {
5628
5917
  gitlab?: never;
5629
5918
  bitbucket?: never;
5630
5919
  confluence?: never;
5920
+ azureDevOps?: never;
5631
5921
  $unknown?: never;
5632
5922
  }
5633
5923
  /**
@@ -5639,6 +5929,7 @@ export declare namespace ProviderResourceCapabilities {
5639
5929
  gitlab: GitLabResourceCapabilities;
5640
5930
  bitbucket?: never;
5641
5931
  confluence?: never;
5932
+ azureDevOps?: never;
5642
5933
  $unknown?: never;
5643
5934
  }
5644
5935
  /**
@@ -5650,6 +5941,7 @@ export declare namespace ProviderResourceCapabilities {
5650
5941
  gitlab?: never;
5651
5942
  bitbucket: BitbucketResourceCapabilities;
5652
5943
  confluence?: never;
5944
+ azureDevOps?: never;
5653
5945
  $unknown?: never;
5654
5946
  }
5655
5947
  /**
@@ -5661,6 +5953,19 @@ export declare namespace ProviderResourceCapabilities {
5661
5953
  gitlab?: never;
5662
5954
  bitbucket?: never;
5663
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;
5664
5969
  $unknown?: never;
5665
5970
  }
5666
5971
  /**
@@ -5671,6 +5976,7 @@ export declare namespace ProviderResourceCapabilities {
5671
5976
  gitlab?: never;
5672
5977
  bitbucket?: never;
5673
5978
  confluence?: never;
5979
+ azureDevOps?: never;
5674
5980
  $unknown: [string, any];
5675
5981
  }
5676
5982
  /**
@@ -5682,6 +5988,7 @@ export declare namespace ProviderResourceCapabilities {
5682
5988
  gitlab: (value: GitLabResourceCapabilities) => T;
5683
5989
  bitbucket: (value: BitbucketResourceCapabilities) => T;
5684
5990
  confluence: (value: ConfluenceResourceCapabilities) => T;
5991
+ azureDevOps: (value: AzureDevOpsResourceCapabilities) => T;
5685
5992
  _: (name: string, value: any) => T;
5686
5993
  }
5687
5994
  }
@@ -5705,7 +6012,7 @@ export interface IntegratedResourceInputItem {
5705
6012
  * <p>Contains metadata about an integrated resource. This is a union type that contains provider-specific metadata.</p>
5706
6013
  * @public
5707
6014
  */
5708
- 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;
5709
6016
  /**
5710
6017
  * @public
5711
6018
  */
@@ -5719,6 +6026,7 @@ export declare namespace IntegratedResourceMetadata {
5719
6026
  gitlabRepository?: never;
5720
6027
  bitbucketRepository?: never;
5721
6028
  confluenceDocument?: never;
6029
+ azureDevOpsRepository?: never;
5722
6030
  $unknown?: never;
5723
6031
  }
5724
6032
  /**
@@ -5730,6 +6038,7 @@ export declare namespace IntegratedResourceMetadata {
5730
6038
  gitlabRepository: GitLabRepositoryMetadata;
5731
6039
  bitbucketRepository?: never;
5732
6040
  confluenceDocument?: never;
6041
+ azureDevOpsRepository?: never;
5733
6042
  $unknown?: never;
5734
6043
  }
5735
6044
  /**
@@ -5741,6 +6050,7 @@ export declare namespace IntegratedResourceMetadata {
5741
6050
  gitlabRepository?: never;
5742
6051
  bitbucketRepository: BitbucketRepositoryMetadata;
5743
6052
  confluenceDocument?: never;
6053
+ azureDevOpsRepository?: never;
5744
6054
  $unknown?: never;
5745
6055
  }
5746
6056
  /**
@@ -5752,6 +6062,19 @@ export declare namespace IntegratedResourceMetadata {
5752
6062
  gitlabRepository?: never;
5753
6063
  bitbucketRepository?: never;
5754
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;
5755
6078
  $unknown?: never;
5756
6079
  }
5757
6080
  /**
@@ -5762,6 +6085,7 @@ export declare namespace IntegratedResourceMetadata {
5762
6085
  gitlabRepository?: never;
5763
6086
  bitbucketRepository?: never;
5764
6087
  confluenceDocument?: never;
6088
+ azureDevOpsRepository?: never;
5765
6089
  $unknown: [string, any];
5766
6090
  }
5767
6091
  /**
@@ -5773,6 +6097,7 @@ export declare namespace IntegratedResourceMetadata {
5773
6097
  gitlabRepository: (value: GitLabRepositoryMetadata) => T;
5774
6098
  bitbucketRepository: (value: BitbucketRepositoryMetadata) => T;
5775
6099
  confluenceDocument: (value: ConfluenceDocumentMetadata) => T;
6100
+ azureDevOpsRepository: (value: AzureDevOpsRepositoryMetadata) => T;
5776
6101
  _: (name: string, value: any) => T;
5777
6102
  }
5778
6103
  }
@@ -5897,6 +6222,11 @@ export interface IntegrationSummary {
5897
6222
  * @public
5898
6223
  */
5899
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;
5900
6230
  /**
5901
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>
5902
6232
  * @public
@@ -5918,6 +6248,43 @@ export interface ListIntegrationsOutput {
5918
6248
  */
5919
6249
  nextToken?: string | undefined;
5920
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
+ }
5921
6288
  /**
5922
6289
  * @public
5923
6290
  */
@@ -6470,6 +6837,11 @@ export interface ListPentestJobsForPentestInput {
6470
6837
  * @public
6471
6838
  */
6472
6839
  nextToken?: string | undefined;
6840
+ /**
6841
+ * <p>Filters the returned pentest jobs to only those of the specified job type.</p>
6842
+ * @public
6843
+ */
6844
+ jobType?: JobType | undefined;
6473
6845
  }
6474
6846
  /**
6475
6847
  * <p>Contains summary information about a pentest job.</p>
@@ -6506,6 +6878,16 @@ export interface PentestJobSummary {
6506
6878
  * @public
6507
6879
  */
6508
6880
  updatedAt?: Date | undefined;
6881
+ /**
6882
+ * <p>The type of the pentest job. Valid values are FULL, REVALIDATION, and CICD.</p>
6883
+ * @public
6884
+ */
6885
+ jobType?: JobType | undefined;
6886
+ /**
6887
+ * <p>The URL to view this pentest job's findings report in the console.</p>
6888
+ * @public
6889
+ */
6890
+ reportUrl?: string | undefined;
6509
6891
  }
6510
6892
  /**
6511
6893
  * <p>Output for the ListPentestJobsForPentest operation.</p>
@@ -7605,7 +7987,7 @@ export interface StartPentestJobInput {
7605
7987
  */
7606
7988
  pentestId: string | undefined;
7607
7989
  /**
7608
- * <p>The type of pentest job to start. Valid values are FULL and REVALIDATION. When set to REVALIDATION, the selectedFindingIds parameter is required.</p>
7990
+ * <p>The type of pentest job to start. Valid values are FULL, REVALIDATION, and CICD. When set to REVALIDATION, the selectedFindingIds parameter is required. When set to CICD, the scopeChanges parameter defines the code changes to test.</p>
7609
7991
  * @public
7610
7992
  */
7611
7993
  jobType?: JobType | undefined;
@@ -7614,6 +7996,11 @@ export interface StartPentestJobInput {
7614
7996
  * @public
7615
7997
  */
7616
7998
  selectedFindingIds?: string[] | undefined;
7999
+ /**
8000
+ * <p>The code changes that define the scope of a CI/CD pentest job. Provide this when starting a job with jobType CICD to test only the changes in the current pipeline run.</p>
8001
+ * @public
8002
+ */
8003
+ scopeChanges?: ScopeChange[] | undefined;
7617
8004
  }
7618
8005
  /**
7619
8006
  * <p>Output for the StartPentestJob operation.</p>
@@ -8079,526 +8466,3 @@ export interface UpdateFindingInput {
8079
8466
  */
8080
8467
  export interface UpdateFindingOutput {
8081
8468
  }
8082
- /**
8083
- * @public
8084
- */
8085
- export interface UpdateIntegratedResourcesInput {
8086
- /**
8087
- * <p>The unique identifier of the agent space.</p>
8088
- * @public
8089
- */
8090
- agentSpaceId: string | undefined;
8091
- /**
8092
- * <p>The unique identifier of the integration.</p>
8093
- * @public
8094
- */
8095
- integrationId: string | undefined;
8096
- /**
8097
- * <p>The list of integrated resource items to update.</p>
8098
- * @public
8099
- */
8100
- items: IntegratedResourceInputItem[] | undefined;
8101
- }
8102
- /**
8103
- * @public
8104
- */
8105
- export interface UpdateIntegratedResourcesOutput {
8106
- }
8107
- /**
8108
- * <p>Input for updating an existing pentest.</p>
8109
- * @public
8110
- */
8111
- export interface UpdatePentestInput {
8112
- /**
8113
- * <p>The unique identifier of the pentest to update.</p>
8114
- * @public
8115
- */
8116
- pentestId: string | undefined;
8117
- /**
8118
- * <p>The unique identifier of the agent space that contains the pentest.</p>
8119
- * @public
8120
- */
8121
- agentSpaceId: string | undefined;
8122
- /**
8123
- * <p>The updated title of the pentest.</p>
8124
- * @public
8125
- */
8126
- title?: string | undefined;
8127
- /**
8128
- * <p>The updated assets for the pentest.</p>
8129
- * @public
8130
- */
8131
- assets?: Assets | undefined;
8132
- /**
8133
- * <p>The updated list of risk types to exclude from the pentest.</p>
8134
- * @public
8135
- */
8136
- excludeRiskTypes?: RiskType[] | undefined;
8137
- /**
8138
- * <p>The updated IAM service role for the pentest.</p>
8139
- * @public
8140
- */
8141
- serviceRole?: string | undefined;
8142
- /**
8143
- * <p>The updated CloudWatch Logs configuration for the pentest.</p>
8144
- * @public
8145
- */
8146
- logConfig?: CloudWatchLog | undefined;
8147
- /**
8148
- * <p>The updated VPC configuration for the pentest.</p>
8149
- * @public
8150
- */
8151
- vpcConfig?: VpcConfig | undefined;
8152
- /**
8153
- * <p>The updated network traffic configuration for the pentest.</p>
8154
- * @public
8155
- */
8156
- networkTrafficConfig?: NetworkTrafficConfig | undefined;
8157
- /**
8158
- * <p>The updated code remediation strategy for the pentest.</p>
8159
- * @public
8160
- */
8161
- codeRemediationStrategy?: CodeRemediationStrategy | undefined;
8162
- /**
8163
- * <p>The updated list of managed skills to disable for this pentest. Valid values include FINDING_PERSONALIZATION and LOGIN_OPTIMIZATION.</p>
8164
- * @public
8165
- */
8166
- disableManagedSkills?: SkillType[] | undefined;
8167
- /**
8168
- * <p>The updated maximum number of billable task hours allowed for jobs started from this pentest.</p>
8169
- * @public
8170
- */
8171
- maxTaskHours?: number | undefined;
8172
- /**
8173
- * <p>The destination for publishing scan reports to an integrated document provider.</p>
8174
- * @public
8175
- */
8176
- reportDestination?: ReportDestination | undefined;
8177
- /**
8178
- * <p>The report-generation filters applied when the report is exported.</p>
8179
- * @public
8180
- */
8181
- reportFilters?: ReportFilters | undefined;
8182
- }
8183
- /**
8184
- * <p>Output for the UpdatePentest operation.</p>
8185
- * @public
8186
- */
8187
- export interface UpdatePentestOutput {
8188
- /**
8189
- * <p>The unique identifier of the pentest.</p>
8190
- * @public
8191
- */
8192
- pentestId?: string | undefined;
8193
- /**
8194
- * <p>The title of the pentest.</p>
8195
- * @public
8196
- */
8197
- title?: string | undefined;
8198
- /**
8199
- * <p>The date and time the pentest was created, in UTC format.</p>
8200
- * @public
8201
- */
8202
- createdAt?: Date | undefined;
8203
- /**
8204
- * <p>The date and time the pentest was last updated, in UTC format.</p>
8205
- * @public
8206
- */
8207
- updatedAt?: Date | undefined;
8208
- /**
8209
- * <p>The assets included in the pentest.</p>
8210
- * @public
8211
- */
8212
- assets?: Assets | undefined;
8213
- /**
8214
- * <p>The list of risk types excluded from the pentest.</p>
8215
- * @public
8216
- */
8217
- excludeRiskTypes?: RiskType[] | undefined;
8218
- /**
8219
- * <p>The IAM service role used for the pentest.</p>
8220
- * @public
8221
- */
8222
- serviceRole?: string | undefined;
8223
- /**
8224
- * <p>The CloudWatch Logs configuration for the pentest.</p>
8225
- * @public
8226
- */
8227
- logConfig?: CloudWatchLog | undefined;
8228
- /**
8229
- * <p>The unique identifier of the agent space that contains the pentest.</p>
8230
- * @public
8231
- */
8232
- agentSpaceId?: string | undefined;
8233
- /**
8234
- * <p>The destination for publishing scan reports to an integrated document provider.</p>
8235
- * @public
8236
- */
8237
- reportDestination?: ReportDestination | undefined;
8238
- /**
8239
- * <p>The report-generation filters applied when the report is exported.</p>
8240
- * @public
8241
- */
8242
- reportFilters?: ReportFilters | undefined;
8243
- }
8244
- /**
8245
- * <p>Input for updating an existing threat.</p>
8246
- * @public
8247
- */
8248
- export interface UpdateThreatInput {
8249
- /**
8250
- * <p>The unique identifier of the threat to update.</p>
8251
- * @public
8252
- */
8253
- threatId: string | undefined;
8254
- /**
8255
- * <p>The unique identifier of the agent space.</p>
8256
- * @public
8257
- */
8258
- agentSpaceId: string | undefined;
8259
- /**
8260
- * <p>A short title summarizing the threat.</p>
8261
- * @public
8262
- */
8263
- title?: string | undefined;
8264
- /**
8265
- * <p>The updated status of the threat.</p>
8266
- * @public
8267
- */
8268
- status?: ThreatStatus | undefined;
8269
- /**
8270
- * <p>Optional customer comment.</p>
8271
- * @public
8272
- */
8273
- comments?: string | undefined;
8274
- /**
8275
- * <p>The updated natural-language threat statement.</p>
8276
- * @public
8277
- */
8278
- statement?: string | undefined;
8279
- /**
8280
- * <p>The updated severity level of the threat.</p>
8281
- * @public
8282
- */
8283
- severity?: ThreatSeverity | undefined;
8284
- /**
8285
- * <p>The updated actor or origin of the threat.</p>
8286
- * @public
8287
- */
8288
- threatSource?: string | undefined;
8289
- /**
8290
- * <p>The updated conditions required for the threat to be exploitable.</p>
8291
- * @public
8292
- */
8293
- prerequisites?: string | undefined;
8294
- /**
8295
- * <p>The updated description of what the threat source can do.</p>
8296
- * @public
8297
- */
8298
- threatAction?: string | undefined;
8299
- /**
8300
- * <p>The updated direct consequence of the threat action.</p>
8301
- * @public
8302
- */
8303
- threatImpact?: string | undefined;
8304
- /**
8305
- * <p>The updated security goals affected by the threat.</p>
8306
- * @public
8307
- */
8308
- impactedGoal?: string[] | undefined;
8309
- /**
8310
- * <p>The updated list of specific assets affected by the threat.</p>
8311
- * @public
8312
- */
8313
- impactedAssets?: string[] | undefined;
8314
- /**
8315
- * <p>The updated DFD element this threat is anchored to.</p>
8316
- * @public
8317
- */
8318
- anchor?: ThreatAnchorShape | undefined;
8319
- /**
8320
- * <p>The updated source code files supporting the threat.</p>
8321
- * @public
8322
- */
8323
- evidence?: ThreatEvidenceShape[] | undefined;
8324
- /**
8325
- * <p>The updated recommended mitigation guidance for this threat.</p>
8326
- * @public
8327
- */
8328
- recommendation?: string | undefined;
8329
- }
8330
- /**
8331
- * <p>Output for the UpdateThreat operation.</p>
8332
- * @public
8333
- */
8334
- export interface UpdateThreatOutput {
8335
- /**
8336
- * <p>The unique identifier of the threat.</p>
8337
- * @public
8338
- */
8339
- threatId: string | undefined;
8340
- /**
8341
- * <p>The unique identifier of the threat model job the threat belongs to.</p>
8342
- * @public
8343
- */
8344
- threatJobId: string | undefined;
8345
- /**
8346
- * <p>A short title summarizing the threat.</p>
8347
- * @public
8348
- */
8349
- title?: string | undefined;
8350
- /**
8351
- * <p>The natural-language threat statement.</p>
8352
- * @public
8353
- */
8354
- statement?: string | undefined;
8355
- /**
8356
- * <p>The severity level of the threat.</p>
8357
- * @public
8358
- */
8359
- severity?: ThreatSeverity | undefined;
8360
- /**
8361
- * <p>The current status of the threat.</p>
8362
- * @public
8363
- */
8364
- status?: ThreatStatus | undefined;
8365
- /**
8366
- * <p>Optional customer comment on the threat.</p>
8367
- * @public
8368
- */
8369
- comments?: string | undefined;
8370
- /**
8371
- * <p>The STRIDE categories applicable to this threat.</p>
8372
- * @public
8373
- */
8374
- stride?: StrideCategory[] | undefined;
8375
- /**
8376
- * <p>The actor or origin of the threat.</p>
8377
- * @public
8378
- */
8379
- threatSource?: string | undefined;
8380
- /**
8381
- * <p>The conditions required for the threat to be exploitable.</p>
8382
- * @public
8383
- */
8384
- prerequisites?: string | undefined;
8385
- /**
8386
- * <p>What the threat source can do.</p>
8387
- * @public
8388
- */
8389
- threatAction?: string | undefined;
8390
- /**
8391
- * <p>The direct consequence of the threat action.</p>
8392
- * @public
8393
- */
8394
- threatImpact?: string | undefined;
8395
- /**
8396
- * <p>The security goals affected by the threat.</p>
8397
- * @public
8398
- */
8399
- impactedGoal?: string[] | undefined;
8400
- /**
8401
- * <p>The specific assets affected by the threat.</p>
8402
- * @public
8403
- */
8404
- impactedAssets?: string[] | undefined;
8405
- /**
8406
- * <p>The DFD element this threat is anchored to.</p>
8407
- * @public
8408
- */
8409
- anchor?: ThreatAnchorShape | undefined;
8410
- /**
8411
- * <p>The source code files supporting the threat.</p>
8412
- * @public
8413
- */
8414
- evidence?: ThreatEvidenceShape[] | undefined;
8415
- /**
8416
- * <p>The recommended mitigation guidance for this threat.</p>
8417
- * @public
8418
- */
8419
- recommendation?: string | undefined;
8420
- /**
8421
- * <p>Who created this threat.</p>
8422
- * @public
8423
- */
8424
- createdBy?: ThreatActor | undefined;
8425
- /**
8426
- * <p>Who last updated this threat.</p>
8427
- * @public
8428
- */
8429
- updatedBy?: ThreatActor | undefined;
8430
- /**
8431
- * <p>The date and time the threat was created, in UTC format.</p>
8432
- * @public
8433
- */
8434
- createdAt?: Date | undefined;
8435
- /**
8436
- * <p>The date and time the threat was last updated, in UTC format.</p>
8437
- * @public
8438
- */
8439
- updatedAt?: Date | undefined;
8440
- }
8441
- /**
8442
- * <p>Input for updating an existing threat model.</p>
8443
- * @public
8444
- */
8445
- export interface UpdateThreatModelInput {
8446
- /**
8447
- * <p>The unique identifier of the threat model to update.</p>
8448
- * @public
8449
- */
8450
- threatModelId: string | undefined;
8451
- /**
8452
- * <p>The unique identifier of the agent space that contains the threat model.</p>
8453
- * @public
8454
- */
8455
- agentSpaceId: string | undefined;
8456
- /**
8457
- * <p>The updated title of the threat model.</p>
8458
- * @public
8459
- */
8460
- title?: string | undefined;
8461
- /**
8462
- * <p>The updated description of the application or system being threat modeled.</p>
8463
- * @public
8464
- */
8465
- description?: string | undefined;
8466
- /**
8467
- * <p>The updated assets for the threat model.</p>
8468
- * @public
8469
- */
8470
- assets?: Assets | undefined;
8471
- /**
8472
- * <p>The updated scoped documents for the agent to focus on during threat modeling.</p>
8473
- * @public
8474
- */
8475
- scopeDocs?: DocumentInfo[] | undefined;
8476
- /**
8477
- * <p>The updated IAM service role for the threat model.</p>
8478
- * @public
8479
- */
8480
- serviceRole?: string | undefined;
8481
- /**
8482
- * <p>The updated CloudWatch Logs configuration for the threat model.</p>
8483
- * @public
8484
- */
8485
- logConfig?: CloudWatchLog | undefined;
8486
- /**
8487
- * <p>The destination for publishing scan reports to an integrated document provider.</p>
8488
- * @public
8489
- */
8490
- reportDestination?: ReportDestination | undefined;
8491
- }
8492
- /**
8493
- * <p>Output for the UpdateThreatModel operation.</p>
8494
- * @public
8495
- */
8496
- export interface UpdateThreatModelOutput {
8497
- /**
8498
- * <p>The unique identifier of the threat model.</p>
8499
- * @public
8500
- */
8501
- threatModelId: string | undefined;
8502
- /**
8503
- * <p>The title of the threat model.</p>
8504
- * @public
8505
- */
8506
- title?: string | undefined;
8507
- /**
8508
- * <p>The unique identifier of the agent space that contains the threat model.</p>
8509
- * @public
8510
- */
8511
- agentSpaceId?: string | undefined;
8512
- /**
8513
- * <p>A description of the application or system being threat modeled.</p>
8514
- * @public
8515
- */
8516
- description?: string | undefined;
8517
- /**
8518
- * <p>The assets included in the threat model.</p>
8519
- * @public
8520
- */
8521
- assets?: Assets | undefined;
8522
- /**
8523
- * <p>The scoped documents for the agent to focus on during threat modeling.</p>
8524
- * @public
8525
- */
8526
- scopeDocs?: DocumentInfo[] | undefined;
8527
- /**
8528
- * <p>The IAM service role used for the threat model.</p>
8529
- * @public
8530
- */
8531
- serviceRole?: string | undefined;
8532
- /**
8533
- * <p>The CloudWatch Logs configuration for the threat model.</p>
8534
- * @public
8535
- */
8536
- logConfig?: CloudWatchLog | undefined;
8537
- /**
8538
- * <p>The date and time the threat model was created, in UTC format.</p>
8539
- * @public
8540
- */
8541
- createdAt?: Date | undefined;
8542
- /**
8543
- * <p>The date and time the threat model was last updated, in UTC format.</p>
8544
- * @public
8545
- */
8546
- updatedAt?: Date | undefined;
8547
- /**
8548
- * <p>The destination for publishing scan reports to an integrated document provider.</p>
8549
- * @public
8550
- */
8551
- reportDestination?: ReportDestination | undefined;
8552
- }
8553
- /**
8554
- * <p>Input for verifying ownership for a registered target domain in an agent space.</p>
8555
- * @public
8556
- */
8557
- export interface VerifyTargetDomainInput {
8558
- /**
8559
- * <p>The unique identifier of the target domain to verify.</p>
8560
- * @public
8561
- */
8562
- targetDomainId: string | undefined;
8563
- }
8564
- /**
8565
- * <p>Output for verifying ownership for a registered target domain in an agent space.</p>
8566
- * @public
8567
- */
8568
- export interface VerifyTargetDomainOutput {
8569
- /**
8570
- * <p>The unique identifier of the target domain.</p>
8571
- * @public
8572
- */
8573
- targetDomainId?: string | undefined;
8574
- /**
8575
- * <p>The domain name of the target domain.</p>
8576
- * @public
8577
- */
8578
- domainName?: string | undefined;
8579
- /**
8580
- * <p>The date and time the target domain was created, in UTC format.</p>
8581
- * @public
8582
- */
8583
- createdAt?: Date | undefined;
8584
- /**
8585
- * <p>The date and time the target domain was last updated, in UTC format.</p>
8586
- * @public
8587
- */
8588
- updatedAt?: Date | undefined;
8589
- /**
8590
- * <p>The date and time the target domain was verified, in UTC format.</p>
8591
- * @public
8592
- */
8593
- verifiedAt?: Date | undefined;
8594
- /**
8595
- * <p>The verification status of the target domain.</p>
8596
- * @public
8597
- */
8598
- status?: TargetDomainStatus | undefined;
8599
- /**
8600
- * <p>The reason for the current target domain verification status.</p>
8601
- * @public
8602
- */
8603
- verificationStatusReason?: string | undefined;
8604
- }