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.
data/sig/types.rbs CHANGED
@@ -109,6 +109,30 @@ module Aws::SecurityAgent
109
109
  SENSITIVE: []
110
110
  end
111
111
 
112
+ class BatchCreateSecurityRequirementResult
113
+ attr_accessor pack_id: ::String
114
+ attr_accessor name: ::String
115
+ attr_accessor description: ::String
116
+ attr_accessor domain: ::String
117
+ attr_accessor evaluation: ::String
118
+ attr_accessor remediation: ::String
119
+ attr_accessor created_at: ::Time
120
+ attr_accessor updated_at: ::Time
121
+ SENSITIVE: []
122
+ end
123
+
124
+ class BatchCreateSecurityRequirementsInput
125
+ attr_accessor pack_id: ::String
126
+ attr_accessor security_requirements: ::Array[Types::CreateSecurityRequirementEntry]
127
+ SENSITIVE: []
128
+ end
129
+
130
+ class BatchCreateSecurityRequirementsOutput
131
+ attr_accessor security_requirements: ::Array[Types::BatchCreateSecurityRequirementResult]
132
+ attr_accessor errors: ::Array[Types::BatchSecurityRequirementError]
133
+ SENSITIVE: []
134
+ end
135
+
112
136
  class BatchDeleteCodeReviewsInput
113
137
  attr_accessor code_review_ids: ::Array[::String]
114
138
  attr_accessor agent_space_id: ::String
@@ -133,6 +157,30 @@ module Aws::SecurityAgent
133
157
  SENSITIVE: []
134
158
  end
135
159
 
160
+ class BatchDeleteSecurityRequirementsInput
161
+ attr_accessor pack_id: ::String
162
+ attr_accessor security_requirement_names: ::Array[::String]
163
+ SENSITIVE: []
164
+ end
165
+
166
+ class BatchDeleteSecurityRequirementsOutput
167
+ attr_accessor deleted_security_requirement_names: ::Array[::String]
168
+ attr_accessor errors: ::Array[Types::BatchSecurityRequirementError]
169
+ SENSITIVE: []
170
+ end
171
+
172
+ class BatchDeleteThreatModelsInput
173
+ attr_accessor threat_model_ids: ::Array[::String]
174
+ attr_accessor agent_space_id: ::String
175
+ SENSITIVE: []
176
+ end
177
+
178
+ class BatchDeleteThreatModelsOutput
179
+ attr_accessor deleted: ::Array[::String]
180
+ attr_accessor failed: ::Array[Types::DeleteThreatModelFailure]
181
+ SENSITIVE: []
182
+ end
183
+
136
184
  class BatchGetAgentSpacesInput
137
185
  attr_accessor agent_space_ids: ::Array[::String]
138
186
  SENSITIVE: []
@@ -239,6 +287,30 @@ module Aws::SecurityAgent
239
287
  SENSITIVE: []
240
288
  end
241
289
 
290
+ class BatchGetSecurityRequirementResult
291
+ attr_accessor pack_id: ::String
292
+ attr_accessor name: ::String
293
+ attr_accessor description: ::String
294
+ attr_accessor domain: ::String
295
+ attr_accessor evaluation: ::String
296
+ attr_accessor remediation: ::String
297
+ attr_accessor created_at: ::Time
298
+ attr_accessor updated_at: ::Time
299
+ SENSITIVE: []
300
+ end
301
+
302
+ class BatchGetSecurityRequirementsInput
303
+ attr_accessor pack_id: ::String
304
+ attr_accessor security_requirement_names: ::Array[::String]
305
+ SENSITIVE: []
306
+ end
307
+
308
+ class BatchGetSecurityRequirementsOutput
309
+ attr_accessor security_requirements: ::Array[Types::BatchGetSecurityRequirementResult]
310
+ attr_accessor errors: ::Array[Types::BatchSecurityRequirementError]
311
+ SENSITIVE: []
312
+ end
313
+
242
314
  class BatchGetTargetDomainsInput
243
315
  attr_accessor target_domain_ids: ::Array[::String]
244
316
  SENSITIVE: []
@@ -250,6 +322,101 @@ module Aws::SecurityAgent
250
322
  SENSITIVE: []
251
323
  end
252
324
 
325
+ class BatchGetThreatModelJobTasksInput
326
+ attr_accessor agent_space_id: ::String
327
+ attr_accessor threat_model_job_task_ids: ::Array[::String]
328
+ SENSITIVE: []
329
+ end
330
+
331
+ class BatchGetThreatModelJobTasksOutput
332
+ attr_accessor threat_model_job_tasks: ::Array[Types::ThreatModelJobTask]
333
+ attr_accessor not_found: ::Array[::String]
334
+ SENSITIVE: []
335
+ end
336
+
337
+ class BatchGetThreatModelJobsInput
338
+ attr_accessor threat_model_job_ids: ::Array[::String]
339
+ attr_accessor agent_space_id: ::String
340
+ SENSITIVE: []
341
+ end
342
+
343
+ class BatchGetThreatModelJobsOutput
344
+ attr_accessor threat_model_jobs: ::Array[Types::ThreatModelJob]
345
+ attr_accessor not_found: ::Array[::String]
346
+ SENSITIVE: []
347
+ end
348
+
349
+ class BatchGetThreatModelsInput
350
+ attr_accessor threat_model_ids: ::Array[::String]
351
+ attr_accessor agent_space_id: ::String
352
+ SENSITIVE: []
353
+ end
354
+
355
+ class BatchGetThreatModelsOutput
356
+ attr_accessor threat_models: ::Array[Types::ThreatModel]
357
+ attr_accessor not_found: ::Array[::String]
358
+ SENSITIVE: []
359
+ end
360
+
361
+ class BatchGetThreatsInput
362
+ attr_accessor threat_ids: ::Array[::String]
363
+ attr_accessor agent_space_id: ::String
364
+ SENSITIVE: []
365
+ end
366
+
367
+ class BatchGetThreatsOutput
368
+ attr_accessor threats: ::Array[Types::Threat]
369
+ attr_accessor not_found: ::Array[::String]
370
+ SENSITIVE: []
371
+ end
372
+
373
+ class BatchSecurityRequirementError
374
+ attr_accessor security_requirement_name: ::String
375
+ attr_accessor code: ::String
376
+ attr_accessor message: ::String
377
+ SENSITIVE: []
378
+ end
379
+
380
+ class BatchUpdateSecurityRequirementsInput
381
+ attr_accessor pack_id: ::String
382
+ attr_accessor security_requirements: ::Array[Types::UpdateSecurityRequirementEntry]
383
+ SENSITIVE: []
384
+ end
385
+
386
+ class BatchUpdateSecurityRequirementsOutput
387
+ attr_accessor updated_security_requirement_names: ::Array[::String]
388
+ attr_accessor errors: ::Array[Types::BatchSecurityRequirementError]
389
+ SENSITIVE: []
390
+ end
391
+
392
+ class BitbucketIntegrationInput
393
+ attr_accessor installation_id: ::String
394
+ attr_accessor workspace: ::String
395
+ attr_accessor code: ::String
396
+ attr_accessor state: ::String
397
+ SENSITIVE: []
398
+ end
399
+
400
+ class BitbucketRepositoryMetadata
401
+ attr_accessor name: ::String
402
+ attr_accessor provider_resource_id: ::String
403
+ attr_accessor workspace: ::String
404
+ attr_accessor access_type: ("PRIVATE" | "PUBLIC")
405
+ SENSITIVE: []
406
+ end
407
+
408
+ class BitbucketRepositoryResource
409
+ attr_accessor name: ::String
410
+ attr_accessor workspace: ::String
411
+ SENSITIVE: []
412
+ end
413
+
414
+ class BitbucketResourceCapabilities
415
+ attr_accessor leave_comments: bool
416
+ attr_accessor remediate_code: bool
417
+ SENSITIVE: []
418
+ end
419
+
253
420
  class Category
254
421
  attr_accessor name: ::String
255
422
  attr_accessor is_primary: bool
@@ -292,6 +459,7 @@ module Aws::SecurityAgent
292
459
  attr_accessor service_role: ::String
293
460
  attr_accessor log_config: Types::CloudWatchLog
294
461
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
462
+ attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
295
463
  attr_accessor created_at: ::Time
296
464
  attr_accessor updated_at: ::Time
297
465
  SENSITIVE: []
@@ -376,6 +544,40 @@ module Aws::SecurityAgent
376
544
  SENSITIVE: []
377
545
  end
378
546
 
547
+ class ConfluenceDocumentMetadata
548
+ attr_accessor name: ::String
549
+ attr_accessor provider_resource_id: ::String
550
+ attr_accessor space_key: ::String
551
+ attr_accessor page_id: ::String
552
+ attr_accessor title: ::String
553
+ attr_accessor space_title: ::String
554
+ SENSITIVE: []
555
+ end
556
+
557
+ class ConfluenceDocumentResource
558
+ attr_accessor name: ::String
559
+ attr_accessor space_key: ::String
560
+ attr_accessor page_id: ::String
561
+ attr_accessor title: ::String
562
+ attr_accessor space_title: ::String
563
+ SENSITIVE: []
564
+ end
565
+
566
+ class ConfluenceIntegrationInput
567
+ attr_accessor installation_id: ::String
568
+ attr_accessor code: ::String
569
+ attr_accessor state: ::String
570
+ attr_accessor site_url: ::String
571
+ SENSITIVE: []
572
+ end
573
+
574
+ class ConfluenceResourceCapabilities
575
+ attr_accessor fetch_document: bool
576
+ attr_accessor create_document: bool
577
+ attr_accessor update_document: bool
578
+ SENSITIVE: []
579
+ end
580
+
379
581
  class CreateAgentSpaceInput
380
582
  attr_accessor name: ::String
381
583
  attr_accessor description: ::String
@@ -420,6 +622,7 @@ module Aws::SecurityAgent
420
622
  attr_accessor service_role: ::String
421
623
  attr_accessor log_config: Types::CloudWatchLog
422
624
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
625
+ attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
423
626
  SENSITIVE: []
424
627
  end
425
628
 
@@ -433,15 +636,17 @@ module Aws::SecurityAgent
433
636
  attr_accessor log_config: Types::CloudWatchLog
434
637
  attr_accessor agent_space_id: ::String
435
638
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
639
+ attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
436
640
  SENSITIVE: []
437
641
  end
438
642
 
439
643
  class CreateIntegrationInput
440
- attr_accessor provider: ("GITHUB")
644
+ attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
441
645
  attr_accessor input: Types::ProviderInput
442
646
  attr_accessor integration_display_name: ::String
443
647
  attr_accessor kms_key_id: ::String
444
648
  attr_accessor tags: ::Hash[::String, ::String]
649
+ attr_accessor private_connection_name: ::String
445
650
  SENSITIVE: []
446
651
  end
447
652
 
@@ -472,6 +677,7 @@ module Aws::SecurityAgent
472
677
  attr_accessor vpc_config: Types::VpcConfig
473
678
  attr_accessor network_traffic_config: Types::NetworkTrafficConfig
474
679
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
680
+ attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
475
681
  SENSITIVE: []
476
682
  end
477
683
 
@@ -488,6 +694,53 @@ module Aws::SecurityAgent
488
694
  SENSITIVE: []
489
695
  end
490
696
 
697
+ class CreatePrivateConnectionInput
698
+ attr_accessor private_connection_name: ::String
699
+ attr_accessor mode: Types::PrivateConnectionMode
700
+ attr_accessor tags: ::Hash[::String, ::String]
701
+ SENSITIVE: []
702
+ end
703
+
704
+ class CreatePrivateConnectionOutput
705
+ attr_accessor name: ::String
706
+ attr_accessor type: ("SERVICE_MANAGED" | "SELF_MANAGED")
707
+ attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
708
+ attr_accessor resource_gateway_id: ::String
709
+ attr_accessor host_address: ::String
710
+ attr_accessor vpc_id: ::String
711
+ attr_accessor resource_configuration_id: ::String
712
+ attr_accessor certificate_expiry_time: ::Time
713
+ attr_accessor dns_resolution: ("PUBLIC" | "IN_VPC")
714
+ attr_accessor failure_message: ::String
715
+ attr_accessor tags: ::Hash[::String, ::String]
716
+ SENSITIVE: []
717
+ end
718
+
719
+ class CreateSecurityRequirementEntry
720
+ attr_accessor name: ::String
721
+ attr_accessor description: ::String
722
+ attr_accessor domain: ::String
723
+ attr_accessor evaluation: ::String
724
+ attr_accessor remediation: ::String
725
+ SENSITIVE: []
726
+ end
727
+
728
+ class CreateSecurityRequirementPackInput
729
+ attr_accessor name: ::String
730
+ attr_accessor description: ::String
731
+ attr_accessor status: ("ENABLED" | "DISABLED")
732
+ attr_accessor kms_key_id: ::String
733
+ attr_accessor tags: ::Hash[::String, ::String]
734
+ SENSITIVE: []
735
+ end
736
+
737
+ class CreateSecurityRequirementPackOutput
738
+ attr_accessor pack_id: ::String
739
+ attr_accessor status: ("ENABLED" | "DISABLED")
740
+ attr_accessor kms_key_id: ::String
741
+ SENSITIVE: []
742
+ end
743
+
491
744
  class CreateTargetDomainInput
492
745
  attr_accessor target_domain_name: ::String
493
746
  attr_accessor verification_method: ("DNS_TXT" | "HTTP_ROUTE" | "PRIVATE_VPC")
@@ -506,6 +759,77 @@ module Aws::SecurityAgent
506
759
  SENSITIVE: []
507
760
  end
508
761
 
762
+ class CreateThreatInput
763
+ attr_accessor agent_space_id: ::String
764
+ attr_accessor threat_job_id: ::String
765
+ attr_accessor title: ::String
766
+ attr_accessor statement: ::String
767
+ attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO")
768
+ attr_accessor comments: ::String
769
+ attr_accessor stride: ::Array[("SPOOFING" | "TAMPERING" | "REPUDIATION" | "INFORMATION_DISCLOSURE" | "DENIAL_OF_SERVICE" | "ELEVATION_OF_PRIVILEGE")]
770
+ attr_accessor threat_source: ::String
771
+ attr_accessor prerequisites: ::String
772
+ attr_accessor threat_action: ::String
773
+ attr_accessor threat_impact: ::String
774
+ attr_accessor impacted_goal: ::Array[::String]
775
+ attr_accessor impacted_assets: ::Array[::String]
776
+ attr_accessor anchor: Types::ThreatAnchorShape
777
+ attr_accessor evidence: ::Array[Types::ThreatEvidenceShape]
778
+ attr_accessor recommendation: ::String
779
+ SENSITIVE: []
780
+ end
781
+
782
+ class CreateThreatModelInput
783
+ attr_accessor title: ::String
784
+ attr_accessor agent_space_id: ::String
785
+ attr_accessor description: ::String
786
+ attr_accessor assets: Types::Assets
787
+ attr_accessor scope_docs: ::Array[Types::DocumentInfo]
788
+ attr_accessor service_role: ::String
789
+ attr_accessor log_config: Types::CloudWatchLog
790
+ attr_accessor report_destination: Types::ReportDestination
791
+ SENSITIVE: []
792
+ end
793
+
794
+ class CreateThreatModelOutput
795
+ attr_accessor threat_model_id: ::String
796
+ attr_accessor title: ::String
797
+ attr_accessor agent_space_id: ::String
798
+ attr_accessor description: ::String
799
+ attr_accessor assets: Types::Assets
800
+ attr_accessor scope_docs: ::Array[Types::DocumentInfo]
801
+ attr_accessor service_role: ::String
802
+ attr_accessor log_config: Types::CloudWatchLog
803
+ attr_accessor created_at: ::Time
804
+ attr_accessor updated_at: ::Time
805
+ SENSITIVE: []
806
+ end
807
+
808
+ class CreateThreatOutput
809
+ attr_accessor threat_id: ::String
810
+ attr_accessor threat_job_id: ::String
811
+ attr_accessor title: ::String
812
+ attr_accessor statement: ::String
813
+ attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO")
814
+ attr_accessor status: ("OPEN" | "RESOLVED" | "DISMISSED")
815
+ attr_accessor comments: ::String
816
+ attr_accessor stride: ::Array[("SPOOFING" | "TAMPERING" | "REPUDIATION" | "INFORMATION_DISCLOSURE" | "DENIAL_OF_SERVICE" | "ELEVATION_OF_PRIVILEGE")]
817
+ attr_accessor threat_source: ::String
818
+ attr_accessor prerequisites: ::String
819
+ attr_accessor threat_action: ::String
820
+ attr_accessor threat_impact: ::String
821
+ attr_accessor impacted_goal: ::Array[::String]
822
+ attr_accessor impacted_assets: ::Array[::String]
823
+ attr_accessor anchor: Types::ThreatAnchorShape
824
+ attr_accessor evidence: ::Array[Types::ThreatEvidenceShape]
825
+ attr_accessor recommendation: ::String
826
+ attr_accessor created_by: ("CUSTOMER" | "AGENT")
827
+ attr_accessor updated_by: ("CUSTOMER" | "AGENT")
828
+ attr_accessor created_at: ::Time
829
+ attr_accessor updated_at: ::Time
830
+ SENSITIVE: []
831
+ end
832
+
509
833
  class CustomHeader
510
834
  attr_accessor name: ::String
511
835
  attr_accessor value: ::String
@@ -567,6 +891,34 @@ module Aws::SecurityAgent
567
891
  SENSITIVE: []
568
892
  end
569
893
 
894
+ class DeletePrivateConnectionInput
895
+ attr_accessor private_connection_name: ::String
896
+ SENSITIVE: []
897
+ end
898
+
899
+ class DeletePrivateConnectionOutput
900
+ attr_accessor name: ::String
901
+ attr_accessor type: ("SERVICE_MANAGED" | "SELF_MANAGED")
902
+ attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
903
+ attr_accessor resource_gateway_id: ::String
904
+ attr_accessor host_address: ::String
905
+ attr_accessor vpc_id: ::String
906
+ attr_accessor resource_configuration_id: ::String
907
+ attr_accessor certificate_expiry_time: ::Time
908
+ attr_accessor dns_resolution: ("PUBLIC" | "IN_VPC")
909
+ attr_accessor failure_message: ::String
910
+ attr_accessor tags: ::Hash[::String, ::String]
911
+ SENSITIVE: []
912
+ end
913
+
914
+ class DeleteSecurityRequirementPackInput
915
+ attr_accessor pack_id: ::String
916
+ SENSITIVE: []
917
+ end
918
+
919
+ class DeleteSecurityRequirementPackOutput < Aws::EmptyStructure
920
+ end
921
+
570
922
  class DeleteTargetDomainInput
571
923
  attr_accessor target_domain_id: ::String
572
924
  SENSITIVE: []
@@ -577,6 +929,43 @@ module Aws::SecurityAgent
577
929
  SENSITIVE: []
578
930
  end
579
931
 
932
+ class DeleteThreatModelFailure
933
+ attr_accessor threat_model_id: ::String
934
+ attr_accessor reason: ::String
935
+ SENSITIVE: []
936
+ end
937
+
938
+ class DescribePrivateConnectionInput
939
+ attr_accessor private_connection_name: ::String
940
+ SENSITIVE: []
941
+ end
942
+
943
+ class DescribePrivateConnectionOutput
944
+ attr_accessor name: ::String
945
+ attr_accessor type: ("SERVICE_MANAGED" | "SELF_MANAGED")
946
+ attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
947
+ attr_accessor resource_gateway_id: ::String
948
+ attr_accessor host_address: ::String
949
+ attr_accessor vpc_id: ::String
950
+ attr_accessor resource_configuration_id: ::String
951
+ attr_accessor certificate_expiry_time: ::Time
952
+ attr_accessor dns_resolution: ("PUBLIC" | "IN_VPC")
953
+ attr_accessor failure_message: ::String
954
+ attr_accessor tags: ::Hash[::String, ::String]
955
+ SENSITIVE: []
956
+ end
957
+
958
+ class DiffSource
959
+ attr_accessor s3_uri: ::String
960
+ attr_accessor unknown: untyped
961
+ SENSITIVE: []
962
+
963
+ class S3Uri < DiffSource
964
+ end
965
+ class Unknown < DiffSource
966
+ end
967
+ end
968
+
580
969
  class DiscoveredEndpoint
581
970
  attr_accessor uri: ::String
582
971
  attr_accessor pentest_job_id: ::String
@@ -598,6 +987,7 @@ module Aws::SecurityAgent
598
987
  class DocumentInfo
599
988
  attr_accessor s3_location: ::String
600
989
  attr_accessor artifact_id: ::String
990
+ attr_accessor integrated_document: Types::IntegratedDocument
601
991
  SENSITIVE: []
602
992
  end
603
993
 
@@ -635,11 +1025,14 @@ module Aws::SecurityAgent
635
1025
  attr_accessor risk_score: ::String
636
1026
  attr_accessor reasoning: ::String
637
1027
  attr_accessor confidence: ("FALSE_POSITIVE" | "UNCONFIRMED" | "LOW" | "MEDIUM" | "HIGH")
1028
+ attr_accessor validation_status: ("CONFIRMED" | "NOT_REPRODUCED" | "VALIDATION_FAILED" | "VALIDATING" | "NOT_VALIDATED")
638
1029
  attr_accessor attack_script: ::String
639
1030
  attr_accessor code_remediation_task: Types::CodeRemediationTask
640
1031
  attr_accessor last_updated_by: ::String
1032
+ attr_accessor customer_note: ::String
641
1033
  attr_accessor code_locations: ::Array[Types::CodeLocation]
642
1034
  attr_accessor verification_script: Types::VerificationScript
1035
+ attr_accessor alignment_rationale: ::String
643
1036
  attr_accessor created_at: ::Time
644
1037
  attr_accessor updated_at: ::Time
645
1038
  SENSITIVE: []
@@ -657,6 +1050,7 @@ module Aws::SecurityAgent
657
1050
  attr_accessor risk_type: ::String
658
1051
  attr_accessor risk_level: ("UNKNOWN" | "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
659
1052
  attr_accessor confidence: ("FALSE_POSITIVE" | "UNCONFIRMED" | "LOW" | "MEDIUM" | "HIGH")
1053
+ attr_accessor validation_status: ("CONFIRMED" | "NOT_REPRODUCED" | "VALIDATION_FAILED" | "VALIDATING" | "NOT_VALIDATED")
660
1054
  attr_accessor created_at: ::Time
661
1055
  attr_accessor updated_at: ::Time
662
1056
  SENSITIVE: []
@@ -700,10 +1094,31 @@ module Aws::SecurityAgent
700
1094
  class GetIntegrationOutput
701
1095
  attr_accessor integration_id: ::String
702
1096
  attr_accessor installation_id: ::String
703
- attr_accessor provider: ("GITHUB")
1097
+ attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
704
1098
  attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
705
1099
  attr_accessor display_name: ::String
706
1100
  attr_accessor kms_key_id: ::String
1101
+ attr_accessor target_url: ::String
1102
+ attr_accessor private_connection_name: ::String
1103
+ SENSITIVE: []
1104
+ end
1105
+
1106
+ class GetSecurityRequirementPackInput
1107
+ attr_accessor pack_id: ::String
1108
+ SENSITIVE: []
1109
+ end
1110
+
1111
+ class GetSecurityRequirementPackOutput
1112
+ attr_accessor pack_id: ::String
1113
+ attr_accessor name: ::String
1114
+ attr_accessor description: ::String
1115
+ attr_accessor vendor_name: ::String
1116
+ attr_accessor management_type: ("AWS_MANAGED" | "CUSTOMER_MANAGED")
1117
+ attr_accessor status: ("ENABLED" | "DISABLED")
1118
+ attr_accessor import_status: ("PENDING" | "IN_PROGRESS" | "FAILED" | "COMPLETED")
1119
+ attr_accessor created_at: ::Time
1120
+ attr_accessor updated_at: ::Time
1121
+ attr_accessor kms_key_id: ::String
707
1122
  SENSITIVE: []
708
1123
  end
709
1124
 
@@ -711,6 +1126,8 @@ module Aws::SecurityAgent
711
1126
  attr_accessor code: ::String
712
1127
  attr_accessor state: ::String
713
1128
  attr_accessor organization_name: ::String
1129
+ attr_accessor target_url: ::String
1130
+ attr_accessor installation_id: ::String
714
1131
  SENSITIVE: []
715
1132
  end
716
1133
 
@@ -734,6 +1151,34 @@ module Aws::SecurityAgent
734
1151
  SENSITIVE: []
735
1152
  end
736
1153
 
1154
+ class GitLabIntegrationInput
1155
+ attr_accessor access_token: ::String
1156
+ attr_accessor target_url: ::String
1157
+ attr_accessor token_type: ("PERSONAL" | "GROUP")
1158
+ attr_accessor group_id: ::String
1159
+ SENSITIVE: [:access_token]
1160
+ end
1161
+
1162
+ class GitLabRepositoryMetadata
1163
+ attr_accessor name: ::String
1164
+ attr_accessor provider_resource_id: ::String
1165
+ attr_accessor namespace: ::String
1166
+ attr_accessor access_type: ("PRIVATE" | "PUBLIC")
1167
+ SENSITIVE: []
1168
+ end
1169
+
1170
+ class GitLabRepositoryResource
1171
+ attr_accessor name: ::String
1172
+ attr_accessor namespace: ::String
1173
+ SENSITIVE: []
1174
+ end
1175
+
1176
+ class GitLabResourceCapabilities
1177
+ attr_accessor leave_comments: bool
1178
+ attr_accessor remediate_code: bool
1179
+ SENSITIVE: []
1180
+ end
1181
+
737
1182
  class HttpVerification
738
1183
  attr_accessor token: ::String
739
1184
  attr_accessor route_path: ::String
@@ -746,8 +1191,31 @@ module Aws::SecurityAgent
746
1191
  SENSITIVE: []
747
1192
  end
748
1193
 
1194
+ class ImportSecurityRequirementsInput
1195
+ attr_accessor pack_id: ::String
1196
+ attr_accessor input: Types::ImportSource
1197
+ SENSITIVE: []
1198
+ end
1199
+
1200
+ class ImportSecurityRequirementsOutput
1201
+ attr_accessor pack_id: ::String
1202
+ attr_accessor import_status: ("PENDING" | "IN_PROGRESS" | "FAILED" | "COMPLETED")
1203
+ SENSITIVE: []
1204
+ end
1205
+
1206
+ class ImportSource
1207
+ attr_accessor documents: ::Array[Types::SecurityRequirementArtifact]
1208
+ attr_accessor unknown: untyped
1209
+ SENSITIVE: []
1210
+
1211
+ class Documents < ImportSource
1212
+ end
1213
+ class Unknown < ImportSource
1214
+ end
1215
+ end
1216
+
749
1217
  class InitiateProviderRegistrationInput
750
- attr_accessor provider: ("GITHUB")
1218
+ attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
751
1219
  SENSITIVE: []
752
1220
  end
753
1221
 
@@ -757,19 +1225,34 @@ module Aws::SecurityAgent
757
1225
  SENSITIVE: []
758
1226
  end
759
1227
 
760
- class IntegratedRepository
1228
+ class IntegratedDocument
761
1229
  attr_accessor integration_id: ::String
762
- attr_accessor provider_resource_id: ::String
1230
+ attr_accessor resource_id: ::String
1231
+ SENSITIVE: []
1232
+ end
1233
+
1234
+ class IntegratedRepository
1235
+ attr_accessor integration_id: ::String
1236
+ attr_accessor provider_resource_id: ::String
763
1237
  SENSITIVE: []
764
1238
  end
765
1239
 
766
1240
  class IntegratedResource
767
1241
  attr_accessor github_repository: Types::GitHubRepositoryResource
1242
+ attr_accessor gitlab_repository: Types::GitLabRepositoryResource
1243
+ attr_accessor bitbucket_repository: Types::BitbucketRepositoryResource
1244
+ attr_accessor confluence_document: Types::ConfluenceDocumentResource
768
1245
  attr_accessor unknown: untyped
769
1246
  SENSITIVE: []
770
1247
 
771
1248
  class GithubRepository < IntegratedResource
772
1249
  end
1250
+ class GitlabRepository < IntegratedResource
1251
+ end
1252
+ class BitbucketRepository < IntegratedResource
1253
+ end
1254
+ class ConfluenceDocument < IntegratedResource
1255
+ end
773
1256
  class Unknown < IntegratedResource
774
1257
  end
775
1258
  end
@@ -782,11 +1265,20 @@ module Aws::SecurityAgent
782
1265
 
783
1266
  class IntegratedResourceMetadata
784
1267
  attr_accessor github_repository: Types::GitHubRepositoryMetadata
1268
+ attr_accessor gitlab_repository: Types::GitLabRepositoryMetadata
1269
+ attr_accessor bitbucket_repository: Types::BitbucketRepositoryMetadata
1270
+ attr_accessor confluence_document: Types::ConfluenceDocumentMetadata
785
1271
  attr_accessor unknown: untyped
786
1272
  SENSITIVE: []
787
1273
 
788
1274
  class GithubRepository < IntegratedResourceMetadata
789
1275
  end
1276
+ class GitlabRepository < IntegratedResourceMetadata
1277
+ end
1278
+ class BitbucketRepository < IntegratedResourceMetadata
1279
+ end
1280
+ class ConfluenceDocument < IntegratedResourceMetadata
1281
+ end
790
1282
  class Unknown < IntegratedResourceMetadata
791
1283
  end
792
1284
  end
@@ -799,7 +1291,7 @@ module Aws::SecurityAgent
799
1291
  end
800
1292
 
801
1293
  class IntegrationFilter
802
- attr_accessor provider: ("GITHUB")
1294
+ attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
803
1295
  attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
804
1296
  attr_accessor unknown: untyped
805
1297
  SENSITIVE: []
@@ -815,9 +1307,11 @@ module Aws::SecurityAgent
815
1307
  class IntegrationSummary
816
1308
  attr_accessor integration_id: ::String
817
1309
  attr_accessor installation_id: ::String
818
- attr_accessor provider: ("GITHUB")
1310
+ attr_accessor provider: ("GITHUB" | "GITLAB" | "BITBUCKET" | "CONFLUENCE")
819
1311
  attr_accessor provider_type: ("SOURCE_CODE" | "DOCUMENTATION")
820
1312
  attr_accessor display_name: ::String
1313
+ attr_accessor target_url: ::String
1314
+ attr_accessor private_connection_name: ::String
821
1315
  SENSITIVE: []
822
1316
  end
823
1317
 
@@ -867,7 +1361,7 @@ module Aws::SecurityAgent
867
1361
  attr_accessor agent_space_id: ::String
868
1362
  attr_accessor max_results: ::Integer
869
1363
  attr_accessor code_review_job_id: ::String
870
- attr_accessor step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING")
1364
+ attr_accessor step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING" | "VALIDATION")
871
1365
  attr_accessor category_name: ::String
872
1366
  attr_accessor next_token: ::String
873
1367
  SENSITIVE: []
@@ -944,7 +1438,7 @@ module Aws::SecurityAgent
944
1438
  class ListIntegratedResourcesInput
945
1439
  attr_accessor agent_space_id: ::String
946
1440
  attr_accessor integration_id: ::String
947
- attr_accessor resource_type: ("CODE_REPOSITORY")
1441
+ attr_accessor resource_type: ("CODE_REPOSITORY" | "DOCUMENT")
948
1442
  attr_accessor next_token: ::String
949
1443
  attr_accessor max_results: ::Integer
950
1444
  SENSITIVE: []
@@ -988,7 +1482,7 @@ module Aws::SecurityAgent
988
1482
  attr_accessor agent_space_id: ::String
989
1483
  attr_accessor max_results: ::Integer
990
1484
  attr_accessor pentest_job_id: ::String
991
- attr_accessor step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING")
1485
+ attr_accessor step_name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING" | "VALIDATION")
992
1486
  attr_accessor category_name: ::String
993
1487
  attr_accessor next_token: ::String
994
1488
  SENSITIVE: []
@@ -1027,6 +1521,50 @@ module Aws::SecurityAgent
1027
1521
  SENSITIVE: []
1028
1522
  end
1029
1523
 
1524
+ class ListPrivateConnectionsInput
1525
+ attr_accessor max_results: ::Integer
1526
+ attr_accessor next_token: ::String
1527
+ SENSITIVE: []
1528
+ end
1529
+
1530
+ class ListPrivateConnectionsOutput
1531
+ attr_accessor private_connections: ::Array[Types::PrivateConnectionSummary]
1532
+ attr_accessor next_token: ::String
1533
+ SENSITIVE: []
1534
+ end
1535
+
1536
+ class ListSecurityRequirementPackFilter
1537
+ attr_accessor management_type: ("AWS_MANAGED" | "CUSTOMER_MANAGED")
1538
+ attr_accessor status: ("ENABLED" | "DISABLED")
1539
+ SENSITIVE: []
1540
+ end
1541
+
1542
+ class ListSecurityRequirementPacksInput
1543
+ attr_accessor filter: Types::ListSecurityRequirementPackFilter
1544
+ attr_accessor next_token: ::String
1545
+ attr_accessor max_results: ::Integer
1546
+ SENSITIVE: []
1547
+ end
1548
+
1549
+ class ListSecurityRequirementPacksOutput
1550
+ attr_accessor security_requirement_pack_summaries: ::Array[Types::SecurityRequirementPackSummary]
1551
+ attr_accessor next_token: ::String
1552
+ SENSITIVE: []
1553
+ end
1554
+
1555
+ class ListSecurityRequirementsInput
1556
+ attr_accessor pack_id: ::String
1557
+ attr_accessor next_token: ::String
1558
+ attr_accessor max_results: ::Integer
1559
+ SENSITIVE: []
1560
+ end
1561
+
1562
+ class ListSecurityRequirementsOutput
1563
+ attr_accessor security_requirement_summaries: ::Array[Types::SecurityRequirementSummary]
1564
+ attr_accessor next_token: ::String
1565
+ SENSITIVE: []
1566
+ end
1567
+
1030
1568
  class ListTagsForResourceInput
1031
1569
  attr_accessor resource_arn: ::String
1032
1570
  SENSITIVE: []
@@ -1049,6 +1587,61 @@ module Aws::SecurityAgent
1049
1587
  SENSITIVE: []
1050
1588
  end
1051
1589
 
1590
+ class ListThreatModelJobTasksInput
1591
+ attr_accessor agent_space_id: ::String
1592
+ attr_accessor max_results: ::Integer
1593
+ attr_accessor threat_model_job_id: ::String
1594
+ attr_accessor next_token: ::String
1595
+ SENSITIVE: []
1596
+ end
1597
+
1598
+ class ListThreatModelJobTasksOutput
1599
+ attr_accessor threat_model_job_task_summaries: ::Array[Types::ThreatModelJobTaskSummary]
1600
+ attr_accessor next_token: ::String
1601
+ SENSITIVE: []
1602
+ end
1603
+
1604
+ class ListThreatModelJobsInput
1605
+ attr_accessor max_results: ::Integer
1606
+ attr_accessor threat_model_id: ::String
1607
+ attr_accessor agent_space_id: ::String
1608
+ attr_accessor next_token: ::String
1609
+ SENSITIVE: []
1610
+ end
1611
+
1612
+ class ListThreatModelJobsOutput
1613
+ attr_accessor threat_model_job_summaries: ::Array[Types::ThreatModelJobSummary]
1614
+ attr_accessor next_token: ::String
1615
+ SENSITIVE: []
1616
+ end
1617
+
1618
+ class ListThreatModelsInput
1619
+ attr_accessor max_results: ::Integer
1620
+ attr_accessor next_token: ::String
1621
+ attr_accessor agent_space_id: ::String
1622
+ SENSITIVE: []
1623
+ end
1624
+
1625
+ class ListThreatModelsOutput
1626
+ attr_accessor threat_model_summaries: ::Array[Types::ThreatModelSummary]
1627
+ attr_accessor next_token: ::String
1628
+ SENSITIVE: []
1629
+ end
1630
+
1631
+ class ListThreatsInput
1632
+ attr_accessor threat_job_id: ::String
1633
+ attr_accessor agent_space_id: ::String
1634
+ attr_accessor next_token: ::String
1635
+ attr_accessor max_results: ::Integer
1636
+ SENSITIVE: []
1637
+ end
1638
+
1639
+ class ListThreatsOutput
1640
+ attr_accessor threats: ::Array[Types::ThreatSummary]
1641
+ attr_accessor next_token: ::String
1642
+ SENSITIVE: []
1643
+ end
1644
+
1052
1645
  class LogLocation
1053
1646
  attr_accessor log_type: ("CLOUDWATCH")
1054
1647
  attr_accessor cloud_watch_log: Types::CloudWatchLog
@@ -1115,6 +1708,8 @@ module Aws::SecurityAgent
1115
1708
  attr_accessor vpc_config: Types::VpcConfig
1116
1709
  attr_accessor network_traffic_config: Types::NetworkTrafficConfig
1117
1710
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
1711
+ attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
1712
+ attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
1118
1713
  attr_accessor created_at: ::Time
1119
1714
  attr_accessor updated_at: ::Time
1120
1715
  SENSITIVE: []
@@ -1142,6 +1737,8 @@ module Aws::SecurityAgent
1142
1737
  attr_accessor error_information: Types::ErrorInformation
1143
1738
  attr_accessor integrated_repositories: ::Array[Types::IntegratedRepository]
1144
1739
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
1740
+ attr_accessor clean_up_strategy: ("BEST_EFFORT_DELETE" | "RETAIN_ALL")
1741
+ attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
1145
1742
  attr_accessor created_at: ::Time
1146
1743
  attr_accessor updated_at: ::Time
1147
1744
  SENSITIVE: []
@@ -1166,33 +1763,140 @@ module Aws::SecurityAgent
1166
1763
  SENSITIVE: []
1167
1764
  end
1168
1765
 
1766
+ class PrivateConnectionMode
1767
+ attr_accessor service_managed: Types::ServiceManagedInput
1768
+ attr_accessor self_managed: Types::SelfManagedInput
1769
+ attr_accessor unknown: untyped
1770
+ SENSITIVE: []
1771
+
1772
+ class ServiceManaged < PrivateConnectionMode
1773
+ end
1774
+ class SelfManaged < PrivateConnectionMode
1775
+ end
1776
+ class Unknown < PrivateConnectionMode
1777
+ end
1778
+ end
1779
+
1780
+ class PrivateConnectionSummary
1781
+ attr_accessor name: ::String
1782
+ attr_accessor type: ("SERVICE_MANAGED" | "SELF_MANAGED")
1783
+ attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
1784
+ attr_accessor resource_gateway_id: ::String
1785
+ attr_accessor host_address: ::String
1786
+ attr_accessor vpc_id: ::String
1787
+ attr_accessor resource_configuration_id: ::String
1788
+ attr_accessor certificate_expiry_time: ::Time
1789
+ attr_accessor dns_resolution: ("PUBLIC" | "IN_VPC")
1790
+ attr_accessor failure_message: ::String
1791
+ attr_accessor tags: ::Hash[::String, ::String]
1792
+ SENSITIVE: []
1793
+ end
1794
+
1169
1795
  class ProviderInput
1170
1796
  attr_accessor github: Types::GitHubIntegrationInput
1797
+ attr_accessor gitlab: Types::GitLabIntegrationInput
1798
+ attr_accessor bitbucket: Types::BitbucketIntegrationInput
1799
+ attr_accessor confluence: Types::ConfluenceIntegrationInput
1171
1800
  attr_accessor unknown: untyped
1172
1801
  SENSITIVE: []
1173
1802
 
1174
1803
  class Github < ProviderInput
1175
1804
  end
1805
+ class Gitlab < ProviderInput
1806
+ end
1807
+ class Bitbucket < ProviderInput
1808
+ end
1809
+ class Confluence < ProviderInput
1810
+ end
1176
1811
  class Unknown < ProviderInput
1177
1812
  end
1178
1813
  end
1179
1814
 
1180
1815
  class ProviderResourceCapabilities
1181
1816
  attr_accessor github: Types::GitHubResourceCapabilities
1817
+ attr_accessor gitlab: Types::GitLabResourceCapabilities
1818
+ attr_accessor bitbucket: Types::BitbucketResourceCapabilities
1819
+ attr_accessor confluence: Types::ConfluenceResourceCapabilities
1182
1820
  attr_accessor unknown: untyped
1183
1821
  SENSITIVE: []
1184
1822
 
1185
1823
  class Github < ProviderResourceCapabilities
1186
1824
  end
1825
+ class Gitlab < ProviderResourceCapabilities
1826
+ end
1827
+ class Bitbucket < ProviderResourceCapabilities
1828
+ end
1829
+ class Confluence < ProviderResourceCapabilities
1830
+ end
1187
1831
  class Unknown < ProviderResourceCapabilities
1188
1832
  end
1189
1833
  end
1190
1834
 
1835
+ class ReportDestination
1836
+ attr_accessor integration_id: ::String
1837
+ attr_accessor container_id: ::String
1838
+ attr_accessor parent_id: ::String
1839
+ attr_accessor document_id: ::String
1840
+ SENSITIVE: []
1841
+ end
1842
+
1191
1843
  class ResourceNotFoundException
1192
1844
  attr_accessor message: ::String
1193
1845
  SENSITIVE: []
1194
1846
  end
1195
1847
 
1848
+ class SecurityRequirementArtifact
1849
+ attr_accessor name: ::String
1850
+ attr_accessor format: ("MD" | "PDF" | "TXT" | "DOCX" | "DOC")
1851
+ attr_accessor content: ::String
1852
+ SENSITIVE: [:content]
1853
+ end
1854
+
1855
+ class SecurityRequirementPackSummary
1856
+ attr_accessor pack_id: ::String
1857
+ attr_accessor name: ::String
1858
+ attr_accessor description: ::String
1859
+ attr_accessor vendor_name: ::String
1860
+ attr_accessor management_type: ("AWS_MANAGED" | "CUSTOMER_MANAGED")
1861
+ attr_accessor status: ("ENABLED" | "DISABLED")
1862
+ attr_accessor created_at: ::Time
1863
+ attr_accessor updated_at: ::Time
1864
+ SENSITIVE: []
1865
+ end
1866
+
1867
+ class SecurityRequirementSummary
1868
+ attr_accessor pack_id: ::String
1869
+ attr_accessor name: ::String
1870
+ attr_accessor description: ::String
1871
+ attr_accessor created_at: ::Time
1872
+ attr_accessor updated_at: ::Time
1873
+ SENSITIVE: []
1874
+ end
1875
+
1876
+ class SelfManagedInput
1877
+ attr_accessor resource_configuration_id: ::String
1878
+ attr_accessor certificate: ::String
1879
+ SENSITIVE: [:certificate]
1880
+ end
1881
+
1882
+ class ServiceManagedInput
1883
+ attr_accessor host_address: ::String
1884
+ attr_accessor vpc_id: ::String
1885
+ attr_accessor subnet_ids: ::Array[::String]
1886
+ attr_accessor security_group_ids: ::Array[::String]
1887
+ attr_accessor ip_address_type: ("IPV4" | "IPV6" | "DUAL_STACK")
1888
+ attr_accessor ipv4_addresses_per_eni: ::Integer
1889
+ attr_accessor port_ranges: ::Array[::String]
1890
+ attr_accessor certificate: ::String
1891
+ attr_accessor dns_resolution: ("PUBLIC" | "IN_VPC")
1892
+ SENSITIVE: [:certificate]
1893
+ end
1894
+
1895
+ class ServiceQuotaExceededException
1896
+ attr_accessor message: ::String
1897
+ SENSITIVE: []
1898
+ end
1899
+
1196
1900
  class SourceCodeRepository
1197
1901
  attr_accessor s3_location: ::String
1198
1902
  SENSITIVE: []
@@ -1212,6 +1916,7 @@ module Aws::SecurityAgent
1212
1916
  class StartCodeReviewJobInput
1213
1917
  attr_accessor agent_space_id: ::String
1214
1918
  attr_accessor code_review_id: ::String
1919
+ attr_accessor diff_source: Types::DiffSource
1215
1920
  SENSITIVE: []
1216
1921
  end
1217
1922
 
@@ -1243,8 +1948,25 @@ module Aws::SecurityAgent
1243
1948
  SENSITIVE: []
1244
1949
  end
1245
1950
 
1951
+ class StartThreatModelJobInput
1952
+ attr_accessor agent_space_id: ::String
1953
+ attr_accessor threat_model_id: ::String
1954
+ SENSITIVE: []
1955
+ end
1956
+
1957
+ class StartThreatModelJobOutput
1958
+ attr_accessor title: ::String
1959
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
1960
+ attr_accessor created_at: ::Time
1961
+ attr_accessor updated_at: ::Time
1962
+ attr_accessor threat_model_id: ::String
1963
+ attr_accessor threat_model_job_id: ::String
1964
+ attr_accessor agent_space_id: ::String
1965
+ SENSITIVE: []
1966
+ end
1967
+
1246
1968
  class Step
1247
- attr_accessor name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING")
1969
+ attr_accessor name: ("PREFLIGHT" | "STATIC_ANALYSIS" | "PENTEST" | "FINALIZING" | "VALIDATION")
1248
1970
  attr_accessor status: ("NOT_STARTED" | "IN_PROGRESS" | "COMPLETED" | "FAILED" | "STOPPED")
1249
1971
  attr_accessor created_at: ::Time
1250
1972
  attr_accessor updated_at: ::Time
@@ -1269,6 +1991,15 @@ module Aws::SecurityAgent
1269
1991
  class StopPentestJobOutput < Aws::EmptyStructure
1270
1992
  end
1271
1993
 
1994
+ class StopThreatModelJobInput
1995
+ attr_accessor agent_space_id: ::String
1996
+ attr_accessor threat_model_job_id: ::String
1997
+ SENSITIVE: []
1998
+ end
1999
+
2000
+ class StopThreatModelJobOutput < Aws::EmptyStructure
2001
+ end
2002
+
1272
2003
  class TagResourceInput
1273
2004
  attr_accessor resource_arn: ::String
1274
2005
  attr_accessor tags: ::Hash[::String, ::String]
@@ -1326,6 +2057,138 @@ module Aws::SecurityAgent
1326
2057
  SENSITIVE: []
1327
2058
  end
1328
2059
 
2060
+ class Threat
2061
+ attr_accessor threat_id: ::String
2062
+ attr_accessor threat_job_id: ::String
2063
+ attr_accessor title: ::String
2064
+ attr_accessor statement: ::String
2065
+ attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO")
2066
+ attr_accessor status: ("OPEN" | "RESOLVED" | "DISMISSED")
2067
+ attr_accessor comments: ::String
2068
+ attr_accessor threat_source: ::String
2069
+ attr_accessor prerequisites: ::String
2070
+ attr_accessor threat_action: ::String
2071
+ attr_accessor threat_impact: ::String
2072
+ attr_accessor impacted_goal: ::Array[::String]
2073
+ attr_accessor impacted_assets: ::Array[::String]
2074
+ attr_accessor anchor: Types::ThreatAnchorShape
2075
+ attr_accessor evidence: ::Array[Types::ThreatEvidenceShape]
2076
+ attr_accessor stride: ::Array[("SPOOFING" | "TAMPERING" | "REPUDIATION" | "INFORMATION_DISCLOSURE" | "DENIAL_OF_SERVICE" | "ELEVATION_OF_PRIVILEGE")]
2077
+ attr_accessor recommendation: ::String
2078
+ attr_accessor created_by: ("CUSTOMER" | "AGENT")
2079
+ attr_accessor updated_by: ("CUSTOMER" | "AGENT")
2080
+ attr_accessor created_at: ::Time
2081
+ attr_accessor updated_at: ::Time
2082
+ SENSITIVE: []
2083
+ end
2084
+
2085
+ class ThreatAnchorShape
2086
+ attr_accessor kind: ::String
2087
+ attr_accessor id: ::String
2088
+ attr_accessor package_id: ::String
2089
+ SENSITIVE: []
2090
+ end
2091
+
2092
+ class ThreatEvidenceShape
2093
+ attr_accessor package_id: ::String
2094
+ attr_accessor path: ::String
2095
+ SENSITIVE: []
2096
+ end
2097
+
2098
+ class ThreatModel
2099
+ attr_accessor threat_model_id: ::String
2100
+ attr_accessor agent_space_id: ::String
2101
+ attr_accessor title: ::String
2102
+ attr_accessor description: ::String
2103
+ attr_accessor assets: Types::Assets
2104
+ attr_accessor scope_docs: ::Array[Types::DocumentInfo]
2105
+ attr_accessor service_role: ::String
2106
+ attr_accessor log_config: Types::CloudWatchLog
2107
+ attr_accessor created_at: ::Time
2108
+ attr_accessor updated_at: ::Time
2109
+ SENSITIVE: []
2110
+ end
2111
+
2112
+ class ThreatModelJob
2113
+ attr_accessor threat_model_job_id: ::String
2114
+ attr_accessor threat_model_id: ::String
2115
+ attr_accessor agent_space_id: ::String
2116
+ attr_accessor title: ::String
2117
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2118
+ attr_accessor created_at: ::Time
2119
+ attr_accessor updated_at: ::Time
2120
+ attr_accessor execution_start_time: ::Time
2121
+ attr_accessor execution_end_time: ::Time
2122
+ attr_accessor source_code: ::Array[Types::SourceCodeRepository]
2123
+ attr_accessor integrated_repositories: ::Array[Types::IntegratedRepository]
2124
+ attr_accessor documents: ::Array[Types::DocumentInfo]
2125
+ attr_accessor scope_docs: ::Array[Types::DocumentInfo]
2126
+ attr_accessor error_information: Types::ErrorInformation
2127
+ attr_accessor system_overview: ::String
2128
+ SENSITIVE: []
2129
+ end
2130
+
2131
+ class ThreatModelJobSummary
2132
+ attr_accessor threat_model_job_id: ::String
2133
+ attr_accessor threat_model_id: ::String
2134
+ attr_accessor agent_space_id: ::String
2135
+ attr_accessor title: ::String
2136
+ attr_accessor status: ("IN_PROGRESS" | "STOPPING" | "STOPPED" | "FAILED" | "COMPLETED")
2137
+ attr_accessor created_at: ::Time
2138
+ attr_accessor updated_at: ::Time
2139
+ SENSITIVE: []
2140
+ end
2141
+
2142
+ class ThreatModelJobTask
2143
+ attr_accessor task_id: ::String
2144
+ attr_accessor threat_model_id: ::String
2145
+ attr_accessor threat_model_job_id: ::String
2146
+ attr_accessor agent_space_id: ::String
2147
+ attr_accessor title: ::String
2148
+ attr_accessor description: ::String
2149
+ attr_accessor execution_status: ("IN_PROGRESS" | "ABORTED" | "COMPLETED" | "INTERNAL_ERROR" | "FAILED")
2150
+ attr_accessor logs_location: Types::LogLocation
2151
+ attr_accessor created_at: ::Time
2152
+ attr_accessor updated_at: ::Time
2153
+ SENSITIVE: []
2154
+ end
2155
+
2156
+ class ThreatModelJobTaskSummary
2157
+ attr_accessor task_id: ::String
2158
+ attr_accessor threat_model_id: ::String
2159
+ attr_accessor threat_model_job_id: ::String
2160
+ attr_accessor agent_space_id: ::String
2161
+ attr_accessor title: ::String
2162
+ attr_accessor execution_status: ("IN_PROGRESS" | "ABORTED" | "COMPLETED" | "INTERNAL_ERROR" | "FAILED")
2163
+ attr_accessor created_at: ::Time
2164
+ attr_accessor updated_at: ::Time
2165
+ SENSITIVE: []
2166
+ end
2167
+
2168
+ class ThreatModelSummary
2169
+ attr_accessor threat_model_id: ::String
2170
+ attr_accessor agent_space_id: ::String
2171
+ attr_accessor title: ::String
2172
+ attr_accessor created_at: ::Time
2173
+ attr_accessor updated_at: ::Time
2174
+ SENSITIVE: []
2175
+ end
2176
+
2177
+ class ThreatSummary
2178
+ attr_accessor threat_id: ::String
2179
+ attr_accessor threat_job_id: ::String
2180
+ attr_accessor title: ::String
2181
+ attr_accessor statement: ::String
2182
+ attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO")
2183
+ attr_accessor status: ("OPEN" | "RESOLVED" | "DISMISSED")
2184
+ attr_accessor stride: ::Array[("SPOOFING" | "TAMPERING" | "REPUDIATION" | "INFORMATION_DISCLOSURE" | "DENIAL_OF_SERVICE" | "ELEVATION_OF_PRIVILEGE")]
2185
+ attr_accessor created_by: ("CUSTOMER" | "AGENT")
2186
+ attr_accessor updated_by: ("CUSTOMER" | "AGENT")
2187
+ attr_accessor created_at: ::Time
2188
+ attr_accessor updated_at: ::Time
2189
+ SENSITIVE: []
2190
+ end
2191
+
1329
2192
  class ThrottlingException
1330
2193
  attr_accessor message: ::String
1331
2194
  attr_accessor service_code: ::String
@@ -1384,6 +2247,7 @@ module Aws::SecurityAgent
1384
2247
  attr_accessor service_role: ::String
1385
2248
  attr_accessor log_config: Types::CloudWatchLog
1386
2249
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2250
+ attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
1387
2251
  SENSITIVE: []
1388
2252
  end
1389
2253
 
@@ -1397,14 +2261,22 @@ module Aws::SecurityAgent
1397
2261
  attr_accessor log_config: Types::CloudWatchLog
1398
2262
  attr_accessor agent_space_id: ::String
1399
2263
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2264
+ attr_accessor validation_mode: ("DISABLED" | "SIMULATED")
1400
2265
  SENSITIVE: []
1401
2266
  end
1402
2267
 
1403
2268
  class UpdateFindingInput
1404
2269
  attr_accessor finding_id: ::String
1405
2270
  attr_accessor agent_space_id: ::String
2271
+ attr_accessor name: ::String
2272
+ attr_accessor description: ::String
2273
+ attr_accessor risk_type: ::String
1406
2274
  attr_accessor risk_level: ("UNKNOWN" | "INFORMATIONAL" | "LOW" | "MEDIUM" | "HIGH" | "CRITICAL")
2275
+ attr_accessor risk_score: ::String
2276
+ attr_accessor attack_script: ::String
2277
+ attr_accessor reasoning: ::String
1407
2278
  attr_accessor status: ("ACTIVE" | "RESOLVED" | "ACCEPTED" | "FALSE_POSITIVE")
2279
+ attr_accessor customer_note: ::String
1408
2280
  SENSITIVE: []
1409
2281
  end
1410
2282
 
@@ -1432,6 +2304,7 @@ module Aws::SecurityAgent
1432
2304
  attr_accessor vpc_config: Types::VpcConfig
1433
2305
  attr_accessor network_traffic_config: Types::NetworkTrafficConfig
1434
2306
  attr_accessor code_remediation_strategy: ("AUTOMATIC" | "DISABLED")
2307
+ attr_accessor disable_managed_skills: ::Array[("FINDING_PERSONALIZATION" | "LOGIN_OPTIMIZATION")]
1435
2308
  SENSITIVE: []
1436
2309
  end
1437
2310
 
@@ -1448,6 +2321,52 @@ module Aws::SecurityAgent
1448
2321
  SENSITIVE: []
1449
2322
  end
1450
2323
 
2324
+ class UpdatePrivateConnectionCertificateInput
2325
+ attr_accessor private_connection_name: ::String
2326
+ attr_accessor certificate: ::String
2327
+ SENSITIVE: [:certificate]
2328
+ end
2329
+
2330
+ class UpdatePrivateConnectionCertificateOutput
2331
+ attr_accessor name: ::String
2332
+ attr_accessor type: ("SERVICE_MANAGED" | "SELF_MANAGED")
2333
+ attr_accessor status: ("ACTIVE" | "CREATE_IN_PROGRESS" | "CREATE_FAILED" | "DELETE_IN_PROGRESS" | "DELETE_FAILED")
2334
+ attr_accessor resource_gateway_id: ::String
2335
+ attr_accessor host_address: ::String
2336
+ attr_accessor vpc_id: ::String
2337
+ attr_accessor resource_configuration_id: ::String
2338
+ attr_accessor certificate_expiry_time: ::Time
2339
+ attr_accessor dns_resolution: ("PUBLIC" | "IN_VPC")
2340
+ attr_accessor failure_message: ::String
2341
+ attr_accessor tags: ::Hash[::String, ::String]
2342
+ SENSITIVE: []
2343
+ end
2344
+
2345
+ class UpdateSecurityRequirementEntry
2346
+ attr_accessor name: ::String
2347
+ attr_accessor description: ::String
2348
+ attr_accessor domain: ::String
2349
+ attr_accessor evaluation: ::String
2350
+ attr_accessor remediation: ::String
2351
+ SENSITIVE: []
2352
+ end
2353
+
2354
+ class UpdateSecurityRequirementPackInput
2355
+ attr_accessor pack_id: ::String
2356
+ attr_accessor name: ::String
2357
+ attr_accessor description: ::String
2358
+ attr_accessor status: ("ENABLED" | "DISABLED")
2359
+ SENSITIVE: []
2360
+ end
2361
+
2362
+ class UpdateSecurityRequirementPackOutput
2363
+ attr_accessor pack_id: ::String
2364
+ attr_accessor name: ::String
2365
+ attr_accessor description: ::String
2366
+ attr_accessor status: ("ENABLED" | "DISABLED")
2367
+ SENSITIVE: []
2368
+ end
2369
+
1451
2370
  class UpdateTargetDomainInput
1452
2371
  attr_accessor target_domain_id: ::String
1453
2372
  attr_accessor verification_method: ("DNS_TXT" | "HTTP_ROUTE" | "PRIVATE_VPC")
@@ -1465,6 +2384,77 @@ module Aws::SecurityAgent
1465
2384
  SENSITIVE: []
1466
2385
  end
1467
2386
 
2387
+ class UpdateThreatInput
2388
+ attr_accessor threat_id: ::String
2389
+ attr_accessor agent_space_id: ::String
2390
+ attr_accessor title: ::String
2391
+ attr_accessor status: ("OPEN" | "RESOLVED" | "DISMISSED")
2392
+ attr_accessor comments: ::String
2393
+ attr_accessor statement: ::String
2394
+ attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO")
2395
+ attr_accessor threat_source: ::String
2396
+ attr_accessor prerequisites: ::String
2397
+ attr_accessor threat_action: ::String
2398
+ attr_accessor threat_impact: ::String
2399
+ attr_accessor impacted_goal: ::Array[::String]
2400
+ attr_accessor impacted_assets: ::Array[::String]
2401
+ attr_accessor anchor: Types::ThreatAnchorShape
2402
+ attr_accessor evidence: ::Array[Types::ThreatEvidenceShape]
2403
+ attr_accessor recommendation: ::String
2404
+ SENSITIVE: []
2405
+ end
2406
+
2407
+ class UpdateThreatModelInput
2408
+ attr_accessor threat_model_id: ::String
2409
+ attr_accessor agent_space_id: ::String
2410
+ attr_accessor title: ::String
2411
+ attr_accessor description: ::String
2412
+ attr_accessor assets: Types::Assets
2413
+ attr_accessor scope_docs: ::Array[Types::DocumentInfo]
2414
+ attr_accessor service_role: ::String
2415
+ attr_accessor log_config: Types::CloudWatchLog
2416
+ SENSITIVE: []
2417
+ end
2418
+
2419
+ class UpdateThreatModelOutput
2420
+ attr_accessor threat_model_id: ::String
2421
+ attr_accessor title: ::String
2422
+ attr_accessor agent_space_id: ::String
2423
+ attr_accessor description: ::String
2424
+ attr_accessor assets: Types::Assets
2425
+ attr_accessor scope_docs: ::Array[Types::DocumentInfo]
2426
+ attr_accessor service_role: ::String
2427
+ attr_accessor log_config: Types::CloudWatchLog
2428
+ attr_accessor created_at: ::Time
2429
+ attr_accessor updated_at: ::Time
2430
+ SENSITIVE: []
2431
+ end
2432
+
2433
+ class UpdateThreatOutput
2434
+ attr_accessor threat_id: ::String
2435
+ attr_accessor threat_job_id: ::String
2436
+ attr_accessor title: ::String
2437
+ attr_accessor statement: ::String
2438
+ attr_accessor severity: ("CRITICAL" | "HIGH" | "MEDIUM" | "LOW" | "INFO")
2439
+ attr_accessor status: ("OPEN" | "RESOLVED" | "DISMISSED")
2440
+ attr_accessor comments: ::String
2441
+ attr_accessor stride: ::Array[("SPOOFING" | "TAMPERING" | "REPUDIATION" | "INFORMATION_DISCLOSURE" | "DENIAL_OF_SERVICE" | "ELEVATION_OF_PRIVILEGE")]
2442
+ attr_accessor threat_source: ::String
2443
+ attr_accessor prerequisites: ::String
2444
+ attr_accessor threat_action: ::String
2445
+ attr_accessor threat_impact: ::String
2446
+ attr_accessor impacted_goal: ::Array[::String]
2447
+ attr_accessor impacted_assets: ::Array[::String]
2448
+ attr_accessor anchor: Types::ThreatAnchorShape
2449
+ attr_accessor evidence: ::Array[Types::ThreatEvidenceShape]
2450
+ attr_accessor recommendation: ::String
2451
+ attr_accessor created_by: ("CUSTOMER" | "AGENT")
2452
+ attr_accessor updated_by: ("CUSTOMER" | "AGENT")
2453
+ attr_accessor created_at: ::Time
2454
+ attr_accessor updated_at: ::Time
2455
+ SENSITIVE: []
2456
+ end
2457
+
1468
2458
  class UserConfig
1469
2459
  attr_accessor role: ("MEMBER")
1470
2460
  SENSITIVE: []