aws-sdk-securityagent 1.0.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.
@@ -0,0 +1,4213 @@
1
+ # frozen_string_literal: true
2
+
3
+ # WARNING ABOUT GENERATED CODE
4
+ #
5
+ # This file is generated. See the contributing guide for more information:
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
+ #
8
+ # WARNING ABOUT GENERATED CODE
9
+
10
+ module Aws::SecurityAgent
11
+ module Types
12
+
13
+ # AWS resource configurations associated with the agent space
14
+ #
15
+ # @!attribute [rw] vpcs
16
+ # VPC configurations that the Security Agent accesses in the customer
17
+ # environment
18
+ # @return [Array<Types::VpcConfig>]
19
+ #
20
+ # @!attribute [rw] log_groups
21
+ # CloudWatch log group ARNs or names used to store Security Agent logs
22
+ # @return [Array<String>]
23
+ #
24
+ # @!attribute [rw] s3_buckets
25
+ # S3 bucket ARNs or names used to store Security Agent artifacts
26
+ # @return [Array<String>]
27
+ #
28
+ # @!attribute [rw] secret_arns
29
+ # SecretsManager secret ARNs or names used to store tester credentials
30
+ # for pentests
31
+ # @return [Array<String>]
32
+ #
33
+ # @!attribute [rw] lambda_function_arns
34
+ # Lambda function ARNs or names used to retrieve tester credentials
35
+ # for pentests
36
+ # @return [Array<String>]
37
+ #
38
+ # @!attribute [rw] iam_roles
39
+ # IAM role ARNs that the Security Agent can assume to access customer
40
+ # resources
41
+ # @return [Array<String>]
42
+ #
43
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AWSResources AWS API Documentation
44
+ #
45
+ class AWSResources < Struct.new(
46
+ :vpcs,
47
+ :log_groups,
48
+ :s3_buckets,
49
+ :secret_arns,
50
+ :lambda_function_arns,
51
+ :iam_roles)
52
+ SENSITIVE = []
53
+ include Aws::Structure
54
+ end
55
+
56
+ # Request denied due to insufficient permissions
57
+ #
58
+ # @!attribute [rw] message
59
+ # Error description
60
+ # @return [String]
61
+ #
62
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AccessDeniedException AWS API Documentation
63
+ #
64
+ class AccessDeniedException < Struct.new(
65
+ :message)
66
+ SENSITIVE = []
67
+ include Aws::Structure
68
+ end
69
+
70
+ # Represents an entity that interacts with the system during security
71
+ # testing
72
+ #
73
+ # @!attribute [rw] identifier
74
+ # Unique identifier for the actor (case-insensitive)
75
+ # @return [String]
76
+ #
77
+ # @!attribute [rw] uris
78
+ # List of URIs accessible with the actor's credentials
79
+ # @return [Array<String>]
80
+ #
81
+ # @!attribute [rw] authentication
82
+ # Authentication information used by the actor to access resources
83
+ # @return [Types::Authentication]
84
+ #
85
+ # @!attribute [rw] description
86
+ # Additional description or details about the actor
87
+ # @return [String]
88
+ #
89
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Actor AWS API Documentation
90
+ #
91
+ class Actor < Struct.new(
92
+ :identifier,
93
+ :uris,
94
+ :authentication,
95
+ :description)
96
+ SENSITIVE = []
97
+ include Aws::Structure
98
+ end
99
+
100
+ # @!attribute [rw] agent_space_id
101
+ # Unique identifier of the agent space
102
+ # @return [String]
103
+ #
104
+ # @!attribute [rw] artifact_content
105
+ # Binary content of the artifact
106
+ # @return [String]
107
+ #
108
+ # @!attribute [rw] artifact_type
109
+ # Type of the artifact file
110
+ # @return [String]
111
+ #
112
+ # @!attribute [rw] file_name
113
+ # Name of the artifact file
114
+ # @return [String]
115
+ #
116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AddArtifactInput AWS API Documentation
117
+ #
118
+ class AddArtifactInput < Struct.new(
119
+ :agent_space_id,
120
+ :artifact_content,
121
+ :artifact_type,
122
+ :file_name)
123
+ SENSITIVE = []
124
+ include Aws::Structure
125
+ end
126
+
127
+ # @!attribute [rw] artifact_id
128
+ # Unique identifier of the created artifact
129
+ # @return [String]
130
+ #
131
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AddArtifactOutput AWS API Documentation
132
+ #
133
+ class AddArtifactOutput < Struct.new(
134
+ :artifact_id)
135
+ SENSITIVE = []
136
+ include Aws::Structure
137
+ end
138
+
139
+ # Agent space structure
140
+ #
141
+ # @!attribute [rw] agent_space_id
142
+ # Unique identifier of the agent space
143
+ # @return [String]
144
+ #
145
+ # @!attribute [rw] name
146
+ # Name of the agent space
147
+ # @return [String]
148
+ #
149
+ # @!attribute [rw] description
150
+ # Description of the agent space
151
+ # @return [String]
152
+ #
153
+ # @!attribute [rw] aws_resources
154
+ # AWS resource configurations
155
+ # @return [Types::AWSResources]
156
+ #
157
+ # @!attribute [rw] target_domain_ids
158
+ # List of target domain IDs registered with the agent space
159
+ # @return [Array<String>]
160
+ #
161
+ # @!attribute [rw] code_review_settings
162
+ # Configuration for code review analysis, including controls scanning
163
+ # and general purpose scanning settings
164
+ # @return [Types::CodeReviewSettings]
165
+ #
166
+ # @!attribute [rw] kms_key_id
167
+ # Identifier of the KMS key used to encrypt data. Can be a key ID, key
168
+ # ARN, alias name, or alias ARN. If not specified, an AWS managed key
169
+ # is used.
170
+ # @return [String]
171
+ #
172
+ # @!attribute [rw] created_at
173
+ # Timestamp when the agent space was created
174
+ # @return [Time]
175
+ #
176
+ # @!attribute [rw] updated_at
177
+ # Timestamp when the agent space was last updated
178
+ # @return [Time]
179
+ #
180
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AgentSpace AWS API Documentation
181
+ #
182
+ class AgentSpace < Struct.new(
183
+ :agent_space_id,
184
+ :name,
185
+ :description,
186
+ :aws_resources,
187
+ :target_domain_ids,
188
+ :code_review_settings,
189
+ :kms_key_id,
190
+ :created_at,
191
+ :updated_at)
192
+ SENSITIVE = []
193
+ include Aws::Structure
194
+ end
195
+
196
+ # Summary information for an agent space
197
+ #
198
+ # @!attribute [rw] agent_space_id
199
+ # Unique identifier of the agent space
200
+ # @return [String]
201
+ #
202
+ # @!attribute [rw] name
203
+ # Name of the agent space
204
+ # @return [String]
205
+ #
206
+ # @!attribute [rw] created_at
207
+ # Timestamp when the agent space was created
208
+ # @return [Time]
209
+ #
210
+ # @!attribute [rw] updated_at
211
+ # Timestamp when the agent space was last updated
212
+ # @return [Time]
213
+ #
214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/AgentSpaceSummary AWS API Documentation
215
+ #
216
+ class AgentSpaceSummary < Struct.new(
217
+ :agent_space_id,
218
+ :name,
219
+ :created_at,
220
+ :updated_at)
221
+ SENSITIVE = []
222
+ include Aws::Structure
223
+ end
224
+
225
+ # Application summary for list operations
226
+ #
227
+ # @!attribute [rw] application_id
228
+ # Unique identifier of the application
229
+ # @return [String]
230
+ #
231
+ # @!attribute [rw] application_name
232
+ # Name of the application, automatically assigned by the service
233
+ # @return [String]
234
+ #
235
+ # @!attribute [rw] domain
236
+ # Domain where the application is available
237
+ # @return [String]
238
+ #
239
+ # @!attribute [rw] default_kms_key_id
240
+ # Default KMS key identifier used to encrypt application data
241
+ # @return [String]
242
+ #
243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ApplicationSummary AWS API Documentation
244
+ #
245
+ class ApplicationSummary < Struct.new(
246
+ :application_id,
247
+ :application_name,
248
+ :domain,
249
+ :default_kms_key_id)
250
+ SENSITIVE = []
251
+ include Aws::Structure
252
+ end
253
+
254
+ # Files containing relevant data for review
255
+ #
256
+ # @!attribute [rw] contents
257
+ # The content of the artifact
258
+ # @return [String]
259
+ #
260
+ # @!attribute [rw] type
261
+ # The file type of the artifact
262
+ # @return [String]
263
+ #
264
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Artifact AWS API Documentation
265
+ #
266
+ class Artifact < Struct.new(
267
+ :contents,
268
+ :type)
269
+ SENSITIVE = []
270
+ include Aws::Structure
271
+ end
272
+
273
+ # Metadata in relation to the artifact
274
+ #
275
+ # @!attribute [rw] agent_space_id
276
+ # Unique identifier of the agent space
277
+ # @return [String]
278
+ #
279
+ # @!attribute [rw] artifact_id
280
+ # Unique identifier of the artifact
281
+ # @return [String]
282
+ #
283
+ # @!attribute [rw] file_name
284
+ # Name of the artifact file
285
+ # @return [String]
286
+ #
287
+ # @!attribute [rw] updated_at
288
+ # Timestamp when the artifact was last updated
289
+ # @return [Time]
290
+ #
291
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ArtifactMetadataItem AWS API Documentation
292
+ #
293
+ class ArtifactMetadataItem < Struct.new(
294
+ :agent_space_id,
295
+ :artifact_id,
296
+ :file_name,
297
+ :updated_at)
298
+ SENSITIVE = []
299
+ include Aws::Structure
300
+ end
301
+
302
+ # Summary information about an artifact
303
+ #
304
+ # @!attribute [rw] artifact_id
305
+ # Unique identifier of the artifact
306
+ # @return [String]
307
+ #
308
+ # @!attribute [rw] file_name
309
+ # Name of the artifact file
310
+ # @return [String]
311
+ #
312
+ # @!attribute [rw] artifact_type
313
+ # Type of the artifact file
314
+ # @return [String]
315
+ #
316
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ArtifactSummary AWS API Documentation
317
+ #
318
+ class ArtifactSummary < Struct.new(
319
+ :artifact_id,
320
+ :file_name,
321
+ :artifact_type)
322
+ SENSITIVE = []
323
+ include Aws::Structure
324
+ end
325
+
326
+ # Collection of assets to be tested or used during a pentest
327
+ #
328
+ # @!attribute [rw] endpoints
329
+ # List of web application endpoints to test
330
+ # @return [Array<Types::Endpoint>]
331
+ #
332
+ # @!attribute [rw] actors
333
+ # List of actors that interact with the system
334
+ # @return [Array<Types::Actor>]
335
+ #
336
+ # @!attribute [rw] documents
337
+ # List of documents providing context for testing
338
+ # @return [Array<Types::DocumentInfo>]
339
+ #
340
+ # @!attribute [rw] source_code
341
+ # List of source code repositories for static analysis
342
+ # @return [Array<Types::SourceCodeRepository>]
343
+ #
344
+ # @!attribute [rw] integrated_repositories
345
+ # List of integrated code repositories
346
+ # @return [Array<Types::IntegratedRepository>]
347
+ #
348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Assets AWS API Documentation
349
+ #
350
+ class Assets < Struct.new(
351
+ :endpoints,
352
+ :actors,
353
+ :documents,
354
+ :source_code,
355
+ :integrated_repositories)
356
+ SENSITIVE = []
357
+ include Aws::Structure
358
+ end
359
+
360
+ # Authentication information used to access protected resources
361
+ #
362
+ # @!attribute [rw] provider_type
363
+ # Provider type for the authentication credentials
364
+ # @return [String]
365
+ #
366
+ # @!attribute [rw] value
367
+ # Authentication credential value or reference
368
+ # @return [String]
369
+ #
370
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Authentication AWS API Documentation
371
+ #
372
+ class Authentication < Struct.new(
373
+ :provider_type,
374
+ :value)
375
+ SENSITIVE = []
376
+ include Aws::Structure
377
+ end
378
+
379
+ # Input for deleting multiple pentests
380
+ #
381
+ # @!attribute [rw] pentest_ids
382
+ # List of pentest IDs to delete
383
+ # @return [Array<String>]
384
+ #
385
+ # @!attribute [rw] agent_space_id
386
+ # ID of the agent space where the pentests exist
387
+ # @return [String]
388
+ #
389
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDeletePentestsInput AWS API Documentation
390
+ #
391
+ class BatchDeletePentestsInput < Struct.new(
392
+ :pentest_ids,
393
+ :agent_space_id)
394
+ SENSITIVE = []
395
+ include Aws::Structure
396
+ end
397
+
398
+ # Output for the BatchDeletePentests operation
399
+ #
400
+ # @!attribute [rw] deleted
401
+ # List of successfully deleted pentests
402
+ # @return [Array<Types::Pentest>]
403
+ #
404
+ # @!attribute [rw] failed
405
+ # List of pentests that could not be deleted and the reasons for
406
+ # failure
407
+ # @return [Array<Types::DeletePentestFailure>]
408
+ #
409
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDeletePentestsOutput AWS API Documentation
410
+ #
411
+ class BatchDeletePentestsOutput < Struct.new(
412
+ :deleted,
413
+ :failed)
414
+ SENSITIVE = []
415
+ include Aws::Structure
416
+ end
417
+
418
+ # Input for batch retrieving agent spaces
419
+ #
420
+ # @!attribute [rw] agent_space_ids
421
+ # List of agent space IDs to retrieve
422
+ # @return [Array<String>]
423
+ #
424
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetAgentSpacesInput AWS API Documentation
425
+ #
426
+ class BatchGetAgentSpacesInput < Struct.new(
427
+ :agent_space_ids)
428
+ SENSITIVE = []
429
+ include Aws::Structure
430
+ end
431
+
432
+ # Output for the BatchGetAgentSpaces operation
433
+ #
434
+ # @!attribute [rw] agent_spaces
435
+ # List of agent spaces that were successfully retrieved
436
+ # @return [Array<Types::AgentSpace>]
437
+ #
438
+ # @!attribute [rw] not_found
439
+ # List of agent space IDs that could not be found
440
+ # @return [Array<String>]
441
+ #
442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetAgentSpacesOutput AWS API Documentation
443
+ #
444
+ class BatchGetAgentSpacesOutput < Struct.new(
445
+ :agent_spaces,
446
+ :not_found)
447
+ SENSITIVE = []
448
+ include Aws::Structure
449
+ end
450
+
451
+ # @!attribute [rw] agent_space_id
452
+ # Unique identifier of the agent space
453
+ # @return [String]
454
+ #
455
+ # @!attribute [rw] artifact_ids
456
+ # List of artifact identifiers
457
+ # @return [Array<String>]
458
+ #
459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetArtifactMetadataInput AWS API Documentation
460
+ #
461
+ class BatchGetArtifactMetadataInput < Struct.new(
462
+ :agent_space_id,
463
+ :artifact_ids)
464
+ SENSITIVE = []
465
+ include Aws::Structure
466
+ end
467
+
468
+ # @!attribute [rw] artifact_metadata_list
469
+ # List of artifact metadata
470
+ # @return [Array<Types::ArtifactMetadataItem>]
471
+ #
472
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetArtifactMetadataOutput AWS API Documentation
473
+ #
474
+ class BatchGetArtifactMetadataOutput < Struct.new(
475
+ :artifact_metadata_list)
476
+ SENSITIVE = []
477
+ include Aws::Structure
478
+ end
479
+
480
+ # Input for BatchGetFindings operation
481
+ #
482
+ # @!attribute [rw] finding_ids
483
+ # List of finding IDs to retrieve
484
+ # @return [Array<String>]
485
+ #
486
+ # @!attribute [rw] agent_space_id
487
+ # ID of the agent space where the findings exist
488
+ # @return [String]
489
+ #
490
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetFindingsInput AWS API Documentation
491
+ #
492
+ class BatchGetFindingsInput < Struct.new(
493
+ :finding_ids,
494
+ :agent_space_id)
495
+ SENSITIVE = []
496
+ include Aws::Structure
497
+ end
498
+
499
+ # Output for the BatchGetFindings operation
500
+ #
501
+ # @!attribute [rw] findings
502
+ # List of successfully retrieved findings
503
+ # @return [Array<Types::Finding>]
504
+ #
505
+ # @!attribute [rw] not_found
506
+ # List of finding IDs that could not be found
507
+ # @return [Array<String>]
508
+ #
509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetFindingsOutput AWS API Documentation
510
+ #
511
+ class BatchGetFindingsOutput < Struct.new(
512
+ :findings,
513
+ :not_found)
514
+ SENSITIVE = []
515
+ include Aws::Structure
516
+ end
517
+
518
+ # Input for retrieving multiple tasks by their IDs for a pentest job
519
+ #
520
+ # @!attribute [rw] agent_space_id
521
+ # ID of the agent space where the pentest exists
522
+ # @return [String]
523
+ #
524
+ # @!attribute [rw] task_ids
525
+ # List of task IDs to retrieve
526
+ # @return [Array<String>]
527
+ #
528
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetPentestJobTasksInput AWS API Documentation
529
+ #
530
+ class BatchGetPentestJobTasksInput < Struct.new(
531
+ :agent_space_id,
532
+ :task_ids)
533
+ SENSITIVE = []
534
+ include Aws::Structure
535
+ end
536
+
537
+ # Output for the BatchGetPentestJobTasks operation
538
+ #
539
+ # @!attribute [rw] tasks
540
+ # List of successfully retrieved tasks
541
+ # @return [Array<Types::Task>]
542
+ #
543
+ # @!attribute [rw] not_found
544
+ # List of task IDs that could not be found
545
+ # @return [Array<String>]
546
+ #
547
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetPentestJobTasksOutput AWS API Documentation
548
+ #
549
+ class BatchGetPentestJobTasksOutput < Struct.new(
550
+ :tasks,
551
+ :not_found)
552
+ SENSITIVE = []
553
+ include Aws::Structure
554
+ end
555
+
556
+ # Input for BatchGetPentestJobs operation
557
+ #
558
+ # @!attribute [rw] pentest_job_ids
559
+ # List of pentest job IDs to retrieve
560
+ # @return [Array<String>]
561
+ #
562
+ # @!attribute [rw] agent_space_id
563
+ # ID of the agent space where the pentest exists
564
+ # @return [String]
565
+ #
566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetPentestJobsInput AWS API Documentation
567
+ #
568
+ class BatchGetPentestJobsInput < Struct.new(
569
+ :pentest_job_ids,
570
+ :agent_space_id)
571
+ SENSITIVE = []
572
+ include Aws::Structure
573
+ end
574
+
575
+ # Output for the BatchGetPentestJobs operation
576
+ #
577
+ # @!attribute [rw] pentest_jobs
578
+ # List of successfully retrieved pentest jobs
579
+ # @return [Array<Types::PentestJob>]
580
+ #
581
+ # @!attribute [rw] not_found
582
+ # List of pentest job IDs that could not be found
583
+ # @return [Array<String>]
584
+ #
585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetPentestJobsOutput AWS API Documentation
586
+ #
587
+ class BatchGetPentestJobsOutput < Struct.new(
588
+ :pentest_jobs,
589
+ :not_found)
590
+ SENSITIVE = []
591
+ include Aws::Structure
592
+ end
593
+
594
+ # Input for retrieving multiple pentests by their IDs
595
+ #
596
+ # @!attribute [rw] pentest_ids
597
+ # List of pentest IDs to retrieve
598
+ # @return [Array<String>]
599
+ #
600
+ # @!attribute [rw] agent_space_id
601
+ # ID of the agent space where the pentest exists
602
+ # @return [String]
603
+ #
604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetPentestsInput AWS API Documentation
605
+ #
606
+ class BatchGetPentestsInput < Struct.new(
607
+ :pentest_ids,
608
+ :agent_space_id)
609
+ SENSITIVE = []
610
+ include Aws::Structure
611
+ end
612
+
613
+ # Output for the BatchGetPentests operation
614
+ #
615
+ # @!attribute [rw] pentests
616
+ # List of successfully retrieved pentests
617
+ # @return [Array<Types::Pentest>]
618
+ #
619
+ # @!attribute [rw] not_found
620
+ # List of pentest IDs that could not be found
621
+ # @return [Array<String>]
622
+ #
623
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetPentestsOutput AWS API Documentation
624
+ #
625
+ class BatchGetPentestsOutput < Struct.new(
626
+ :pentests,
627
+ :not_found)
628
+ SENSITIVE = []
629
+ include Aws::Structure
630
+ end
631
+
632
+ # Input for batch retrieving target domains
633
+ #
634
+ # @!attribute [rw] target_domain_ids
635
+ # List of target domain IDs to retrieve
636
+ # @return [Array<String>]
637
+ #
638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetTargetDomainsInput AWS API Documentation
639
+ #
640
+ class BatchGetTargetDomainsInput < Struct.new(
641
+ :target_domain_ids)
642
+ SENSITIVE = []
643
+ include Aws::Structure
644
+ end
645
+
646
+ # Output for the BatchGetTargetDomains operation
647
+ #
648
+ # @!attribute [rw] target_domains
649
+ # List of target domains that were successfully retrieved
650
+ # @return [Array<Types::TargetDomain>]
651
+ #
652
+ # @!attribute [rw] not_found
653
+ # List of target domain IDs that could not be found
654
+ # @return [Array<String>]
655
+ #
656
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetTargetDomainsOutput AWS API Documentation
657
+ #
658
+ class BatchGetTargetDomainsOutput < Struct.new(
659
+ :target_domains,
660
+ :not_found)
661
+ SENSITIVE = []
662
+ include Aws::Structure
663
+ end
664
+
665
+ # Represents a category classification for tasks
666
+ #
667
+ # @!attribute [rw] name
668
+ # Name of the category
669
+ # @return [String]
670
+ #
671
+ # @!attribute [rw] is_primary
672
+ # Whether this is the primary category for the task
673
+ # @return [Boolean]
674
+ #
675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Category AWS API Documentation
676
+ #
677
+ class Category < Struct.new(
678
+ :name,
679
+ :is_primary)
680
+ SENSITIVE = []
681
+ include Aws::Structure
682
+ end
683
+
684
+ # Reference to logs stored in CloudWatch
685
+ #
686
+ # @!attribute [rw] log_group
687
+ # Name of the CloudWatch log group
688
+ # @return [String]
689
+ #
690
+ # @!attribute [rw] log_stream
691
+ # Name of the CloudWatch log stream
692
+ # @return [String]
693
+ #
694
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CloudWatchLog AWS API Documentation
695
+ #
696
+ class CloudWatchLog < Struct.new(
697
+ :log_group,
698
+ :log_stream)
699
+ SENSITIVE = []
700
+ include Aws::Structure
701
+ end
702
+
703
+ # Information about task for code remediation
704
+ #
705
+ # @!attribute [rw] status
706
+ # Current status of the code remediation task
707
+ # @return [String]
708
+ #
709
+ # @!attribute [rw] status_reason
710
+ # Reason for the current code remediation task status
711
+ # @return [String]
712
+ #
713
+ # @!attribute [rw] task_details
714
+ # Details of the code remediation for each repository
715
+ # @return [Array<Types::CodeRemediationTaskDetails>]
716
+ #
717
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTask AWS API Documentation
718
+ #
719
+ class CodeRemediationTask < Struct.new(
720
+ :status,
721
+ :status_reason,
722
+ :task_details)
723
+ SENSITIVE = []
724
+ include Aws::Structure
725
+ end
726
+
727
+ # Code remediation details for a single repository
728
+ #
729
+ # @!attribute [rw] repo_name
730
+ # Name of the repository
731
+ # @return [String]
732
+ #
733
+ # @!attribute [rw] code_diff_link
734
+ # Link to the code diff for the remediation
735
+ # @return [String]
736
+ #
737
+ # @!attribute [rw] pull_request_link
738
+ # Link to the pull request for the remediation
739
+ # @return [String]
740
+ #
741
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTaskDetails AWS API Documentation
742
+ #
743
+ class CodeRemediationTaskDetails < Struct.new(
744
+ :repo_name,
745
+ :code_diff_link,
746
+ :pull_request_link)
747
+ SENSITIVE = []
748
+ include Aws::Structure
749
+ end
750
+
751
+ # Details of code review settings
752
+ #
753
+ # @!attribute [rw] controls_scanning
754
+ # Whether Controls are utilized for code review analysis
755
+ # @return [Boolean]
756
+ #
757
+ # @!attribute [rw] general_purpose_scanning
758
+ # Whether general purpose analysis is performed for code review
759
+ # @return [Boolean]
760
+ #
761
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeReviewSettings AWS API Documentation
762
+ #
763
+ class CodeReviewSettings < Struct.new(
764
+ :controls_scanning,
765
+ :general_purpose_scanning)
766
+ SENSITIVE = []
767
+ include Aws::Structure
768
+ end
769
+
770
+ # Request conflicts with current resource state
771
+ #
772
+ # @!attribute [rw] message
773
+ # Error description
774
+ # @return [String]
775
+ #
776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ConflictException AWS API Documentation
777
+ #
778
+ class ConflictException < Struct.new(
779
+ :message)
780
+ SENSITIVE = []
781
+ include Aws::Structure
782
+ end
783
+
784
+ # Input for creating a new agent space
785
+ #
786
+ # @!attribute [rw] name
787
+ # Name of the agent space
788
+ # @return [String]
789
+ #
790
+ # @!attribute [rw] description
791
+ # Description of the agent space
792
+ # @return [String]
793
+ #
794
+ # @!attribute [rw] aws_resources
795
+ # AWS resource configurations associated with the agent space
796
+ # @return [Types::AWSResources]
797
+ #
798
+ # @!attribute [rw] target_domain_ids
799
+ # Target domain IDs to associate with the agent space
800
+ # @return [Array<String>]
801
+ #
802
+ # @!attribute [rw] code_review_settings
803
+ # Configuration for code review analysis, including controls scanning
804
+ # and general purpose scanning settings
805
+ # @return [Types::CodeReviewSettings]
806
+ #
807
+ # @!attribute [rw] kms_key_id
808
+ # Identifier of the KMS key used to encrypt data. Can be a key ID, key
809
+ # ARN, alias name, or alias ARN. If not specified, an AWS managed key
810
+ # is used.
811
+ # @return [String]
812
+ #
813
+ # @!attribute [rw] tags
814
+ # Tags to associate with the agent space
815
+ # @return [Hash<String,String>]
816
+ #
817
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateAgentSpaceInput AWS API Documentation
818
+ #
819
+ class CreateAgentSpaceInput < Struct.new(
820
+ :name,
821
+ :description,
822
+ :aws_resources,
823
+ :target_domain_ids,
824
+ :code_review_settings,
825
+ :kms_key_id,
826
+ :tags)
827
+ SENSITIVE = []
828
+ include Aws::Structure
829
+ end
830
+
831
+ # Output for the CreateAgentSpace operation
832
+ #
833
+ # @!attribute [rw] agent_space_id
834
+ # Unique identifier of the created agent space
835
+ # @return [String]
836
+ #
837
+ # @!attribute [rw] name
838
+ # Name of the created agent space
839
+ # @return [String]
840
+ #
841
+ # @!attribute [rw] description
842
+ # Description of the created agent space
843
+ # @return [String]
844
+ #
845
+ # @!attribute [rw] aws_resources
846
+ # AWS resource configurations associated with the agent space
847
+ # @return [Types::AWSResources]
848
+ #
849
+ # @!attribute [rw] target_domain_ids
850
+ # List of target domain IDs registered with the agent space
851
+ # @return [Array<String>]
852
+ #
853
+ # @!attribute [rw] code_review_settings
854
+ # Configuration for code review analysis, including controls scanning
855
+ # and general purpose scanning settings
856
+ # @return [Types::CodeReviewSettings]
857
+ #
858
+ # @!attribute [rw] kms_key_id
859
+ # Identifier of the KMS key used to encrypt data. Can be a key ID, key
860
+ # ARN, alias name, or alias ARN. If not specified, an AWS managed key
861
+ # is used.
862
+ # @return [String]
863
+ #
864
+ # @!attribute [rw] created_at
865
+ # Timestamp when the agent space was created
866
+ # @return [Time]
867
+ #
868
+ # @!attribute [rw] updated_at
869
+ # Timestamp when the agent space was last updated
870
+ # @return [Time]
871
+ #
872
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateAgentSpaceOutput AWS API Documentation
873
+ #
874
+ class CreateAgentSpaceOutput < Struct.new(
875
+ :agent_space_id,
876
+ :name,
877
+ :description,
878
+ :aws_resources,
879
+ :target_domain_ids,
880
+ :code_review_settings,
881
+ :kms_key_id,
882
+ :created_at,
883
+ :updated_at)
884
+ SENSITIVE = []
885
+ include Aws::Structure
886
+ end
887
+
888
+ # @!attribute [rw] idc_instance_arn
889
+ # ARN of the IAM Identity Center instance used for user
890
+ # authentication. Optional for non-IdC applications
891
+ # @return [String]
892
+ #
893
+ # @!attribute [rw] role_arn
894
+ # ARN of the IAM role that the application uses to access AWS
895
+ # resources on your behalf
896
+ # @return [String]
897
+ #
898
+ # @!attribute [rw] default_kms_key_id
899
+ # Default KMS key identifier used to encrypt application data
900
+ # @return [String]
901
+ #
902
+ # @!attribute [rw] tags
903
+ # Tags to associate with the application
904
+ # @return [Hash<String,String>]
905
+ #
906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateApplicationRequest AWS API Documentation
907
+ #
908
+ class CreateApplicationRequest < Struct.new(
909
+ :idc_instance_arn,
910
+ :role_arn,
911
+ :default_kms_key_id,
912
+ :tags)
913
+ SENSITIVE = []
914
+ include Aws::Structure
915
+ end
916
+
917
+ # @!attribute [rw] application_id
918
+ # Application ID
919
+ # @return [String]
920
+ #
921
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateApplicationResponse AWS API Documentation
922
+ #
923
+ class CreateApplicationResponse < Struct.new(
924
+ :application_id)
925
+ SENSITIVE = []
926
+ include Aws::Structure
927
+ end
928
+
929
+ # @!attribute [rw] provider
930
+ # Provider to integrate with
931
+ # @return [String]
932
+ #
933
+ # @!attribute [rw] input
934
+ # Provider-specific input parameters
935
+ # @return [Types::ProviderInput]
936
+ #
937
+ # @!attribute [rw] integration_display_name
938
+ # Display name for the integration
939
+ # @return [String]
940
+ #
941
+ # @!attribute [rw] kms_key_id
942
+ # KMS key ID for encrypting integration details
943
+ # @return [String]
944
+ #
945
+ # @!attribute [rw] tags
946
+ # Tags to associate with the integration
947
+ # @return [Hash<String,String>]
948
+ #
949
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateIntegrationInput AWS API Documentation
950
+ #
951
+ class CreateIntegrationInput < Struct.new(
952
+ :provider,
953
+ :input,
954
+ :integration_display_name,
955
+ :kms_key_id,
956
+ :tags)
957
+ SENSITIVE = []
958
+ include Aws::Structure
959
+ end
960
+
961
+ # @!attribute [rw] integration_id
962
+ # Unique identifier of the created integration
963
+ # @return [String]
964
+ #
965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateIntegrationOutput AWS API Documentation
966
+ #
967
+ class CreateIntegrationOutput < Struct.new(
968
+ :integration_id)
969
+ SENSITIVE = []
970
+ include Aws::Structure
971
+ end
972
+
973
+ # Request structure for adding a single member to an agent space
974
+ #
975
+ # @!attribute [rw] application_id
976
+ # Application identifier
977
+ # @return [String]
978
+ #
979
+ # @!attribute [rw] agent_space_id
980
+ # Agent space identifier
981
+ # @return [String]
982
+ #
983
+ # @!attribute [rw] membership_id
984
+ # Member identifier (userId or agentSpaceId)
985
+ # @return [String]
986
+ #
987
+ # @!attribute [rw] member_type
988
+ # Type of member (USER or AGENT\_SPACE)
989
+ # @return [String]
990
+ #
991
+ # @!attribute [rw] config
992
+ # Membership details (user or agent specific)
993
+ # @return [Types::MembershipConfig]
994
+ #
995
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateMembershipRequest AWS API Documentation
996
+ #
997
+ class CreateMembershipRequest < Struct.new(
998
+ :application_id,
999
+ :agent_space_id,
1000
+ :membership_id,
1001
+ :member_type,
1002
+ :config)
1003
+ SENSITIVE = []
1004
+ include Aws::Structure
1005
+ end
1006
+
1007
+ # Response structure for adding a single member to an agent space
1008
+ #
1009
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateMembershipResponse AWS API Documentation
1010
+ #
1011
+ class CreateMembershipResponse < Aws::EmptyStructure; end
1012
+
1013
+ # Input for creating a new pentest
1014
+ #
1015
+ # @!attribute [rw] title
1016
+ # Title of the pentest
1017
+ # @return [String]
1018
+ #
1019
+ # @!attribute [rw] agent_space_id
1020
+ # ID of the agent space where the pentest should be created
1021
+ # @return [String]
1022
+ #
1023
+ # @!attribute [rw] assets
1024
+ # Assets to be tested during the pentest
1025
+ # @return [Types::Assets]
1026
+ #
1027
+ # @!attribute [rw] exclude_risk_types
1028
+ # A list of risk types excluded from the pentest execution
1029
+ # @return [Array<String>]
1030
+ #
1031
+ # @!attribute [rw] service_role
1032
+ # Service role ARN for accessing customer resources
1033
+ # @return [String]
1034
+ #
1035
+ # @!attribute [rw] log_config
1036
+ # CloudWatch log group and stream prefix where pentest execution logs
1037
+ # are stored
1038
+ # @return [Types::CloudWatchLog]
1039
+ #
1040
+ # @!attribute [rw] vpc_config
1041
+ # VPC configuration that the Security Agent accesses
1042
+ # @return [Types::VpcConfig]
1043
+ #
1044
+ # @!attribute [rw] network_traffic_config
1045
+ # Configuration for network traffic filtering
1046
+ # @return [Types::NetworkTrafficConfig]
1047
+ #
1048
+ # @!attribute [rw] code_remediation_strategy
1049
+ # Strategy for code remediation on findings
1050
+ # @return [String]
1051
+ #
1052
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestInput AWS API Documentation
1053
+ #
1054
+ class CreatePentestInput < Struct.new(
1055
+ :title,
1056
+ :agent_space_id,
1057
+ :assets,
1058
+ :exclude_risk_types,
1059
+ :service_role,
1060
+ :log_config,
1061
+ :vpc_config,
1062
+ :network_traffic_config,
1063
+ :code_remediation_strategy)
1064
+ SENSITIVE = []
1065
+ include Aws::Structure
1066
+ end
1067
+
1068
+ # Output for the CreatePentest operation
1069
+ #
1070
+ # @!attribute [rw] pentest_id
1071
+ # Unique identifier of the created pentest
1072
+ # @return [String]
1073
+ #
1074
+ # @!attribute [rw] title
1075
+ # Title of the created pentest
1076
+ # @return [String]
1077
+ #
1078
+ # @!attribute [rw] created_at
1079
+ # Timestamp when the pentest was created
1080
+ # @return [Time]
1081
+ #
1082
+ # @!attribute [rw] updated_at
1083
+ # Timestamp when the pentest was last updated
1084
+ # @return [Time]
1085
+ #
1086
+ # @!attribute [rw] assets
1087
+ # Assets to be tested in the created pentest
1088
+ # @return [Types::Assets]
1089
+ #
1090
+ # @!attribute [rw] exclude_risk_types
1091
+ # A list of risk types excluded from the pentest execution
1092
+ # @return [Array<String>]
1093
+ #
1094
+ # @!attribute [rw] service_role
1095
+ # Service role ARN for accessing customer resources
1096
+ # @return [String]
1097
+ #
1098
+ # @!attribute [rw] log_config
1099
+ # CloudWatch log group and stream prefix where pentest execution logs
1100
+ # are stored
1101
+ # @return [Types::CloudWatchLog]
1102
+ #
1103
+ # @!attribute [rw] agent_space_id
1104
+ # ID of the agent space where the pentest was created
1105
+ # @return [String]
1106
+ #
1107
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreatePentestOutput AWS API Documentation
1108
+ #
1109
+ class CreatePentestOutput < Struct.new(
1110
+ :pentest_id,
1111
+ :title,
1112
+ :created_at,
1113
+ :updated_at,
1114
+ :assets,
1115
+ :exclude_risk_types,
1116
+ :service_role,
1117
+ :log_config,
1118
+ :agent_space_id)
1119
+ SENSITIVE = []
1120
+ include Aws::Structure
1121
+ end
1122
+
1123
+ # Input for creating a new target domain
1124
+ #
1125
+ # @!attribute [rw] target_domain_name
1126
+ # Domain name of the target domain
1127
+ # @return [String]
1128
+ #
1129
+ # @!attribute [rw] verification_method
1130
+ # Verification method for the target domain
1131
+ # @return [String]
1132
+ #
1133
+ # @!attribute [rw] tags
1134
+ # Tags to associate with the target domain
1135
+ # @return [Hash<String,String>]
1136
+ #
1137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateTargetDomainInput AWS API Documentation
1138
+ #
1139
+ class CreateTargetDomainInput < Struct.new(
1140
+ :target_domain_name,
1141
+ :verification_method,
1142
+ :tags)
1143
+ SENSITIVE = []
1144
+ include Aws::Structure
1145
+ end
1146
+
1147
+ # Output for the CreateTargetDomain operation
1148
+ #
1149
+ # @!attribute [rw] target_domain_id
1150
+ # Unique identifier of the created target domain
1151
+ # @return [String]
1152
+ #
1153
+ # @!attribute [rw] domain_name
1154
+ # Name of the created target domain
1155
+ # @return [String]
1156
+ #
1157
+ # @!attribute [rw] verification_status
1158
+ # Current verification status of the registered target domain
1159
+ # @return [String]
1160
+ #
1161
+ # @!attribute [rw] verification_details
1162
+ # Verification details to verify registered target domain
1163
+ # @return [Types::VerificationDetails]
1164
+ #
1165
+ # @!attribute [rw] created_at
1166
+ # Timestamp when the target domain was registered
1167
+ # @return [Time]
1168
+ #
1169
+ # @!attribute [rw] verified_at
1170
+ # Timestamp when the target domain was last successfully verified
1171
+ # @return [Time]
1172
+ #
1173
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateTargetDomainOutput AWS API Documentation
1174
+ #
1175
+ class CreateTargetDomainOutput < Struct.new(
1176
+ :target_domain_id,
1177
+ :domain_name,
1178
+ :verification_status,
1179
+ :verification_details,
1180
+ :created_at,
1181
+ :verified_at)
1182
+ SENSITIVE = []
1183
+ include Aws::Structure
1184
+ end
1185
+
1186
+ # Custom headers to be set for network requests
1187
+ #
1188
+ # @!attribute [rw] name
1189
+ # Name of header to set value for
1190
+ # @return [String]
1191
+ #
1192
+ # @!attribute [rw] value
1193
+ # Value to set for header
1194
+ # @return [String]
1195
+ #
1196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CustomHeader AWS API Documentation
1197
+ #
1198
+ class CustomHeader < Struct.new(
1199
+ :name,
1200
+ :value)
1201
+ SENSITIVE = []
1202
+ include Aws::Structure
1203
+ end
1204
+
1205
+ # Input for deleting an agent space
1206
+ #
1207
+ # @!attribute [rw] agent_space_id
1208
+ # Unique identifier of the agent space to delete
1209
+ # @return [String]
1210
+ #
1211
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteAgentSpaceInput AWS API Documentation
1212
+ #
1213
+ class DeleteAgentSpaceInput < Struct.new(
1214
+ :agent_space_id)
1215
+ SENSITIVE = []
1216
+ include Aws::Structure
1217
+ end
1218
+
1219
+ # Output for the DeleteAgentSpace operation
1220
+ #
1221
+ # @!attribute [rw] agent_space_id
1222
+ # Unique identifier of the deleted agent space
1223
+ # @return [String]
1224
+ #
1225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteAgentSpaceOutput AWS API Documentation
1226
+ #
1227
+ class DeleteAgentSpaceOutput < Struct.new(
1228
+ :agent_space_id)
1229
+ SENSITIVE = []
1230
+ include Aws::Structure
1231
+ end
1232
+
1233
+ # @!attribute [rw] application_id
1234
+ # Application ID
1235
+ # @return [String]
1236
+ #
1237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteApplicationRequest AWS API Documentation
1238
+ #
1239
+ class DeleteApplicationRequest < Struct.new(
1240
+ :application_id)
1241
+ SENSITIVE = []
1242
+ include Aws::Structure
1243
+ end
1244
+
1245
+ # @!attribute [rw] agent_space_id
1246
+ # Unique identifier of the agent space
1247
+ # @return [String]
1248
+ #
1249
+ # @!attribute [rw] artifact_id
1250
+ # Unique identifier of the artifact
1251
+ # @return [String]
1252
+ #
1253
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteArtifactInput AWS API Documentation
1254
+ #
1255
+ class DeleteArtifactInput < Struct.new(
1256
+ :agent_space_id,
1257
+ :artifact_id)
1258
+ SENSITIVE = []
1259
+ include Aws::Structure
1260
+ end
1261
+
1262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteArtifactOutput AWS API Documentation
1263
+ #
1264
+ class DeleteArtifactOutput < Aws::EmptyStructure; end
1265
+
1266
+ # @!attribute [rw] integration_id
1267
+ # Unique identifier of the integration
1268
+ # @return [String]
1269
+ #
1270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteIntegrationInput AWS API Documentation
1271
+ #
1272
+ class DeleteIntegrationInput < Struct.new(
1273
+ :integration_id)
1274
+ SENSITIVE = []
1275
+ include Aws::Structure
1276
+ end
1277
+
1278
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteIntegrationOutput AWS API Documentation
1279
+ #
1280
+ class DeleteIntegrationOutput < Aws::EmptyStructure; end
1281
+
1282
+ # Request structure for removing a single member from an agent space
1283
+ #
1284
+ # @!attribute [rw] application_id
1285
+ # Application identifier
1286
+ # @return [String]
1287
+ #
1288
+ # @!attribute [rw] agent_space_id
1289
+ # Agent space identifier
1290
+ # @return [String]
1291
+ #
1292
+ # @!attribute [rw] membership_id
1293
+ # Member identifier (userId or agentSpaceId)
1294
+ # @return [String]
1295
+ #
1296
+ # @!attribute [rw] member_type
1297
+ # Type of member (USER or AGENT\_SPACE)
1298
+ # @return [String]
1299
+ #
1300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteMembershipRequest AWS API Documentation
1301
+ #
1302
+ class DeleteMembershipRequest < Struct.new(
1303
+ :application_id,
1304
+ :agent_space_id,
1305
+ :membership_id,
1306
+ :member_type)
1307
+ SENSITIVE = []
1308
+ include Aws::Structure
1309
+ end
1310
+
1311
+ # Response structure for removing a single member from an agent space
1312
+ #
1313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteMembershipResponse AWS API Documentation
1314
+ #
1315
+ class DeleteMembershipResponse < Aws::EmptyStructure; end
1316
+
1317
+ # Information about a failed pentest deletion attempt
1318
+ #
1319
+ # @!attribute [rw] pentest_id
1320
+ # Identifier of the pentest that failed to delete
1321
+ # @return [String]
1322
+ #
1323
+ # @!attribute [rw] reason
1324
+ # Reason for the deletion failure
1325
+ # @return [String]
1326
+ #
1327
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeletePentestFailure AWS API Documentation
1328
+ #
1329
+ class DeletePentestFailure < Struct.new(
1330
+ :pentest_id,
1331
+ :reason)
1332
+ SENSITIVE = []
1333
+ include Aws::Structure
1334
+ end
1335
+
1336
+ # Input for deleting a target domain
1337
+ #
1338
+ # @!attribute [rw] target_domain_id
1339
+ # Unique identifier of the target domain to delete
1340
+ # @return [String]
1341
+ #
1342
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteTargetDomainInput AWS API Documentation
1343
+ #
1344
+ class DeleteTargetDomainInput < Struct.new(
1345
+ :target_domain_id)
1346
+ SENSITIVE = []
1347
+ include Aws::Structure
1348
+ end
1349
+
1350
+ # Output for the DeleteTargetDomain operation
1351
+ #
1352
+ # @!attribute [rw] target_domain_id
1353
+ # Unique identifier of the deleted target domain
1354
+ # @return [String]
1355
+ #
1356
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteTargetDomainOutput AWS API Documentation
1357
+ #
1358
+ class DeleteTargetDomainOutput < Struct.new(
1359
+ :target_domain_id)
1360
+ SENSITIVE = []
1361
+ include Aws::Structure
1362
+ end
1363
+
1364
+ # Represents a discovered endpoint during pentest execution
1365
+ #
1366
+ # @!attribute [rw] uri
1367
+ # The URI of the discovered endpoint
1368
+ # @return [String]
1369
+ #
1370
+ # @!attribute [rw] pentest_job_id
1371
+ # Identifier of the pentest job that discovered this endpoint
1372
+ # @return [String]
1373
+ #
1374
+ # @!attribute [rw] task_id
1375
+ # Identifier of the task that discovered this endpoint
1376
+ # @return [String]
1377
+ #
1378
+ # @!attribute [rw] agent_space_id
1379
+ # Identifier of the agent space where the endpoint was discovered
1380
+ # @return [String]
1381
+ #
1382
+ # @!attribute [rw] evidence
1383
+ # Optional evidence or additional information about the endpoint
1384
+ # @return [String]
1385
+ #
1386
+ # @!attribute [rw] operation
1387
+ # Operation or action associated with the endpoint
1388
+ # @return [String]
1389
+ #
1390
+ # @!attribute [rw] description
1391
+ # Additional description of the endpoint
1392
+ # @return [String]
1393
+ #
1394
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DiscoveredEndpoint AWS API Documentation
1395
+ #
1396
+ class DiscoveredEndpoint < Struct.new(
1397
+ :uri,
1398
+ :pentest_job_id,
1399
+ :task_id,
1400
+ :agent_space_id,
1401
+ :evidence,
1402
+ :operation,
1403
+ :description)
1404
+ SENSITIVE = []
1405
+ include Aws::Structure
1406
+ end
1407
+
1408
+ # Represents dns txt verification details
1409
+ #
1410
+ # @!attribute [rw] token
1411
+ # Token used to verify domain ownership
1412
+ # @return [String]
1413
+ #
1414
+ # @!attribute [rw] dns_record_name
1415
+ # Record name to be added in DNS for target domain
1416
+ # @return [String]
1417
+ #
1418
+ # @!attribute [rw] dns_record_type
1419
+ # Type of record to be added in DNS for target domain
1420
+ # @return [String]
1421
+ #
1422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DnsVerification AWS API Documentation
1423
+ #
1424
+ class DnsVerification < Struct.new(
1425
+ :token,
1426
+ :dns_record_name,
1427
+ :dns_record_type)
1428
+ SENSITIVE = []
1429
+ include Aws::Structure
1430
+ end
1431
+
1432
+ # Information about a document relevant to security testing
1433
+ #
1434
+ # @!attribute [rw] s3_location
1435
+ # S3 storage location of the document
1436
+ # @return [String]
1437
+ #
1438
+ # @!attribute [rw] artifact_id
1439
+ # Artifact ID of the document
1440
+ # @return [String]
1441
+ #
1442
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DocumentInfo AWS API Documentation
1443
+ #
1444
+ class DocumentInfo < Struct.new(
1445
+ :s3_location,
1446
+ :artifact_id)
1447
+ SENSITIVE = []
1448
+ include Aws::Structure
1449
+ end
1450
+
1451
+ # Represents a web application endpoint to be tested
1452
+ #
1453
+ # @!attribute [rw] uri
1454
+ # URI of the endpoint to test
1455
+ # @return [String]
1456
+ #
1457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Endpoint AWS API Documentation
1458
+ #
1459
+ class Endpoint < Struct.new(
1460
+ :uri)
1461
+ SENSITIVE = []
1462
+ include Aws::Structure
1463
+ end
1464
+
1465
+ # Error information regarding the pentest job
1466
+ #
1467
+ # @!attribute [rw] code
1468
+ # Pentest job failure error code
1469
+ # @return [String]
1470
+ #
1471
+ # @!attribute [rw] message
1472
+ # Pentest job failure error message
1473
+ # @return [String]
1474
+ #
1475
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ErrorInformation AWS API Documentation
1476
+ #
1477
+ class ErrorInformation < Struct.new(
1478
+ :code,
1479
+ :message)
1480
+ SENSITIVE = []
1481
+ include Aws::Structure
1482
+ end
1483
+
1484
+ # Additional context about a pentest or task execution
1485
+ #
1486
+ # @!attribute [rw] context_type
1487
+ # The category of context
1488
+ # @return [String]
1489
+ #
1490
+ # @!attribute [rw] context
1491
+ # Context associated with a pentest or task execution
1492
+ # @return [String]
1493
+ #
1494
+ # @!attribute [rw] timestamp
1495
+ # Timestamp associated with a pentest or task execution
1496
+ # @return [Time]
1497
+ #
1498
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ExecutionContext AWS API Documentation
1499
+ #
1500
+ class ExecutionContext < Struct.new(
1501
+ :context_type,
1502
+ :context,
1503
+ :timestamp)
1504
+ SENSITIVE = []
1505
+ include Aws::Structure
1506
+ end
1507
+
1508
+ # Represents a security vulnerability or issue discovered during testing
1509
+ #
1510
+ # @!attribute [rw] finding_id
1511
+ # Unique identifier for the finding
1512
+ # @return [String]
1513
+ #
1514
+ # @!attribute [rw] agent_space_id
1515
+ # Identifier of the agent space that created this finding
1516
+ # @return [String]
1517
+ #
1518
+ # @!attribute [rw] pentest_id
1519
+ # Identifier of the parent pentest
1520
+ # @return [String]
1521
+ #
1522
+ # @!attribute [rw] pentest_job_id
1523
+ # Identifier of the pentest job
1524
+ # @return [String]
1525
+ #
1526
+ # @!attribute [rw] task_id
1527
+ # Identifier of the associated task
1528
+ # @return [String]
1529
+ #
1530
+ # @!attribute [rw] name
1531
+ # Name or title of the finding
1532
+ # @return [String]
1533
+ #
1534
+ # @!attribute [rw] description
1535
+ # Detailed description of the security vulnerability
1536
+ # @return [String]
1537
+ #
1538
+ # @!attribute [rw] status
1539
+ # Current status of the finding
1540
+ # @return [String]
1541
+ #
1542
+ # @!attribute [rw] risk_type
1543
+ # Type of security risk identified
1544
+ # @return [String]
1545
+ #
1546
+ # @!attribute [rw] risk_level
1547
+ # Severity level of the identified risk
1548
+ # @return [String]
1549
+ #
1550
+ # @!attribute [rw] risk_score
1551
+ # Risk score associated with the finding
1552
+ # @return [String]
1553
+ #
1554
+ # @!attribute [rw] reasoning
1555
+ # Justification for the assigned risk score
1556
+ # @return [String]
1557
+ #
1558
+ # @!attribute [rw] confidence
1559
+ # Confidence level of the finding
1560
+ # @return [String]
1561
+ #
1562
+ # @!attribute [rw] attack_script
1563
+ # Proof-of-concept code demonstrating the vulnerability
1564
+ # @return [String]
1565
+ #
1566
+ # @!attribute [rw] code_remediation_task
1567
+ # Code remediation task associated with this finding
1568
+ # @return [Types::CodeRemediationTask]
1569
+ #
1570
+ # @!attribute [rw] last_updated_by
1571
+ # Identifier of the task or agent that last updated this finding
1572
+ # @return [String]
1573
+ #
1574
+ # @!attribute [rw] created_at
1575
+ # Timestamp when the finding was created
1576
+ # @return [Time]
1577
+ #
1578
+ # @!attribute [rw] updated_at
1579
+ # Timestamp when the finding was last updated
1580
+ # @return [Time]
1581
+ #
1582
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Finding AWS API Documentation
1583
+ #
1584
+ class Finding < Struct.new(
1585
+ :finding_id,
1586
+ :agent_space_id,
1587
+ :pentest_id,
1588
+ :pentest_job_id,
1589
+ :task_id,
1590
+ :name,
1591
+ :description,
1592
+ :status,
1593
+ :risk_type,
1594
+ :risk_level,
1595
+ :risk_score,
1596
+ :reasoning,
1597
+ :confidence,
1598
+ :attack_script,
1599
+ :code_remediation_task,
1600
+ :last_updated_by,
1601
+ :created_at,
1602
+ :updated_at)
1603
+ SENSITIVE = []
1604
+ include Aws::Structure
1605
+ end
1606
+
1607
+ # Summary information for a security finding
1608
+ #
1609
+ # @!attribute [rw] finding_id
1610
+ # Unique identifier for the finding
1611
+ # @return [String]
1612
+ #
1613
+ # @!attribute [rw] agent_space_id
1614
+ # Identifier of the agent space that created this finding
1615
+ # @return [String]
1616
+ #
1617
+ # @!attribute [rw] pentest_id
1618
+ # Identifier of the parent pentest
1619
+ # @return [String]
1620
+ #
1621
+ # @!attribute [rw] pentest_job_id
1622
+ # Identifier of the pentest job
1623
+ # @return [String]
1624
+ #
1625
+ # @!attribute [rw] name
1626
+ # Name or title of the finding
1627
+ # @return [String]
1628
+ #
1629
+ # @!attribute [rw] status
1630
+ # Current status of the finding
1631
+ # @return [String]
1632
+ #
1633
+ # @!attribute [rw] risk_type
1634
+ # Type of security risk identified
1635
+ # @return [String]
1636
+ #
1637
+ # @!attribute [rw] risk_level
1638
+ # Severity level of the identified risk
1639
+ # @return [String]
1640
+ #
1641
+ # @!attribute [rw] confidence
1642
+ # Confidence level of the finding
1643
+ # @return [String]
1644
+ #
1645
+ # @!attribute [rw] created_at
1646
+ # Timestamp when the finding was created
1647
+ # @return [Time]
1648
+ #
1649
+ # @!attribute [rw] updated_at
1650
+ # Timestamp when the finding was last updated
1651
+ # @return [Time]
1652
+ #
1653
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/FindingSummary AWS API Documentation
1654
+ #
1655
+ class FindingSummary < Struct.new(
1656
+ :finding_id,
1657
+ :agent_space_id,
1658
+ :pentest_id,
1659
+ :pentest_job_id,
1660
+ :name,
1661
+ :status,
1662
+ :risk_type,
1663
+ :risk_level,
1664
+ :confidence,
1665
+ :created_at,
1666
+ :updated_at)
1667
+ SENSITIVE = []
1668
+ include Aws::Structure
1669
+ end
1670
+
1671
+ # @!attribute [rw] application_id
1672
+ # Application ID
1673
+ # @return [String]
1674
+ #
1675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GetApplicationRequest AWS API Documentation
1676
+ #
1677
+ class GetApplicationRequest < Struct.new(
1678
+ :application_id)
1679
+ SENSITIVE = []
1680
+ include Aws::Structure
1681
+ end
1682
+
1683
+ # @!attribute [rw] application_id
1684
+ # Application ID
1685
+ # @return [String]
1686
+ #
1687
+ # @!attribute [rw] domain
1688
+ # Domain where the application is available
1689
+ # @return [String]
1690
+ #
1691
+ # @!attribute [rw] application_name
1692
+ # Name of the application, automatically assigned by the service
1693
+ # @return [String]
1694
+ #
1695
+ # @!attribute [rw] idc_configuration
1696
+ # IAM Identity Center configuration for the application
1697
+ # @return [Types::IdCConfiguration]
1698
+ #
1699
+ # @!attribute [rw] role_arn
1700
+ # ARN of the IAM role that the application uses to access AWS
1701
+ # resources on your behalf
1702
+ # @return [String]
1703
+ #
1704
+ # @!attribute [rw] default_kms_key_id
1705
+ # Default KMS key identifier used to encrypt application data
1706
+ # @return [String]
1707
+ #
1708
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GetApplicationResponse AWS API Documentation
1709
+ #
1710
+ class GetApplicationResponse < Struct.new(
1711
+ :application_id,
1712
+ :domain,
1713
+ :application_name,
1714
+ :idc_configuration,
1715
+ :role_arn,
1716
+ :default_kms_key_id)
1717
+ SENSITIVE = []
1718
+ include Aws::Structure
1719
+ end
1720
+
1721
+ # @!attribute [rw] agent_space_id
1722
+ # Unique identifier of the agent space
1723
+ # @return [String]
1724
+ #
1725
+ # @!attribute [rw] artifact_id
1726
+ # Unique identifier of the artifact
1727
+ # @return [String]
1728
+ #
1729
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GetArtifactInput AWS API Documentation
1730
+ #
1731
+ class GetArtifactInput < Struct.new(
1732
+ :agent_space_id,
1733
+ :artifact_id)
1734
+ SENSITIVE = []
1735
+ include Aws::Structure
1736
+ end
1737
+
1738
+ # @!attribute [rw] agent_space_id
1739
+ # Unique identifier of the agent space
1740
+ # @return [String]
1741
+ #
1742
+ # @!attribute [rw] artifact_id
1743
+ # Unique identifier of the artifact
1744
+ # @return [String]
1745
+ #
1746
+ # @!attribute [rw] artifact
1747
+ # Artifact details
1748
+ # @return [Types::Artifact]
1749
+ #
1750
+ # @!attribute [rw] file_name
1751
+ # Name of the artifact file
1752
+ # @return [String]
1753
+ #
1754
+ # @!attribute [rw] updated_at
1755
+ # Timestamp when the artifact was last updated
1756
+ # @return [Time]
1757
+ #
1758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GetArtifactOutput AWS API Documentation
1759
+ #
1760
+ class GetArtifactOutput < Struct.new(
1761
+ :agent_space_id,
1762
+ :artifact_id,
1763
+ :artifact,
1764
+ :file_name,
1765
+ :updated_at)
1766
+ SENSITIVE = []
1767
+ include Aws::Structure
1768
+ end
1769
+
1770
+ # @!attribute [rw] integration_id
1771
+ # Unique identifier of the integration
1772
+ # @return [String]
1773
+ #
1774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GetIntegrationInput AWS API Documentation
1775
+ #
1776
+ class GetIntegrationInput < Struct.new(
1777
+ :integration_id)
1778
+ SENSITIVE = []
1779
+ include Aws::Structure
1780
+ end
1781
+
1782
+ # @!attribute [rw] integration_id
1783
+ # Unique identifier of the integration
1784
+ # @return [String]
1785
+ #
1786
+ # @!attribute [rw] installation_id
1787
+ # Installation identifier from the provider
1788
+ # @return [String]
1789
+ #
1790
+ # @!attribute [rw] provider
1791
+ # Provider type
1792
+ # @return [String]
1793
+ #
1794
+ # @!attribute [rw] provider_type
1795
+ # Type of provider integration
1796
+ # @return [String]
1797
+ #
1798
+ # @!attribute [rw] display_name
1799
+ # Display name for the integration
1800
+ # @return [String]
1801
+ #
1802
+ # @!attribute [rw] kms_key_id
1803
+ # KMS key ID for encrypting integration details
1804
+ # @return [String]
1805
+ #
1806
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GetIntegrationOutput AWS API Documentation
1807
+ #
1808
+ class GetIntegrationOutput < Struct.new(
1809
+ :integration_id,
1810
+ :installation_id,
1811
+ :provider,
1812
+ :provider_type,
1813
+ :display_name,
1814
+ :kms_key_id)
1815
+ SENSITIVE = []
1816
+ include Aws::Structure
1817
+ end
1818
+
1819
+ # Input parameters for GitHub integration
1820
+ #
1821
+ # @!attribute [rw] code
1822
+ # Authorization code from OAuth flow
1823
+ # @return [String]
1824
+ #
1825
+ # @!attribute [rw] state
1826
+ # CSRF state token for OAuth security
1827
+ # @return [String]
1828
+ #
1829
+ # @!attribute [rw] organization_name
1830
+ # Name of the GitHub organization
1831
+ # @return [String]
1832
+ #
1833
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitHubIntegrationInput AWS API Documentation
1834
+ #
1835
+ class GitHubIntegrationInput < Struct.new(
1836
+ :code,
1837
+ :state,
1838
+ :organization_name)
1839
+ SENSITIVE = []
1840
+ include Aws::Structure
1841
+ end
1842
+
1843
+ # Metadata specific to a GitHub repository integrated resource
1844
+ #
1845
+ # @!attribute [rw] name
1846
+ # Name of the resource e.g. repository name, etc
1847
+ # @return [String]
1848
+ #
1849
+ # @!attribute [rw] provider_resource_id
1850
+ # Unique resource identifier from the vendor
1851
+ # @return [String]
1852
+ #
1853
+ # @!attribute [rw] owner
1854
+ # Owner of the repository
1855
+ # @return [String]
1856
+ #
1857
+ # @!attribute [rw] access_type
1858
+ # Access / Visibility Type of the integrated resource
1859
+ # @return [String]
1860
+ #
1861
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitHubRepositoryMetadata AWS API Documentation
1862
+ #
1863
+ class GitHubRepositoryMetadata < Struct.new(
1864
+ :name,
1865
+ :provider_resource_id,
1866
+ :owner,
1867
+ :access_type)
1868
+ SENSITIVE = []
1869
+ include Aws::Structure
1870
+ end
1871
+
1872
+ # GitHub repository resource details
1873
+ #
1874
+ # @!attribute [rw] name
1875
+ # Name of the resource e.g. repository name, etc
1876
+ # @return [String]
1877
+ #
1878
+ # @!attribute [rw] owner
1879
+ # Owner of the repository
1880
+ # @return [String]
1881
+ #
1882
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitHubRepositoryResource AWS API Documentation
1883
+ #
1884
+ class GitHubRepositoryResource < Struct.new(
1885
+ :name,
1886
+ :owner)
1887
+ SENSITIVE = []
1888
+ include Aws::Structure
1889
+ end
1890
+
1891
+ # Capabilities for GitHub repositories
1892
+ #
1893
+ # @!attribute [rw] leave_comments
1894
+ # Post code review comments on pull requests
1895
+ # @return [Boolean]
1896
+ #
1897
+ # @!attribute [rw] remediate_code
1898
+ # Create pull requests with automated fixes
1899
+ # @return [Boolean]
1900
+ #
1901
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/GitHubResourceCapabilities AWS API Documentation
1902
+ #
1903
+ class GitHubResourceCapabilities < Struct.new(
1904
+ :leave_comments,
1905
+ :remediate_code)
1906
+ SENSITIVE = []
1907
+ include Aws::Structure
1908
+ end
1909
+
1910
+ # Represents http route verification details
1911
+ #
1912
+ # @!attribute [rw] token
1913
+ # Token used to verify domain ownership
1914
+ # @return [String]
1915
+ #
1916
+ # @!attribute [rw] route_path
1917
+ # Route path where verification token should be placed
1918
+ # @return [String]
1919
+ #
1920
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/HttpVerification AWS API Documentation
1921
+ #
1922
+ class HttpVerification < Struct.new(
1923
+ :token,
1924
+ :route_path)
1925
+ SENSITIVE = []
1926
+ include Aws::Structure
1927
+ end
1928
+
1929
+ # IdC configuration containing application and instance ARNs
1930
+ #
1931
+ # @!attribute [rw] idc_application_arn
1932
+ # ARN of the IAM Identity Center application associated with this
1933
+ # application
1934
+ # @return [String]
1935
+ #
1936
+ # @!attribute [rw] idc_instance_arn
1937
+ # ARN of the IAM Identity Center instance used for user authentication
1938
+ # @return [String]
1939
+ #
1940
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IdCConfiguration AWS API Documentation
1941
+ #
1942
+ class IdCConfiguration < Struct.new(
1943
+ :idc_application_arn,
1944
+ :idc_instance_arn)
1945
+ SENSITIVE = []
1946
+ include Aws::Structure
1947
+ end
1948
+
1949
+ # @!attribute [rw] provider
1950
+ # Provider to register with
1951
+ # @return [String]
1952
+ #
1953
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/InitiateProviderRegistrationInput AWS API Documentation
1954
+ #
1955
+ class InitiateProviderRegistrationInput < Struct.new(
1956
+ :provider)
1957
+ SENSITIVE = []
1958
+ include Aws::Structure
1959
+ end
1960
+
1961
+ # @!attribute [rw] redirect_to
1962
+ # OAuth redirect URL
1963
+ # @return [String]
1964
+ #
1965
+ # @!attribute [rw] csrf_state
1966
+ # CSRF state token for OAuth security
1967
+ # @return [String]
1968
+ #
1969
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/InitiateProviderRegistrationOutput AWS API Documentation
1970
+ #
1971
+ class InitiateProviderRegistrationOutput < Struct.new(
1972
+ :redirect_to,
1973
+ :csrf_state)
1974
+ SENSITIVE = []
1975
+ include Aws::Structure
1976
+ end
1977
+
1978
+ # Information about an integrated repository
1979
+ #
1980
+ # @!attribute [rw] integration_id
1981
+ # Integration identifier
1982
+ # @return [String]
1983
+ #
1984
+ # @!attribute [rw] provider_resource_id
1985
+ # External provider resource identifier, e.g., Github repository
1986
+ # identifier
1987
+ # @return [String]
1988
+ #
1989
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedRepository AWS API Documentation
1990
+ #
1991
+ class IntegratedRepository < Struct.new(
1992
+ :integration_id,
1993
+ :provider_resource_id)
1994
+ SENSITIVE = []
1995
+ include Aws::Structure
1996
+ end
1997
+
1998
+ # Integrated resource details from a provider
1999
+ #
2000
+ # @note IntegratedResource is a union - when making an API calls you must set exactly one of the members.
2001
+ #
2002
+ # @!attribute [rw] github_repository
2003
+ # GitHub repository resource
2004
+ # @return [Types::GitHubRepositoryResource]
2005
+ #
2006
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResource AWS API Documentation
2007
+ #
2008
+ class IntegratedResource < Struct.new(
2009
+ :github_repository,
2010
+ :unknown)
2011
+ SENSITIVE = []
2012
+ include Aws::Structure
2013
+ include Aws::Structure::Union
2014
+
2015
+ class GithubRepository < IntegratedResource; end
2016
+ class Unknown < IntegratedResource; end
2017
+ end
2018
+
2019
+ # Input item for updating an integrated resource
2020
+ #
2021
+ # @!attribute [rw] resource
2022
+ # Configuration of the resource
2023
+ # @return [Types::IntegratedResource]
2024
+ #
2025
+ # @!attribute [rw] capabilities
2026
+ # Provider-specific capabilities for the resource
2027
+ # @return [Types::ProviderResourceCapabilities]
2028
+ #
2029
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResourceInputItem AWS API Documentation
2030
+ #
2031
+ class IntegratedResourceInputItem < Struct.new(
2032
+ :resource,
2033
+ :capabilities)
2034
+ SENSITIVE = []
2035
+ include Aws::Structure
2036
+ end
2037
+
2038
+ # Metadata about an integrated resource
2039
+ #
2040
+ # @note IntegratedResourceMetadata is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of IntegratedResourceMetadata corresponding to the set member.
2041
+ #
2042
+ # @!attribute [rw] github_repository
2043
+ # Metadata for a GitHub repository resource
2044
+ # @return [Types::GitHubRepositoryMetadata]
2045
+ #
2046
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResourceMetadata AWS API Documentation
2047
+ #
2048
+ class IntegratedResourceMetadata < Struct.new(
2049
+ :github_repository,
2050
+ :unknown)
2051
+ SENSITIVE = []
2052
+ include Aws::Structure
2053
+ include Aws::Structure::Union
2054
+
2055
+ class GithubRepository < IntegratedResourceMetadata; end
2056
+ class Unknown < IntegratedResourceMetadata; end
2057
+ end
2058
+
2059
+ # Summary information about an integrated resource
2060
+ #
2061
+ # @!attribute [rw] integration_id
2062
+ # Unique identifier of the integration
2063
+ # @return [String]
2064
+ #
2065
+ # @!attribute [rw] resource
2066
+ # The integrated resource details
2067
+ # @return [Types::IntegratedResourceMetadata]
2068
+ #
2069
+ # @!attribute [rw] capabilities
2070
+ # Capabilities of the integrated resource
2071
+ # @return [Types::ProviderResourceCapabilities]
2072
+ #
2073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegratedResourceSummary AWS API Documentation
2074
+ #
2075
+ class IntegratedResourceSummary < Struct.new(
2076
+ :integration_id,
2077
+ :resource,
2078
+ :capabilities)
2079
+ SENSITIVE = []
2080
+ include Aws::Structure
2081
+ end
2082
+
2083
+ # Filter criteria for integrations
2084
+ #
2085
+ # @note IntegrationFilter is a union - when making an API calls you must set exactly one of the members.
2086
+ #
2087
+ # @!attribute [rw] provider
2088
+ # Filter by provider
2089
+ # @return [String]
2090
+ #
2091
+ # @!attribute [rw] provider_type
2092
+ # Filter by provider type
2093
+ # @return [String]
2094
+ #
2095
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegrationFilter AWS API Documentation
2096
+ #
2097
+ class IntegrationFilter < Struct.new(
2098
+ :provider,
2099
+ :provider_type,
2100
+ :unknown)
2101
+ SENSITIVE = []
2102
+ include Aws::Structure
2103
+ include Aws::Structure::Union
2104
+
2105
+ class Provider < IntegrationFilter; end
2106
+ class ProviderType < IntegrationFilter; end
2107
+ class Unknown < IntegrationFilter; end
2108
+ end
2109
+
2110
+ # Summary information about an integration
2111
+ #
2112
+ # @!attribute [rw] integration_id
2113
+ # Unique identifier of the integration
2114
+ # @return [String]
2115
+ #
2116
+ # @!attribute [rw] installation_id
2117
+ # Installation identifier from the provider
2118
+ # @return [String]
2119
+ #
2120
+ # @!attribute [rw] provider
2121
+ # Provider type
2122
+ # @return [String]
2123
+ #
2124
+ # @!attribute [rw] provider_type
2125
+ # Type of provider integration
2126
+ # @return [String]
2127
+ #
2128
+ # @!attribute [rw] display_name
2129
+ # Display name for the integration
2130
+ # @return [String]
2131
+ #
2132
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/IntegrationSummary AWS API Documentation
2133
+ #
2134
+ class IntegrationSummary < Struct.new(
2135
+ :integration_id,
2136
+ :installation_id,
2137
+ :provider,
2138
+ :provider_type,
2139
+ :display_name)
2140
+ SENSITIVE = []
2141
+ include Aws::Structure
2142
+ end
2143
+
2144
+ # Unexpected server error occurred
2145
+ #
2146
+ # @!attribute [rw] message
2147
+ # Error description
2148
+ # @return [String]
2149
+ #
2150
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/InternalServerException AWS API Documentation
2151
+ #
2152
+ class InternalServerException < Struct.new(
2153
+ :message)
2154
+ SENSITIVE = []
2155
+ include Aws::Structure
2156
+ end
2157
+
2158
+ # Input for listing agent spaces
2159
+ #
2160
+ # @!attribute [rw] next_token
2161
+ # Token for pagination
2162
+ # @return [String]
2163
+ #
2164
+ # @!attribute [rw] max_results
2165
+ # Maximum number of agent spaces to return
2166
+ # @return [Integer]
2167
+ #
2168
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListAgentSpacesInput AWS API Documentation
2169
+ #
2170
+ class ListAgentSpacesInput < Struct.new(
2171
+ :next_token,
2172
+ :max_results)
2173
+ SENSITIVE = []
2174
+ include Aws::Structure
2175
+ end
2176
+
2177
+ # Output for the ListAgentSpaces operation
2178
+ #
2179
+ # @!attribute [rw] agent_space_summaries
2180
+ # List of agent space summaries
2181
+ # @return [Array<Types::AgentSpaceSummary>]
2182
+ #
2183
+ # @!attribute [rw] next_token
2184
+ # Token for next page of results
2185
+ # @return [String]
2186
+ #
2187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListAgentSpacesOutput AWS API Documentation
2188
+ #
2189
+ class ListAgentSpacesOutput < Struct.new(
2190
+ :agent_space_summaries,
2191
+ :next_token)
2192
+ SENSITIVE = []
2193
+ include Aws::Structure
2194
+ end
2195
+
2196
+ # @!attribute [rw] next_token
2197
+ # Token for pagination
2198
+ # @return [String]
2199
+ #
2200
+ # @!attribute [rw] max_results
2201
+ # Maximum number of results to return
2202
+ # @return [Integer]
2203
+ #
2204
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListApplicationsRequest AWS API Documentation
2205
+ #
2206
+ class ListApplicationsRequest < Struct.new(
2207
+ :next_token,
2208
+ :max_results)
2209
+ SENSITIVE = []
2210
+ include Aws::Structure
2211
+ end
2212
+
2213
+ # @!attribute [rw] application_summaries
2214
+ # List of application summaries
2215
+ # @return [Array<Types::ApplicationSummary>]
2216
+ #
2217
+ # @!attribute [rw] next_token
2218
+ # Token for next page of results
2219
+ # @return [String]
2220
+ #
2221
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListApplicationsResponse AWS API Documentation
2222
+ #
2223
+ class ListApplicationsResponse < Struct.new(
2224
+ :application_summaries,
2225
+ :next_token)
2226
+ SENSITIVE = []
2227
+ include Aws::Structure
2228
+ end
2229
+
2230
+ # @!attribute [rw] agent_space_id
2231
+ # Unique identifier of the agent space
2232
+ # @return [String]
2233
+ #
2234
+ # @!attribute [rw] next_token
2235
+ # Token for pagination
2236
+ # @return [String]
2237
+ #
2238
+ # @!attribute [rw] max_results
2239
+ # Maximum number of results to return
2240
+ # @return [Integer]
2241
+ #
2242
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListArtifactsInput AWS API Documentation
2243
+ #
2244
+ class ListArtifactsInput < Struct.new(
2245
+ :agent_space_id,
2246
+ :next_token,
2247
+ :max_results)
2248
+ SENSITIVE = []
2249
+ include Aws::Structure
2250
+ end
2251
+
2252
+ # @!attribute [rw] artifact_summaries
2253
+ # List of artifact summaries
2254
+ # @return [Array<Types::ArtifactSummary>]
2255
+ #
2256
+ # @!attribute [rw] next_token
2257
+ # Token for pagination to retrieve the next set of results
2258
+ # @return [String]
2259
+ #
2260
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListArtifactsOutput AWS API Documentation
2261
+ #
2262
+ class ListArtifactsOutput < Struct.new(
2263
+ :artifact_summaries,
2264
+ :next_token)
2265
+ SENSITIVE = []
2266
+ include Aws::Structure
2267
+ end
2268
+
2269
+ # Input for ListDiscoveredEndpoints operation
2270
+ #
2271
+ # @!attribute [rw] max_results
2272
+ # Maximum number of discovered endpoints to return in a single request
2273
+ # (default: 50)
2274
+ # @return [Integer]
2275
+ #
2276
+ # @!attribute [rw] pentest_job_id
2277
+ # Identifier of the pentest job for which to retrieve discovered
2278
+ # endpoints
2279
+ # @return [String]
2280
+ #
2281
+ # @!attribute [rw] agent_space_id
2282
+ # ID of the agent space where the pentest job exists
2283
+ # @return [String]
2284
+ #
2285
+ # @!attribute [rw] prefix
2286
+ # Optional URI prefix filter to narrow down results
2287
+ # @return [String]
2288
+ #
2289
+ # @!attribute [rw] next_token
2290
+ # Token for pagination
2291
+ # @return [String]
2292
+ #
2293
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListDiscoveredEndpointsInput AWS API Documentation
2294
+ #
2295
+ class ListDiscoveredEndpointsInput < Struct.new(
2296
+ :max_results,
2297
+ :pentest_job_id,
2298
+ :agent_space_id,
2299
+ :prefix,
2300
+ :next_token)
2301
+ SENSITIVE = []
2302
+ include Aws::Structure
2303
+ end
2304
+
2305
+ # Output for the ListDiscoveredEndpoints operation
2306
+ #
2307
+ # @!attribute [rw] discovered_endpoints
2308
+ # List of discovered endpoints for the pentest job
2309
+ # @return [Array<Types::DiscoveredEndpoint>]
2310
+ #
2311
+ # @!attribute [rw] next_token
2312
+ # Token for pagination to retrieve the next set of results
2313
+ # @return [String]
2314
+ #
2315
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListDiscoveredEndpointsOutput AWS API Documentation
2316
+ #
2317
+ class ListDiscoveredEndpointsOutput < Struct.new(
2318
+ :discovered_endpoints,
2319
+ :next_token)
2320
+ SENSITIVE = []
2321
+ include Aws::Structure
2322
+ end
2323
+
2324
+ # Input for ListFindings operation with filtering support
2325
+ #
2326
+ # @!attribute [rw] max_results
2327
+ # Maximum number of findings to return in a single request (default:
2328
+ # 50)
2329
+ # @return [Integer]
2330
+ #
2331
+ # @!attribute [rw] pentest_job_id
2332
+ # Identifier of the pentest job for which to retrieve associated
2333
+ # findings
2334
+ # @return [String]
2335
+ #
2336
+ # @!attribute [rw] agent_space_id
2337
+ # ID of the agent space where the pentest job exists
2338
+ # @return [String]
2339
+ #
2340
+ # @!attribute [rw] next_token
2341
+ # Token for pagination
2342
+ # @return [String]
2343
+ #
2344
+ # @!attribute [rw] risk_type
2345
+ # Filter findings by risk type
2346
+ # @return [String]
2347
+ #
2348
+ # @!attribute [rw] risk_level
2349
+ # Filter findings by risk level
2350
+ # @return [String]
2351
+ #
2352
+ # @!attribute [rw] status
2353
+ # Filter findings by status
2354
+ # @return [String]
2355
+ #
2356
+ # @!attribute [rw] confidence
2357
+ # Filter findings by confidence level
2358
+ # @return [String]
2359
+ #
2360
+ # @!attribute [rw] name
2361
+ # Filter findings by name (case-insensitive substring search)
2362
+ # @return [String]
2363
+ #
2364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListFindingsInput AWS API Documentation
2365
+ #
2366
+ class ListFindingsInput < Struct.new(
2367
+ :max_results,
2368
+ :pentest_job_id,
2369
+ :agent_space_id,
2370
+ :next_token,
2371
+ :risk_type,
2372
+ :risk_level,
2373
+ :status,
2374
+ :confidence,
2375
+ :name)
2376
+ SENSITIVE = []
2377
+ include Aws::Structure
2378
+ end
2379
+
2380
+ # Output for the ListFindings operation
2381
+ #
2382
+ # @!attribute [rw] findings_summaries
2383
+ # List of finding summaries matching the filter criteria
2384
+ # @return [Array<Types::FindingSummary>]
2385
+ #
2386
+ # @!attribute [rw] next_token
2387
+ # Token for pagination to retrieve the next set of results
2388
+ # @return [String]
2389
+ #
2390
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListFindingsOutput AWS API Documentation
2391
+ #
2392
+ class ListFindingsOutput < Struct.new(
2393
+ :findings_summaries,
2394
+ :next_token)
2395
+ SENSITIVE = []
2396
+ include Aws::Structure
2397
+ end
2398
+
2399
+ # @!attribute [rw] agent_space_id
2400
+ # Unique identifier of the agent space
2401
+ # @return [String]
2402
+ #
2403
+ # @!attribute [rw] integration_id
2404
+ # Filter integrated resources by a specific integration
2405
+ # @return [String]
2406
+ #
2407
+ # @!attribute [rw] resource_type
2408
+ # Filter integrated resources by resource type
2409
+ # @return [String]
2410
+ #
2411
+ # @!attribute [rw] next_token
2412
+ # Token for pagination
2413
+ # @return [String]
2414
+ #
2415
+ # @!attribute [rw] max_results
2416
+ # Maximum number of results to return
2417
+ # @return [Integer]
2418
+ #
2419
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListIntegratedResourcesInput AWS API Documentation
2420
+ #
2421
+ class ListIntegratedResourcesInput < Struct.new(
2422
+ :agent_space_id,
2423
+ :integration_id,
2424
+ :resource_type,
2425
+ :next_token,
2426
+ :max_results)
2427
+ SENSITIVE = []
2428
+ include Aws::Structure
2429
+ end
2430
+
2431
+ # @!attribute [rw] integrated_resource_summaries
2432
+ # List of integrated resources
2433
+ # @return [Array<Types::IntegratedResourceSummary>]
2434
+ #
2435
+ # @!attribute [rw] next_token
2436
+ # Token for pagination to retrieve the next set of results
2437
+ # @return [String]
2438
+ #
2439
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListIntegratedResourcesOutput AWS API Documentation
2440
+ #
2441
+ class ListIntegratedResourcesOutput < Struct.new(
2442
+ :integrated_resource_summaries,
2443
+ :next_token)
2444
+ SENSITIVE = []
2445
+ include Aws::Structure
2446
+ end
2447
+
2448
+ # @!attribute [rw] filter
2449
+ # Filter criteria for integrations
2450
+ # @return [Types::IntegrationFilter]
2451
+ #
2452
+ # @!attribute [rw] next_token
2453
+ # Token for pagination
2454
+ # @return [String]
2455
+ #
2456
+ # @!attribute [rw] max_results
2457
+ # Maximum number of results to return
2458
+ # @return [Integer]
2459
+ #
2460
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListIntegrationsInput AWS API Documentation
2461
+ #
2462
+ class ListIntegrationsInput < Struct.new(
2463
+ :filter,
2464
+ :next_token,
2465
+ :max_results)
2466
+ SENSITIVE = []
2467
+ include Aws::Structure
2468
+ end
2469
+
2470
+ # @!attribute [rw] integration_summaries
2471
+ # List of integration summaries
2472
+ # @return [Array<Types::IntegrationSummary>]
2473
+ #
2474
+ # @!attribute [rw] next_token
2475
+ # Token for pagination to retrieve the next set of results
2476
+ # @return [String]
2477
+ #
2478
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListIntegrationsOutput AWS API Documentation
2479
+ #
2480
+ class ListIntegrationsOutput < Struct.new(
2481
+ :integration_summaries,
2482
+ :next_token)
2483
+ SENSITIVE = []
2484
+ include Aws::Structure
2485
+ end
2486
+
2487
+ # Request structure for listing agent space members
2488
+ #
2489
+ # @!attribute [rw] application_id
2490
+ # Application identifier
2491
+ # @return [String]
2492
+ #
2493
+ # @!attribute [rw] agent_space_id
2494
+ # Agent space identifier
2495
+ # @return [String]
2496
+ #
2497
+ # @!attribute [rw] member_type
2498
+ # Filter by member type
2499
+ # @return [String]
2500
+ #
2501
+ # @!attribute [rw] max_results
2502
+ # Maximum number of results to return
2503
+ # @return [Integer]
2504
+ #
2505
+ # @!attribute [rw] next_token
2506
+ # Token for pagination
2507
+ # @return [String]
2508
+ #
2509
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListMembershipsRequest AWS API Documentation
2510
+ #
2511
+ class ListMembershipsRequest < Struct.new(
2512
+ :application_id,
2513
+ :agent_space_id,
2514
+ :member_type,
2515
+ :max_results,
2516
+ :next_token)
2517
+ SENSITIVE = []
2518
+ include Aws::Structure
2519
+ end
2520
+
2521
+ # Response structure for listing members associated to an agent space
2522
+ #
2523
+ # @!attribute [rw] membership_summaries
2524
+ # List of membership summaries
2525
+ # @return [Array<Types::MembershipSummary>]
2526
+ #
2527
+ # @!attribute [rw] next_token
2528
+ # Token for next page of results
2529
+ # @return [String]
2530
+ #
2531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListMembershipsResponse AWS API Documentation
2532
+ #
2533
+ class ListMembershipsResponse < Struct.new(
2534
+ :membership_summaries,
2535
+ :next_token)
2536
+ SENSITIVE = []
2537
+ include Aws::Structure
2538
+ end
2539
+
2540
+ # Input for listing tasks associated with a specific pentest job
2541
+ #
2542
+ # @!attribute [rw] agent_space_id
2543
+ # ID of the agent space where the pentest exists
2544
+ # @return [String]
2545
+ #
2546
+ # @!attribute [rw] max_results
2547
+ # Maximum number of tasks to return in a single request
2548
+ # @return [Integer]
2549
+ #
2550
+ # @!attribute [rw] pentest_job_id
2551
+ # Identifier of the pentest job whose tasks to list
2552
+ # @return [String]
2553
+ #
2554
+ # @!attribute [rw] step_name
2555
+ # Filter tasks by step name
2556
+ # @return [String]
2557
+ #
2558
+ # @!attribute [rw] category_name
2559
+ # Filter tasks by category name.
2560
+ # @return [String]
2561
+ #
2562
+ # @!attribute [rw] next_token
2563
+ # Token for pagination to retrieve the next set of results
2564
+ # @return [String]
2565
+ #
2566
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobTasksInput AWS API Documentation
2567
+ #
2568
+ class ListPentestJobTasksInput < Struct.new(
2569
+ :agent_space_id,
2570
+ :max_results,
2571
+ :pentest_job_id,
2572
+ :step_name,
2573
+ :category_name,
2574
+ :next_token)
2575
+ SENSITIVE = []
2576
+ include Aws::Structure
2577
+ end
2578
+
2579
+ # Output for the ListPentestJobTasks operation
2580
+ #
2581
+ # @!attribute [rw] task_summaries
2582
+ # List of task summaries associated with the specified pentest job
2583
+ # @return [Array<Types::TaskSummary>]
2584
+ #
2585
+ # @!attribute [rw] next_token
2586
+ # Token for pagination to retrieve the next set of results
2587
+ # @return [String]
2588
+ #
2589
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobTasksOutput AWS API Documentation
2590
+ #
2591
+ class ListPentestJobTasksOutput < Struct.new(
2592
+ :task_summaries,
2593
+ :next_token)
2594
+ SENSITIVE = []
2595
+ include Aws::Structure
2596
+ end
2597
+
2598
+ # Input for ListPentestJobsForPentest operation
2599
+ #
2600
+ # @!attribute [rw] max_results
2601
+ # Maximum number of pentest jobs to return in a single request
2602
+ # @return [Integer]
2603
+ #
2604
+ # @!attribute [rw] pentest_id
2605
+ # Identifier of the pentest for which to retrieve associated jobs
2606
+ # @return [String]
2607
+ #
2608
+ # @!attribute [rw] agent_space_id
2609
+ # ID of the agent space where the pentest exists
2610
+ # @return [String]
2611
+ #
2612
+ # @!attribute [rw] next_token
2613
+ # Token for pagination
2614
+ # @return [String]
2615
+ #
2616
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobsForPentestInput AWS API Documentation
2617
+ #
2618
+ class ListPentestJobsForPentestInput < Struct.new(
2619
+ :max_results,
2620
+ :pentest_id,
2621
+ :agent_space_id,
2622
+ :next_token)
2623
+ SENSITIVE = []
2624
+ include Aws::Structure
2625
+ end
2626
+
2627
+ # Output for the ListPentestJobsForPentest operation
2628
+ #
2629
+ # @!attribute [rw] pentest_job_summaries
2630
+ # List of pentest job summaries associated with the pentest
2631
+ # @return [Array<Types::PentestJobSummary>]
2632
+ #
2633
+ # @!attribute [rw] next_token
2634
+ # Token for pagination to retrieve the next set of results
2635
+ # @return [String]
2636
+ #
2637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestJobsForPentestOutput AWS API Documentation
2638
+ #
2639
+ class ListPentestJobsForPentestOutput < Struct.new(
2640
+ :pentest_job_summaries,
2641
+ :next_token)
2642
+ SENSITIVE = []
2643
+ include Aws::Structure
2644
+ end
2645
+
2646
+ # Input for listing pentests with optional filtering
2647
+ #
2648
+ # @!attribute [rw] max_results
2649
+ # Maximum number of pentests to return in a single request
2650
+ # @return [Integer]
2651
+ #
2652
+ # @!attribute [rw] next_token
2653
+ # Token for pagination
2654
+ # @return [String]
2655
+ #
2656
+ # @!attribute [rw] agent_space_id
2657
+ # ID of the agent space where the pentest exists
2658
+ # @return [String]
2659
+ #
2660
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestsInput AWS API Documentation
2661
+ #
2662
+ class ListPentestsInput < Struct.new(
2663
+ :max_results,
2664
+ :next_token,
2665
+ :agent_space_id)
2666
+ SENSITIVE = []
2667
+ include Aws::Structure
2668
+ end
2669
+
2670
+ # Output for the ListPentests operation
2671
+ #
2672
+ # @!attribute [rw] pentest_summaries
2673
+ # List of pentest summaries matching the filter criteria
2674
+ # @return [Array<Types::PentestSummary>]
2675
+ #
2676
+ # @!attribute [rw] next_token
2677
+ # Token for pagination to retrieve the next set of results
2678
+ # @return [String]
2679
+ #
2680
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListPentestsOutput AWS API Documentation
2681
+ #
2682
+ class ListPentestsOutput < Struct.new(
2683
+ :pentest_summaries,
2684
+ :next_token)
2685
+ SENSITIVE = []
2686
+ include Aws::Structure
2687
+ end
2688
+
2689
+ # Input for ListTagsForResource operation
2690
+ #
2691
+ # @!attribute [rw] resource_arn
2692
+ # ARN of the resource to list tags for
2693
+ # @return [String]
2694
+ #
2695
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListTagsForResourceInput AWS API Documentation
2696
+ #
2697
+ class ListTagsForResourceInput < Struct.new(
2698
+ :resource_arn)
2699
+ SENSITIVE = []
2700
+ include Aws::Structure
2701
+ end
2702
+
2703
+ # Output for ListTagsForResource operation
2704
+ #
2705
+ # @!attribute [rw] tags
2706
+ # Tags associated with the resource
2707
+ # @return [Hash<String,String>]
2708
+ #
2709
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListTagsForResourceOutput AWS API Documentation
2710
+ #
2711
+ class ListTagsForResourceOutput < Struct.new(
2712
+ :tags)
2713
+ SENSITIVE = []
2714
+ include Aws::Structure
2715
+ end
2716
+
2717
+ # Input for listing target domains
2718
+ #
2719
+ # @!attribute [rw] next_token
2720
+ # Token for pagination
2721
+ # @return [String]
2722
+ #
2723
+ # @!attribute [rw] max_results
2724
+ # Maximum number of target domains to return
2725
+ # @return [Integer]
2726
+ #
2727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListTargetDomainsInput AWS API Documentation
2728
+ #
2729
+ class ListTargetDomainsInput < Struct.new(
2730
+ :next_token,
2731
+ :max_results)
2732
+ SENSITIVE = []
2733
+ include Aws::Structure
2734
+ end
2735
+
2736
+ # Output for the ListTargetDomains operation
2737
+ #
2738
+ # @!attribute [rw] target_domain_summaries
2739
+ # List of target domain summaries
2740
+ # @return [Array<Types::TargetDomainSummary>]
2741
+ #
2742
+ # @!attribute [rw] next_token
2743
+ # Token for next page of results
2744
+ # @return [String]
2745
+ #
2746
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListTargetDomainsOutput AWS API Documentation
2747
+ #
2748
+ class ListTargetDomainsOutput < Struct.new(
2749
+ :target_domain_summaries,
2750
+ :next_token)
2751
+ SENSITIVE = []
2752
+ include Aws::Structure
2753
+ end
2754
+
2755
+ # Location information for execution logs
2756
+ #
2757
+ # @!attribute [rw] log_type
2758
+ # Type of log storage
2759
+ # @return [String]
2760
+ #
2761
+ # @!attribute [rw] cloud_watch_log
2762
+ # CloudWatch log information if logs are stored in CloudWatch
2763
+ # @return [Types::CloudWatchLog]
2764
+ #
2765
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/LogLocation AWS API Documentation
2766
+ #
2767
+ class LogLocation < Struct.new(
2768
+ :log_type,
2769
+ :cloud_watch_log)
2770
+ SENSITIVE = []
2771
+ include Aws::Structure
2772
+ end
2773
+
2774
+ # Metadata associated with the member
2775
+ #
2776
+ # @note MemberMetadata is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MemberMetadata corresponding to the set member.
2777
+ #
2778
+ # @!attribute [rw] user
2779
+ # User metadata for USER members
2780
+ # @return [Types::UserMetadata]
2781
+ #
2782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/MemberMetadata AWS API Documentation
2783
+ #
2784
+ class MemberMetadata < Struct.new(
2785
+ :user,
2786
+ :unknown)
2787
+ SENSITIVE = []
2788
+ include Aws::Structure
2789
+ include Aws::Structure::Union
2790
+
2791
+ class User < MemberMetadata; end
2792
+ class Unknown < MemberMetadata; end
2793
+ end
2794
+
2795
+ # Member-specific configuration
2796
+ #
2797
+ # @note MembershipConfig is a union - when making an API calls you must set exactly one of the members.
2798
+ #
2799
+ # @note MembershipConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MembershipConfig corresponding to the set member.
2800
+ #
2801
+ # @!attribute [rw] user
2802
+ # Configuration for user members
2803
+ # @return [Types::UserConfig]
2804
+ #
2805
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/MembershipConfig AWS API Documentation
2806
+ #
2807
+ class MembershipConfig < Struct.new(
2808
+ :user,
2809
+ :unknown)
2810
+ SENSITIVE = []
2811
+ include Aws::Structure
2812
+ include Aws::Structure::Union
2813
+
2814
+ class User < MembershipConfig; end
2815
+ class Unknown < MembershipConfig; end
2816
+ end
2817
+
2818
+ # Membership summary for list operations
2819
+ #
2820
+ # @!attribute [rw] membership_id
2821
+ # Member identifier (userId or agentSpaceId)
2822
+ # @return [String]
2823
+ #
2824
+ # @!attribute [rw] application_id
2825
+ # Application identifier
2826
+ # @return [String]
2827
+ #
2828
+ # @!attribute [rw] agent_space_id
2829
+ # Agent space identifier
2830
+ # @return [String]
2831
+ #
2832
+ # @!attribute [rw] member_type
2833
+ # Type of member
2834
+ # @return [String]
2835
+ #
2836
+ # @!attribute [rw] config
2837
+ # Configuration specific to the member type
2838
+ # @return [Types::MembershipConfig]
2839
+ #
2840
+ # @!attribute [rw] metadata
2841
+ # Member-specific metadata
2842
+ # @return [Types::MemberMetadata]
2843
+ #
2844
+ # @!attribute [rw] created_at
2845
+ # Timestamp when the membership was created (ISO 8601)
2846
+ # @return [Time]
2847
+ #
2848
+ # @!attribute [rw] updated_at
2849
+ # Timestamp when the membership was last updated (ISO 8601)
2850
+ # @return [Time]
2851
+ #
2852
+ # @!attribute [rw] created_by
2853
+ # User ID who created the membership
2854
+ # @return [String]
2855
+ #
2856
+ # @!attribute [rw] updated_by
2857
+ # User ID who last updated the membership
2858
+ # @return [String]
2859
+ #
2860
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/MembershipSummary AWS API Documentation
2861
+ #
2862
+ class MembershipSummary < Struct.new(
2863
+ :membership_id,
2864
+ :application_id,
2865
+ :agent_space_id,
2866
+ :member_type,
2867
+ :config,
2868
+ :metadata,
2869
+ :created_at,
2870
+ :updated_at,
2871
+ :created_by,
2872
+ :updated_by)
2873
+ SENSITIVE = []
2874
+ include Aws::Structure
2875
+ end
2876
+
2877
+ # Configuration for network traffic filtering
2878
+ #
2879
+ # @!attribute [rw] rules
2880
+ # Traffic filtering rules
2881
+ # @return [Array<Types::NetworkTrafficRule>]
2882
+ #
2883
+ # @!attribute [rw] custom_headers
2884
+ # Custom headers for requests
2885
+ # @return [Array<Types::CustomHeader>]
2886
+ #
2887
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/NetworkTrafficConfig AWS API Documentation
2888
+ #
2889
+ class NetworkTrafficConfig < Struct.new(
2890
+ :rules,
2891
+ :custom_headers)
2892
+ SENSITIVE = []
2893
+ include Aws::Structure
2894
+ end
2895
+
2896
+ # Network traffic filtering rule
2897
+ #
2898
+ # @!attribute [rw] effect
2899
+ # Action to take when the rule matches
2900
+ # @return [String]
2901
+ #
2902
+ # @!attribute [rw] pattern
2903
+ # Pattern to match against
2904
+ # @return [String]
2905
+ #
2906
+ # @!attribute [rw] network_traffic_rule_type
2907
+ # Type of network traffic rule
2908
+ # @return [String]
2909
+ #
2910
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/NetworkTrafficRule AWS API Documentation
2911
+ #
2912
+ class NetworkTrafficRule < Struct.new(
2913
+ :effect,
2914
+ :pattern,
2915
+ :network_traffic_rule_type)
2916
+ SENSITIVE = []
2917
+ include Aws::Structure
2918
+ end
2919
+
2920
+ # Represents a pentest configuration and execution details
2921
+ #
2922
+ # @!attribute [rw] pentest_id
2923
+ # Unique identifier for the pentest
2924
+ # @return [String]
2925
+ #
2926
+ # @!attribute [rw] agent_space_id
2927
+ # ID of the agent space where the pentest exists
2928
+ # @return [String]
2929
+ #
2930
+ # @!attribute [rw] title
2931
+ # Title or name of the pentest
2932
+ # @return [String]
2933
+ #
2934
+ # @!attribute [rw] assets
2935
+ # Collection of assets to be tested or used during the pentest
2936
+ # @return [Types::Assets]
2937
+ #
2938
+ # @!attribute [rw] exclude_risk_types
2939
+ # A list of risk types excluded from the pentest execution
2940
+ # @return [Array<String>]
2941
+ #
2942
+ # @!attribute [rw] service_role
2943
+ # Service role ARN for accessing customer resources
2944
+ # @return [String]
2945
+ #
2946
+ # @!attribute [rw] log_config
2947
+ # CloudWatch log group and stream prefix where pentest execution logs
2948
+ # are stored
2949
+ # @return [Types::CloudWatchLog]
2950
+ #
2951
+ # @!attribute [rw] vpc_config
2952
+ # VPC configuration that the Security Agent accesses
2953
+ # @return [Types::VpcConfig]
2954
+ #
2955
+ # @!attribute [rw] network_traffic_config
2956
+ # Configuration for network traffic filtering
2957
+ # @return [Types::NetworkTrafficConfig]
2958
+ #
2959
+ # @!attribute [rw] code_remediation_strategy
2960
+ # Strategy for code remediation on findings
2961
+ # @return [String]
2962
+ #
2963
+ # @!attribute [rw] created_at
2964
+ # Timestamp when the pentest was created
2965
+ # @return [Time]
2966
+ #
2967
+ # @!attribute [rw] updated_at
2968
+ # Timestamp when the pentest was last updated
2969
+ # @return [Time]
2970
+ #
2971
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Pentest AWS API Documentation
2972
+ #
2973
+ class Pentest < Struct.new(
2974
+ :pentest_id,
2975
+ :agent_space_id,
2976
+ :title,
2977
+ :assets,
2978
+ :exclude_risk_types,
2979
+ :service_role,
2980
+ :log_config,
2981
+ :vpc_config,
2982
+ :network_traffic_config,
2983
+ :code_remediation_strategy,
2984
+ :created_at,
2985
+ :updated_at)
2986
+ SENSITIVE = []
2987
+ include Aws::Structure
2988
+ end
2989
+
2990
+ # Represents a pentest job
2991
+ #
2992
+ # @!attribute [rw] pentest_job_id
2993
+ # Unique identifier of the pentest job
2994
+ # @return [String]
2995
+ #
2996
+ # @!attribute [rw] pentest_id
2997
+ # Identifier of the parent pentest
2998
+ # @return [String]
2999
+ #
3000
+ # @!attribute [rw] title
3001
+ # Title or name of the pentest
3002
+ # @return [String]
3003
+ #
3004
+ # @!attribute [rw] overview
3005
+ # Overview or description of the pentest job
3006
+ # @return [String]
3007
+ #
3008
+ # @!attribute [rw] status
3009
+ # Current status of the pentest job
3010
+ # @return [String]
3011
+ #
3012
+ # @!attribute [rw] endpoints
3013
+ # List of web application endpoints to test
3014
+ # @return [Array<Types::Endpoint>]
3015
+ #
3016
+ # @!attribute [rw] actors
3017
+ # List of actors that interact with the system
3018
+ # @return [Array<Types::Actor>]
3019
+ #
3020
+ # @!attribute [rw] documents
3021
+ # List of documents providing context for testing
3022
+ # @return [Array<Types::DocumentInfo>]
3023
+ #
3024
+ # @!attribute [rw] source_code
3025
+ # List of source code repositories for static analysis
3026
+ # @return [Array<Types::SourceCodeRepository>]
3027
+ #
3028
+ # @!attribute [rw] exclude_paths
3029
+ # List of URL paths to exclude from testing
3030
+ # @return [Array<Types::Endpoint>]
3031
+ #
3032
+ # @!attribute [rw] allowed_domains
3033
+ # List of allowed domains for network access
3034
+ # @return [Array<Types::Endpoint>]
3035
+ #
3036
+ # @!attribute [rw] exclude_risk_types
3037
+ # A list of risk types excluded from the pentest job
3038
+ # @return [Array<String>]
3039
+ #
3040
+ # @!attribute [rw] steps
3041
+ # List of execution steps for the pentest job
3042
+ # @return [Array<Types::Step>]
3043
+ #
3044
+ # @!attribute [rw] execution_context
3045
+ # A list of execution context messages associated with the pentest job
3046
+ # @return [Array<Types::ExecutionContext>]
3047
+ #
3048
+ # @!attribute [rw] service_role
3049
+ # Service role ARN for accessing customer resources
3050
+ # @return [String]
3051
+ #
3052
+ # @!attribute [rw] log_config
3053
+ # CloudWatch log group and stream prefix where pentest job logs are
3054
+ # stored
3055
+ # @return [Types::CloudWatchLog]
3056
+ #
3057
+ # @!attribute [rw] vpc_config
3058
+ # VPC configuration that the Security Agent accesses
3059
+ # @return [Types::VpcConfig]
3060
+ #
3061
+ # @!attribute [rw] network_traffic_config
3062
+ # Configuration for network traffic filtering
3063
+ # @return [Types::NetworkTrafficConfig]
3064
+ #
3065
+ # @!attribute [rw] error_information
3066
+ # Error information regarding the pentest job
3067
+ # @return [Types::ErrorInformation]
3068
+ #
3069
+ # @!attribute [rw] integrated_repositories
3070
+ # List of integrated code repositories
3071
+ # @return [Array<Types::IntegratedRepository>]
3072
+ #
3073
+ # @!attribute [rw] code_remediation_strategy
3074
+ # Strategy for code remediation on findings
3075
+ # @return [String]
3076
+ #
3077
+ # @!attribute [rw] created_at
3078
+ # Timestamp when the pentest job was created
3079
+ # @return [Time]
3080
+ #
3081
+ # @!attribute [rw] updated_at
3082
+ # Timestamp when the pentest job was last updated
3083
+ # @return [Time]
3084
+ #
3085
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/PentestJob AWS API Documentation
3086
+ #
3087
+ class PentestJob < Struct.new(
3088
+ :pentest_job_id,
3089
+ :pentest_id,
3090
+ :title,
3091
+ :overview,
3092
+ :status,
3093
+ :endpoints,
3094
+ :actors,
3095
+ :documents,
3096
+ :source_code,
3097
+ :exclude_paths,
3098
+ :allowed_domains,
3099
+ :exclude_risk_types,
3100
+ :steps,
3101
+ :execution_context,
3102
+ :service_role,
3103
+ :log_config,
3104
+ :vpc_config,
3105
+ :network_traffic_config,
3106
+ :error_information,
3107
+ :integrated_repositories,
3108
+ :code_remediation_strategy,
3109
+ :created_at,
3110
+ :updated_at)
3111
+ SENSITIVE = []
3112
+ include Aws::Structure
3113
+ end
3114
+
3115
+ # Summary information for a pentest job
3116
+ #
3117
+ # @!attribute [rw] pentest_job_id
3118
+ # Unique identifier of the pentest job
3119
+ # @return [String]
3120
+ #
3121
+ # @!attribute [rw] pentest_id
3122
+ # Identifier of the parent pentest
3123
+ # @return [String]
3124
+ #
3125
+ # @!attribute [rw] title
3126
+ # Title or name of the pentest
3127
+ # @return [String]
3128
+ #
3129
+ # @!attribute [rw] status
3130
+ # Current status of the pentest job
3131
+ # @return [String]
3132
+ #
3133
+ # @!attribute [rw] created_at
3134
+ # Timestamp when the pentest job was created
3135
+ # @return [Time]
3136
+ #
3137
+ # @!attribute [rw] updated_at
3138
+ # Timestamp when the pentest job was last updated
3139
+ # @return [Time]
3140
+ #
3141
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/PentestJobSummary AWS API Documentation
3142
+ #
3143
+ class PentestJobSummary < Struct.new(
3144
+ :pentest_job_id,
3145
+ :pentest_id,
3146
+ :title,
3147
+ :status,
3148
+ :created_at,
3149
+ :updated_at)
3150
+ SENSITIVE = []
3151
+ include Aws::Structure
3152
+ end
3153
+
3154
+ # Summary information for a pentest
3155
+ #
3156
+ # @!attribute [rw] pentest_id
3157
+ # Unique identifier for the pentest
3158
+ # @return [String]
3159
+ #
3160
+ # @!attribute [rw] agent_space_id
3161
+ # ID of the agent space where the pentest exists
3162
+ # @return [String]
3163
+ #
3164
+ # @!attribute [rw] title
3165
+ # Title or name of the pentest
3166
+ # @return [String]
3167
+ #
3168
+ # @!attribute [rw] created_at
3169
+ # Timestamp when the pentest was created
3170
+ # @return [Time]
3171
+ #
3172
+ # @!attribute [rw] updated_at
3173
+ # Timestamp when the pentest was last updated
3174
+ # @return [Time]
3175
+ #
3176
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/PentestSummary AWS API Documentation
3177
+ #
3178
+ class PentestSummary < Struct.new(
3179
+ :pentest_id,
3180
+ :agent_space_id,
3181
+ :title,
3182
+ :created_at,
3183
+ :updated_at)
3184
+ SENSITIVE = []
3185
+ include Aws::Structure
3186
+ end
3187
+
3188
+ # Provider-specific input parameters for integration
3189
+ #
3190
+ # @note ProviderInput is a union - when making an API calls you must set exactly one of the members.
3191
+ #
3192
+ # @!attribute [rw] github
3193
+ # GitHub integration input
3194
+ # @return [Types::GitHubIntegrationInput]
3195
+ #
3196
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderInput AWS API Documentation
3197
+ #
3198
+ class ProviderInput < Struct.new(
3199
+ :github,
3200
+ :unknown)
3201
+ SENSITIVE = []
3202
+ include Aws::Structure
3203
+ include Aws::Structure::Union
3204
+
3205
+ class Github < ProviderInput; end
3206
+ class Unknown < ProviderInput; end
3207
+ end
3208
+
3209
+ # Provider-specific capabilities for integrated resources
3210
+ #
3211
+ # @note ProviderResourceCapabilities is a union - when making an API calls you must set exactly one of the members.
3212
+ #
3213
+ # @note ProviderResourceCapabilities is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ProviderResourceCapabilities corresponding to the set member.
3214
+ #
3215
+ # @!attribute [rw] github
3216
+ # Capabilities for GitHub repositories
3217
+ # @return [Types::GitHubResourceCapabilities]
3218
+ #
3219
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ProviderResourceCapabilities AWS API Documentation
3220
+ #
3221
+ class ProviderResourceCapabilities < Struct.new(
3222
+ :github,
3223
+ :unknown)
3224
+ SENSITIVE = []
3225
+ include Aws::Structure
3226
+ include Aws::Structure::Union
3227
+
3228
+ class Github < ProviderResourceCapabilities; end
3229
+ class Unknown < ProviderResourceCapabilities; end
3230
+ end
3231
+
3232
+ # Specified resource was not found
3233
+ #
3234
+ # @!attribute [rw] message
3235
+ # Error description
3236
+ # @return [String]
3237
+ #
3238
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ResourceNotFoundException AWS API Documentation
3239
+ #
3240
+ class ResourceNotFoundException < Struct.new(
3241
+ :message)
3242
+ SENSITIVE = []
3243
+ include Aws::Structure
3244
+ end
3245
+
3246
+ # Information about a source code repository for static analysis
3247
+ #
3248
+ # @!attribute [rw] s3_location
3249
+ # S3 storage location of the repository
3250
+ # @return [String]
3251
+ #
3252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/SourceCodeRepository AWS API Documentation
3253
+ #
3254
+ class SourceCodeRepository < Struct.new(
3255
+ :s3_location)
3256
+ SENSITIVE = []
3257
+ include Aws::Structure
3258
+ end
3259
+
3260
+ # Input for the StartCodeRemediation operation
3261
+ #
3262
+ # @!attribute [rw] agent_space_id
3263
+ # ID of the agent space where the pentest job exists
3264
+ # @return [String]
3265
+ #
3266
+ # @!attribute [rw] pentest_job_id
3267
+ # Identifier of the pentest job to start code remediation for
3268
+ # @return [String]
3269
+ #
3270
+ # @!attribute [rw] finding_ids
3271
+ # Identifiers of the findings to start code remediation for
3272
+ # @return [Array<String>]
3273
+ #
3274
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartCodeRemediationInput AWS API Documentation
3275
+ #
3276
+ class StartCodeRemediationInput < Struct.new(
3277
+ :agent_space_id,
3278
+ :pentest_job_id,
3279
+ :finding_ids)
3280
+ SENSITIVE = []
3281
+ include Aws::Structure
3282
+ end
3283
+
3284
+ # Output for the StartCodeRemediation operation
3285
+ #
3286
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartCodeRemediationOutput AWS API Documentation
3287
+ #
3288
+ class StartCodeRemediationOutput < Aws::EmptyStructure; end
3289
+
3290
+ # Input for starting the execution of a pentest
3291
+ #
3292
+ # @!attribute [rw] agent_space_id
3293
+ # ID of the agent space where the pentest exists
3294
+ # @return [String]
3295
+ #
3296
+ # @!attribute [rw] pentest_id
3297
+ # Identifier of the pentest to execute
3298
+ # @return [String]
3299
+ #
3300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartPentestJobInput AWS API Documentation
3301
+ #
3302
+ class StartPentestJobInput < Struct.new(
3303
+ :agent_space_id,
3304
+ :pentest_id)
3305
+ SENSITIVE = []
3306
+ include Aws::Structure
3307
+ end
3308
+
3309
+ # Output for the StartPentestJob operation
3310
+ #
3311
+ # @!attribute [rw] title
3312
+ # Title of the pentest job
3313
+ # @return [String]
3314
+ #
3315
+ # @!attribute [rw] status
3316
+ # Current status of the pentest job
3317
+ # @return [String]
3318
+ #
3319
+ # @!attribute [rw] created_at
3320
+ # Timestamp when the pentest job was created
3321
+ # @return [Time]
3322
+ #
3323
+ # @!attribute [rw] updated_at
3324
+ # Timestamp when the pentest job was last updated
3325
+ # @return [Time]
3326
+ #
3327
+ # @!attribute [rw] pentest_id
3328
+ # Unique identifier of the pentest
3329
+ # @return [String]
3330
+ #
3331
+ # @!attribute [rw] pentest_job_id
3332
+ # Unique identifier of the pentest job
3333
+ # @return [String]
3334
+ #
3335
+ # @!attribute [rw] agent_space_id
3336
+ # ID of the agent space where the pentest exists
3337
+ # @return [String]
3338
+ #
3339
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartPentestJobOutput AWS API Documentation
3340
+ #
3341
+ class StartPentestJobOutput < Struct.new(
3342
+ :title,
3343
+ :status,
3344
+ :created_at,
3345
+ :updated_at,
3346
+ :pentest_id,
3347
+ :pentest_job_id,
3348
+ :agent_space_id)
3349
+ SENSITIVE = []
3350
+ include Aws::Structure
3351
+ end
3352
+
3353
+ # Represents a single step in pentest job execution
3354
+ #
3355
+ # @!attribute [rw] name
3356
+ # Name of the execution step
3357
+ # @return [String]
3358
+ #
3359
+ # @!attribute [rw] status
3360
+ # Current status of the step
3361
+ # @return [String]
3362
+ #
3363
+ # @!attribute [rw] created_at
3364
+ # Timestamp when the step was created
3365
+ # @return [Time]
3366
+ #
3367
+ # @!attribute [rw] updated_at
3368
+ # Timestamp when the step was last updated
3369
+ # @return [Time]
3370
+ #
3371
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Step AWS API Documentation
3372
+ #
3373
+ class Step < Struct.new(
3374
+ :name,
3375
+ :status,
3376
+ :created_at,
3377
+ :updated_at)
3378
+ SENSITIVE = []
3379
+ include Aws::Structure
3380
+ end
3381
+
3382
+ # Input for stopping the execution of a pentest
3383
+ #
3384
+ # @!attribute [rw] agent_space_id
3385
+ # ID of the agent space where the pentest exists
3386
+ # @return [String]
3387
+ #
3388
+ # @!attribute [rw] pentest_job_id
3389
+ # Identifier of the pentest job to stop
3390
+ # @return [String]
3391
+ #
3392
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StopPentestJobInput AWS API Documentation
3393
+ #
3394
+ class StopPentestJobInput < Struct.new(
3395
+ :agent_space_id,
3396
+ :pentest_job_id)
3397
+ SENSITIVE = []
3398
+ include Aws::Structure
3399
+ end
3400
+
3401
+ # Output for the StopPentestJob operation
3402
+ #
3403
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StopPentestJobOutput AWS API Documentation
3404
+ #
3405
+ class StopPentestJobOutput < Aws::EmptyStructure; end
3406
+
3407
+ # Input for TagResource operation
3408
+ #
3409
+ # @!attribute [rw] resource_arn
3410
+ # ARN of the resource to tag
3411
+ # @return [String]
3412
+ #
3413
+ # @!attribute [rw] tags
3414
+ # Tags to add to the resource
3415
+ # @return [Hash<String,String>]
3416
+ #
3417
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TagResourceInput AWS API Documentation
3418
+ #
3419
+ class TagResourceInput < Struct.new(
3420
+ :resource_arn,
3421
+ :tags)
3422
+ SENSITIVE = []
3423
+ include Aws::Structure
3424
+ end
3425
+
3426
+ # Output for TagResource operation
3427
+ #
3428
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TagResourceOutput AWS API Documentation
3429
+ #
3430
+ class TagResourceOutput < Aws::EmptyStructure; end
3431
+
3432
+ # Represents a target domain
3433
+ #
3434
+ # @!attribute [rw] target_domain_id
3435
+ # Unique identifier of the target domain
3436
+ # @return [String]
3437
+ #
3438
+ # @!attribute [rw] domain_name
3439
+ # Name of the registered target domain
3440
+ # @return [String]
3441
+ #
3442
+ # @!attribute [rw] verification_status
3443
+ # Current verification status of the registered target domain
3444
+ # @return [String]
3445
+ #
3446
+ # @!attribute [rw] verification_details
3447
+ # Verification details to verify registered target domain
3448
+ # @return [Types::VerificationDetails]
3449
+ #
3450
+ # @!attribute [rw] created_at
3451
+ # Timestamp when the target domain was registered
3452
+ # @return [Time]
3453
+ #
3454
+ # @!attribute [rw] verified_at
3455
+ # Timestamp when the target domain was last successfully verified
3456
+ # @return [Time]
3457
+ #
3458
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TargetDomain AWS API Documentation
3459
+ #
3460
+ class TargetDomain < Struct.new(
3461
+ :target_domain_id,
3462
+ :domain_name,
3463
+ :verification_status,
3464
+ :verification_details,
3465
+ :created_at,
3466
+ :verified_at)
3467
+ SENSITIVE = []
3468
+ include Aws::Structure
3469
+ end
3470
+
3471
+ # Summary information for a target domain
3472
+ #
3473
+ # @!attribute [rw] target_domain_id
3474
+ # Unique identifier of the target domain
3475
+ # @return [String]
3476
+ #
3477
+ # @!attribute [rw] domain_name
3478
+ # Name of the registered target domain
3479
+ # @return [String]
3480
+ #
3481
+ # @!attribute [rw] verification_status
3482
+ # Current verification status of the registered target domain
3483
+ # @return [String]
3484
+ #
3485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TargetDomainSummary AWS API Documentation
3486
+ #
3487
+ class TargetDomainSummary < Struct.new(
3488
+ :target_domain_id,
3489
+ :domain_name,
3490
+ :verification_status)
3491
+ SENSITIVE = []
3492
+ include Aws::Structure
3493
+ end
3494
+
3495
+ # Represents a task within a pentest job
3496
+ #
3497
+ # @!attribute [rw] task_id
3498
+ # Unique identifier for the task
3499
+ # @return [String]
3500
+ #
3501
+ # @!attribute [rw] pentest_id
3502
+ # Identifier of the parent pentest
3503
+ # @return [String]
3504
+ #
3505
+ # @!attribute [rw] pentest_job_id
3506
+ # Identifier of the pentest job this task belongs to
3507
+ # @return [String]
3508
+ #
3509
+ # @!attribute [rw] agent_space_id
3510
+ # Identifier of the agent space this task belongs to
3511
+ # @return [String]
3512
+ #
3513
+ # @!attribute [rw] title
3514
+ # Title or name of the task
3515
+ # @return [String]
3516
+ #
3517
+ # @!attribute [rw] description
3518
+ # Detailed description of the task's purpose and scope
3519
+ # @return [String]
3520
+ #
3521
+ # @!attribute [rw] categories
3522
+ # List of categories associated with this task
3523
+ # @return [Array<Types::Category>]
3524
+ #
3525
+ # @!attribute [rw] risk_type
3526
+ # Type of security risk this task is designed to test
3527
+ # @return [String]
3528
+ #
3529
+ # @!attribute [rw] target_endpoint
3530
+ # Target endpoint for this security test
3531
+ # @return [Types::Endpoint]
3532
+ #
3533
+ # @!attribute [rw] execution_status
3534
+ # Current status of the task execution
3535
+ # @return [String]
3536
+ #
3537
+ # @!attribute [rw] logs_location
3538
+ # Location of execution logs for auditing and review
3539
+ # @return [Types::LogLocation]
3540
+ #
3541
+ # @!attribute [rw] created_at
3542
+ # Timestamp when the task was created
3543
+ # @return [Time]
3544
+ #
3545
+ # @!attribute [rw] updated_at
3546
+ # Timestamp when the task was last updated
3547
+ # @return [Time]
3548
+ #
3549
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/Task AWS API Documentation
3550
+ #
3551
+ class Task < Struct.new(
3552
+ :task_id,
3553
+ :pentest_id,
3554
+ :pentest_job_id,
3555
+ :agent_space_id,
3556
+ :title,
3557
+ :description,
3558
+ :categories,
3559
+ :risk_type,
3560
+ :target_endpoint,
3561
+ :execution_status,
3562
+ :logs_location,
3563
+ :created_at,
3564
+ :updated_at)
3565
+ SENSITIVE = []
3566
+ include Aws::Structure
3567
+ end
3568
+
3569
+ # Summary information for a task
3570
+ #
3571
+ # @!attribute [rw] task_id
3572
+ # Unique identifier for the task
3573
+ # @return [String]
3574
+ #
3575
+ # @!attribute [rw] pentest_id
3576
+ # Identifier of the parent pentest
3577
+ # @return [String]
3578
+ #
3579
+ # @!attribute [rw] pentest_job_id
3580
+ # Identifier of the pentest job this task belongs to
3581
+ # @return [String]
3582
+ #
3583
+ # @!attribute [rw] agent_space_id
3584
+ # Identifier of the agent space this task belongs to
3585
+ # @return [String]
3586
+ #
3587
+ # @!attribute [rw] title
3588
+ # Title or name of the task
3589
+ # @return [String]
3590
+ #
3591
+ # @!attribute [rw] risk_type
3592
+ # Type of security risk this task is designed to test
3593
+ # @return [String]
3594
+ #
3595
+ # @!attribute [rw] execution_status
3596
+ # Current status of the task execution
3597
+ # @return [String]
3598
+ #
3599
+ # @!attribute [rw] created_at
3600
+ # Timestamp when the task was created
3601
+ # @return [Time]
3602
+ #
3603
+ # @!attribute [rw] updated_at
3604
+ # Timestamp when the task was last updated
3605
+ # @return [Time]
3606
+ #
3607
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/TaskSummary AWS API Documentation
3608
+ #
3609
+ class TaskSummary < Struct.new(
3610
+ :task_id,
3611
+ :pentest_id,
3612
+ :pentest_job_id,
3613
+ :agent_space_id,
3614
+ :title,
3615
+ :risk_type,
3616
+ :execution_status,
3617
+ :created_at,
3618
+ :updated_at)
3619
+ SENSITIVE = []
3620
+ include Aws::Structure
3621
+ end
3622
+
3623
+ # Request denied due to throttling
3624
+ #
3625
+ # @!attribute [rw] message
3626
+ # Error description
3627
+ # @return [String]
3628
+ #
3629
+ # @!attribute [rw] service_code
3630
+ # Service code for throttling limit
3631
+ # @return [String]
3632
+ #
3633
+ # @!attribute [rw] quota_code
3634
+ # Quota code for throttling limit
3635
+ # @return [String]
3636
+ #
3637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ThrottlingException AWS API Documentation
3638
+ #
3639
+ class ThrottlingException < Struct.new(
3640
+ :message,
3641
+ :service_code,
3642
+ :quota_code)
3643
+ SENSITIVE = []
3644
+ include Aws::Structure
3645
+ end
3646
+
3647
+ # Input for UntagResource operation
3648
+ #
3649
+ # @!attribute [rw] resource_arn
3650
+ # ARN of the resource to untag
3651
+ # @return [String]
3652
+ #
3653
+ # @!attribute [rw] tag_keys
3654
+ # List of tag keys to remove from the resource
3655
+ # @return [Array<String>]
3656
+ #
3657
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UntagResourceInput AWS API Documentation
3658
+ #
3659
+ class UntagResourceInput < Struct.new(
3660
+ :resource_arn,
3661
+ :tag_keys)
3662
+ SENSITIVE = []
3663
+ include Aws::Structure
3664
+ end
3665
+
3666
+ # Output for UntagResource operation
3667
+ #
3668
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UntagResourceOutput AWS API Documentation
3669
+ #
3670
+ class UntagResourceOutput < Aws::EmptyStructure; end
3671
+
3672
+ # Input for updating an agent space
3673
+ #
3674
+ # @!attribute [rw] agent_space_id
3675
+ # ID of the agent space to update
3676
+ # @return [String]
3677
+ #
3678
+ # @!attribute [rw] name
3679
+ # Name of the agent space
3680
+ # @return [String]
3681
+ #
3682
+ # @!attribute [rw] description
3683
+ # Description of the agent space
3684
+ # @return [String]
3685
+ #
3686
+ # @!attribute [rw] aws_resources
3687
+ # AWS resource configurations associated with the agent space
3688
+ # @return [Types::AWSResources]
3689
+ #
3690
+ # @!attribute [rw] target_domain_ids
3691
+ # Target domain IDs to associate with the agent space
3692
+ # @return [Array<String>]
3693
+ #
3694
+ # @!attribute [rw] code_review_settings
3695
+ # Configuration for code review analysis, including controls scanning
3696
+ # and general purpose scanning settings
3697
+ # @return [Types::CodeReviewSettings]
3698
+ #
3699
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateAgentSpaceInput AWS API Documentation
3700
+ #
3701
+ class UpdateAgentSpaceInput < Struct.new(
3702
+ :agent_space_id,
3703
+ :name,
3704
+ :description,
3705
+ :aws_resources,
3706
+ :target_domain_ids,
3707
+ :code_review_settings)
3708
+ SENSITIVE = []
3709
+ include Aws::Structure
3710
+ end
3711
+
3712
+ # Output for the UpdateAgentSpace operation
3713
+ #
3714
+ # @!attribute [rw] agent_space_id
3715
+ # Unique identifier of the agent space
3716
+ # @return [String]
3717
+ #
3718
+ # @!attribute [rw] name
3719
+ # Name of the agent space
3720
+ # @return [String]
3721
+ #
3722
+ # @!attribute [rw] description
3723
+ # Description of the agent space
3724
+ # @return [String]
3725
+ #
3726
+ # @!attribute [rw] aws_resources
3727
+ # AWS resource configurations associated with the agent space
3728
+ # @return [Types::AWSResources]
3729
+ #
3730
+ # @!attribute [rw] target_domain_ids
3731
+ # List of target domain IDs registered with the agent space
3732
+ # @return [Array<String>]
3733
+ #
3734
+ # @!attribute [rw] code_review_settings
3735
+ # Configuration for code review analysis, including controls scanning
3736
+ # and general purpose scanning settings
3737
+ # @return [Types::CodeReviewSettings]
3738
+ #
3739
+ # @!attribute [rw] created_at
3740
+ # Timestamp when the agent space was created
3741
+ # @return [Time]
3742
+ #
3743
+ # @!attribute [rw] updated_at
3744
+ # Timestamp when the agent space was last updated
3745
+ # @return [Time]
3746
+ #
3747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateAgentSpaceOutput AWS API Documentation
3748
+ #
3749
+ class UpdateAgentSpaceOutput < Struct.new(
3750
+ :agent_space_id,
3751
+ :name,
3752
+ :description,
3753
+ :aws_resources,
3754
+ :target_domain_ids,
3755
+ :code_review_settings,
3756
+ :created_at,
3757
+ :updated_at)
3758
+ SENSITIVE = []
3759
+ include Aws::Structure
3760
+ end
3761
+
3762
+ # @!attribute [rw] application_id
3763
+ # Application ID
3764
+ # @return [String]
3765
+ #
3766
+ # @!attribute [rw] role_arn
3767
+ # ARN of the IAM role that the application uses to access AWS
3768
+ # resources on your behalf
3769
+ # @return [String]
3770
+ #
3771
+ # @!attribute [rw] default_kms_key_id
3772
+ # Default KMS key identifier. Use an empty string to remove the
3773
+ # default KMS key.
3774
+ # @return [String]
3775
+ #
3776
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateApplicationRequest AWS API Documentation
3777
+ #
3778
+ class UpdateApplicationRequest < Struct.new(
3779
+ :application_id,
3780
+ :role_arn,
3781
+ :default_kms_key_id)
3782
+ SENSITIVE = []
3783
+ include Aws::Structure
3784
+ end
3785
+
3786
+ # @!attribute [rw] application_id
3787
+ # Application ID
3788
+ # @return [String]
3789
+ #
3790
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateApplicationResponse AWS API Documentation
3791
+ #
3792
+ class UpdateApplicationResponse < Struct.new(
3793
+ :application_id)
3794
+ SENSITIVE = []
3795
+ include Aws::Structure
3796
+ end
3797
+
3798
+ # Input for updating an existing security finding
3799
+ #
3800
+ # @!attribute [rw] finding_id
3801
+ # Identifier of the finding to update
3802
+ # @return [String]
3803
+ #
3804
+ # @!attribute [rw] agent_space_id
3805
+ # ID of the agent space where the finding exists
3806
+ # @return [String]
3807
+ #
3808
+ # @!attribute [rw] risk_level
3809
+ # Updated severity level of the identified risk
3810
+ # @return [String]
3811
+ #
3812
+ # @!attribute [rw] status
3813
+ # Updated status of the finding
3814
+ # @return [String]
3815
+ #
3816
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateFindingInput AWS API Documentation
3817
+ #
3818
+ class UpdateFindingInput < Struct.new(
3819
+ :finding_id,
3820
+ :agent_space_id,
3821
+ :risk_level,
3822
+ :status)
3823
+ SENSITIVE = []
3824
+ include Aws::Structure
3825
+ end
3826
+
3827
+ # Output for the UpdateFinding operation
3828
+ #
3829
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateFindingOutput AWS API Documentation
3830
+ #
3831
+ class UpdateFindingOutput < Aws::EmptyStructure; end
3832
+
3833
+ # @!attribute [rw] agent_space_id
3834
+ # Unique identifier of the agent space
3835
+ # @return [String]
3836
+ #
3837
+ # @!attribute [rw] integration_id
3838
+ # Unique identifier of the integration
3839
+ # @return [String]
3840
+ #
3841
+ # @!attribute [rw] items
3842
+ # List of integrated resources to update
3843
+ # @return [Array<Types::IntegratedResourceInputItem>]
3844
+ #
3845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegratedResourcesInput AWS API Documentation
3846
+ #
3847
+ class UpdateIntegratedResourcesInput < Struct.new(
3848
+ :agent_space_id,
3849
+ :integration_id,
3850
+ :items)
3851
+ SENSITIVE = []
3852
+ include Aws::Structure
3853
+ end
3854
+
3855
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateIntegratedResourcesOutput AWS API Documentation
3856
+ #
3857
+ class UpdateIntegratedResourcesOutput < Aws::EmptyStructure; end
3858
+
3859
+ # Input for updating an existing pentest
3860
+ #
3861
+ # @!attribute [rw] pentest_id
3862
+ # Identifier of the pentest to update
3863
+ # @return [String]
3864
+ #
3865
+ # @!attribute [rw] agent_space_id
3866
+ # ID of the agent space where the pentest exists
3867
+ # @return [String]
3868
+ #
3869
+ # @!attribute [rw] title
3870
+ # New title for the pentest
3871
+ # @return [String]
3872
+ #
3873
+ # @!attribute [rw] assets
3874
+ # Updated assets to be tested
3875
+ # @return [Types::Assets]
3876
+ #
3877
+ # @!attribute [rw] exclude_risk_types
3878
+ # A list of risk types excluded from the pentest execution
3879
+ # @return [Array<String>]
3880
+ #
3881
+ # @!attribute [rw] service_role
3882
+ # Updated service role ARN for accessing customer resources
3883
+ # @return [String]
3884
+ #
3885
+ # @!attribute [rw] log_config
3886
+ # CloudWatch log group and stream prefix where pentest execution logs
3887
+ # are stored
3888
+ # @return [Types::CloudWatchLog]
3889
+ #
3890
+ # @!attribute [rw] vpc_config
3891
+ # VPC configuration that the Security Agent accesses
3892
+ # @return [Types::VpcConfig]
3893
+ #
3894
+ # @!attribute [rw] network_traffic_config
3895
+ # Configuration for network traffic filtering
3896
+ # @return [Types::NetworkTrafficConfig]
3897
+ #
3898
+ # @!attribute [rw] code_remediation_strategy
3899
+ # Strategy for code remediation on findings
3900
+ # @return [String]
3901
+ #
3902
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestInput AWS API Documentation
3903
+ #
3904
+ class UpdatePentestInput < Struct.new(
3905
+ :pentest_id,
3906
+ :agent_space_id,
3907
+ :title,
3908
+ :assets,
3909
+ :exclude_risk_types,
3910
+ :service_role,
3911
+ :log_config,
3912
+ :vpc_config,
3913
+ :network_traffic_config,
3914
+ :code_remediation_strategy)
3915
+ SENSITIVE = []
3916
+ include Aws::Structure
3917
+ end
3918
+
3919
+ # Output for the UpdatePentest operation
3920
+ #
3921
+ # @!attribute [rw] pentest_id
3922
+ # Unique identifier of the updated pentest
3923
+ # @return [String]
3924
+ #
3925
+ # @!attribute [rw] title
3926
+ # Title of the updated pentest
3927
+ # @return [String]
3928
+ #
3929
+ # @!attribute [rw] created_at
3930
+ # Timestamp when the pentest was created
3931
+ # @return [Time]
3932
+ #
3933
+ # @!attribute [rw] updated_at
3934
+ # Timestamp when the pentest was last updated
3935
+ # @return [Time]
3936
+ #
3937
+ # @!attribute [rw] assets
3938
+ # Assets to be tested in the updated pentest
3939
+ # @return [Types::Assets]
3940
+ #
3941
+ # @!attribute [rw] exclude_risk_types
3942
+ # A list of risk types excluded from the pentest execution
3943
+ # @return [Array<String>]
3944
+ #
3945
+ # @!attribute [rw] service_role
3946
+ # Service role ARN for accessing customer resources
3947
+ # @return [String]
3948
+ #
3949
+ # @!attribute [rw] log_config
3950
+ # CloudWatch log group and stream prefix where pentest execution logs
3951
+ # are stored
3952
+ # @return [Types::CloudWatchLog]
3953
+ #
3954
+ # @!attribute [rw] agent_space_id
3955
+ # ID of the agent space where the pentest exists
3956
+ # @return [String]
3957
+ #
3958
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdatePentestOutput AWS API Documentation
3959
+ #
3960
+ class UpdatePentestOutput < Struct.new(
3961
+ :pentest_id,
3962
+ :title,
3963
+ :created_at,
3964
+ :updated_at,
3965
+ :assets,
3966
+ :exclude_risk_types,
3967
+ :service_role,
3968
+ :log_config,
3969
+ :agent_space_id)
3970
+ SENSITIVE = []
3971
+ include Aws::Structure
3972
+ end
3973
+
3974
+ # Input for updating a target domain
3975
+ #
3976
+ # @!attribute [rw] target_domain_id
3977
+ # Unique identifier of the target domain to update
3978
+ # @return [String]
3979
+ #
3980
+ # @!attribute [rw] verification_method
3981
+ # Verification method for the target domain
3982
+ # @return [String]
3983
+ #
3984
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateTargetDomainInput AWS API Documentation
3985
+ #
3986
+ class UpdateTargetDomainInput < Struct.new(
3987
+ :target_domain_id,
3988
+ :verification_method)
3989
+ SENSITIVE = []
3990
+ include Aws::Structure
3991
+ end
3992
+
3993
+ # Output for the UpdateTargetDomain operation
3994
+ #
3995
+ # @!attribute [rw] target_domain_id
3996
+ # Unique identifier of the target domain
3997
+ # @return [String]
3998
+ #
3999
+ # @!attribute [rw] domain_name
4000
+ # Name of the target domain
4001
+ # @return [String]
4002
+ #
4003
+ # @!attribute [rw] verification_status
4004
+ # Current verification status of the registered target domain
4005
+ # @return [String]
4006
+ #
4007
+ # @!attribute [rw] verification_details
4008
+ # Verification details to verify registered target domain
4009
+ # @return [Types::VerificationDetails]
4010
+ #
4011
+ # @!attribute [rw] created_at
4012
+ # Timestamp when the target domain was registered
4013
+ # @return [Time]
4014
+ #
4015
+ # @!attribute [rw] verified_at
4016
+ # Timestamp when the target domain was last successfully verified
4017
+ # @return [Time]
4018
+ #
4019
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateTargetDomainOutput AWS API Documentation
4020
+ #
4021
+ class UpdateTargetDomainOutput < Struct.new(
4022
+ :target_domain_id,
4023
+ :domain_name,
4024
+ :verification_status,
4025
+ :verification_details,
4026
+ :created_at,
4027
+ :verified_at)
4028
+ SENSITIVE = []
4029
+ include Aws::Structure
4030
+ end
4031
+
4032
+ # User membership configuration
4033
+ #
4034
+ # @!attribute [rw] role
4035
+ # Role of the user associated to the agent space
4036
+ # @return [String]
4037
+ #
4038
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UserConfig AWS API Documentation
4039
+ #
4040
+ class UserConfig < Struct.new(
4041
+ :role)
4042
+ SENSITIVE = []
4043
+ include Aws::Structure
4044
+ end
4045
+
4046
+ # User-specific metadata
4047
+ #
4048
+ # @!attribute [rw] username
4049
+ # User name/display name
4050
+ # @return [String]
4051
+ #
4052
+ # @!attribute [rw] email
4053
+ # User email address
4054
+ # @return [String]
4055
+ #
4056
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UserMetadata AWS API Documentation
4057
+ #
4058
+ class UserMetadata < Struct.new(
4059
+ :username,
4060
+ :email)
4061
+ SENSITIVE = []
4062
+ include Aws::Structure
4063
+ end
4064
+
4065
+ # A standard error for input validation failures. This should be thrown
4066
+ # by services when a member of the input structure falls outside of the
4067
+ # modeled or documented constraints.
4068
+ #
4069
+ # @!attribute [rw] message
4070
+ # A summary of the validation failure.
4071
+ # @return [String]
4072
+ #
4073
+ # @!attribute [rw] field_list
4074
+ # A list of specific failures encountered while validating the input.
4075
+ # A member can appear in this list more than once if it failed to
4076
+ # satisfy multiple constraints.
4077
+ # @return [Array<Types::ValidationExceptionField>]
4078
+ #
4079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ValidationException AWS API Documentation
4080
+ #
4081
+ class ValidationException < Struct.new(
4082
+ :message,
4083
+ :field_list)
4084
+ SENSITIVE = []
4085
+ include Aws::Structure
4086
+ end
4087
+
4088
+ # Describes one specific validation failure for an input member.
4089
+ #
4090
+ # @!attribute [rw] path
4091
+ # A JSONPointer expression to the structure member whose value failed
4092
+ # to satisfy the modeled constraints.
4093
+ # @return [String]
4094
+ #
4095
+ # @!attribute [rw] message
4096
+ # A detailed description of the validation failure.
4097
+ # @return [String]
4098
+ #
4099
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ValidationExceptionField AWS API Documentation
4100
+ #
4101
+ class ValidationExceptionField < Struct.new(
4102
+ :path,
4103
+ :message)
4104
+ SENSITIVE = []
4105
+ include Aws::Structure
4106
+ end
4107
+
4108
+ # Verification details to verify registered target domain
4109
+ #
4110
+ # @!attribute [rw] method
4111
+ # Type of domain ownership verification method
4112
+ # @return [String]
4113
+ #
4114
+ # @!attribute [rw] dns_txt
4115
+ # Represents dns txt verification details
4116
+ # @return [Types::DnsVerification]
4117
+ #
4118
+ # @!attribute [rw] http_route
4119
+ # Represents http route verification details
4120
+ # @return [Types::HttpVerification]
4121
+ #
4122
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/VerificationDetails AWS API Documentation
4123
+ #
4124
+ class VerificationDetails < Struct.new(
4125
+ :method,
4126
+ :dns_txt,
4127
+ :http_route)
4128
+ SENSITIVE = []
4129
+ include Aws::Structure
4130
+ end
4131
+
4132
+ # Input for verifying ownership for a registered target domain in an
4133
+ # agent space
4134
+ #
4135
+ # @!attribute [rw] target_domain_id
4136
+ # Unique identifier of the target domain
4137
+ # @return [String]
4138
+ #
4139
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/VerifyTargetDomainInput AWS API Documentation
4140
+ #
4141
+ class VerifyTargetDomainInput < Struct.new(
4142
+ :target_domain_id)
4143
+ SENSITIVE = []
4144
+ include Aws::Structure
4145
+ end
4146
+
4147
+ # Output for verifying ownership for a registered target domain in an
4148
+ # agent space
4149
+ #
4150
+ # @!attribute [rw] target_domain_id
4151
+ # Unique identifier of the target domain
4152
+ # @return [String]
4153
+ #
4154
+ # @!attribute [rw] domain_name
4155
+ # Name of the registered target domain
4156
+ # @return [String]
4157
+ #
4158
+ # @!attribute [rw] created_at
4159
+ # Timestamp when the target domain was registered
4160
+ # @return [Time]
4161
+ #
4162
+ # @!attribute [rw] updated_at
4163
+ # Timestamp when the target domain was last updated
4164
+ # @return [Time]
4165
+ #
4166
+ # @!attribute [rw] verified_at
4167
+ # Timestamp when the target domain was last successfully verified
4168
+ # @return [Time]
4169
+ #
4170
+ # @!attribute [rw] status
4171
+ # Current verification status of the registered target domain
4172
+ # @return [String]
4173
+ #
4174
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/VerifyTargetDomainOutput AWS API Documentation
4175
+ #
4176
+ class VerifyTargetDomainOutput < Struct.new(
4177
+ :target_domain_id,
4178
+ :domain_name,
4179
+ :created_at,
4180
+ :updated_at,
4181
+ :verified_at,
4182
+ :status)
4183
+ SENSITIVE = []
4184
+ include Aws::Structure
4185
+ end
4186
+
4187
+ # Customer VPC configuration that the Security Agent accesses
4188
+ #
4189
+ # @!attribute [rw] vpc_arn
4190
+ # ARN or ID of the customer VPC
4191
+ # @return [String]
4192
+ #
4193
+ # @!attribute [rw] security_group_arns
4194
+ # List of security group ARNs or IDs in the customer VPC
4195
+ # @return [Array<String>]
4196
+ #
4197
+ # @!attribute [rw] subnet_arns
4198
+ # List of subnet ARNs or IDs in the customer VPC
4199
+ # @return [Array<String>]
4200
+ #
4201
+ # @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/VpcConfig AWS API Documentation
4202
+ #
4203
+ class VpcConfig < Struct.new(
4204
+ :vpc_arn,
4205
+ :security_group_arns,
4206
+ :subnet_arns)
4207
+ SENSITIVE = []
4208
+ include Aws::Structure
4209
+ end
4210
+
4211
+ end
4212
+ end
4213
+