aws-sdk-securityagent 1.5.0 → 1.7.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +2144 -22
- data/lib/aws-sdk-securityagent/client_api.rb +1373 -0
- data/lib/aws-sdk-securityagent/errors.rb +16 -0
- data/lib/aws-sdk-securityagent/types.rb +4230 -510
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +683 -15
- data/sig/errors.rbs +3 -0
- data/sig/params.rbs +10 -4
- data/sig/types.rbs +1001 -11
- metadata +1 -1
data/sig/client.rbs
CHANGED
|
@@ -91,6 +91,26 @@ module Aws
|
|
|
91
91
|
) -> _AddArtifactResponseSuccess
|
|
92
92
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddArtifactResponseSuccess
|
|
93
93
|
|
|
94
|
+
interface _BatchCreateSecurityRequirementsResponseSuccess
|
|
95
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchCreateSecurityRequirementsOutput]
|
|
96
|
+
def security_requirements: () -> ::Array[Types::BatchCreateSecurityRequirementResult]
|
|
97
|
+
def errors: () -> ::Array[Types::BatchSecurityRequirementError]
|
|
98
|
+
end
|
|
99
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_create_security_requirements-instance_method
|
|
100
|
+
def batch_create_security_requirements: (
|
|
101
|
+
pack_id: ::String,
|
|
102
|
+
security_requirements: Array[
|
|
103
|
+
{
|
|
104
|
+
name: ::String,
|
|
105
|
+
description: ::String,
|
|
106
|
+
domain: ::String,
|
|
107
|
+
evaluation: ::String,
|
|
108
|
+
remediation: ::String?
|
|
109
|
+
}
|
|
110
|
+
]
|
|
111
|
+
) -> _BatchCreateSecurityRequirementsResponseSuccess
|
|
112
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchCreateSecurityRequirementsResponseSuccess
|
|
113
|
+
|
|
94
114
|
interface _BatchDeleteCodeReviewsResponseSuccess
|
|
95
115
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteCodeReviewsOutput]
|
|
96
116
|
def deleted: () -> ::Array[::String]
|
|
@@ -115,6 +135,30 @@ module Aws
|
|
|
115
135
|
) -> _BatchDeletePentestsResponseSuccess
|
|
116
136
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeletePentestsResponseSuccess
|
|
117
137
|
|
|
138
|
+
interface _BatchDeleteSecurityRequirementsResponseSuccess
|
|
139
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteSecurityRequirementsOutput]
|
|
140
|
+
def deleted_security_requirement_names: () -> ::Array[::String]
|
|
141
|
+
def errors: () -> ::Array[Types::BatchSecurityRequirementError]
|
|
142
|
+
end
|
|
143
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_delete_security_requirements-instance_method
|
|
144
|
+
def batch_delete_security_requirements: (
|
|
145
|
+
pack_id: ::String,
|
|
146
|
+
security_requirement_names: Array[::String]
|
|
147
|
+
) -> _BatchDeleteSecurityRequirementsResponseSuccess
|
|
148
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteSecurityRequirementsResponseSuccess
|
|
149
|
+
|
|
150
|
+
interface _BatchDeleteThreatModelsResponseSuccess
|
|
151
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchDeleteThreatModelsOutput]
|
|
152
|
+
def deleted: () -> ::Array[::String]
|
|
153
|
+
def failed: () -> ::Array[Types::DeleteThreatModelFailure]
|
|
154
|
+
end
|
|
155
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_delete_threat_models-instance_method
|
|
156
|
+
def batch_delete_threat_models: (
|
|
157
|
+
threat_model_ids: Array[::String],
|
|
158
|
+
agent_space_id: ::String
|
|
159
|
+
) -> _BatchDeleteThreatModelsResponseSuccess
|
|
160
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchDeleteThreatModelsResponseSuccess
|
|
161
|
+
|
|
118
162
|
interface _BatchGetAgentSpacesResponseSuccess
|
|
119
163
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetAgentSpacesOutput]
|
|
120
164
|
def agent_spaces: () -> ::Array[Types::AgentSpace]
|
|
@@ -221,6 +265,18 @@ module Aws
|
|
|
221
265
|
) -> _BatchGetPentestsResponseSuccess
|
|
222
266
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetPentestsResponseSuccess
|
|
223
267
|
|
|
268
|
+
interface _BatchGetSecurityRequirementsResponseSuccess
|
|
269
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetSecurityRequirementsOutput]
|
|
270
|
+
def security_requirements: () -> ::Array[Types::BatchGetSecurityRequirementResult]
|
|
271
|
+
def errors: () -> ::Array[Types::BatchSecurityRequirementError]
|
|
272
|
+
end
|
|
273
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_security_requirements-instance_method
|
|
274
|
+
def batch_get_security_requirements: (
|
|
275
|
+
pack_id: ::String,
|
|
276
|
+
security_requirement_names: Array[::String]
|
|
277
|
+
) -> _BatchGetSecurityRequirementsResponseSuccess
|
|
278
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetSecurityRequirementsResponseSuccess
|
|
279
|
+
|
|
224
280
|
interface _BatchGetTargetDomainsResponseSuccess
|
|
225
281
|
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetTargetDomainsOutput]
|
|
226
282
|
def target_domains: () -> ::Array[Types::TargetDomain]
|
|
@@ -232,6 +288,74 @@ module Aws
|
|
|
232
288
|
) -> _BatchGetTargetDomainsResponseSuccess
|
|
233
289
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetTargetDomainsResponseSuccess
|
|
234
290
|
|
|
291
|
+
interface _BatchGetThreatModelJobTasksResponseSuccess
|
|
292
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetThreatModelJobTasksOutput]
|
|
293
|
+
def threat_model_job_tasks: () -> ::Array[Types::ThreatModelJobTask]
|
|
294
|
+
def not_found: () -> ::Array[::String]
|
|
295
|
+
end
|
|
296
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_threat_model_job_tasks-instance_method
|
|
297
|
+
def batch_get_threat_model_job_tasks: (
|
|
298
|
+
agent_space_id: ::String,
|
|
299
|
+
threat_model_job_task_ids: Array[::String]
|
|
300
|
+
) -> _BatchGetThreatModelJobTasksResponseSuccess
|
|
301
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetThreatModelJobTasksResponseSuccess
|
|
302
|
+
|
|
303
|
+
interface _BatchGetThreatModelJobsResponseSuccess
|
|
304
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetThreatModelJobsOutput]
|
|
305
|
+
def threat_model_jobs: () -> ::Array[Types::ThreatModelJob]
|
|
306
|
+
def not_found: () -> ::Array[::String]
|
|
307
|
+
end
|
|
308
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_threat_model_jobs-instance_method
|
|
309
|
+
def batch_get_threat_model_jobs: (
|
|
310
|
+
threat_model_job_ids: Array[::String],
|
|
311
|
+
agent_space_id: ::String
|
|
312
|
+
) -> _BatchGetThreatModelJobsResponseSuccess
|
|
313
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetThreatModelJobsResponseSuccess
|
|
314
|
+
|
|
315
|
+
interface _BatchGetThreatModelsResponseSuccess
|
|
316
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetThreatModelsOutput]
|
|
317
|
+
def threat_models: () -> ::Array[Types::ThreatModel]
|
|
318
|
+
def not_found: () -> ::Array[::String]
|
|
319
|
+
end
|
|
320
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_threat_models-instance_method
|
|
321
|
+
def batch_get_threat_models: (
|
|
322
|
+
threat_model_ids: Array[::String],
|
|
323
|
+
agent_space_id: ::String
|
|
324
|
+
) -> _BatchGetThreatModelsResponseSuccess
|
|
325
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetThreatModelsResponseSuccess
|
|
326
|
+
|
|
327
|
+
interface _BatchGetThreatsResponseSuccess
|
|
328
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetThreatsOutput]
|
|
329
|
+
def threats: () -> ::Array[Types::Threat]
|
|
330
|
+
def not_found: () -> ::Array[::String]
|
|
331
|
+
end
|
|
332
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_get_threats-instance_method
|
|
333
|
+
def batch_get_threats: (
|
|
334
|
+
threat_ids: Array[::String],
|
|
335
|
+
agent_space_id: ::String
|
|
336
|
+
) -> _BatchGetThreatsResponseSuccess
|
|
337
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetThreatsResponseSuccess
|
|
338
|
+
|
|
339
|
+
interface _BatchUpdateSecurityRequirementsResponseSuccess
|
|
340
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchUpdateSecurityRequirementsOutput]
|
|
341
|
+
def updated_security_requirement_names: () -> ::Array[::String]
|
|
342
|
+
def errors: () -> ::Array[Types::BatchSecurityRequirementError]
|
|
343
|
+
end
|
|
344
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#batch_update_security_requirements-instance_method
|
|
345
|
+
def batch_update_security_requirements: (
|
|
346
|
+
pack_id: ::String,
|
|
347
|
+
security_requirements: Array[
|
|
348
|
+
{
|
|
349
|
+
name: ::String,
|
|
350
|
+
description: ::String?,
|
|
351
|
+
domain: ::String?,
|
|
352
|
+
evaluation: ::String?,
|
|
353
|
+
remediation: ::String?
|
|
354
|
+
}
|
|
355
|
+
]
|
|
356
|
+
) -> _BatchUpdateSecurityRequirementsResponseSuccess
|
|
357
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchUpdateSecurityRequirementsResponseSuccess
|
|
358
|
+
|
|
235
359
|
interface _CreateAgentSpaceResponseSuccess
|
|
236
360
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateAgentSpaceOutput]
|
|
237
361
|
def agent_space_id: () -> ::String
|
|
@@ -283,6 +407,7 @@ module Aws
|
|
|
283
407
|
def log_config: () -> Types::CloudWatchLog
|
|
284
408
|
def agent_space_id: () -> ::String
|
|
285
409
|
def code_remediation_strategy: () -> ("AUTOMATIC" | "DISABLED")
|
|
410
|
+
def validation_mode: () -> ("DISABLED" | "SIMULATED")
|
|
286
411
|
end
|
|
287
412
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_code_review-instance_method
|
|
288
413
|
def create_code_review: (
|
|
@@ -294,7 +419,8 @@ module Aws
|
|
|
294
419
|
log_group: ::String?,
|
|
295
420
|
log_stream: ::String?
|
|
296
421
|
},
|
|
297
|
-
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
422
|
+
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
|
|
423
|
+
?validation_mode: ("DISABLED" | "SIMULATED")
|
|
298
424
|
) -> _CreateCodeReviewResponseSuccess
|
|
299
425
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeReviewResponseSuccess
|
|
300
426
|
|
|
@@ -304,17 +430,38 @@ module Aws
|
|
|
304
430
|
end
|
|
305
431
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_integration-instance_method
|
|
306
432
|
def create_integration: (
|
|
307
|
-
provider: ("GITHUB"),
|
|
433
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE"),
|
|
308
434
|
input: {
|
|
309
435
|
github: {
|
|
310
436
|
code: ::String,
|
|
311
437
|
state: ::String,
|
|
312
|
-
organization_name: ::String
|
|
438
|
+
organization_name: ::String?,
|
|
439
|
+
target_url: ::String?,
|
|
440
|
+
installation_id: ::String?
|
|
441
|
+
}?,
|
|
442
|
+
gitlab: {
|
|
443
|
+
access_token: ::String,
|
|
444
|
+
target_url: ::String?,
|
|
445
|
+
token_type: ("PERSONAL" | "GROUP"),
|
|
446
|
+
group_id: ::String?
|
|
447
|
+
}?,
|
|
448
|
+
bitbucket: {
|
|
449
|
+
installation_id: ::String,
|
|
450
|
+
workspace: ::String,
|
|
451
|
+
code: ::String,
|
|
452
|
+
state: ::String
|
|
453
|
+
}?,
|
|
454
|
+
confluence: {
|
|
455
|
+
installation_id: ::String,
|
|
456
|
+
code: ::String,
|
|
457
|
+
state: ::String,
|
|
458
|
+
site_url: ::String
|
|
313
459
|
}?
|
|
314
460
|
},
|
|
315
461
|
integration_display_name: ::String,
|
|
316
462
|
?kms_key_id: ::String,
|
|
317
|
-
?tags: Hash[::String, ::String]
|
|
463
|
+
?tags: Hash[::String, ::String],
|
|
464
|
+
?private_connection_name: ::String
|
|
318
465
|
) -> _CreateIntegrationResponseSuccess
|
|
319
466
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateIntegrationResponseSuccess
|
|
320
467
|
|
|
@@ -364,10 +511,65 @@ module Aws
|
|
|
364
511
|
subnet_arns: Array[::String]?
|
|
365
512
|
},
|
|
366
513
|
?network_traffic_config: Params::network_traffic_config,
|
|
367
|
-
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
514
|
+
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
|
|
515
|
+
?disable_managed_skills: Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
368
516
|
) -> _CreatePentestResponseSuccess
|
|
369
517
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePentestResponseSuccess
|
|
370
518
|
|
|
519
|
+
interface _CreatePrivateConnectionResponseSuccess
|
|
520
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreatePrivateConnectionOutput]
|
|
521
|
+
def name: () -> ::String
|
|
522
|
+
def type: () -> ("SERVICE_MANAGED" | "SELF_MANAGED")
|
|
523
|
+
def status: () -> ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
|
|
524
|
+
def resource_gateway_id: () -> ::String
|
|
525
|
+
def host_address: () -> ::String
|
|
526
|
+
def vpc_id: () -> ::String
|
|
527
|
+
def resource_configuration_id: () -> ::String
|
|
528
|
+
def certificate_expiry_time: () -> ::Time
|
|
529
|
+
def dns_resolution: () -> ("PUBLIC" | "IN_VPC")
|
|
530
|
+
def failure_message: () -> ::String
|
|
531
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
532
|
+
end
|
|
533
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_private_connection-instance_method
|
|
534
|
+
def create_private_connection: (
|
|
535
|
+
private_connection_name: ::String,
|
|
536
|
+
mode: {
|
|
537
|
+
service_managed: {
|
|
538
|
+
host_address: ::String,
|
|
539
|
+
vpc_id: ::String,
|
|
540
|
+
subnet_ids: Array[::String],
|
|
541
|
+
security_group_ids: Array[::String]?,
|
|
542
|
+
ip_address_type: ("IPV4" | "IPV6" | "DUAL_STACK")?,
|
|
543
|
+
ipv4_addresses_per_eni: ::Integer?,
|
|
544
|
+
port_ranges: Array[::String]?,
|
|
545
|
+
certificate: ::String?,
|
|
546
|
+
dns_resolution: ("PUBLIC" | "IN_VPC")?
|
|
547
|
+
}?,
|
|
548
|
+
self_managed: {
|
|
549
|
+
resource_configuration_id: ::String,
|
|
550
|
+
certificate: ::String?
|
|
551
|
+
}?
|
|
552
|
+
},
|
|
553
|
+
?tags: Hash[::String, ::String]
|
|
554
|
+
) -> _CreatePrivateConnectionResponseSuccess
|
|
555
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreatePrivateConnectionResponseSuccess
|
|
556
|
+
|
|
557
|
+
interface _CreateSecurityRequirementPackResponseSuccess
|
|
558
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSecurityRequirementPackOutput]
|
|
559
|
+
def pack_id: () -> ::String
|
|
560
|
+
def status: () -> ("ENABLED" | "DISABLED")
|
|
561
|
+
def kms_key_id: () -> ::String
|
|
562
|
+
end
|
|
563
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_security_requirement_pack-instance_method
|
|
564
|
+
def create_security_requirement_pack: (
|
|
565
|
+
name: ::String,
|
|
566
|
+
?description: ::String,
|
|
567
|
+
?status: ("ENABLED" | "DISABLED"),
|
|
568
|
+
?kms_key_id: ::String,
|
|
569
|
+
?tags: Hash[::String, ::String]
|
|
570
|
+
) -> _CreateSecurityRequirementPackResponseSuccess
|
|
571
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSecurityRequirementPackResponseSuccess
|
|
572
|
+
|
|
371
573
|
interface _CreateTargetDomainResponseSuccess
|
|
372
574
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateTargetDomainOutput]
|
|
373
575
|
def target_domain_id: () -> ::String
|
|
@@ -386,6 +588,96 @@ module Aws
|
|
|
386
588
|
) -> _CreateTargetDomainResponseSuccess
|
|
387
589
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTargetDomainResponseSuccess
|
|
388
590
|
|
|
591
|
+
interface _CreateThreatResponseSuccess
|
|
592
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateThreatOutput]
|
|
593
|
+
def threat_id: () -> ::String
|
|
594
|
+
def threat_job_id: () -> ::String
|
|
595
|
+
def title: () -> ::String
|
|
596
|
+
def statement: () -> ::String
|
|
597
|
+
def severity: () -> ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO")
|
|
598
|
+
def status: () -> ("OPEN" | "RESOLVED" | "DISMISSED")
|
|
599
|
+
def comments: () -> ::String
|
|
600
|
+
def stride: () -> ::Array[("SPOOFING" | "TAMPERING" | "REPUDIATION" | "INFORMATION_DISCLOSURE" | "DENIAL_OF_SERVICE" | "ELEVATION_OF_PRIVILEGE")]
|
|
601
|
+
def threat_source: () -> ::String
|
|
602
|
+
def prerequisites: () -> ::String
|
|
603
|
+
def threat_action: () -> ::String
|
|
604
|
+
def threat_impact: () -> ::String
|
|
605
|
+
def impacted_goal: () -> ::Array[::String]
|
|
606
|
+
def impacted_assets: () -> ::Array[::String]
|
|
607
|
+
def anchor: () -> Types::ThreatAnchorShape
|
|
608
|
+
def evidence: () -> ::Array[Types::ThreatEvidenceShape]
|
|
609
|
+
def recommendation: () -> ::String
|
|
610
|
+
def created_by: () -> ("CUSTOMER" | "AGENT")
|
|
611
|
+
def updated_by: () -> ("CUSTOMER" | "AGENT")
|
|
612
|
+
def created_at: () -> ::Time
|
|
613
|
+
def updated_at: () -> ::Time
|
|
614
|
+
end
|
|
615
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_threat-instance_method
|
|
616
|
+
def create_threat: (
|
|
617
|
+
agent_space_id: ::String,
|
|
618
|
+
threat_job_id: ::String,
|
|
619
|
+
?title: ::String,
|
|
620
|
+
?statement: ::String,
|
|
621
|
+
?severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO"),
|
|
622
|
+
?comments: ::String,
|
|
623
|
+
?stride: Array[("SPOOFING" | "TAMPERING" | "REPUDIATION" | "INFORMATION_DISCLOSURE" | "DENIAL_OF_SERVICE" | "ELEVATION_OF_PRIVILEGE")],
|
|
624
|
+
?threat_source: ::String,
|
|
625
|
+
?prerequisites: ::String,
|
|
626
|
+
?threat_action: ::String,
|
|
627
|
+
?threat_impact: ::String,
|
|
628
|
+
?impacted_goal: Array[::String],
|
|
629
|
+
?impacted_assets: Array[::String],
|
|
630
|
+
?anchor: {
|
|
631
|
+
kind: ::String?,
|
|
632
|
+
id: ::String?,
|
|
633
|
+
package_id: ::String?
|
|
634
|
+
},
|
|
635
|
+
?evidence: Array[
|
|
636
|
+
{
|
|
637
|
+
package_id: ::String?,
|
|
638
|
+
path: ::String?
|
|
639
|
+
}
|
|
640
|
+
],
|
|
641
|
+
?recommendation: ::String
|
|
642
|
+
) -> _CreateThreatResponseSuccess
|
|
643
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateThreatResponseSuccess
|
|
644
|
+
|
|
645
|
+
interface _CreateThreatModelResponseSuccess
|
|
646
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateThreatModelOutput]
|
|
647
|
+
def threat_model_id: () -> ::String
|
|
648
|
+
def title: () -> ::String
|
|
649
|
+
def agent_space_id: () -> ::String
|
|
650
|
+
def description: () -> ::String
|
|
651
|
+
def assets: () -> Types::Assets
|
|
652
|
+
def scope_docs: () -> ::Array[Types::DocumentInfo]
|
|
653
|
+
def service_role: () -> ::String
|
|
654
|
+
def log_config: () -> Types::CloudWatchLog
|
|
655
|
+
def created_at: () -> ::Time
|
|
656
|
+
def updated_at: () -> ::Time
|
|
657
|
+
end
|
|
658
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#create_threat_model-instance_method
|
|
659
|
+
def create_threat_model: (
|
|
660
|
+
title: ::String,
|
|
661
|
+
agent_space_id: ::String,
|
|
662
|
+
?description: ::String,
|
|
663
|
+
?assets: Params::assets,
|
|
664
|
+
?scope_docs: Array[
|
|
665
|
+
Params::document_info
|
|
666
|
+
],
|
|
667
|
+
service_role: ::String,
|
|
668
|
+
?log_config: {
|
|
669
|
+
log_group: ::String?,
|
|
670
|
+
log_stream: ::String?
|
|
671
|
+
},
|
|
672
|
+
?report_destination: {
|
|
673
|
+
integration_id: ::String,
|
|
674
|
+
container_id: ::String,
|
|
675
|
+
parent_id: ::String?,
|
|
676
|
+
document_id: ::String?
|
|
677
|
+
}
|
|
678
|
+
) -> _CreateThreatModelResponseSuccess
|
|
679
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateThreatModelResponseSuccess
|
|
680
|
+
|
|
389
681
|
interface _DeleteAgentSpaceResponseSuccess
|
|
390
682
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentSpaceOutput]
|
|
391
683
|
def agent_space_id: () -> ::String
|
|
@@ -433,6 +725,35 @@ module Aws
|
|
|
433
725
|
) -> _DeleteMembershipResponseSuccess
|
|
434
726
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteMembershipResponseSuccess
|
|
435
727
|
|
|
728
|
+
interface _DeletePrivateConnectionResponseSuccess
|
|
729
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeletePrivateConnectionOutput]
|
|
730
|
+
def name: () -> ::String
|
|
731
|
+
def type: () -> ("SERVICE_MANAGED" | "SELF_MANAGED")
|
|
732
|
+
def status: () -> ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
|
|
733
|
+
def resource_gateway_id: () -> ::String
|
|
734
|
+
def host_address: () -> ::String
|
|
735
|
+
def vpc_id: () -> ::String
|
|
736
|
+
def resource_configuration_id: () -> ::String
|
|
737
|
+
def certificate_expiry_time: () -> ::Time
|
|
738
|
+
def dns_resolution: () -> ("PUBLIC" | "IN_VPC")
|
|
739
|
+
def failure_message: () -> ::String
|
|
740
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
741
|
+
end
|
|
742
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#delete_private_connection-instance_method
|
|
743
|
+
def delete_private_connection: (
|
|
744
|
+
private_connection_name: ::String
|
|
745
|
+
) -> _DeletePrivateConnectionResponseSuccess
|
|
746
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeletePrivateConnectionResponseSuccess
|
|
747
|
+
|
|
748
|
+
interface _DeleteSecurityRequirementPackResponseSuccess
|
|
749
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSecurityRequirementPackOutput]
|
|
750
|
+
end
|
|
751
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#delete_security_requirement_pack-instance_method
|
|
752
|
+
def delete_security_requirement_pack: (
|
|
753
|
+
pack_id: ::String
|
|
754
|
+
) -> _DeleteSecurityRequirementPackResponseSuccess
|
|
755
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSecurityRequirementPackResponseSuccess
|
|
756
|
+
|
|
436
757
|
interface _DeleteTargetDomainResponseSuccess
|
|
437
758
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteTargetDomainOutput]
|
|
438
759
|
def target_domain_id: () -> ::String
|
|
@@ -443,6 +764,26 @@ module Aws
|
|
|
443
764
|
) -> _DeleteTargetDomainResponseSuccess
|
|
444
765
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTargetDomainResponseSuccess
|
|
445
766
|
|
|
767
|
+
interface _DescribePrivateConnectionResponseSuccess
|
|
768
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::DescribePrivateConnectionOutput]
|
|
769
|
+
def name: () -> ::String
|
|
770
|
+
def type: () -> ("SERVICE_MANAGED" | "SELF_MANAGED")
|
|
771
|
+
def status: () -> ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
|
|
772
|
+
def resource_gateway_id: () -> ::String
|
|
773
|
+
def host_address: () -> ::String
|
|
774
|
+
def vpc_id: () -> ::String
|
|
775
|
+
def resource_configuration_id: () -> ::String
|
|
776
|
+
def certificate_expiry_time: () -> ::Time
|
|
777
|
+
def dns_resolution: () -> ("PUBLIC" | "IN_VPC")
|
|
778
|
+
def failure_message: () -> ::String
|
|
779
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
780
|
+
end
|
|
781
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#describe_private_connection-instance_method
|
|
782
|
+
def describe_private_connection: (
|
|
783
|
+
private_connection_name: ::String
|
|
784
|
+
) -> _DescribePrivateConnectionResponseSuccess
|
|
785
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribePrivateConnectionResponseSuccess
|
|
786
|
+
|
|
446
787
|
interface _GetApplicationResponseSuccess
|
|
447
788
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetApplicationResponse]
|
|
448
789
|
def application_id: () -> ::String
|
|
@@ -477,10 +818,12 @@ module Aws
|
|
|
477
818
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetIntegrationOutput]
|
|
478
819
|
def integration_id: () -> ::String
|
|
479
820
|
def installation_id: () -> ::String
|
|
480
|
-
def provider: () -> ("GITHUB")
|
|
821
|
+
def provider: () -> ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
481
822
|
def provider_type: () -> ("SOURCE_CODE" | "DOCUMENTATION")
|
|
482
823
|
def display_name: () -> ::String
|
|
483
824
|
def kms_key_id: () -> ::String
|
|
825
|
+
def target_url: () -> ::String
|
|
826
|
+
def private_connection_name: () -> ::String
|
|
484
827
|
end
|
|
485
828
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#get_integration-instance_method
|
|
486
829
|
def get_integration: (
|
|
@@ -488,6 +831,45 @@ module Aws
|
|
|
488
831
|
) -> _GetIntegrationResponseSuccess
|
|
489
832
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetIntegrationResponseSuccess
|
|
490
833
|
|
|
834
|
+
interface _GetSecurityRequirementPackResponseSuccess
|
|
835
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetSecurityRequirementPackOutput]
|
|
836
|
+
def pack_id: () -> ::String
|
|
837
|
+
def name: () -> ::String
|
|
838
|
+
def description: () -> ::String
|
|
839
|
+
def vendor_name: () -> ::String
|
|
840
|
+
def management_type: () -> ("AWS_MANAGED" | "CUSTOMER_MANAGED")
|
|
841
|
+
def status: () -> ("ENABLED" | "DISABLED")
|
|
842
|
+
def import_status: () -> ("PENDING" | "IN_PROGRESS" | "FAILED" | "COMPLETED")
|
|
843
|
+
def created_at: () -> ::Time
|
|
844
|
+
def updated_at: () -> ::Time
|
|
845
|
+
def kms_key_id: () -> ::String
|
|
846
|
+
end
|
|
847
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#get_security_requirement_pack-instance_method
|
|
848
|
+
def get_security_requirement_pack: (
|
|
849
|
+
pack_id: ::String
|
|
850
|
+
) -> _GetSecurityRequirementPackResponseSuccess
|
|
851
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSecurityRequirementPackResponseSuccess
|
|
852
|
+
|
|
853
|
+
interface _ImportSecurityRequirementsResponseSuccess
|
|
854
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ImportSecurityRequirementsOutput]
|
|
855
|
+
def pack_id: () -> ::String
|
|
856
|
+
def import_status: () -> ("PENDING" | "IN_PROGRESS" | "FAILED" | "COMPLETED")
|
|
857
|
+
end
|
|
858
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#import_security_requirements-instance_method
|
|
859
|
+
def import_security_requirements: (
|
|
860
|
+
pack_id: ::String,
|
|
861
|
+
input: {
|
|
862
|
+
documents: Array[
|
|
863
|
+
{
|
|
864
|
+
name: ::String,
|
|
865
|
+
format: ("MD" | "PDF" | "TXT" | "DOCX" | "DOC"),
|
|
866
|
+
content: ::String
|
|
867
|
+
}
|
|
868
|
+
]?
|
|
869
|
+
}
|
|
870
|
+
) -> _ImportSecurityRequirementsResponseSuccess
|
|
871
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ImportSecurityRequirementsResponseSuccess
|
|
872
|
+
|
|
491
873
|
interface _InitiateProviderRegistrationResponseSuccess
|
|
492
874
|
include ::Seahorse::Client::_ResponseSuccess[Types::InitiateProviderRegistrationOutput]
|
|
493
875
|
def redirect_to: () -> ::String
|
|
@@ -495,7 +877,7 @@ module Aws
|
|
|
495
877
|
end
|
|
496
878
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#initiate_provider_registration-instance_method
|
|
497
879
|
def initiate_provider_registration: (
|
|
498
|
-
provider: ("GITHUB")
|
|
880
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
|
|
499
881
|
) -> _InitiateProviderRegistrationResponseSuccess
|
|
500
882
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InitiateProviderRegistrationResponseSuccess
|
|
501
883
|
|
|
@@ -546,7 +928,7 @@ module Aws
|
|
|
546
928
|
agent_space_id: ::String,
|
|
547
929
|
?max_results: ::Integer,
|
|
548
930
|
?code_review_job_id: ::String,
|
|
549
|
-
?step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING"),
|
|
931
|
+
?step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING" | "VALIDATION"),
|
|
550
932
|
?category_name: ::String,
|
|
551
933
|
?next_token: ::String
|
|
552
934
|
) -> _ListCodeReviewJobTasksResponseSuccess
|
|
@@ -623,7 +1005,7 @@ module Aws
|
|
|
623
1005
|
def list_integrated_resources: (
|
|
624
1006
|
agent_space_id: ::String,
|
|
625
1007
|
?integration_id: ::String,
|
|
626
|
-
?resource_type: ("CODE_REPOSITORY"),
|
|
1008
|
+
?resource_type: ("CODE_REPOSITORY" | "DOCUMENT"),
|
|
627
1009
|
?next_token: ::String,
|
|
628
1010
|
?max_results: ::Integer
|
|
629
1011
|
) -> _ListIntegratedResourcesResponseSuccess
|
|
@@ -637,7 +1019,7 @@ module Aws
|
|
|
637
1019
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_integrations-instance_method
|
|
638
1020
|
def list_integrations: (
|
|
639
1021
|
?filter: {
|
|
640
|
-
provider: ("GITHUB")?,
|
|
1022
|
+
provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")?,
|
|
641
1023
|
provider_type: ("SOURCE_CODE" | "DOCUMENTATION")?
|
|
642
1024
|
},
|
|
643
1025
|
?next_token: ::String,
|
|
@@ -670,7 +1052,7 @@ module Aws
|
|
|
670
1052
|
agent_space_id: ::String,
|
|
671
1053
|
?max_results: ::Integer,
|
|
672
1054
|
?pentest_job_id: ::String,
|
|
673
|
-
?step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING"),
|
|
1055
|
+
?step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING" | "VALIDATION"),
|
|
674
1056
|
?category_name: ::String,
|
|
675
1057
|
?next_token: ::String
|
|
676
1058
|
) -> _ListPentestJobTasksResponseSuccess
|
|
@@ -703,6 +1085,47 @@ module Aws
|
|
|
703
1085
|
) -> _ListPentestsResponseSuccess
|
|
704
1086
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPentestsResponseSuccess
|
|
705
1087
|
|
|
1088
|
+
interface _ListPrivateConnectionsResponseSuccess
|
|
1089
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListPrivateConnectionsOutput]
|
|
1090
|
+
def private_connections: () -> ::Array[Types::PrivateConnectionSummary]
|
|
1091
|
+
def next_token: () -> ::String
|
|
1092
|
+
end
|
|
1093
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_private_connections-instance_method
|
|
1094
|
+
def list_private_connections: (
|
|
1095
|
+
?max_results: ::Integer,
|
|
1096
|
+
?next_token: ::String
|
|
1097
|
+
) -> _ListPrivateConnectionsResponseSuccess
|
|
1098
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPrivateConnectionsResponseSuccess
|
|
1099
|
+
|
|
1100
|
+
interface _ListSecurityRequirementPacksResponseSuccess
|
|
1101
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSecurityRequirementPacksOutput]
|
|
1102
|
+
def security_requirement_pack_summaries: () -> ::Array[Types::SecurityRequirementPackSummary]
|
|
1103
|
+
def next_token: () -> ::String
|
|
1104
|
+
end
|
|
1105
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_security_requirement_packs-instance_method
|
|
1106
|
+
def list_security_requirement_packs: (
|
|
1107
|
+
?filter: {
|
|
1108
|
+
management_type: ("AWS_MANAGED" | "CUSTOMER_MANAGED")?,
|
|
1109
|
+
status: ("ENABLED" | "DISABLED")?
|
|
1110
|
+
},
|
|
1111
|
+
?next_token: ::String,
|
|
1112
|
+
?max_results: ::Integer
|
|
1113
|
+
) -> _ListSecurityRequirementPacksResponseSuccess
|
|
1114
|
+
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityRequirementPacksResponseSuccess
|
|
1115
|
+
|
|
1116
|
+
interface _ListSecurityRequirementsResponseSuccess
|
|
1117
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListSecurityRequirementsOutput]
|
|
1118
|
+
def security_requirement_summaries: () -> ::Array[Types::SecurityRequirementSummary]
|
|
1119
|
+
def next_token: () -> ::String
|
|
1120
|
+
end
|
|
1121
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_security_requirements-instance_method
|
|
1122
|
+
def list_security_requirements: (
|
|
1123
|
+
pack_id: ::String,
|
|
1124
|
+
?next_token: ::String,
|
|
1125
|
+
?max_results: ::Integer
|
|
1126
|
+
) -> _ListSecurityRequirementsResponseSuccess
|
|
1127
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSecurityRequirementsResponseSuccess
|
|
1128
|
+
|
|
706
1129
|
interface _ListTagsForResourceResponseSuccess
|
|
707
1130
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceOutput]
|
|
708
1131
|
def tags: () -> ::Hash[::String, ::String]
|
|
@@ -725,6 +1148,61 @@ module Aws
|
|
|
725
1148
|
) -> _ListTargetDomainsResponseSuccess
|
|
726
1149
|
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTargetDomainsResponseSuccess
|
|
727
1150
|
|
|
1151
|
+
interface _ListThreatModelJobTasksResponseSuccess
|
|
1152
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListThreatModelJobTasksOutput]
|
|
1153
|
+
def threat_model_job_task_summaries: () -> ::Array[Types::ThreatModelJobTaskSummary]
|
|
1154
|
+
def next_token: () -> ::String
|
|
1155
|
+
end
|
|
1156
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_threat_model_job_tasks-instance_method
|
|
1157
|
+
def list_threat_model_job_tasks: (
|
|
1158
|
+
agent_space_id: ::String,
|
|
1159
|
+
?max_results: ::Integer,
|
|
1160
|
+
threat_model_job_id: ::String,
|
|
1161
|
+
?next_token: ::String
|
|
1162
|
+
) -> _ListThreatModelJobTasksResponseSuccess
|
|
1163
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThreatModelJobTasksResponseSuccess
|
|
1164
|
+
|
|
1165
|
+
interface _ListThreatModelJobsResponseSuccess
|
|
1166
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListThreatModelJobsOutput]
|
|
1167
|
+
def threat_model_job_summaries: () -> ::Array[Types::ThreatModelJobSummary]
|
|
1168
|
+
def next_token: () -> ::String
|
|
1169
|
+
end
|
|
1170
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_threat_model_jobs-instance_method
|
|
1171
|
+
def list_threat_model_jobs: (
|
|
1172
|
+
?max_results: ::Integer,
|
|
1173
|
+
threat_model_id: ::String,
|
|
1174
|
+
agent_space_id: ::String,
|
|
1175
|
+
?next_token: ::String
|
|
1176
|
+
) -> _ListThreatModelJobsResponseSuccess
|
|
1177
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThreatModelJobsResponseSuccess
|
|
1178
|
+
|
|
1179
|
+
interface _ListThreatModelsResponseSuccess
|
|
1180
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListThreatModelsOutput]
|
|
1181
|
+
def threat_model_summaries: () -> ::Array[Types::ThreatModelSummary]
|
|
1182
|
+
def next_token: () -> ::String
|
|
1183
|
+
end
|
|
1184
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_threat_models-instance_method
|
|
1185
|
+
def list_threat_models: (
|
|
1186
|
+
?max_results: ::Integer,
|
|
1187
|
+
?next_token: ::String,
|
|
1188
|
+
agent_space_id: ::String
|
|
1189
|
+
) -> _ListThreatModelsResponseSuccess
|
|
1190
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThreatModelsResponseSuccess
|
|
1191
|
+
|
|
1192
|
+
interface _ListThreatsResponseSuccess
|
|
1193
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListThreatsOutput]
|
|
1194
|
+
def threats: () -> ::Array[Types::ThreatSummary]
|
|
1195
|
+
def next_token: () -> ::String
|
|
1196
|
+
end
|
|
1197
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#list_threats-instance_method
|
|
1198
|
+
def list_threats: (
|
|
1199
|
+
threat_job_id: ::String,
|
|
1200
|
+
agent_space_id: ::String,
|
|
1201
|
+
?next_token: ::String,
|
|
1202
|
+
?max_results: ::Integer
|
|
1203
|
+
) -> _ListThreatsResponseSuccess
|
|
1204
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListThreatsResponseSuccess
|
|
1205
|
+
|
|
728
1206
|
interface _StartCodeRemediationResponseSuccess
|
|
729
1207
|
include ::Seahorse::Client::_ResponseSuccess[Types::StartCodeRemediationOutput]
|
|
730
1208
|
end
|
|
@@ -750,7 +1228,10 @@ module Aws
|
|
|
750
1228
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#start_code_review_job-instance_method
|
|
751
1229
|
def start_code_review_job: (
|
|
752
1230
|
agent_space_id: ::String,
|
|
753
|
-
code_review_id: ::String
|
|
1231
|
+
code_review_id: ::String,
|
|
1232
|
+
?diff_source: {
|
|
1233
|
+
s3_uri: ::String?
|
|
1234
|
+
}
|
|
754
1235
|
) -> _StartCodeReviewJobResponseSuccess
|
|
755
1236
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartCodeReviewJobResponseSuccess
|
|
756
1237
|
|
|
@@ -771,6 +1252,23 @@ module Aws
|
|
|
771
1252
|
) -> _StartPentestJobResponseSuccess
|
|
772
1253
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartPentestJobResponseSuccess
|
|
773
1254
|
|
|
1255
|
+
interface _StartThreatModelJobResponseSuccess
|
|
1256
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartThreatModelJobOutput]
|
|
1257
|
+
def title: () -> ::String
|
|
1258
|
+
def status: () -> ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
|
|
1259
|
+
def created_at: () -> ::Time
|
|
1260
|
+
def updated_at: () -> ::Time
|
|
1261
|
+
def threat_model_id: () -> ::String
|
|
1262
|
+
def threat_model_job_id: () -> ::String
|
|
1263
|
+
def agent_space_id: () -> ::String
|
|
1264
|
+
end
|
|
1265
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#start_threat_model_job-instance_method
|
|
1266
|
+
def start_threat_model_job: (
|
|
1267
|
+
agent_space_id: ::String,
|
|
1268
|
+
threat_model_id: ::String
|
|
1269
|
+
) -> _StartThreatModelJobResponseSuccess
|
|
1270
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartThreatModelJobResponseSuccess
|
|
1271
|
+
|
|
774
1272
|
interface _StopCodeReviewJobResponseSuccess
|
|
775
1273
|
include ::Seahorse::Client::_ResponseSuccess[Types::StopCodeReviewJobOutput]
|
|
776
1274
|
end
|
|
@@ -791,6 +1289,16 @@ module Aws
|
|
|
791
1289
|
) -> _StopPentestJobResponseSuccess
|
|
792
1290
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopPentestJobResponseSuccess
|
|
793
1291
|
|
|
1292
|
+
interface _StopThreatModelJobResponseSuccess
|
|
1293
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopThreatModelJobOutput]
|
|
1294
|
+
end
|
|
1295
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#stop_threat_model_job-instance_method
|
|
1296
|
+
def stop_threat_model_job: (
|
|
1297
|
+
agent_space_id: ::String,
|
|
1298
|
+
threat_model_job_id: ::String
|
|
1299
|
+
) -> _StopThreatModelJobResponseSuccess
|
|
1300
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopThreatModelJobResponseSuccess
|
|
1301
|
+
|
|
794
1302
|
interface _TagResourceResponseSuccess
|
|
795
1303
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceOutput]
|
|
796
1304
|
end
|
|
@@ -859,6 +1367,7 @@ module Aws
|
|
|
859
1367
|
def log_config: () -> Types::CloudWatchLog
|
|
860
1368
|
def agent_space_id: () -> ::String
|
|
861
1369
|
def code_remediation_strategy: () -> ("AUTOMATIC" | "DISABLED")
|
|
1370
|
+
def validation_mode: () -> ("DISABLED" | "SIMULATED")
|
|
862
1371
|
end
|
|
863
1372
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_code_review-instance_method
|
|
864
1373
|
def update_code_review: (
|
|
@@ -871,7 +1380,8 @@ module Aws
|
|
|
871
1380
|
log_group: ::String?,
|
|
872
1381
|
log_stream: ::String?
|
|
873
1382
|
},
|
|
874
|
-
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
1383
|
+
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
|
|
1384
|
+
?validation_mode: ("DISABLED" | "SIMULATED")
|
|
875
1385
|
) -> _UpdateCodeReviewResponseSuccess
|
|
876
1386
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCodeReviewResponseSuccess
|
|
877
1387
|
|
|
@@ -882,8 +1392,15 @@ module Aws
|
|
|
882
1392
|
def update_finding: (
|
|
883
1393
|
finding_id: ::String,
|
|
884
1394
|
agent_space_id: ::String,
|
|
1395
|
+
?name: ::String,
|
|
1396
|
+
?description: ::String,
|
|
1397
|
+
?risk_type: ::String,
|
|
885
1398
|
?risk_level: ("UNKNOWN" | "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL"),
|
|
886
|
-
?
|
|
1399
|
+
?risk_score: ::String,
|
|
1400
|
+
?attack_script: ::String,
|
|
1401
|
+
?reasoning: ::String,
|
|
1402
|
+
?status: ("ACTIVE" | "RESOLVED" | "ACCEPTED" | "FALSE_POSITIVE"),
|
|
1403
|
+
?customer_note: ::String
|
|
887
1404
|
) -> _UpdateFindingResponseSuccess
|
|
888
1405
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFindingResponseSuccess
|
|
889
1406
|
|
|
@@ -900,12 +1417,40 @@ module Aws
|
|
|
900
1417
|
github_repository: {
|
|
901
1418
|
name: ::String,
|
|
902
1419
|
owner: ::String
|
|
1420
|
+
}?,
|
|
1421
|
+
gitlab_repository: {
|
|
1422
|
+
name: ::String,
|
|
1423
|
+
namespace: ::String
|
|
1424
|
+
}?,
|
|
1425
|
+
bitbucket_repository: {
|
|
1426
|
+
name: ::String,
|
|
1427
|
+
workspace: ::String
|
|
1428
|
+
}?,
|
|
1429
|
+
confluence_document: {
|
|
1430
|
+
name: ::String,
|
|
1431
|
+
space_key: ::String,
|
|
1432
|
+
page_id: ::String,
|
|
1433
|
+
title: ::String?,
|
|
1434
|
+
space_title: ::String?
|
|
903
1435
|
}?
|
|
904
1436
|
},
|
|
905
1437
|
capabilities: {
|
|
906
1438
|
github: {
|
|
907
1439
|
leave_comments: bool?,
|
|
908
1440
|
remediate_code: bool?
|
|
1441
|
+
}?,
|
|
1442
|
+
gitlab: {
|
|
1443
|
+
leave_comments: bool?,
|
|
1444
|
+
remediate_code: bool?
|
|
1445
|
+
}?,
|
|
1446
|
+
bitbucket: {
|
|
1447
|
+
leave_comments: bool?,
|
|
1448
|
+
remediate_code: bool?
|
|
1449
|
+
}?,
|
|
1450
|
+
confluence: {
|
|
1451
|
+
fetch_document: bool?,
|
|
1452
|
+
create_document: bool?,
|
|
1453
|
+
update_document: bool?
|
|
909
1454
|
}?
|
|
910
1455
|
}?
|
|
911
1456
|
}
|
|
@@ -943,10 +1488,48 @@ module Aws
|
|
|
943
1488
|
subnet_arns: Array[::String]?
|
|
944
1489
|
},
|
|
945
1490
|
?network_traffic_config: Params::network_traffic_config,
|
|
946
|
-
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
|
|
1491
|
+
?code_remediation_strategy: ("AUTOMATIC" | "DISABLED"),
|
|
1492
|
+
?disable_managed_skills: Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
|
|
947
1493
|
) -> _UpdatePentestResponseSuccess
|
|
948
1494
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePentestResponseSuccess
|
|
949
1495
|
|
|
1496
|
+
interface _UpdatePrivateConnectionCertificateResponseSuccess
|
|
1497
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdatePrivateConnectionCertificateOutput]
|
|
1498
|
+
def name: () -> ::String
|
|
1499
|
+
def type: () -> ("SERVICE_MANAGED" | "SELF_MANAGED")
|
|
1500
|
+
def status: () -> ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
|
|
1501
|
+
def resource_gateway_id: () -> ::String
|
|
1502
|
+
def host_address: () -> ::String
|
|
1503
|
+
def vpc_id: () -> ::String
|
|
1504
|
+
def resource_configuration_id: () -> ::String
|
|
1505
|
+
def certificate_expiry_time: () -> ::Time
|
|
1506
|
+
def dns_resolution: () -> ("PUBLIC" | "IN_VPC")
|
|
1507
|
+
def failure_message: () -> ::String
|
|
1508
|
+
def tags: () -> ::Hash[::String, ::String]
|
|
1509
|
+
end
|
|
1510
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_private_connection_certificate-instance_method
|
|
1511
|
+
def update_private_connection_certificate: (
|
|
1512
|
+
private_connection_name: ::String,
|
|
1513
|
+
certificate: ::String
|
|
1514
|
+
) -> _UpdatePrivateConnectionCertificateResponseSuccess
|
|
1515
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePrivateConnectionCertificateResponseSuccess
|
|
1516
|
+
|
|
1517
|
+
interface _UpdateSecurityRequirementPackResponseSuccess
|
|
1518
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateSecurityRequirementPackOutput]
|
|
1519
|
+
def pack_id: () -> ::String
|
|
1520
|
+
def name: () -> ::String
|
|
1521
|
+
def description: () -> ::String
|
|
1522
|
+
def status: () -> ("ENABLED" | "DISABLED")
|
|
1523
|
+
end
|
|
1524
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_security_requirement_pack-instance_method
|
|
1525
|
+
def update_security_requirement_pack: (
|
|
1526
|
+
pack_id: ::String,
|
|
1527
|
+
?name: ::String,
|
|
1528
|
+
?description: ::String,
|
|
1529
|
+
?status: ("ENABLED" | "DISABLED")
|
|
1530
|
+
) -> _UpdateSecurityRequirementPackResponseSuccess
|
|
1531
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSecurityRequirementPackResponseSuccess
|
|
1532
|
+
|
|
950
1533
|
interface _UpdateTargetDomainResponseSuccess
|
|
951
1534
|
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateTargetDomainOutput]
|
|
952
1535
|
def target_domain_id: () -> ::String
|
|
@@ -964,6 +1547,91 @@ module Aws
|
|
|
964
1547
|
) -> _UpdateTargetDomainResponseSuccess
|
|
965
1548
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTargetDomainResponseSuccess
|
|
966
1549
|
|
|
1550
|
+
interface _UpdateThreatResponseSuccess
|
|
1551
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateThreatOutput]
|
|
1552
|
+
def threat_id: () -> ::String
|
|
1553
|
+
def threat_job_id: () -> ::String
|
|
1554
|
+
def title: () -> ::String
|
|
1555
|
+
def statement: () -> ::String
|
|
1556
|
+
def severity: () -> ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO")
|
|
1557
|
+
def status: () -> ("OPEN" | "RESOLVED" | "DISMISSED")
|
|
1558
|
+
def comments: () -> ::String
|
|
1559
|
+
def stride: () -> ::Array[("SPOOFING" | "TAMPERING" | "REPUDIATION" | "INFORMATION_DISCLOSURE" | "DENIAL_OF_SERVICE" | "ELEVATION_OF_PRIVILEGE")]
|
|
1560
|
+
def threat_source: () -> ::String
|
|
1561
|
+
def prerequisites: () -> ::String
|
|
1562
|
+
def threat_action: () -> ::String
|
|
1563
|
+
def threat_impact: () -> ::String
|
|
1564
|
+
def impacted_goal: () -> ::Array[::String]
|
|
1565
|
+
def impacted_assets: () -> ::Array[::String]
|
|
1566
|
+
def anchor: () -> Types::ThreatAnchorShape
|
|
1567
|
+
def evidence: () -> ::Array[Types::ThreatEvidenceShape]
|
|
1568
|
+
def recommendation: () -> ::String
|
|
1569
|
+
def created_by: () -> ("CUSTOMER" | "AGENT")
|
|
1570
|
+
def updated_by: () -> ("CUSTOMER" | "AGENT")
|
|
1571
|
+
def created_at: () -> ::Time
|
|
1572
|
+
def updated_at: () -> ::Time
|
|
1573
|
+
end
|
|
1574
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_threat-instance_method
|
|
1575
|
+
def update_threat: (
|
|
1576
|
+
threat_id: ::String,
|
|
1577
|
+
agent_space_id: ::String,
|
|
1578
|
+
?title: ::String,
|
|
1579
|
+
?status: ("OPEN" | "RESOLVED" | "DISMISSED"),
|
|
1580
|
+
?comments: ::String,
|
|
1581
|
+
?statement: ::String,
|
|
1582
|
+
?severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO"),
|
|
1583
|
+
?threat_source: ::String,
|
|
1584
|
+
?prerequisites: ::String,
|
|
1585
|
+
?threat_action: ::String,
|
|
1586
|
+
?threat_impact: ::String,
|
|
1587
|
+
?impacted_goal: Array[::String],
|
|
1588
|
+
?impacted_assets: Array[::String],
|
|
1589
|
+
?anchor: {
|
|
1590
|
+
kind: ::String?,
|
|
1591
|
+
id: ::String?,
|
|
1592
|
+
package_id: ::String?
|
|
1593
|
+
},
|
|
1594
|
+
?evidence: Array[
|
|
1595
|
+
{
|
|
1596
|
+
package_id: ::String?,
|
|
1597
|
+
path: ::String?
|
|
1598
|
+
}
|
|
1599
|
+
],
|
|
1600
|
+
?recommendation: ::String
|
|
1601
|
+
) -> _UpdateThreatResponseSuccess
|
|
1602
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThreatResponseSuccess
|
|
1603
|
+
|
|
1604
|
+
interface _UpdateThreatModelResponseSuccess
|
|
1605
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::UpdateThreatModelOutput]
|
|
1606
|
+
def threat_model_id: () -> ::String
|
|
1607
|
+
def title: () -> ::String
|
|
1608
|
+
def agent_space_id: () -> ::String
|
|
1609
|
+
def description: () -> ::String
|
|
1610
|
+
def assets: () -> Types::Assets
|
|
1611
|
+
def scope_docs: () -> ::Array[Types::DocumentInfo]
|
|
1612
|
+
def service_role: () -> ::String
|
|
1613
|
+
def log_config: () -> Types::CloudWatchLog
|
|
1614
|
+
def created_at: () -> ::Time
|
|
1615
|
+
def updated_at: () -> ::Time
|
|
1616
|
+
end
|
|
1617
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/SecurityAgent/Client.html#update_threat_model-instance_method
|
|
1618
|
+
def update_threat_model: (
|
|
1619
|
+
threat_model_id: ::String,
|
|
1620
|
+
agent_space_id: ::String,
|
|
1621
|
+
?title: ::String,
|
|
1622
|
+
?description: ::String,
|
|
1623
|
+
?assets: Params::assets,
|
|
1624
|
+
?scope_docs: Array[
|
|
1625
|
+
Params::document_info
|
|
1626
|
+
],
|
|
1627
|
+
?service_role: ::String,
|
|
1628
|
+
?log_config: {
|
|
1629
|
+
log_group: ::String?,
|
|
1630
|
+
log_stream: ::String?
|
|
1631
|
+
}
|
|
1632
|
+
) -> _UpdateThreatModelResponseSuccess
|
|
1633
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateThreatModelResponseSuccess
|
|
1634
|
+
|
|
967
1635
|
interface _VerifyTargetDomainResponseSuccess
|
|
968
1636
|
include ::Seahorse::Client::_ResponseSuccess[Types::VerifyTargetDomainOutput]
|
|
969
1637
|
def target_domain_id: () -> ::String
|