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.
data/sig/client.rbs ADDED
@@ -0,0 +1,931 @@
1
+ # WARNING ABOUT GENERATED CODE
2
+ #
3
+ # This file is generated. See the contributing guide for more information:
4
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
5
+ #
6
+ # WARNING ABOUT GENERATED CODE
7
+
8
+ module Aws
9
+ module SecurityAgent
10
+ class Client < ::Seahorse::Client::Base
11
+ include ::Aws::ClientStubs
12
+
13
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#initialize-instance_method
14
+ def self.new: (
15
+ ?credentials: untyped,
16
+ ?region: String,
17
+ ?access_key_id: String,
18
+ ?account_id: String,
19
+ ?active_endpoint_cache: bool,
20
+ ?adaptive_retry_wait_to_fill: bool,
21
+ ?auth_scheme_preference: Array[String],
22
+ ?client_side_monitoring: bool,
23
+ ?client_side_monitoring_client_id: String,
24
+ ?client_side_monitoring_host: String,
25
+ ?client_side_monitoring_port: Integer,
26
+ ?client_side_monitoring_publisher: untyped,
27
+ ?convert_params: bool,
28
+ ?correct_clock_skew: bool,
29
+ ?defaults_mode: String,
30
+ ?disable_host_prefix_injection: bool,
31
+ ?disable_request_compression: bool,
32
+ ?endpoint: String,
33
+ ?endpoint_cache_max_entries: Integer,
34
+ ?endpoint_cache_max_threads: Integer,
35
+ ?endpoint_cache_poll_interval: Integer,
36
+ ?endpoint_discovery: bool,
37
+ ?ignore_configured_endpoint_urls: bool,
38
+ ?log_formatter: untyped,
39
+ ?log_level: Symbol,
40
+ ?logger: untyped,
41
+ ?max_attempts: Integer,
42
+ ?profile: String,
43
+ ?request_checksum_calculation: String,
44
+ ?request_min_compression_size_bytes: Integer,
45
+ ?response_checksum_validation: String,
46
+ ?retry_backoff: Proc,
47
+ ?retry_base_delay: Float,
48
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
49
+ ?retry_limit: Integer,
50
+ ?retry_max_delay: Integer,
51
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
52
+ ?sdk_ua_app_id: String,
53
+ ?secret_access_key: String,
54
+ ?session_token: String,
55
+ ?sigv4a_signing_region_set: Array[String],
56
+ ?stub_responses: untyped,
57
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
58
+ ?token_provider: untyped,
59
+ ?use_dualstack_endpoint: bool,
60
+ ?use_fips_endpoint: bool,
61
+ ?validate_params: bool,
62
+ ?endpoint_provider: untyped,
63
+ ?http_proxy: String,
64
+ ?http_open_timeout: (Float | Integer),
65
+ ?http_read_timeout: (Float | Integer),
66
+ ?http_idle_timeout: (Float | Integer),
67
+ ?http_continue_timeout: (Float | Integer),
68
+ ?ssl_timeout: (Float | Integer | nil),
69
+ ?http_wire_trace: bool,
70
+ ?ssl_verify_peer: bool,
71
+ ?ssl_ca_bundle: String,
72
+ ?ssl_ca_directory: String,
73
+ ?ssl_ca_store: String,
74
+ ?on_chunk_received: Proc,
75
+ ?on_chunk_sent: Proc,
76
+ ?raise_response_errors: bool
77
+ ) -> instance
78
+ | (?Hash[Symbol, untyped]) -> instance
79
+
80
+
81
+ interface _AddArtifactResponseSuccess
82
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddArtifactOutput]
83
+ def artifact_id: () -> ::String
84
+ end
85
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#add_artifact-instance_method
86
+ def add_artifact: (
87
+ agent_space_id: ::String,
88
+ artifact_content: ::String,
89
+ artifact_type: ("TXT" | "PNG" | "JPEG" | "MD" | "PDF" | "DOCX" | "DOC" | "JSON" | "YAML"),
90
+ file_name: ::String
91
+ ) -> _AddArtifactResponseSuccess
92
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddArtifactResponseSuccess
93
+
94
+ interface _BatchDeletePentestsResponseSuccess
95
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeletePentestsOutput]
96
+ def deleted: () -> ::Array[Types::Pentest]
97
+ def failed: () -> ::Array[Types::DeletePentestFailure]
98
+ end
99
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_delete_pentests-instance_method
100
+ def batch_delete_pentests: (
101
+ pentest_ids: Array[::String],
102
+ agent_space_id: ::String
103
+ ) -> _BatchDeletePentestsResponseSuccess
104
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeletePentestsResponseSuccess
105
+
106
+ interface _BatchGetAgentSpacesResponseSuccess
107
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetAgentSpacesOutput]
108
+ def agent_spaces: () -> ::Array[Types::AgentSpace]
109
+ def not_found: () -> ::Array[::String]
110
+ end
111
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_agent_spaces-instance_method
112
+ def batch_get_agent_spaces: (
113
+ agent_space_ids: Array[::String]
114
+ ) -> _BatchGetAgentSpacesResponseSuccess
115
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetAgentSpacesResponseSuccess
116
+
117
+ interface _BatchGetArtifactMetadataResponseSuccess
118
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetArtifactMetadataOutput]
119
+ def artifact_metadata_list: () -> ::Array[Types::ArtifactMetadataItem]
120
+ end
121
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_artifact_metadata-instance_method
122
+ def batch_get_artifact_metadata: (
123
+ agent_space_id: ::String,
124
+ artifact_ids: Array[::String]
125
+ ) -> _BatchGetArtifactMetadataResponseSuccess
126
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetArtifactMetadataResponseSuccess
127
+
128
+ interface _BatchGetFindingsResponseSuccess
129
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFindingsOutput]
130
+ def findings: () -> ::Array[Types::Finding]
131
+ def not_found: () -> ::Array[::String]
132
+ end
133
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_findings-instance_method
134
+ def batch_get_findings: (
135
+ finding_ids: Array[::String],
136
+ agent_space_id: ::String
137
+ ) -> _BatchGetFindingsResponseSuccess
138
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetFindingsResponseSuccess
139
+
140
+ interface _BatchGetPentestJobTasksResponseSuccess
141
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetPentestJobTasksOutput]
142
+ def tasks: () -> ::Array[Types::Task]
143
+ def not_found: () -> ::Array[::String]
144
+ end
145
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_pentest_job_tasks-instance_method
146
+ def batch_get_pentest_job_tasks: (
147
+ agent_space_id: ::String,
148
+ task_ids: Array[::String]
149
+ ) -> _BatchGetPentestJobTasksResponseSuccess
150
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetPentestJobTasksResponseSuccess
151
+
152
+ interface _BatchGetPentestJobsResponseSuccess
153
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetPentestJobsOutput]
154
+ def pentest_jobs: () -> ::Array[Types::PentestJob]
155
+ def not_found: () -> ::Array[::String]
156
+ end
157
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_pentest_jobs-instance_method
158
+ def batch_get_pentest_jobs: (
159
+ pentest_job_ids: Array[::String],
160
+ agent_space_id: ::String
161
+ ) -> _BatchGetPentestJobsResponseSuccess
162
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetPentestJobsResponseSuccess
163
+
164
+ interface _BatchGetPentestsResponseSuccess
165
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetPentestsOutput]
166
+ def pentests: () -> ::Array[Types::Pentest]
167
+ def not_found: () -> ::Array[::String]
168
+ end
169
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_pentests-instance_method
170
+ def batch_get_pentests: (
171
+ pentest_ids: Array[::String],
172
+ agent_space_id: ::String
173
+ ) -> _BatchGetPentestsResponseSuccess
174
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetPentestsResponseSuccess
175
+
176
+ interface _BatchGetTargetDomainsResponseSuccess
177
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetTargetDomainsOutput]
178
+ def target_domains: () -> ::Array[Types::TargetDomain]
179
+ def not_found: () -> ::Array[::String]
180
+ end
181
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_target_domains-instance_method
182
+ def batch_get_target_domains: (
183
+ target_domain_ids: Array[::String]
184
+ ) -> _BatchGetTargetDomainsResponseSuccess
185
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetTargetDomainsResponseSuccess
186
+
187
+ interface _CreateAgentSpaceResponseSuccess
188
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentSpaceOutput]
189
+ def agent_space_id: () -> ::String
190
+ def name: () -> ::String
191
+ def description: () -> ::String
192
+ def aws_resources: () -> Types::AWSResources
193
+ def target_domain_ids: () -> ::Array[::String]
194
+ def code_review_settings: () -> Types::CodeReviewSettings
195
+ def kms_key_id: () -> ::String
196
+ def created_at: () -> ::Time
197
+ def updated_at: () -> ::Time
198
+ end
199
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_agent_space-instance_method
200
+ def create_agent_space: (
201
+ name: ::String,
202
+ ?description: ::String,
203
+ ?aws_resources: {
204
+ vpcs: Array[
205
+ {
206
+ vpc_arn: ::String?,
207
+ security_group_arns: Array[::String]?,
208
+ subnet_arns: Array[::String]?
209
+ },
210
+ ]?,
211
+ log_groups: Array[::String]?,
212
+ s3_buckets: Array[::String]?,
213
+ secret_arns: Array[::String]?,
214
+ lambda_function_arns: Array[::String]?,
215
+ iam_roles: Array[::String]?
216
+ },
217
+ ?target_domain_ids: Array[::String],
218
+ ?code_review_settings: {
219
+ controls_scanning: bool,
220
+ general_purpose_scanning: bool
221
+ },
222
+ ?kms_key_id: ::String,
223
+ ?tags: Hash[::String, ::String]
224
+ ) -> _CreateAgentSpaceResponseSuccess
225
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAgentSpaceResponseSuccess
226
+
227
+ interface _CreateApplicationResponseSuccess
228
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateApplicationResponse]
229
+ def application_id: () -> ::String
230
+ end
231
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_application-instance_method
232
+ def create_application: (
233
+ ?idc_instance_arn: ::String,
234
+ ?role_arn: ::String,
235
+ ?default_kms_key_id: ::String,
236
+ ?tags: Hash[::String, ::String]
237
+ ) -> _CreateApplicationResponseSuccess
238
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateApplicationResponseSuccess
239
+
240
+ interface _CreateIntegrationResponseSuccess
241
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateIntegrationOutput]
242
+ def integration_id: () -> ::String
243
+ end
244
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_integration-instance_method
245
+ def create_integration: (
246
+ provider: ("GITHUB"),
247
+ input: {
248
+ github: {
249
+ code: ::String,
250
+ state: ::String,
251
+ organization_name: ::String?
252
+ }?
253
+ },
254
+ integration_display_name: ::String,
255
+ ?kms_key_id: ::String,
256
+ ?tags: Hash[::String, ::String]
257
+ ) -> _CreateIntegrationResponseSuccess
258
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIntegrationResponseSuccess
259
+
260
+ interface _CreateMembershipResponseSuccess
261
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateMembershipResponse]
262
+ end
263
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_membership-instance_method
264
+ def create_membership: (
265
+ application_id: ::String,
266
+ agent_space_id: ::String,
267
+ membership_id: ::String,
268
+ member_type: ("USER"),
269
+ ?config: {
270
+ user: {
271
+ role: ("MEMBER")?
272
+ }?
273
+ }
274
+ ) -> _CreateMembershipResponseSuccess
275
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateMembershipResponseSuccess
276
+
277
+ interface _CreatePentestResponseSuccess
278
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreatePentestOutput]
279
+ def pentest_id: () -> ::String
280
+ def title: () -> ::String
281
+ def created_at: () -> ::Time
282
+ def updated_at: () -> ::Time
283
+ def assets: () -> Types::Assets
284
+ def exclude_risk_types: () -> ::Array[("CROSS_SITE_SCRIPTING" | "DEFAULT_CREDENTIALS" | "INSECURE_DIRECT_OBJECT_REFERENCE" | "PRIVILEGE_ESCALATION" | "SERVER_SIDE_TEMPLATE_INJECTION" | "COMMAND_INJECTION" | "CODE_INJECTION" | "SQL_INJECTION" | "ARBITRARY_FILE_UPLOAD" | "INSECURE_DESERIALIZATION" | "LOCAL_FILE_INCLUSION" | "INFORMATION_DISCLOSURE" | "PATH_TRAVERSAL" | "SERVER_SIDE_REQUEST_FORGERY" | "JSON_WEB_TOKEN_VULNERABILITIES" | "XML_EXTERNAL_ENTITY" | "FILE_DELETION" | "OTHER" | "GRAPHQL_VULNERABILITIES" | "BUSINESS_LOGIC_VULNERABILITIES" | "CRYPTOGRAPHIC_VULNERABILITIES" | "DENIAL_OF_SERVICE" | "FILE_ACCESS" | "FILE_CREATION" | "DATABASE_MODIFICATION" | "DATABASE_ACCESS" | "OUTBOUND_SERVICE_REQUEST" | "UNKNOWN")]
285
+ def service_role: () -> ::String
286
+ def log_config: () -> Types::CloudWatchLog
287
+ def agent_space_id: () -> ::String
288
+ end
289
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_pentest-instance_method
290
+ def create_pentest: (
291
+ title: ::String,
292
+ agent_space_id: ::String,
293
+ ?assets: {
294
+ endpoints: Array[
295
+ {
296
+ uri: ::String?
297
+ },
298
+ ]?,
299
+ actors: Array[
300
+ {
301
+ identifier: ::String?,
302
+ uris: Array[::String]?,
303
+ authentication: {
304
+ provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
305
+ value: ::String?
306
+ }?,
307
+ description: ::String?
308
+ },
309
+ ]?,
310
+ documents: Array[
311
+ {
312
+ s3_location: ::String?,
313
+ artifact_id: ::String?
314
+ },
315
+ ]?,
316
+ source_code: Array[
317
+ {
318
+ s3_location: ::String?
319
+ },
320
+ ]?,
321
+ integrated_repositories: Array[
322
+ {
323
+ integration_id: ::String,
324
+ provider_resource_id: ::String
325
+ },
326
+ ]?
327
+ },
328
+ ?exclude_risk_types: Array[("CROSS_SITE_SCRIPTING" | "DEFAULT_CREDENTIALS" | "INSECURE_DIRECT_OBJECT_REFERENCE" | "PRIVILEGE_ESCALATION" | "SERVER_SIDE_TEMPLATE_INJECTION" | "COMMAND_INJECTION" | "CODE_INJECTION" | "SQL_INJECTION" | "ARBITRARY_FILE_UPLOAD" | "INSECURE_DESERIALIZATION" | "LOCAL_FILE_INCLUSION" | "INFORMATION_DISCLOSURE" | "PATH_TRAVERSAL" | "SERVER_SIDE_REQUEST_FORGERY" | "JSON_WEB_TOKEN_VULNERABILITIES" | "XML_EXTERNAL_ENTITY" | "FILE_DELETION" | "OTHER" | "GRAPHQL_VULNERABILITIES" | "BUSINESS_LOGIC_VULNERABILITIES" | "CRYPTOGRAPHIC_VULNERABILITIES" | "DENIAL_OF_SERVICE" | "FILE_ACCESS" | "FILE_CREATION" | "DATABASE_MODIFICATION" | "DATABASE_ACCESS" | "OUTBOUND_SERVICE_REQUEST" | "UNKNOWN")],
329
+ ?service_role: ::String,
330
+ ?log_config: {
331
+ log_group: ::String?,
332
+ log_stream: ::String?
333
+ },
334
+ ?vpc_config: {
335
+ vpc_arn: ::String?,
336
+ security_group_arns: Array[::String]?,
337
+ subnet_arns: Array[::String]?
338
+ },
339
+ ?network_traffic_config: {
340
+ rules: Array[
341
+ {
342
+ effect: ("ALLOW" | "DENY")?,
343
+ pattern: ::String?,
344
+ network_traffic_rule_type: ("URL")?
345
+ },
346
+ ]?,
347
+ custom_headers: Array[
348
+ {
349
+ name: ::String?,
350
+ value: ::String?
351
+ },
352
+ ]?
353
+ },
354
+ ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
355
+ ) -> _CreatePentestResponseSuccess
356
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
357
+
358
+ interface _CreateTargetDomainResponseSuccess
359
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateTargetDomainOutput]
360
+ def target_domain_id: () -> ::String
361
+ def domain_name: () -> ::String
362
+ def verification_status: () -> ("PENDING" | "VERIFIED" | "FAILED" | "UNREACHABLE")
363
+ def verification_details: () -> Types::VerificationDetails
364
+ def created_at: () -> ::Time
365
+ def verified_at: () -> ::Time
366
+ end
367
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_target_domain-instance_method
368
+ def create_target_domain: (
369
+ target_domain_name: ::String,
370
+ verification_method: ("DNS_TXT" | "HTTP_ROUTE"),
371
+ ?tags: Hash[::String, ::String]
372
+ ) -> _CreateTargetDomainResponseSuccess
373
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTargetDomainResponseSuccess
374
+
375
+ interface _DeleteAgentSpaceResponseSuccess
376
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentSpaceOutput]
377
+ def agent_space_id: () -> ::String
378
+ end
379
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#delete_agent_space-instance_method
380
+ def delete_agent_space: (
381
+ agent_space_id: ::String
382
+ ) -> _DeleteAgentSpaceResponseSuccess
383
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteAgentSpaceResponseSuccess
384
+
385
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#delete_application-instance_method
386
+ def delete_application: (
387
+ application_id: ::String
388
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
389
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
390
+
391
+ interface _DeleteArtifactResponseSuccess
392
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteArtifactOutput]
393
+ end
394
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#delete_artifact-instance_method
395
+ def delete_artifact: (
396
+ agent_space_id: ::String,
397
+ artifact_id: ::String
398
+ ) -> _DeleteArtifactResponseSuccess
399
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteArtifactResponseSuccess
400
+
401
+ interface _DeleteIntegrationResponseSuccess
402
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteIntegrationOutput]
403
+ end
404
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#delete_integration-instance_method
405
+ def delete_integration: (
406
+ integration_id: ::String
407
+ ) -> _DeleteIntegrationResponseSuccess
408
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteIntegrationResponseSuccess
409
+
410
+ interface _DeleteMembershipResponseSuccess
411
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteMembershipResponse]
412
+ end
413
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#delete_membership-instance_method
414
+ def delete_membership: (
415
+ application_id: ::String,
416
+ agent_space_id: ::String,
417
+ membership_id: ::String,
418
+ ?member_type: ("USER")
419
+ ) -> _DeleteMembershipResponseSuccess
420
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMembershipResponseSuccess
421
+
422
+ interface _DeleteTargetDomainResponseSuccess
423
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTargetDomainOutput]
424
+ def target_domain_id: () -> ::String
425
+ end
426
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#delete_target_domain-instance_method
427
+ def delete_target_domain: (
428
+ target_domain_id: ::String
429
+ ) -> _DeleteTargetDomainResponseSuccess
430
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTargetDomainResponseSuccess
431
+
432
+ interface _GetApplicationResponseSuccess
433
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationResponse]
434
+ def application_id: () -> ::String
435
+ def domain: () -> ::String
436
+ def application_name: () -> ::String
437
+ def idc_configuration: () -> Types::IdCConfiguration
438
+ def role_arn: () -> ::String
439
+ def default_kms_key_id: () -> ::String
440
+ end
441
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#get_application-instance_method
442
+ def get_application: (
443
+ application_id: ::String
444
+ ) -> _GetApplicationResponseSuccess
445
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetApplicationResponseSuccess
446
+
447
+ interface _GetArtifactResponseSuccess
448
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetArtifactOutput]
449
+ def agent_space_id: () -> ::String
450
+ def artifact_id: () -> ::String
451
+ def artifact: () -> Types::Artifact
452
+ def file_name: () -> ::String
453
+ def updated_at: () -> ::Time
454
+ end
455
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#get_artifact-instance_method
456
+ def get_artifact: (
457
+ agent_space_id: ::String,
458
+ artifact_id: ::String
459
+ ) -> _GetArtifactResponseSuccess
460
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetArtifactResponseSuccess
461
+
462
+ interface _GetIntegrationResponseSuccess
463
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationOutput]
464
+ def integration_id: () -> ::String
465
+ def installation_id: () -> ::String
466
+ def provider: () -> ("GITHUB")
467
+ def provider_type: () -> ("SOURCE_CODE" | "DOCUMENTATION")
468
+ def display_name: () -> ::String
469
+ def kms_key_id: () -> ::String
470
+ end
471
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#get_integration-instance_method
472
+ def get_integration: (
473
+ integration_id: ::String
474
+ ) -> _GetIntegrationResponseSuccess
475
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntegrationResponseSuccess
476
+
477
+ interface _InitiateProviderRegistrationResponseSuccess
478
+ include ::Seahorse::Client::_ResponseSuccess[Types::InitiateProviderRegistrationOutput]
479
+ def redirect_to: () -> ::String
480
+ def csrf_state: () -> ::String
481
+ end
482
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#initiate_provider_registration-instance_method
483
+ def initiate_provider_registration: (
484
+ provider: ("GITHUB")
485
+ ) -> _InitiateProviderRegistrationResponseSuccess
486
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateProviderRegistrationResponseSuccess
487
+
488
+ interface _ListAgentSpacesResponseSuccess
489
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListAgentSpacesOutput]
490
+ def agent_space_summaries: () -> ::Array[Types::AgentSpaceSummary]
491
+ def next_token: () -> ::String
492
+ end
493
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_agent_spaces-instance_method
494
+ def list_agent_spaces: (
495
+ ?next_token: ::String,
496
+ ?max_results: ::Integer
497
+ ) -> _ListAgentSpacesResponseSuccess
498
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListAgentSpacesResponseSuccess
499
+
500
+ interface _ListApplicationsResponseSuccess
501
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListApplicationsResponse]
502
+ def application_summaries: () -> ::Array[Types::ApplicationSummary]
503
+ def next_token: () -> ::String
504
+ end
505
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_applications-instance_method
506
+ def list_applications: (
507
+ ?next_token: ::String,
508
+ ?max_results: ::Integer
509
+ ) -> _ListApplicationsResponseSuccess
510
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListApplicationsResponseSuccess
511
+
512
+ interface _ListArtifactsResponseSuccess
513
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListArtifactsOutput]
514
+ def artifact_summaries: () -> ::Array[Types::ArtifactSummary]
515
+ def next_token: () -> ::String
516
+ end
517
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_artifacts-instance_method
518
+ def list_artifacts: (
519
+ agent_space_id: ::String,
520
+ ?next_token: ::String,
521
+ ?max_results: ::Integer
522
+ ) -> _ListArtifactsResponseSuccess
523
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListArtifactsResponseSuccess
524
+
525
+ interface _ListDiscoveredEndpointsResponseSuccess
526
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDiscoveredEndpointsOutput]
527
+ def discovered_endpoints: () -> ::Array[Types::DiscoveredEndpoint]
528
+ def next_token: () -> ::String
529
+ end
530
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_discovered_endpoints-instance_method
531
+ def list_discovered_endpoints: (
532
+ ?max_results: ::Integer,
533
+ pentest_job_id: ::String,
534
+ agent_space_id: ::String,
535
+ ?prefix: ::String,
536
+ ?next_token: ::String
537
+ ) -> _ListDiscoveredEndpointsResponseSuccess
538
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDiscoveredEndpointsResponseSuccess
539
+
540
+ interface _ListFindingsResponseSuccess
541
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFindingsOutput]
542
+ def findings_summaries: () -> ::Array[Types::FindingSummary]
543
+ def next_token: () -> ::String
544
+ end
545
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_findings-instance_method
546
+ def list_findings: (
547
+ ?max_results: ::Integer,
548
+ pentest_job_id: ::String,
549
+ agent_space_id: ::String,
550
+ ?next_token: ::String,
551
+ ?risk_type: ::String,
552
+ ?risk_level: ("UNKNOWN" | "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL"),
553
+ ?status: ("ACTIVE" | "RESOLVED" | "ACCEPTED" | "FALSE_POSITIVE"),
554
+ ?confidence: ("FALSE_POSITIVE" | "UNCONFIRMED" | "LOW" | "MEDIUM" | "HIGH"),
555
+ ?name: ::String
556
+ ) -> _ListFindingsResponseSuccess
557
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFindingsResponseSuccess
558
+
559
+ interface _ListIntegratedResourcesResponseSuccess
560
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIntegratedResourcesOutput]
561
+ def integrated_resource_summaries: () -> ::Array[Types::IntegratedResourceSummary]
562
+ def next_token: () -> ::String
563
+ end
564
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_integrated_resources-instance_method
565
+ def list_integrated_resources: (
566
+ agent_space_id: ::String,
567
+ ?integration_id: ::String,
568
+ ?resource_type: ("CODE_REPOSITORY"),
569
+ ?next_token: ::String,
570
+ ?max_results: ::Integer
571
+ ) -> _ListIntegratedResourcesResponseSuccess
572
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIntegratedResourcesResponseSuccess
573
+
574
+ interface _ListIntegrationsResponseSuccess
575
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListIntegrationsOutput]
576
+ def integration_summaries: () -> ::Array[Types::IntegrationSummary]
577
+ def next_token: () -> ::String
578
+ end
579
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_integrations-instance_method
580
+ def list_integrations: (
581
+ ?filter: {
582
+ provider: ("GITHUB")?,
583
+ provider_type: ("SOURCE_CODE" | "DOCUMENTATION")?
584
+ },
585
+ ?next_token: ::String,
586
+ ?max_results: ::Integer
587
+ ) -> _ListIntegrationsResponseSuccess
588
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIntegrationsResponseSuccess
589
+
590
+ interface _ListMembershipsResponseSuccess
591
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListMembershipsResponse]
592
+ def membership_summaries: () -> ::Array[Types::MembershipSummary]
593
+ def next_token: () -> ::String
594
+ end
595
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_memberships-instance_method
596
+ def list_memberships: (
597
+ application_id: ::String,
598
+ agent_space_id: ::String,
599
+ ?member_type: ("USER" | "ALL"),
600
+ ?max_results: ::Integer,
601
+ ?next_token: ::String
602
+ ) -> _ListMembershipsResponseSuccess
603
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListMembershipsResponseSuccess
604
+
605
+ interface _ListPentestJobTasksResponseSuccess
606
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPentestJobTasksOutput]
607
+ def task_summaries: () -> ::Array[Types::TaskSummary]
608
+ def next_token: () -> ::String
609
+ end
610
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_pentest_job_tasks-instance_method
611
+ def list_pentest_job_tasks: (
612
+ agent_space_id: ::String,
613
+ ?max_results: ::Integer,
614
+ ?pentest_job_id: ::String,
615
+ ?step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING"),
616
+ ?category_name: ::String,
617
+ ?next_token: ::String
618
+ ) -> _ListPentestJobTasksResponseSuccess
619
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPentestJobTasksResponseSuccess
620
+
621
+ interface _ListPentestJobsForPentestResponseSuccess
622
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPentestJobsForPentestOutput]
623
+ def pentest_job_summaries: () -> ::Array[Types::PentestJobSummary]
624
+ def next_token: () -> ::String
625
+ end
626
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_pentest_jobs_for_pentest-instance_method
627
+ def list_pentest_jobs_for_pentest: (
628
+ ?max_results: ::Integer,
629
+ pentest_id: ::String,
630
+ agent_space_id: ::String,
631
+ ?next_token: ::String
632
+ ) -> _ListPentestJobsForPentestResponseSuccess
633
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPentestJobsForPentestResponseSuccess
634
+
635
+ interface _ListPentestsResponseSuccess
636
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListPentestsOutput]
637
+ def pentest_summaries: () -> ::Array[Types::PentestSummary]
638
+ def next_token: () -> ::String
639
+ end
640
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_pentests-instance_method
641
+ def list_pentests: (
642
+ ?max_results: ::Integer,
643
+ ?next_token: ::String,
644
+ agent_space_id: ::String
645
+ ) -> _ListPentestsResponseSuccess
646
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPentestsResponseSuccess
647
+
648
+ interface _ListTagsForResourceResponseSuccess
649
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
650
+ def tags: () -> ::Hash[::String, ::String]
651
+ end
652
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_tags_for_resource-instance_method
653
+ def list_tags_for_resource: (
654
+ resource_arn: ::String
655
+ ) -> _ListTagsForResourceResponseSuccess
656
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
657
+
658
+ interface _ListTargetDomainsResponseSuccess
659
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListTargetDomainsOutput]
660
+ def target_domain_summaries: () -> ::Array[Types::TargetDomainSummary]
661
+ def next_token: () -> ::String
662
+ end
663
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_target_domains-instance_method
664
+ def list_target_domains: (
665
+ ?next_token: ::String,
666
+ ?max_results: ::Integer
667
+ ) -> _ListTargetDomainsResponseSuccess
668
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTargetDomainsResponseSuccess
669
+
670
+ interface _StartCodeRemediationResponseSuccess
671
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartCodeRemediationOutput]
672
+ end
673
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#start_code_remediation-instance_method
674
+ def start_code_remediation: (
675
+ agent_space_id: ::String,
676
+ pentest_job_id: ::String,
677
+ finding_ids: Array[::String]
678
+ ) -> _StartCodeRemediationResponseSuccess
679
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCodeRemediationResponseSuccess
680
+
681
+ interface _StartPentestJobResponseSuccess
682
+ include ::Seahorse::Client::_ResponseSuccess[Types::StartPentestJobOutput]
683
+ def title: () -> ::String
684
+ def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
685
+ def created_at: () -> ::Time
686
+ def updated_at: () -> ::Time
687
+ def pentest_id: () -> ::String
688
+ def pentest_job_id: () -> ::String
689
+ def agent_space_id: () -> ::String
690
+ end
691
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#start_pentest_job-instance_method
692
+ def start_pentest_job: (
693
+ agent_space_id: ::String,
694
+ pentest_id: ::String
695
+ ) -> _StartPentestJobResponseSuccess
696
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPentestJobResponseSuccess
697
+
698
+ interface _StopPentestJobResponseSuccess
699
+ include ::Seahorse::Client::_ResponseSuccess[Types::StopPentestJobOutput]
700
+ end
701
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#stop_pentest_job-instance_method
702
+ def stop_pentest_job: (
703
+ agent_space_id: ::String,
704
+ pentest_job_id: ::String
705
+ ) -> _StopPentestJobResponseSuccess
706
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopPentestJobResponseSuccess
707
+
708
+ interface _TagResourceResponseSuccess
709
+ include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
710
+ end
711
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#tag_resource-instance_method
712
+ def tag_resource: (
713
+ resource_arn: ::String,
714
+ tags: Hash[::String, ::String]
715
+ ) -> _TagResourceResponseSuccess
716
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
717
+
718
+ interface _UntagResourceResponseSuccess
719
+ include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceOutput]
720
+ end
721
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#untag_resource-instance_method
722
+ def untag_resource: (
723
+ resource_arn: ::String,
724
+ tag_keys: Array[::String]
725
+ ) -> _UntagResourceResponseSuccess
726
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
727
+
728
+ interface _UpdateAgentSpaceResponseSuccess
729
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAgentSpaceOutput]
730
+ def agent_space_id: () -> ::String
731
+ def name: () -> ::String
732
+ def description: () -> ::String
733
+ def aws_resources: () -> Types::AWSResources
734
+ def target_domain_ids: () -> ::Array[::String]
735
+ def code_review_settings: () -> Types::CodeReviewSettings
736
+ def created_at: () -> ::Time
737
+ def updated_at: () -> ::Time
738
+ end
739
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_agent_space-instance_method
740
+ def update_agent_space: (
741
+ agent_space_id: ::String,
742
+ ?name: ::String,
743
+ ?description: ::String,
744
+ ?aws_resources: {
745
+ vpcs: Array[
746
+ {
747
+ vpc_arn: ::String?,
748
+ security_group_arns: Array[::String]?,
749
+ subnet_arns: Array[::String]?
750
+ },
751
+ ]?,
752
+ log_groups: Array[::String]?,
753
+ s3_buckets: Array[::String]?,
754
+ secret_arns: Array[::String]?,
755
+ lambda_function_arns: Array[::String]?,
756
+ iam_roles: Array[::String]?
757
+ },
758
+ ?target_domain_ids: Array[::String],
759
+ ?code_review_settings: {
760
+ controls_scanning: bool,
761
+ general_purpose_scanning: bool
762
+ }
763
+ ) -> _UpdateAgentSpaceResponseSuccess
764
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAgentSpaceResponseSuccess
765
+
766
+ interface _UpdateApplicationResponseSuccess
767
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateApplicationResponse]
768
+ def application_id: () -> ::String
769
+ end
770
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_application-instance_method
771
+ def update_application: (
772
+ application_id: ::String,
773
+ ?role_arn: ::String,
774
+ ?default_kms_key_id: ::String
775
+ ) -> _UpdateApplicationResponseSuccess
776
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateApplicationResponseSuccess
777
+
778
+ interface _UpdateFindingResponseSuccess
779
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFindingOutput]
780
+ end
781
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_finding-instance_method
782
+ def update_finding: (
783
+ finding_id: ::String,
784
+ agent_space_id: ::String,
785
+ ?risk_level: ("UNKNOWN" | "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL"),
786
+ ?status: ("ACTIVE" | "RESOLVED" | "ACCEPTED" | "FALSE_POSITIVE")
787
+ ) -> _UpdateFindingResponseSuccess
788
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFindingResponseSuccess
789
+
790
+ interface _UpdateIntegratedResourcesResponseSuccess
791
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIntegratedResourcesOutput]
792
+ end
793
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_integrated_resources-instance_method
794
+ def update_integrated_resources: (
795
+ agent_space_id: ::String,
796
+ integration_id: ::String,
797
+ items: Array[
798
+ {
799
+ resource: {
800
+ github_repository: {
801
+ name: ::String,
802
+ owner: ::String
803
+ }?
804
+ },
805
+ capabilities: {
806
+ github: {
807
+ leave_comments: bool?,
808
+ remediate_code: bool?
809
+ }?
810
+ }?
811
+ },
812
+ ]
813
+ ) -> _UpdateIntegratedResourcesResponseSuccess
814
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIntegratedResourcesResponseSuccess
815
+
816
+ interface _UpdatePentestResponseSuccess
817
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePentestOutput]
818
+ def pentest_id: () -> ::String
819
+ def title: () -> ::String
820
+ def created_at: () -> ::Time
821
+ def updated_at: () -> ::Time
822
+ def assets: () -> Types::Assets
823
+ def exclude_risk_types: () -> ::Array[("CROSS_SITE_SCRIPTING" | "DEFAULT_CREDENTIALS" | "INSECURE_DIRECT_OBJECT_REFERENCE" | "PRIVILEGE_ESCALATION" | "SERVER_SIDE_TEMPLATE_INJECTION" | "COMMAND_INJECTION" | "CODE_INJECTION" | "SQL_INJECTION" | "ARBITRARY_FILE_UPLOAD" | "INSECURE_DESERIALIZATION" | "LOCAL_FILE_INCLUSION" | "INFORMATION_DISCLOSURE" | "PATH_TRAVERSAL" | "SERVER_SIDE_REQUEST_FORGERY" | "JSON_WEB_TOKEN_VULNERABILITIES" | "XML_EXTERNAL_ENTITY" | "FILE_DELETION" | "OTHER" | "GRAPHQL_VULNERABILITIES" | "BUSINESS_LOGIC_VULNERABILITIES" | "CRYPTOGRAPHIC_VULNERABILITIES" | "DENIAL_OF_SERVICE" | "FILE_ACCESS" | "FILE_CREATION" | "DATABASE_MODIFICATION" | "DATABASE_ACCESS" | "OUTBOUND_SERVICE_REQUEST" | "UNKNOWN")]
824
+ def service_role: () -> ::String
825
+ def log_config: () -> Types::CloudWatchLog
826
+ def agent_space_id: () -> ::String
827
+ end
828
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_pentest-instance_method
829
+ def update_pentest: (
830
+ pentest_id: ::String,
831
+ agent_space_id: ::String,
832
+ ?title: ::String,
833
+ ?assets: {
834
+ endpoints: Array[
835
+ {
836
+ uri: ::String?
837
+ },
838
+ ]?,
839
+ actors: Array[
840
+ {
841
+ identifier: ::String?,
842
+ uris: Array[::String]?,
843
+ authentication: {
844
+ provider_type: ("SECRETS_MANAGER" | "AWS_LAMBDA" | "AWS_IAM_ROLE" | "AWS_INTERNAL")?,
845
+ value: ::String?
846
+ }?,
847
+ description: ::String?
848
+ },
849
+ ]?,
850
+ documents: Array[
851
+ {
852
+ s3_location: ::String?,
853
+ artifact_id: ::String?
854
+ },
855
+ ]?,
856
+ source_code: Array[
857
+ {
858
+ s3_location: ::String?
859
+ },
860
+ ]?,
861
+ integrated_repositories: Array[
862
+ {
863
+ integration_id: ::String,
864
+ provider_resource_id: ::String
865
+ },
866
+ ]?
867
+ },
868
+ ?exclude_risk_types: Array[("CROSS_SITE_SCRIPTING" | "DEFAULT_CREDENTIALS" | "INSECURE_DIRECT_OBJECT_REFERENCE" | "PRIVILEGE_ESCALATION" | "SERVER_SIDE_TEMPLATE_INJECTION" | "COMMAND_INJECTION" | "CODE_INJECTION" | "SQL_INJECTION" | "ARBITRARY_FILE_UPLOAD" | "INSECURE_DESERIALIZATION" | "LOCAL_FILE_INCLUSION" | "INFORMATION_DISCLOSURE" | "PATH_TRAVERSAL" | "SERVER_SIDE_REQUEST_FORGERY" | "JSON_WEB_TOKEN_VULNERABILITIES" | "XML_EXTERNAL_ENTITY" | "FILE_DELETION" | "OTHER" | "GRAPHQL_VULNERABILITIES" | "BUSINESS_LOGIC_VULNERABILITIES" | "CRYPTOGRAPHIC_VULNERABILITIES" | "DENIAL_OF_SERVICE" | "FILE_ACCESS" | "FILE_CREATION" | "DATABASE_MODIFICATION" | "DATABASE_ACCESS" | "OUTBOUND_SERVICE_REQUEST" | "UNKNOWN")],
869
+ ?service_role: ::String,
870
+ ?log_config: {
871
+ log_group: ::String?,
872
+ log_stream: ::String?
873
+ },
874
+ ?vpc_config: {
875
+ vpc_arn: ::String?,
876
+ security_group_arns: Array[::String]?,
877
+ subnet_arns: Array[::String]?
878
+ },
879
+ ?network_traffic_config: {
880
+ rules: Array[
881
+ {
882
+ effect: ("ALLOW" | "DENY")?,
883
+ pattern: ::String?,
884
+ network_traffic_rule_type: ("URL")?
885
+ },
886
+ ]?,
887
+ custom_headers: Array[
888
+ {
889
+ name: ::String?,
890
+ value: ::String?
891
+ },
892
+ ]?
893
+ },
894
+ ?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
895
+ ) -> _UpdatePentestResponseSuccess
896
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePentestResponseSuccess
897
+
898
+ interface _UpdateTargetDomainResponseSuccess
899
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTargetDomainOutput]
900
+ def target_domain_id: () -> ::String
901
+ def domain_name: () -> ::String
902
+ def verification_status: () -> ("PENDING" | "VERIFIED" | "FAILED" | "UNREACHABLE")
903
+ def verification_details: () -> Types::VerificationDetails
904
+ def created_at: () -> ::Time
905
+ def verified_at: () -> ::Time
906
+ end
907
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_target_domain-instance_method
908
+ def update_target_domain: (
909
+ target_domain_id: ::String,
910
+ verification_method: ("DNS_TXT" | "HTTP_ROUTE")
911
+ ) -> _UpdateTargetDomainResponseSuccess
912
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTargetDomainResponseSuccess
913
+
914
+ interface _VerifyTargetDomainResponseSuccess
915
+ include ::Seahorse::Client::_ResponseSuccess[Types::VerifyTargetDomainOutput]
916
+ def target_domain_id: () -> ::String
917
+ def domain_name: () -> ::String
918
+ def created_at: () -> ::Time
919
+ def updated_at: () -> ::Time
920
+ def verified_at: () -> ::Time
921
+ def status: () -> ("PENDING" | "VERIFIED" | "FAILED" | "UNREACHABLE")
922
+ end
923
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#verify_target_domain-instance_method
924
+ def verify_target_domain: (
925
+ target_domain_id: ::String
926
+ ) -> _VerifyTargetDomainResponseSuccess
927
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _VerifyTargetDomainResponseSuccess
928
+ end
929
+ end
930
+ end
931
+