aws-sdk-securityagent 1.1.0 → 1.2.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-securityagent/client.rb +731 -5
- data/lib/aws-sdk-securityagent/client_api.rb +376 -2
- data/lib/aws-sdk-securityagent/types.rb +1118 -65
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/client.rbs +243 -2
- data/sig/types.rbs +266 -0
- metadata +3 -3
|
@@ -387,6 +387,47 @@ module Aws::SecurityAgent
|
|
|
387
387
|
include Aws::Structure
|
|
388
388
|
end
|
|
389
389
|
|
|
390
|
+
# Input for deleting multiple code reviews.
|
|
391
|
+
#
|
|
392
|
+
# @!attribute [rw] code_review_ids
|
|
393
|
+
# The list of code review identifiers to delete.
|
|
394
|
+
# @return [Array<String>]
|
|
395
|
+
#
|
|
396
|
+
# @!attribute [rw] agent_space_id
|
|
397
|
+
# The unique identifier of the agent space that contains the code
|
|
398
|
+
# reviews to delete.
|
|
399
|
+
# @return [String]
|
|
400
|
+
#
|
|
401
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDeleteCodeReviewsInput AWS API Documentation
|
|
402
|
+
#
|
|
403
|
+
class BatchDeleteCodeReviewsInput < Struct.new(
|
|
404
|
+
:code_review_ids,
|
|
405
|
+
:agent_space_id)
|
|
406
|
+
SENSITIVE = []
|
|
407
|
+
include Aws::Structure
|
|
408
|
+
end
|
|
409
|
+
|
|
410
|
+
# Output for the BatchDeleteCodeReviews operation.
|
|
411
|
+
#
|
|
412
|
+
# @!attribute [rw] deleted
|
|
413
|
+
# The list of identifiers of the code reviews that were successfully
|
|
414
|
+
# deleted.
|
|
415
|
+
# @return [Array<String>]
|
|
416
|
+
#
|
|
417
|
+
# @!attribute [rw] failed
|
|
418
|
+
# The list of code reviews that failed to delete, including the reason
|
|
419
|
+
# for each failure.
|
|
420
|
+
# @return [Array<Types::DeleteCodeReviewFailure>]
|
|
421
|
+
#
|
|
422
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchDeleteCodeReviewsOutput AWS API Documentation
|
|
423
|
+
#
|
|
424
|
+
class BatchDeleteCodeReviewsOutput < Struct.new(
|
|
425
|
+
:deleted,
|
|
426
|
+
:failed)
|
|
427
|
+
SENSITIVE = []
|
|
428
|
+
include Aws::Structure
|
|
429
|
+
end
|
|
430
|
+
|
|
390
431
|
# Input for deleting multiple pentests.
|
|
391
432
|
#
|
|
392
433
|
# @!attribute [rw] pentest_ids
|
|
@@ -490,6 +531,122 @@ module Aws::SecurityAgent
|
|
|
490
531
|
include Aws::Structure
|
|
491
532
|
end
|
|
492
533
|
|
|
534
|
+
# Input for retrieving multiple tasks associated with a code review job.
|
|
535
|
+
#
|
|
536
|
+
# @!attribute [rw] agent_space_id
|
|
537
|
+
# The unique identifier of the agent space that contains the tasks.
|
|
538
|
+
# @return [String]
|
|
539
|
+
#
|
|
540
|
+
# @!attribute [rw] code_review_job_task_ids
|
|
541
|
+
# The list of task identifiers to retrieve.
|
|
542
|
+
# @return [Array<String>]
|
|
543
|
+
#
|
|
544
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetCodeReviewJobTasksInput AWS API Documentation
|
|
545
|
+
#
|
|
546
|
+
class BatchGetCodeReviewJobTasksInput < Struct.new(
|
|
547
|
+
:agent_space_id,
|
|
548
|
+
:code_review_job_task_ids)
|
|
549
|
+
SENSITIVE = []
|
|
550
|
+
include Aws::Structure
|
|
551
|
+
end
|
|
552
|
+
|
|
553
|
+
# Output for the BatchGetCodeReviewJobTasks operation.
|
|
554
|
+
#
|
|
555
|
+
# @!attribute [rw] code_review_job_tasks
|
|
556
|
+
# The list of code review job tasks that were found.
|
|
557
|
+
# @return [Array<Types::CodeReviewJobTask>]
|
|
558
|
+
#
|
|
559
|
+
# @!attribute [rw] not_found
|
|
560
|
+
# The list of task identifiers that were not found.
|
|
561
|
+
# @return [Array<String>]
|
|
562
|
+
#
|
|
563
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetCodeReviewJobTasksOutput AWS API Documentation
|
|
564
|
+
#
|
|
565
|
+
class BatchGetCodeReviewJobTasksOutput < Struct.new(
|
|
566
|
+
:code_review_job_tasks,
|
|
567
|
+
:not_found)
|
|
568
|
+
SENSITIVE = []
|
|
569
|
+
include Aws::Structure
|
|
570
|
+
end
|
|
571
|
+
|
|
572
|
+
# Input for BatchGetCodeReviewJobs operation.
|
|
573
|
+
#
|
|
574
|
+
# @!attribute [rw] code_review_job_ids
|
|
575
|
+
# The list of code review job identifiers to retrieve.
|
|
576
|
+
# @return [Array<String>]
|
|
577
|
+
#
|
|
578
|
+
# @!attribute [rw] agent_space_id
|
|
579
|
+
# The unique identifier of the agent space that contains the code
|
|
580
|
+
# review jobs.
|
|
581
|
+
# @return [String]
|
|
582
|
+
#
|
|
583
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetCodeReviewJobsInput AWS API Documentation
|
|
584
|
+
#
|
|
585
|
+
class BatchGetCodeReviewJobsInput < Struct.new(
|
|
586
|
+
:code_review_job_ids,
|
|
587
|
+
:agent_space_id)
|
|
588
|
+
SENSITIVE = []
|
|
589
|
+
include Aws::Structure
|
|
590
|
+
end
|
|
591
|
+
|
|
592
|
+
# Output for the BatchGetCodeReviewJobs operation.
|
|
593
|
+
#
|
|
594
|
+
# @!attribute [rw] code_review_jobs
|
|
595
|
+
# The list of code review jobs that were found.
|
|
596
|
+
# @return [Array<Types::CodeReviewJob>]
|
|
597
|
+
#
|
|
598
|
+
# @!attribute [rw] not_found
|
|
599
|
+
# The list of code review job identifiers that were not found.
|
|
600
|
+
# @return [Array<String>]
|
|
601
|
+
#
|
|
602
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetCodeReviewJobsOutput AWS API Documentation
|
|
603
|
+
#
|
|
604
|
+
class BatchGetCodeReviewJobsOutput < Struct.new(
|
|
605
|
+
:code_review_jobs,
|
|
606
|
+
:not_found)
|
|
607
|
+
SENSITIVE = []
|
|
608
|
+
include Aws::Structure
|
|
609
|
+
end
|
|
610
|
+
|
|
611
|
+
# Input for retrieving multiple code reviews by their IDs.
|
|
612
|
+
#
|
|
613
|
+
# @!attribute [rw] code_review_ids
|
|
614
|
+
# The list of code review identifiers to retrieve.
|
|
615
|
+
# @return [Array<String>]
|
|
616
|
+
#
|
|
617
|
+
# @!attribute [rw] agent_space_id
|
|
618
|
+
# The unique identifier of the agent space that contains the code
|
|
619
|
+
# reviews.
|
|
620
|
+
# @return [String]
|
|
621
|
+
#
|
|
622
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetCodeReviewsInput AWS API Documentation
|
|
623
|
+
#
|
|
624
|
+
class BatchGetCodeReviewsInput < Struct.new(
|
|
625
|
+
:code_review_ids,
|
|
626
|
+
:agent_space_id)
|
|
627
|
+
SENSITIVE = []
|
|
628
|
+
include Aws::Structure
|
|
629
|
+
end
|
|
630
|
+
|
|
631
|
+
# Output for the BatchGetCodeReviews operation.
|
|
632
|
+
#
|
|
633
|
+
# @!attribute [rw] code_reviews
|
|
634
|
+
# The list of code reviews that were found.
|
|
635
|
+
# @return [Array<Types::CodeReview>]
|
|
636
|
+
#
|
|
637
|
+
# @!attribute [rw] not_found
|
|
638
|
+
# The list of code review identifiers that were not found.
|
|
639
|
+
# @return [Array<String>]
|
|
640
|
+
#
|
|
641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/BatchGetCodeReviewsOutput AWS API Documentation
|
|
642
|
+
#
|
|
643
|
+
class BatchGetCodeReviewsOutput < Struct.new(
|
|
644
|
+
:code_reviews,
|
|
645
|
+
:not_found)
|
|
646
|
+
SENSITIVE = []
|
|
647
|
+
include Aws::Structure
|
|
648
|
+
end
|
|
649
|
+
|
|
493
650
|
# Input for BatchGetFindings operation.
|
|
494
651
|
#
|
|
495
652
|
# @!attribute [rw] finding_ids
|
|
@@ -714,6 +871,37 @@ module Aws::SecurityAgent
|
|
|
714
871
|
include Aws::Structure
|
|
715
872
|
end
|
|
716
873
|
|
|
874
|
+
# Represents a location in source code associated with a security
|
|
875
|
+
# finding.
|
|
876
|
+
#
|
|
877
|
+
# @!attribute [rw] file_path
|
|
878
|
+
# The absolute path to the file containing the code location.
|
|
879
|
+
# @return [String]
|
|
880
|
+
#
|
|
881
|
+
# @!attribute [rw] line_start
|
|
882
|
+
# The starting line number of the code location.
|
|
883
|
+
# @return [Integer]
|
|
884
|
+
#
|
|
885
|
+
# @!attribute [rw] line_end
|
|
886
|
+
# The ending line number of the code location.
|
|
887
|
+
# @return [Integer]
|
|
888
|
+
#
|
|
889
|
+
# @!attribute [rw] label
|
|
890
|
+
# The role of this location in the vulnerability, such as source or
|
|
891
|
+
# sink.
|
|
892
|
+
# @return [String]
|
|
893
|
+
#
|
|
894
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeLocation AWS API Documentation
|
|
895
|
+
#
|
|
896
|
+
class CodeLocation < Struct.new(
|
|
897
|
+
:file_path,
|
|
898
|
+
:line_start,
|
|
899
|
+
:line_end,
|
|
900
|
+
:label)
|
|
901
|
+
SENSITIVE = []
|
|
902
|
+
include Aws::Structure
|
|
903
|
+
end
|
|
904
|
+
|
|
717
905
|
# Represents a code remediation task that was initiated to fix a
|
|
718
906
|
# security finding.
|
|
719
907
|
#
|
|
@@ -721,46 +909,361 @@ module Aws::SecurityAgent
|
|
|
721
909
|
# The current status of the code remediation task.
|
|
722
910
|
# @return [String]
|
|
723
911
|
#
|
|
724
|
-
# @!attribute [rw] status_reason
|
|
725
|
-
# The reason for the current status of the code remediation task.
|
|
912
|
+
# @!attribute [rw] status_reason
|
|
913
|
+
# The reason for the current status of the code remediation task.
|
|
914
|
+
# @return [String]
|
|
915
|
+
#
|
|
916
|
+
# @!attribute [rw] task_details
|
|
917
|
+
# The list of details for the code remediation task, including
|
|
918
|
+
# repository name, code diff link, and pull request link.
|
|
919
|
+
# @return [Array<Types::CodeRemediationTaskDetails>]
|
|
920
|
+
#
|
|
921
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTask AWS API Documentation
|
|
922
|
+
#
|
|
923
|
+
class CodeRemediationTask < Struct.new(
|
|
924
|
+
:status,
|
|
925
|
+
:status_reason,
|
|
926
|
+
:task_details)
|
|
927
|
+
SENSITIVE = []
|
|
928
|
+
include Aws::Structure
|
|
929
|
+
end
|
|
930
|
+
|
|
931
|
+
# Contains details about a code remediation task, including links to the
|
|
932
|
+
# code diff and pull request.
|
|
933
|
+
#
|
|
934
|
+
# @!attribute [rw] repo_name
|
|
935
|
+
# The name of the repository where the remediation was applied.
|
|
936
|
+
# @return [String]
|
|
937
|
+
#
|
|
938
|
+
# @!attribute [rw] code_diff_link
|
|
939
|
+
# The link to the code diff for the remediation.
|
|
940
|
+
# @return [String]
|
|
941
|
+
#
|
|
942
|
+
# @!attribute [rw] pull_request_link
|
|
943
|
+
# The link to the pull request created for the remediation.
|
|
944
|
+
# @return [String]
|
|
945
|
+
#
|
|
946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTaskDetails AWS API Documentation
|
|
947
|
+
#
|
|
948
|
+
class CodeRemediationTaskDetails < Struct.new(
|
|
949
|
+
:repo_name,
|
|
950
|
+
:code_diff_link,
|
|
951
|
+
:pull_request_link)
|
|
952
|
+
SENSITIVE = []
|
|
953
|
+
include Aws::Structure
|
|
954
|
+
end
|
|
955
|
+
|
|
956
|
+
# Represents a code review configuration that defines the parameters for
|
|
957
|
+
# automated security-focused code analysis, including target assets and
|
|
958
|
+
# logging configuration.
|
|
959
|
+
#
|
|
960
|
+
# @!attribute [rw] code_review_id
|
|
961
|
+
# The unique identifier of the code review.
|
|
962
|
+
# @return [String]
|
|
963
|
+
#
|
|
964
|
+
# @!attribute [rw] agent_space_id
|
|
965
|
+
# The unique identifier of the agent space that contains the code
|
|
966
|
+
# review.
|
|
967
|
+
# @return [String]
|
|
968
|
+
#
|
|
969
|
+
# @!attribute [rw] title
|
|
970
|
+
# The title of the code review.
|
|
971
|
+
# @return [String]
|
|
972
|
+
#
|
|
973
|
+
# @!attribute [rw] assets
|
|
974
|
+
# The assets included in the code review.
|
|
975
|
+
# @return [Types::Assets]
|
|
976
|
+
#
|
|
977
|
+
# @!attribute [rw] service_role
|
|
978
|
+
# The IAM service role used for the code review.
|
|
979
|
+
# @return [String]
|
|
980
|
+
#
|
|
981
|
+
# @!attribute [rw] log_config
|
|
982
|
+
# The CloudWatch Logs configuration for the code review.
|
|
983
|
+
# @return [Types::CloudWatchLog]
|
|
984
|
+
#
|
|
985
|
+
# @!attribute [rw] code_remediation_strategy
|
|
986
|
+
# The code remediation strategy for the code review.
|
|
987
|
+
# @return [String]
|
|
988
|
+
#
|
|
989
|
+
# @!attribute [rw] created_at
|
|
990
|
+
# The date and time the code review was created, in UTC format.
|
|
991
|
+
# @return [Time]
|
|
992
|
+
#
|
|
993
|
+
# @!attribute [rw] updated_at
|
|
994
|
+
# The date and time the code review was last updated, in UTC format.
|
|
995
|
+
# @return [Time]
|
|
996
|
+
#
|
|
997
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeReview AWS API Documentation
|
|
998
|
+
#
|
|
999
|
+
class CodeReview < Struct.new(
|
|
1000
|
+
:code_review_id,
|
|
1001
|
+
:agent_space_id,
|
|
1002
|
+
:title,
|
|
1003
|
+
:assets,
|
|
1004
|
+
:service_role,
|
|
1005
|
+
:log_config,
|
|
1006
|
+
:code_remediation_strategy,
|
|
1007
|
+
:created_at,
|
|
1008
|
+
:updated_at)
|
|
1009
|
+
SENSITIVE = []
|
|
1010
|
+
include Aws::Structure
|
|
1011
|
+
end
|
|
1012
|
+
|
|
1013
|
+
# Represents a code review job, which is an execution instance of a code
|
|
1014
|
+
# review. A code review job progresses through preflight, static
|
|
1015
|
+
# analysis, and finalizing steps.
|
|
1016
|
+
#
|
|
1017
|
+
# @!attribute [rw] code_review_job_id
|
|
1018
|
+
# The unique identifier of the code review job.
|
|
1019
|
+
# @return [String]
|
|
1020
|
+
#
|
|
1021
|
+
# @!attribute [rw] code_review_id
|
|
1022
|
+
# The unique identifier of the code review associated with the job.
|
|
1023
|
+
# @return [String]
|
|
1024
|
+
#
|
|
1025
|
+
# @!attribute [rw] title
|
|
1026
|
+
# The title of the code review job.
|
|
1027
|
+
# @return [String]
|
|
1028
|
+
#
|
|
1029
|
+
# @!attribute [rw] overview
|
|
1030
|
+
# An overview of the code review job results.
|
|
1031
|
+
# @return [String]
|
|
1032
|
+
#
|
|
1033
|
+
# @!attribute [rw] status
|
|
1034
|
+
# The current status of the code review job.
|
|
1035
|
+
# @return [String]
|
|
1036
|
+
#
|
|
1037
|
+
# @!attribute [rw] documents
|
|
1038
|
+
# The list of documents providing context for the code review job.
|
|
1039
|
+
# @return [Array<Types::DocumentInfo>]
|
|
1040
|
+
#
|
|
1041
|
+
# @!attribute [rw] source_code
|
|
1042
|
+
# The list of source code repositories analyzed during the code review
|
|
1043
|
+
# job.
|
|
1044
|
+
# @return [Array<Types::SourceCodeRepository>]
|
|
1045
|
+
#
|
|
1046
|
+
# @!attribute [rw] steps
|
|
1047
|
+
# The list of steps in the code review job execution.
|
|
1048
|
+
# @return [Array<Types::Step>]
|
|
1049
|
+
#
|
|
1050
|
+
# @!attribute [rw] execution_context
|
|
1051
|
+
# The execution context messages for the code review job.
|
|
1052
|
+
# @return [Array<Types::ExecutionContext>]
|
|
1053
|
+
#
|
|
1054
|
+
# @!attribute [rw] service_role
|
|
1055
|
+
# The IAM service role used for the code review job.
|
|
1056
|
+
# @return [String]
|
|
1057
|
+
#
|
|
1058
|
+
# @!attribute [rw] log_config
|
|
1059
|
+
# The CloudWatch Logs configuration for the code review job.
|
|
1060
|
+
# @return [Types::CloudWatchLog]
|
|
1061
|
+
#
|
|
1062
|
+
# @!attribute [rw] error_information
|
|
1063
|
+
# Error information if the code review job encountered an error.
|
|
1064
|
+
# @return [Types::ErrorInformation]
|
|
1065
|
+
#
|
|
1066
|
+
# @!attribute [rw] integrated_repositories
|
|
1067
|
+
# The list of integrated repositories associated with the code review
|
|
1068
|
+
# job.
|
|
1069
|
+
# @return [Array<Types::IntegratedRepository>]
|
|
1070
|
+
#
|
|
1071
|
+
# @!attribute [rw] code_remediation_strategy
|
|
1072
|
+
# The code remediation strategy for the code review job.
|
|
1073
|
+
# @return [String]
|
|
1074
|
+
#
|
|
1075
|
+
# @!attribute [rw] created_at
|
|
1076
|
+
# The date and time the code review job was created, in UTC format.
|
|
1077
|
+
# @return [Time]
|
|
1078
|
+
#
|
|
1079
|
+
# @!attribute [rw] updated_at
|
|
1080
|
+
# The date and time the code review job was last updated, in UTC
|
|
1081
|
+
# format.
|
|
1082
|
+
# @return [Time]
|
|
1083
|
+
#
|
|
1084
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeReviewJob AWS API Documentation
|
|
1085
|
+
#
|
|
1086
|
+
class CodeReviewJob < Struct.new(
|
|
1087
|
+
:code_review_job_id,
|
|
1088
|
+
:code_review_id,
|
|
1089
|
+
:title,
|
|
1090
|
+
:overview,
|
|
1091
|
+
:status,
|
|
1092
|
+
:documents,
|
|
1093
|
+
:source_code,
|
|
1094
|
+
:steps,
|
|
1095
|
+
:execution_context,
|
|
1096
|
+
:service_role,
|
|
1097
|
+
:log_config,
|
|
1098
|
+
:error_information,
|
|
1099
|
+
:integrated_repositories,
|
|
1100
|
+
:code_remediation_strategy,
|
|
1101
|
+
:created_at,
|
|
1102
|
+
:updated_at)
|
|
1103
|
+
SENSITIVE = []
|
|
1104
|
+
include Aws::Structure
|
|
1105
|
+
end
|
|
1106
|
+
|
|
1107
|
+
# Contains summary information about a code review job.
|
|
1108
|
+
#
|
|
1109
|
+
# @!attribute [rw] code_review_job_id
|
|
1110
|
+
# The unique identifier of the code review job.
|
|
1111
|
+
# @return [String]
|
|
1112
|
+
#
|
|
1113
|
+
# @!attribute [rw] code_review_id
|
|
1114
|
+
# The unique identifier of the code review associated with the job.
|
|
1115
|
+
# @return [String]
|
|
1116
|
+
#
|
|
1117
|
+
# @!attribute [rw] title
|
|
1118
|
+
# The title of the code review job.
|
|
1119
|
+
# @return [String]
|
|
1120
|
+
#
|
|
1121
|
+
# @!attribute [rw] status
|
|
1122
|
+
# The current status of the code review job.
|
|
1123
|
+
# @return [String]
|
|
1124
|
+
#
|
|
1125
|
+
# @!attribute [rw] created_at
|
|
1126
|
+
# The date and time the code review job was created, in UTC format.
|
|
1127
|
+
# @return [Time]
|
|
1128
|
+
#
|
|
1129
|
+
# @!attribute [rw] updated_at
|
|
1130
|
+
# The date and time the code review job was last updated, in UTC
|
|
1131
|
+
# format.
|
|
1132
|
+
# @return [Time]
|
|
1133
|
+
#
|
|
1134
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeReviewJobSummary AWS API Documentation
|
|
1135
|
+
#
|
|
1136
|
+
class CodeReviewJobSummary < Struct.new(
|
|
1137
|
+
:code_review_job_id,
|
|
1138
|
+
:code_review_id,
|
|
1139
|
+
:title,
|
|
1140
|
+
:status,
|
|
1141
|
+
:created_at,
|
|
1142
|
+
:updated_at)
|
|
1143
|
+
SENSITIVE = []
|
|
1144
|
+
include Aws::Structure
|
|
1145
|
+
end
|
|
1146
|
+
|
|
1147
|
+
# Represents an individual security test task within a code review job.
|
|
1148
|
+
# Each task targets a specific risk type and executes independently.
|
|
1149
|
+
#
|
|
1150
|
+
# @!attribute [rw] task_id
|
|
1151
|
+
# The unique identifier of the task.
|
|
1152
|
+
# @return [String]
|
|
1153
|
+
#
|
|
1154
|
+
# @!attribute [rw] code_review_id
|
|
1155
|
+
# The unique identifier of the code review associated with the task.
|
|
1156
|
+
# @return [String]
|
|
1157
|
+
#
|
|
1158
|
+
# @!attribute [rw] code_review_job_id
|
|
1159
|
+
# The unique identifier of the code review job that contains the task.
|
|
1160
|
+
# @return [String]
|
|
1161
|
+
#
|
|
1162
|
+
# @!attribute [rw] agent_space_id
|
|
1163
|
+
# The unique identifier of the agent space.
|
|
1164
|
+
# @return [String]
|
|
1165
|
+
#
|
|
1166
|
+
# @!attribute [rw] title
|
|
1167
|
+
# The title of the task.
|
|
1168
|
+
# @return [String]
|
|
1169
|
+
#
|
|
1170
|
+
# @!attribute [rw] description
|
|
1171
|
+
# A description of the task.
|
|
1172
|
+
# @return [String]
|
|
1173
|
+
#
|
|
1174
|
+
# @!attribute [rw] categories
|
|
1175
|
+
# The list of categories assigned to the task.
|
|
1176
|
+
# @return [Array<Types::Category>]
|
|
1177
|
+
#
|
|
1178
|
+
# @!attribute [rw] risk_type
|
|
1179
|
+
# The type of security risk the task is testing for.
|
|
1180
|
+
# @return [String]
|
|
1181
|
+
#
|
|
1182
|
+
# @!attribute [rw] execution_status
|
|
1183
|
+
# The current execution status of the task.
|
|
1184
|
+
# @return [String]
|
|
1185
|
+
#
|
|
1186
|
+
# @!attribute [rw] logs_location
|
|
1187
|
+
# The location of the task execution logs.
|
|
1188
|
+
# @return [Types::LogLocation]
|
|
1189
|
+
#
|
|
1190
|
+
# @!attribute [rw] created_at
|
|
1191
|
+
# The date and time the task was created, in UTC format.
|
|
1192
|
+
# @return [Time]
|
|
1193
|
+
#
|
|
1194
|
+
# @!attribute [rw] updated_at
|
|
1195
|
+
# The date and time the task was last updated, in UTC format.
|
|
1196
|
+
# @return [Time]
|
|
1197
|
+
#
|
|
1198
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeReviewJobTask AWS API Documentation
|
|
1199
|
+
#
|
|
1200
|
+
class CodeReviewJobTask < Struct.new(
|
|
1201
|
+
:task_id,
|
|
1202
|
+
:code_review_id,
|
|
1203
|
+
:code_review_job_id,
|
|
1204
|
+
:agent_space_id,
|
|
1205
|
+
:title,
|
|
1206
|
+
:description,
|
|
1207
|
+
:categories,
|
|
1208
|
+
:risk_type,
|
|
1209
|
+
:execution_status,
|
|
1210
|
+
:logs_location,
|
|
1211
|
+
:created_at,
|
|
1212
|
+
:updated_at)
|
|
1213
|
+
SENSITIVE = []
|
|
1214
|
+
include Aws::Structure
|
|
1215
|
+
end
|
|
1216
|
+
|
|
1217
|
+
# Contains summary information about a code review job task.
|
|
1218
|
+
#
|
|
1219
|
+
# @!attribute [rw] task_id
|
|
1220
|
+
# The unique identifier of the task.
|
|
1221
|
+
# @return [String]
|
|
1222
|
+
#
|
|
1223
|
+
# @!attribute [rw] code_review_id
|
|
1224
|
+
# The unique identifier of the code review associated with the task.
|
|
726
1225
|
# @return [String]
|
|
727
1226
|
#
|
|
728
|
-
# @!attribute [rw]
|
|
729
|
-
# The
|
|
730
|
-
#
|
|
731
|
-
# @return [Array<Types::CodeRemediationTaskDetails>]
|
|
732
|
-
#
|
|
733
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTask AWS API Documentation
|
|
1227
|
+
# @!attribute [rw] code_review_job_id
|
|
1228
|
+
# The unique identifier of the code review job that contains the task.
|
|
1229
|
+
# @return [String]
|
|
734
1230
|
#
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
:task_details)
|
|
739
|
-
SENSITIVE = []
|
|
740
|
-
include Aws::Structure
|
|
741
|
-
end
|
|
742
|
-
|
|
743
|
-
# Contains details about a code remediation task, including links to the
|
|
744
|
-
# code diff and pull request.
|
|
1231
|
+
# @!attribute [rw] agent_space_id
|
|
1232
|
+
# The unique identifier of the agent space.
|
|
1233
|
+
# @return [String]
|
|
745
1234
|
#
|
|
746
|
-
# @!attribute [rw]
|
|
747
|
-
# The
|
|
1235
|
+
# @!attribute [rw] title
|
|
1236
|
+
# The title of the task.
|
|
748
1237
|
# @return [String]
|
|
749
1238
|
#
|
|
750
|
-
# @!attribute [rw]
|
|
751
|
-
# The
|
|
1239
|
+
# @!attribute [rw] risk_type
|
|
1240
|
+
# The type of security risk the task is testing for.
|
|
752
1241
|
# @return [String]
|
|
753
1242
|
#
|
|
754
|
-
# @!attribute [rw]
|
|
755
|
-
# The
|
|
1243
|
+
# @!attribute [rw] execution_status
|
|
1244
|
+
# The current execution status of the task.
|
|
756
1245
|
# @return [String]
|
|
757
1246
|
#
|
|
758
|
-
#
|
|
1247
|
+
# @!attribute [rw] created_at
|
|
1248
|
+
# The date and time the task was created, in UTC format.
|
|
1249
|
+
# @return [Time]
|
|
759
1250
|
#
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
1251
|
+
# @!attribute [rw] updated_at
|
|
1252
|
+
# The date and time the task was last updated, in UTC format.
|
|
1253
|
+
# @return [Time]
|
|
1254
|
+
#
|
|
1255
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeReviewJobTaskSummary AWS API Documentation
|
|
1256
|
+
#
|
|
1257
|
+
class CodeReviewJobTaskSummary < Struct.new(
|
|
1258
|
+
:task_id,
|
|
1259
|
+
:code_review_id,
|
|
1260
|
+
:code_review_job_id,
|
|
1261
|
+
:agent_space_id,
|
|
1262
|
+
:title,
|
|
1263
|
+
:risk_type,
|
|
1264
|
+
:execution_status,
|
|
1265
|
+
:created_at,
|
|
1266
|
+
:updated_at)
|
|
764
1267
|
SENSITIVE = []
|
|
765
1268
|
include Aws::Structure
|
|
766
1269
|
end
|
|
@@ -786,6 +1289,41 @@ module Aws::SecurityAgent
|
|
|
786
1289
|
include Aws::Structure
|
|
787
1290
|
end
|
|
788
1291
|
|
|
1292
|
+
# Contains summary information about a code review.
|
|
1293
|
+
#
|
|
1294
|
+
# @!attribute [rw] code_review_id
|
|
1295
|
+
# The unique identifier of the code review.
|
|
1296
|
+
# @return [String]
|
|
1297
|
+
#
|
|
1298
|
+
# @!attribute [rw] agent_space_id
|
|
1299
|
+
# The unique identifier of the agent space that contains the code
|
|
1300
|
+
# review.
|
|
1301
|
+
# @return [String]
|
|
1302
|
+
#
|
|
1303
|
+
# @!attribute [rw] title
|
|
1304
|
+
# The title of the code review.
|
|
1305
|
+
# @return [String]
|
|
1306
|
+
#
|
|
1307
|
+
# @!attribute [rw] created_at
|
|
1308
|
+
# The date and time the code review was created, in UTC format.
|
|
1309
|
+
# @return [Time]
|
|
1310
|
+
#
|
|
1311
|
+
# @!attribute [rw] updated_at
|
|
1312
|
+
# The date and time the code review was last updated, in UTC format.
|
|
1313
|
+
# @return [Time]
|
|
1314
|
+
#
|
|
1315
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeReviewSummary AWS API Documentation
|
|
1316
|
+
#
|
|
1317
|
+
class CodeReviewSummary < Struct.new(
|
|
1318
|
+
:code_review_id,
|
|
1319
|
+
:agent_space_id,
|
|
1320
|
+
:title,
|
|
1321
|
+
:created_at,
|
|
1322
|
+
:updated_at)
|
|
1323
|
+
SENSITIVE = []
|
|
1324
|
+
include Aws::Structure
|
|
1325
|
+
end
|
|
1326
|
+
|
|
789
1327
|
# The request could not be completed due to a conflict with the current
|
|
790
1328
|
# state of the resource.
|
|
791
1329
|
#
|
|
@@ -945,6 +1483,103 @@ module Aws::SecurityAgent
|
|
|
945
1483
|
include Aws::Structure
|
|
946
1484
|
end
|
|
947
1485
|
|
|
1486
|
+
# Input for creating a new code review.
|
|
1487
|
+
#
|
|
1488
|
+
# @!attribute [rw] title
|
|
1489
|
+
# The title of the code review.
|
|
1490
|
+
# @return [String]
|
|
1491
|
+
#
|
|
1492
|
+
# @!attribute [rw] agent_space_id
|
|
1493
|
+
# The unique identifier of the agent space to create the code review
|
|
1494
|
+
# in.
|
|
1495
|
+
# @return [String]
|
|
1496
|
+
#
|
|
1497
|
+
# @!attribute [rw] assets
|
|
1498
|
+
# The assets to include in the code review, such as documents and
|
|
1499
|
+
# source code.
|
|
1500
|
+
# @return [Types::Assets]
|
|
1501
|
+
#
|
|
1502
|
+
# @!attribute [rw] service_role
|
|
1503
|
+
# The IAM service role to use for the code review.
|
|
1504
|
+
# @return [String]
|
|
1505
|
+
#
|
|
1506
|
+
# @!attribute [rw] log_config
|
|
1507
|
+
# The CloudWatch Logs configuration for the code review.
|
|
1508
|
+
# @return [Types::CloudWatchLog]
|
|
1509
|
+
#
|
|
1510
|
+
# @!attribute [rw] code_remediation_strategy
|
|
1511
|
+
# The code remediation strategy for the code review. Valid values are
|
|
1512
|
+
# AUTOMATIC and DISABLED.
|
|
1513
|
+
# @return [String]
|
|
1514
|
+
#
|
|
1515
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateCodeReviewInput AWS API Documentation
|
|
1516
|
+
#
|
|
1517
|
+
class CreateCodeReviewInput < Struct.new(
|
|
1518
|
+
:title,
|
|
1519
|
+
:agent_space_id,
|
|
1520
|
+
:assets,
|
|
1521
|
+
:service_role,
|
|
1522
|
+
:log_config,
|
|
1523
|
+
:code_remediation_strategy)
|
|
1524
|
+
SENSITIVE = []
|
|
1525
|
+
include Aws::Structure
|
|
1526
|
+
end
|
|
1527
|
+
|
|
1528
|
+
# Output for the CreateCodeReview operation.
|
|
1529
|
+
#
|
|
1530
|
+
# @!attribute [rw] code_review_id
|
|
1531
|
+
# The unique identifier of the created code review.
|
|
1532
|
+
# @return [String]
|
|
1533
|
+
#
|
|
1534
|
+
# @!attribute [rw] title
|
|
1535
|
+
# The title of the code review.
|
|
1536
|
+
# @return [String]
|
|
1537
|
+
#
|
|
1538
|
+
# @!attribute [rw] created_at
|
|
1539
|
+
# The date and time the code review was created, in UTC format.
|
|
1540
|
+
# @return [Time]
|
|
1541
|
+
#
|
|
1542
|
+
# @!attribute [rw] updated_at
|
|
1543
|
+
# The date and time the code review was last updated, in UTC format.
|
|
1544
|
+
# @return [Time]
|
|
1545
|
+
#
|
|
1546
|
+
# @!attribute [rw] assets
|
|
1547
|
+
# The assets included in the code review.
|
|
1548
|
+
# @return [Types::Assets]
|
|
1549
|
+
#
|
|
1550
|
+
# @!attribute [rw] service_role
|
|
1551
|
+
# The IAM service role used for the code review.
|
|
1552
|
+
# @return [String]
|
|
1553
|
+
#
|
|
1554
|
+
# @!attribute [rw] log_config
|
|
1555
|
+
# The CloudWatch Logs configuration for the code review.
|
|
1556
|
+
# @return [Types::CloudWatchLog]
|
|
1557
|
+
#
|
|
1558
|
+
# @!attribute [rw] agent_space_id
|
|
1559
|
+
# The unique identifier of the agent space that contains the code
|
|
1560
|
+
# review.
|
|
1561
|
+
# @return [String]
|
|
1562
|
+
#
|
|
1563
|
+
# @!attribute [rw] code_remediation_strategy
|
|
1564
|
+
# The code remediation strategy for the code review.
|
|
1565
|
+
# @return [String]
|
|
1566
|
+
#
|
|
1567
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CreateCodeReviewOutput AWS API Documentation
|
|
1568
|
+
#
|
|
1569
|
+
class CreateCodeReviewOutput < Struct.new(
|
|
1570
|
+
:code_review_id,
|
|
1571
|
+
:title,
|
|
1572
|
+
:created_at,
|
|
1573
|
+
:updated_at,
|
|
1574
|
+
:assets,
|
|
1575
|
+
:service_role,
|
|
1576
|
+
:log_config,
|
|
1577
|
+
:agent_space_id,
|
|
1578
|
+
:code_remediation_strategy)
|
|
1579
|
+
SENSITIVE = []
|
|
1580
|
+
include Aws::Structure
|
|
1581
|
+
end
|
|
1582
|
+
|
|
948
1583
|
# @!attribute [rw] provider
|
|
949
1584
|
# The integration provider. Currently, only GITHUB is supported.
|
|
950
1585
|
# @return [String]
|
|
@@ -1293,6 +1928,25 @@ module Aws::SecurityAgent
|
|
|
1293
1928
|
#
|
|
1294
1929
|
class DeleteArtifactOutput < Aws::EmptyStructure; end
|
|
1295
1930
|
|
|
1931
|
+
# Contains information about a code review that failed to delete.
|
|
1932
|
+
#
|
|
1933
|
+
# @!attribute [rw] code_review_id
|
|
1934
|
+
# The unique identifier of the code review that failed to delete.
|
|
1935
|
+
# @return [String]
|
|
1936
|
+
#
|
|
1937
|
+
# @!attribute [rw] reason
|
|
1938
|
+
# The reason the code review failed to delete.
|
|
1939
|
+
# @return [String]
|
|
1940
|
+
#
|
|
1941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/DeleteCodeReviewFailure AWS API Documentation
|
|
1942
|
+
#
|
|
1943
|
+
class DeleteCodeReviewFailure < Struct.new(
|
|
1944
|
+
:code_review_id,
|
|
1945
|
+
:reason)
|
|
1946
|
+
SENSITIVE = []
|
|
1947
|
+
include Aws::Structure
|
|
1948
|
+
end
|
|
1949
|
+
|
|
1296
1950
|
# @!attribute [rw] integration_id
|
|
1297
1951
|
# The unique identifier of the integration to delete.
|
|
1298
1952
|
# @return [String]
|
|
@@ -1564,6 +2218,16 @@ module Aws::SecurityAgent
|
|
|
1564
2218
|
# The unique identifier of the pentest job that produced the finding.
|
|
1565
2219
|
# @return [String]
|
|
1566
2220
|
#
|
|
2221
|
+
# @!attribute [rw] code_review_id
|
|
2222
|
+
# The unique identifier of the code review associated with the
|
|
2223
|
+
# finding.
|
|
2224
|
+
# @return [String]
|
|
2225
|
+
#
|
|
2226
|
+
# @!attribute [rw] code_review_job_id
|
|
2227
|
+
# The unique identifier of the code review job that produced the
|
|
2228
|
+
# finding.
|
|
2229
|
+
# @return [String]
|
|
2230
|
+
#
|
|
1567
2231
|
# @!attribute [rw] task_id
|
|
1568
2232
|
# The unique identifier of the task that produced the finding.
|
|
1569
2233
|
# @return [String]
|
|
@@ -1617,6 +2281,11 @@ module Aws::SecurityAgent
|
|
|
1617
2281
|
# The identifier of the entity that last updated the finding.
|
|
1618
2282
|
# @return [String]
|
|
1619
2283
|
#
|
|
2284
|
+
# @!attribute [rw] code_locations
|
|
2285
|
+
# The file locations involved in the vulnerability, as reported by the
|
|
2286
|
+
# code scanner.
|
|
2287
|
+
# @return [Array<Types::CodeLocation>]
|
|
2288
|
+
#
|
|
1620
2289
|
# @!attribute [rw] created_at
|
|
1621
2290
|
# The date and time the finding was created, in UTC format.
|
|
1622
2291
|
# @return [Time]
|
|
@@ -1632,6 +2301,8 @@ module Aws::SecurityAgent
|
|
|
1632
2301
|
:agent_space_id,
|
|
1633
2302
|
:pentest_id,
|
|
1634
2303
|
:pentest_job_id,
|
|
2304
|
+
:code_review_id,
|
|
2305
|
+
:code_review_job_id,
|
|
1635
2306
|
:task_id,
|
|
1636
2307
|
:name,
|
|
1637
2308
|
:description,
|
|
@@ -1644,6 +2315,7 @@ module Aws::SecurityAgent
|
|
|
1644
2315
|
:attack_script,
|
|
1645
2316
|
:code_remediation_task,
|
|
1646
2317
|
:last_updated_by,
|
|
2318
|
+
:code_locations,
|
|
1647
2319
|
:created_at,
|
|
1648
2320
|
:updated_at)
|
|
1649
2321
|
SENSITIVE = []
|
|
@@ -1669,6 +2341,16 @@ module Aws::SecurityAgent
|
|
|
1669
2341
|
# The unique identifier of the pentest job that produced the finding.
|
|
1670
2342
|
# @return [String]
|
|
1671
2343
|
#
|
|
2344
|
+
# @!attribute [rw] code_review_id
|
|
2345
|
+
# The unique identifier of the code review associated with the
|
|
2346
|
+
# finding.
|
|
2347
|
+
# @return [String]
|
|
2348
|
+
#
|
|
2349
|
+
# @!attribute [rw] code_review_job_id
|
|
2350
|
+
# The unique identifier of the code review job that produced the
|
|
2351
|
+
# finding.
|
|
2352
|
+
# @return [String]
|
|
2353
|
+
#
|
|
1672
2354
|
# @!attribute [rw] name
|
|
1673
2355
|
# The name of the finding.
|
|
1674
2356
|
# @return [String]
|
|
@@ -1704,6 +2386,8 @@ module Aws::SecurityAgent
|
|
|
1704
2386
|
:agent_space_id,
|
|
1705
2387
|
:pentest_id,
|
|
1706
2388
|
:pentest_job_id,
|
|
2389
|
+
:code_review_id,
|
|
2390
|
+
:code_review_job_id,
|
|
1707
2391
|
:name,
|
|
1708
2392
|
:status,
|
|
1709
2393
|
:risk_type,
|
|
@@ -2219,7 +2903,93 @@ module Aws::SecurityAgent
|
|
|
2219
2903
|
include Aws::Structure
|
|
2220
2904
|
end
|
|
2221
2905
|
|
|
2222
|
-
# Input for listing agent spaces.
|
|
2906
|
+
# Input for listing agent spaces.
|
|
2907
|
+
#
|
|
2908
|
+
# @!attribute [rw] next_token
|
|
2909
|
+
# A token to use for paginating results that are returned in the
|
|
2910
|
+
# response. Set the value of this parameter to null for the first
|
|
2911
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
2912
|
+
# the previous request.
|
|
2913
|
+
# @return [String]
|
|
2914
|
+
#
|
|
2915
|
+
# @!attribute [rw] max_results
|
|
2916
|
+
# The maximum number of results to return in a single call.
|
|
2917
|
+
# @return [Integer]
|
|
2918
|
+
#
|
|
2919
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListAgentSpacesInput AWS API Documentation
|
|
2920
|
+
#
|
|
2921
|
+
class ListAgentSpacesInput < Struct.new(
|
|
2922
|
+
:next_token,
|
|
2923
|
+
:max_results)
|
|
2924
|
+
SENSITIVE = []
|
|
2925
|
+
include Aws::Structure
|
|
2926
|
+
end
|
|
2927
|
+
|
|
2928
|
+
# Output for the ListAgentSpaces operation.
|
|
2929
|
+
#
|
|
2930
|
+
# @!attribute [rw] agent_space_summaries
|
|
2931
|
+
# The list of agent space summaries.
|
|
2932
|
+
# @return [Array<Types::AgentSpaceSummary>]
|
|
2933
|
+
#
|
|
2934
|
+
# @!attribute [rw] next_token
|
|
2935
|
+
# A token to use for paginating results that are returned in the
|
|
2936
|
+
# response. Set the value of this parameter to null for the first
|
|
2937
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
2938
|
+
# the previous request.
|
|
2939
|
+
# @return [String]
|
|
2940
|
+
#
|
|
2941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListAgentSpacesOutput AWS API Documentation
|
|
2942
|
+
#
|
|
2943
|
+
class ListAgentSpacesOutput < Struct.new(
|
|
2944
|
+
:agent_space_summaries,
|
|
2945
|
+
:next_token)
|
|
2946
|
+
SENSITIVE = []
|
|
2947
|
+
include Aws::Structure
|
|
2948
|
+
end
|
|
2949
|
+
|
|
2950
|
+
# @!attribute [rw] next_token
|
|
2951
|
+
# A token to use for paginating results that are returned in the
|
|
2952
|
+
# response. Set the value of this parameter to null for the first
|
|
2953
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
2954
|
+
# the previous request.
|
|
2955
|
+
# @return [String]
|
|
2956
|
+
#
|
|
2957
|
+
# @!attribute [rw] max_results
|
|
2958
|
+
# The maximum number of results to return in a single call.
|
|
2959
|
+
# @return [Integer]
|
|
2960
|
+
#
|
|
2961
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListApplicationsRequest AWS API Documentation
|
|
2962
|
+
#
|
|
2963
|
+
class ListApplicationsRequest < Struct.new(
|
|
2964
|
+
:next_token,
|
|
2965
|
+
:max_results)
|
|
2966
|
+
SENSITIVE = []
|
|
2967
|
+
include Aws::Structure
|
|
2968
|
+
end
|
|
2969
|
+
|
|
2970
|
+
# @!attribute [rw] application_summaries
|
|
2971
|
+
# The list of application summaries.
|
|
2972
|
+
# @return [Array<Types::ApplicationSummary>]
|
|
2973
|
+
#
|
|
2974
|
+
# @!attribute [rw] next_token
|
|
2975
|
+
# A token to use for paginating results that are returned in the
|
|
2976
|
+
# response. Set the value of this parameter to null for the first
|
|
2977
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
2978
|
+
# the previous request.
|
|
2979
|
+
# @return [String]
|
|
2980
|
+
#
|
|
2981
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListApplicationsResponse AWS API Documentation
|
|
2982
|
+
#
|
|
2983
|
+
class ListApplicationsResponse < Struct.new(
|
|
2984
|
+
:application_summaries,
|
|
2985
|
+
:next_token)
|
|
2986
|
+
SENSITIVE = []
|
|
2987
|
+
include Aws::Structure
|
|
2988
|
+
end
|
|
2989
|
+
|
|
2990
|
+
# @!attribute [rw] agent_space_id
|
|
2991
|
+
# The unique identifier of the agent space to list artifacts for.
|
|
2992
|
+
# @return [String]
|
|
2223
2993
|
#
|
|
2224
2994
|
# @!attribute [rw] next_token
|
|
2225
2995
|
# A token to use for paginating results that are returned in the
|
|
@@ -2232,20 +3002,19 @@ module Aws::SecurityAgent
|
|
|
2232
3002
|
# The maximum number of results to return in a single call.
|
|
2233
3003
|
# @return [Integer]
|
|
2234
3004
|
#
|
|
2235
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/
|
|
3005
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListArtifactsInput AWS API Documentation
|
|
2236
3006
|
#
|
|
2237
|
-
class
|
|
3007
|
+
class ListArtifactsInput < Struct.new(
|
|
3008
|
+
:agent_space_id,
|
|
2238
3009
|
:next_token,
|
|
2239
3010
|
:max_results)
|
|
2240
3011
|
SENSITIVE = []
|
|
2241
3012
|
include Aws::Structure
|
|
2242
3013
|
end
|
|
2243
3014
|
|
|
2244
|
-
#
|
|
2245
|
-
#
|
|
2246
|
-
#
|
|
2247
|
-
# The list of agent space summaries.
|
|
2248
|
-
# @return [Array<Types::AgentSpaceSummary>]
|
|
3015
|
+
# @!attribute [rw] artifact_summaries
|
|
3016
|
+
# The list of artifact summaries.
|
|
3017
|
+
# @return [Array<Types::ArtifactSummary>]
|
|
2249
3018
|
#
|
|
2250
3019
|
# @!attribute [rw] next_token
|
|
2251
3020
|
# A token to use for paginating results that are returned in the
|
|
@@ -2254,15 +3023,37 @@ module Aws::SecurityAgent
|
|
|
2254
3023
|
# the previous request.
|
|
2255
3024
|
# @return [String]
|
|
2256
3025
|
#
|
|
2257
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/
|
|
3026
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListArtifactsOutput AWS API Documentation
|
|
2258
3027
|
#
|
|
2259
|
-
class
|
|
2260
|
-
:
|
|
3028
|
+
class ListArtifactsOutput < Struct.new(
|
|
3029
|
+
:artifact_summaries,
|
|
2261
3030
|
:next_token)
|
|
2262
3031
|
SENSITIVE = []
|
|
2263
3032
|
include Aws::Structure
|
|
2264
3033
|
end
|
|
2265
3034
|
|
|
3035
|
+
# Input for listing tasks associated with a code review job.
|
|
3036
|
+
#
|
|
3037
|
+
# @!attribute [rw] agent_space_id
|
|
3038
|
+
# The unique identifier of the agent space.
|
|
3039
|
+
# @return [String]
|
|
3040
|
+
#
|
|
3041
|
+
# @!attribute [rw] max_results
|
|
3042
|
+
# The maximum number of results to return in a single call.
|
|
3043
|
+
# @return [Integer]
|
|
3044
|
+
#
|
|
3045
|
+
# @!attribute [rw] code_review_job_id
|
|
3046
|
+
# The unique identifier of the code review job to list tasks for.
|
|
3047
|
+
# @return [String]
|
|
3048
|
+
#
|
|
3049
|
+
# @!attribute [rw] step_name
|
|
3050
|
+
# Filter tasks by step name.
|
|
3051
|
+
# @return [String]
|
|
3052
|
+
#
|
|
3053
|
+
# @!attribute [rw] category_name
|
|
3054
|
+
# Filter tasks by category name.
|
|
3055
|
+
# @return [String]
|
|
3056
|
+
#
|
|
2266
3057
|
# @!attribute [rw] next_token
|
|
2267
3058
|
# A token to use for paginating results that are returned in the
|
|
2268
3059
|
# response. Set the value of this parameter to null for the first
|
|
@@ -2270,22 +3061,24 @@ module Aws::SecurityAgent
|
|
|
2270
3061
|
# the previous request.
|
|
2271
3062
|
# @return [String]
|
|
2272
3063
|
#
|
|
2273
|
-
#
|
|
2274
|
-
# The maximum number of results to return in a single call.
|
|
2275
|
-
# @return [Integer]
|
|
2276
|
-
#
|
|
2277
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListApplicationsRequest AWS API Documentation
|
|
3064
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListCodeReviewJobTasksInput AWS API Documentation
|
|
2278
3065
|
#
|
|
2279
|
-
class
|
|
2280
|
-
:
|
|
2281
|
-
:max_results
|
|
3066
|
+
class ListCodeReviewJobTasksInput < Struct.new(
|
|
3067
|
+
:agent_space_id,
|
|
3068
|
+
:max_results,
|
|
3069
|
+
:code_review_job_id,
|
|
3070
|
+
:step_name,
|
|
3071
|
+
:category_name,
|
|
3072
|
+
:next_token)
|
|
2282
3073
|
SENSITIVE = []
|
|
2283
3074
|
include Aws::Structure
|
|
2284
3075
|
end
|
|
2285
3076
|
|
|
2286
|
-
#
|
|
2287
|
-
#
|
|
2288
|
-
#
|
|
3077
|
+
# Output for the ListCodeReviewJobTasks operation.
|
|
3078
|
+
#
|
|
3079
|
+
# @!attribute [rw] code_review_job_task_summaries
|
|
3080
|
+
# The list of code review job task summaries.
|
|
3081
|
+
# @return [Array<Types::CodeReviewJobTaskSummary>]
|
|
2289
3082
|
#
|
|
2290
3083
|
# @!attribute [rw] next_token
|
|
2291
3084
|
# A token to use for paginating results that are returned in the
|
|
@@ -2294,19 +3087,53 @@ module Aws::SecurityAgent
|
|
|
2294
3087
|
# the previous request.
|
|
2295
3088
|
# @return [String]
|
|
2296
3089
|
#
|
|
2297
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/
|
|
3090
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListCodeReviewJobTasksOutput AWS API Documentation
|
|
2298
3091
|
#
|
|
2299
|
-
class
|
|
2300
|
-
:
|
|
3092
|
+
class ListCodeReviewJobTasksOutput < Struct.new(
|
|
3093
|
+
:code_review_job_task_summaries,
|
|
2301
3094
|
:next_token)
|
|
2302
3095
|
SENSITIVE = []
|
|
2303
3096
|
include Aws::Structure
|
|
2304
3097
|
end
|
|
2305
3098
|
|
|
3099
|
+
# Input for ListCodeReviewJobsForCodeReview operation.
|
|
3100
|
+
#
|
|
3101
|
+
# @!attribute [rw] max_results
|
|
3102
|
+
# The maximum number of results to return in a single call.
|
|
3103
|
+
# @return [Integer]
|
|
3104
|
+
#
|
|
3105
|
+
# @!attribute [rw] code_review_id
|
|
3106
|
+
# The unique identifier of the code review to list jobs for.
|
|
3107
|
+
# @return [String]
|
|
3108
|
+
#
|
|
2306
3109
|
# @!attribute [rw] agent_space_id
|
|
2307
|
-
# The unique identifier of the agent space
|
|
3110
|
+
# The unique identifier of the agent space.
|
|
3111
|
+
# @return [String]
|
|
3112
|
+
#
|
|
3113
|
+
# @!attribute [rw] next_token
|
|
3114
|
+
# A token to use for paginating results that are returned in the
|
|
3115
|
+
# response. Set the value of this parameter to null for the first
|
|
3116
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
3117
|
+
# the previous request.
|
|
2308
3118
|
# @return [String]
|
|
2309
3119
|
#
|
|
3120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListCodeReviewJobsForCodeReviewInput AWS API Documentation
|
|
3121
|
+
#
|
|
3122
|
+
class ListCodeReviewJobsForCodeReviewInput < Struct.new(
|
|
3123
|
+
:max_results,
|
|
3124
|
+
:code_review_id,
|
|
3125
|
+
:agent_space_id,
|
|
3126
|
+
:next_token)
|
|
3127
|
+
SENSITIVE = []
|
|
3128
|
+
include Aws::Structure
|
|
3129
|
+
end
|
|
3130
|
+
|
|
3131
|
+
# Output for the ListCodeReviewJobsForCodeReview operation.
|
|
3132
|
+
#
|
|
3133
|
+
# @!attribute [rw] code_review_job_summaries
|
|
3134
|
+
# The list of code review job summaries.
|
|
3135
|
+
# @return [Array<Types::CodeReviewJobSummary>]
|
|
3136
|
+
#
|
|
2310
3137
|
# @!attribute [rw] next_token
|
|
2311
3138
|
# A token to use for paginating results that are returned in the
|
|
2312
3139
|
# response. Set the value of this parameter to null for the first
|
|
@@ -2314,23 +3141,47 @@ module Aws::SecurityAgent
|
|
|
2314
3141
|
# the previous request.
|
|
2315
3142
|
# @return [String]
|
|
2316
3143
|
#
|
|
3144
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListCodeReviewJobsForCodeReviewOutput AWS API Documentation
|
|
3145
|
+
#
|
|
3146
|
+
class ListCodeReviewJobsForCodeReviewOutput < Struct.new(
|
|
3147
|
+
:code_review_job_summaries,
|
|
3148
|
+
:next_token)
|
|
3149
|
+
SENSITIVE = []
|
|
3150
|
+
include Aws::Structure
|
|
3151
|
+
end
|
|
3152
|
+
|
|
3153
|
+
# Input for listing code reviews with optional filtering.
|
|
3154
|
+
#
|
|
2317
3155
|
# @!attribute [rw] max_results
|
|
2318
3156
|
# The maximum number of results to return in a single call.
|
|
2319
3157
|
# @return [Integer]
|
|
2320
3158
|
#
|
|
2321
|
-
#
|
|
3159
|
+
# @!attribute [rw] next_token
|
|
3160
|
+
# A token to use for paginating results that are returned in the
|
|
3161
|
+
# response. Set the value of this parameter to null for the first
|
|
3162
|
+
# request. For subsequent calls, use the nextToken value returned from
|
|
3163
|
+
# the previous request.
|
|
3164
|
+
# @return [String]
|
|
2322
3165
|
#
|
|
2323
|
-
|
|
2324
|
-
|
|
3166
|
+
# @!attribute [rw] agent_space_id
|
|
3167
|
+
# The unique identifier of the agent space to list code reviews for.
|
|
3168
|
+
# @return [String]
|
|
3169
|
+
#
|
|
3170
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListCodeReviewsInput AWS API Documentation
|
|
3171
|
+
#
|
|
3172
|
+
class ListCodeReviewsInput < Struct.new(
|
|
3173
|
+
:max_results,
|
|
2325
3174
|
:next_token,
|
|
2326
|
-
:
|
|
3175
|
+
:agent_space_id)
|
|
2327
3176
|
SENSITIVE = []
|
|
2328
3177
|
include Aws::Structure
|
|
2329
3178
|
end
|
|
2330
3179
|
|
|
2331
|
-
#
|
|
2332
|
-
#
|
|
2333
|
-
#
|
|
3180
|
+
# Output for the ListCodeReviews operation.
|
|
3181
|
+
#
|
|
3182
|
+
# @!attribute [rw] code_review_summaries
|
|
3183
|
+
# The list of code review summaries.
|
|
3184
|
+
# @return [Array<Types::CodeReviewSummary>]
|
|
2334
3185
|
#
|
|
2335
3186
|
# @!attribute [rw] next_token
|
|
2336
3187
|
# A token to use for paginating results that are returned in the
|
|
@@ -2339,10 +3190,10 @@ module Aws::SecurityAgent
|
|
|
2339
3190
|
# the previous request.
|
|
2340
3191
|
# @return [String]
|
|
2341
3192
|
#
|
|
2342
|
-
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/
|
|
3193
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/ListCodeReviewsOutput AWS API Documentation
|
|
2343
3194
|
#
|
|
2344
|
-
class
|
|
2345
|
-
:
|
|
3195
|
+
class ListCodeReviewsOutput < Struct.new(
|
|
3196
|
+
:code_review_summaries,
|
|
2346
3197
|
:next_token)
|
|
2347
3198
|
SENSITIVE = []
|
|
2348
3199
|
include Aws::Structure
|
|
@@ -2418,6 +3269,11 @@ module Aws::SecurityAgent
|
|
|
2418
3269
|
# The unique identifier of the pentest job to list findings for.
|
|
2419
3270
|
# @return [String]
|
|
2420
3271
|
#
|
|
3272
|
+
# @!attribute [rw] code_review_job_id
|
|
3273
|
+
# The unique identifier of the code review job to list findings for.
|
|
3274
|
+
# Mutually exclusive with pentestJobId.
|
|
3275
|
+
# @return [String]
|
|
3276
|
+
#
|
|
2421
3277
|
# @!attribute [rw] agent_space_id
|
|
2422
3278
|
# The unique identifier of the agent space.
|
|
2423
3279
|
# @return [String]
|
|
@@ -2454,6 +3310,7 @@ module Aws::SecurityAgent
|
|
|
2454
3310
|
class ListFindingsInput < Struct.new(
|
|
2455
3311
|
:max_results,
|
|
2456
3312
|
:pentest_job_id,
|
|
3313
|
+
:code_review_job_id,
|
|
2457
3314
|
:agent_space_id,
|
|
2458
3315
|
:next_token,
|
|
2459
3316
|
:risk_type,
|
|
@@ -3418,6 +4275,12 @@ module Aws::SecurityAgent
|
|
|
3418
4275
|
#
|
|
3419
4276
|
# @!attribute [rw] pentest_job_id
|
|
3420
4277
|
# The unique identifier of the pentest job that produced the findings.
|
|
4278
|
+
# Mutually exclusive with `codeReviewJobId`.
|
|
4279
|
+
# @return [String]
|
|
4280
|
+
#
|
|
4281
|
+
# @!attribute [rw] code_review_job_id
|
|
4282
|
+
# The unique identifier of the code review job that produced the
|
|
4283
|
+
# findings. Mutually exclusive with `pentestJobId`.
|
|
3421
4284
|
# @return [String]
|
|
3422
4285
|
#
|
|
3423
4286
|
# @!attribute [rw] finding_ids
|
|
@@ -3429,6 +4292,7 @@ module Aws::SecurityAgent
|
|
|
3429
4292
|
class StartCodeRemediationInput < Struct.new(
|
|
3430
4293
|
:agent_space_id,
|
|
3431
4294
|
:pentest_job_id,
|
|
4295
|
+
:code_review_job_id,
|
|
3432
4296
|
:finding_ids)
|
|
3433
4297
|
SENSITIVE = []
|
|
3434
4298
|
include Aws::Structure
|
|
@@ -3440,6 +4304,70 @@ module Aws::SecurityAgent
|
|
|
3440
4304
|
#
|
|
3441
4305
|
class StartCodeRemediationOutput < Aws::EmptyStructure; end
|
|
3442
4306
|
|
|
4307
|
+
# Input for starting the execution of a code review.
|
|
4308
|
+
#
|
|
4309
|
+
# @!attribute [rw] agent_space_id
|
|
4310
|
+
# The unique identifier of the agent space.
|
|
4311
|
+
# @return [String]
|
|
4312
|
+
#
|
|
4313
|
+
# @!attribute [rw] code_review_id
|
|
4314
|
+
# The unique identifier of the code review to start a job for.
|
|
4315
|
+
# @return [String]
|
|
4316
|
+
#
|
|
4317
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartCodeReviewJobInput AWS API Documentation
|
|
4318
|
+
#
|
|
4319
|
+
class StartCodeReviewJobInput < Struct.new(
|
|
4320
|
+
:agent_space_id,
|
|
4321
|
+
:code_review_id)
|
|
4322
|
+
SENSITIVE = []
|
|
4323
|
+
include Aws::Structure
|
|
4324
|
+
end
|
|
4325
|
+
|
|
4326
|
+
# Output for the StartCodeReviewJob operation.
|
|
4327
|
+
#
|
|
4328
|
+
# @!attribute [rw] title
|
|
4329
|
+
# The title of the code review job.
|
|
4330
|
+
# @return [String]
|
|
4331
|
+
#
|
|
4332
|
+
# @!attribute [rw] status
|
|
4333
|
+
# The current status of the code review job.
|
|
4334
|
+
# @return [String]
|
|
4335
|
+
#
|
|
4336
|
+
# @!attribute [rw] created_at
|
|
4337
|
+
# The date and time the code review job was created, in UTC format.
|
|
4338
|
+
# @return [Time]
|
|
4339
|
+
#
|
|
4340
|
+
# @!attribute [rw] updated_at
|
|
4341
|
+
# The date and time the code review job was last updated, in UTC
|
|
4342
|
+
# format.
|
|
4343
|
+
# @return [Time]
|
|
4344
|
+
#
|
|
4345
|
+
# @!attribute [rw] code_review_id
|
|
4346
|
+
# The unique identifier of the code review.
|
|
4347
|
+
# @return [String]
|
|
4348
|
+
#
|
|
4349
|
+
# @!attribute [rw] code_review_job_id
|
|
4350
|
+
# The unique identifier of the started code review job.
|
|
4351
|
+
# @return [String]
|
|
4352
|
+
#
|
|
4353
|
+
# @!attribute [rw] agent_space_id
|
|
4354
|
+
# The unique identifier of the agent space.
|
|
4355
|
+
# @return [String]
|
|
4356
|
+
#
|
|
4357
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StartCodeReviewJobOutput AWS API Documentation
|
|
4358
|
+
#
|
|
4359
|
+
class StartCodeReviewJobOutput < Struct.new(
|
|
4360
|
+
:title,
|
|
4361
|
+
:status,
|
|
4362
|
+
:created_at,
|
|
4363
|
+
:updated_at,
|
|
4364
|
+
:code_review_id,
|
|
4365
|
+
:code_review_job_id,
|
|
4366
|
+
:agent_space_id)
|
|
4367
|
+
SENSITIVE = []
|
|
4368
|
+
include Aws::Structure
|
|
4369
|
+
end
|
|
4370
|
+
|
|
3443
4371
|
# Input for starting the execution of a pentest.
|
|
3444
4372
|
#
|
|
3445
4373
|
# @!attribute [rw] agent_space_id
|
|
@@ -3534,6 +4462,31 @@ module Aws::SecurityAgent
|
|
|
3534
4462
|
include Aws::Structure
|
|
3535
4463
|
end
|
|
3536
4464
|
|
|
4465
|
+
# Input for stopping the execution of a code review job.
|
|
4466
|
+
#
|
|
4467
|
+
# @!attribute [rw] agent_space_id
|
|
4468
|
+
# The unique identifier of the agent space.
|
|
4469
|
+
# @return [String]
|
|
4470
|
+
#
|
|
4471
|
+
# @!attribute [rw] code_review_job_id
|
|
4472
|
+
# The unique identifier of the code review job to stop.
|
|
4473
|
+
# @return [String]
|
|
4474
|
+
#
|
|
4475
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StopCodeReviewJobInput AWS API Documentation
|
|
4476
|
+
#
|
|
4477
|
+
class StopCodeReviewJobInput < Struct.new(
|
|
4478
|
+
:agent_space_id,
|
|
4479
|
+
:code_review_job_id)
|
|
4480
|
+
SENSITIVE = []
|
|
4481
|
+
include Aws::Structure
|
|
4482
|
+
end
|
|
4483
|
+
|
|
4484
|
+
# Output for the StopCodeReviewJob operation.
|
|
4485
|
+
#
|
|
4486
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/StopCodeReviewJobOutput AWS API Documentation
|
|
4487
|
+
#
|
|
4488
|
+
class StopCodeReviewJobOutput < Aws::EmptyStructure; end
|
|
4489
|
+
|
|
3537
4490
|
# Input for stopping the execution of a pentest.
|
|
3538
4491
|
#
|
|
3539
4492
|
# @!attribute [rw] agent_space_id
|
|
@@ -3959,6 +4912,106 @@ module Aws::SecurityAgent
|
|
|
3959
4912
|
include Aws::Structure
|
|
3960
4913
|
end
|
|
3961
4914
|
|
|
4915
|
+
# Input for updating an existing code review.
|
|
4916
|
+
#
|
|
4917
|
+
# @!attribute [rw] code_review_id
|
|
4918
|
+
# The unique identifier of the code review to update.
|
|
4919
|
+
# @return [String]
|
|
4920
|
+
#
|
|
4921
|
+
# @!attribute [rw] agent_space_id
|
|
4922
|
+
# The unique identifier of the agent space that contains the code
|
|
4923
|
+
# review.
|
|
4924
|
+
# @return [String]
|
|
4925
|
+
#
|
|
4926
|
+
# @!attribute [rw] title
|
|
4927
|
+
# The updated title of the code review.
|
|
4928
|
+
# @return [String]
|
|
4929
|
+
#
|
|
4930
|
+
# @!attribute [rw] assets
|
|
4931
|
+
# The updated assets for the code review.
|
|
4932
|
+
# @return [Types::Assets]
|
|
4933
|
+
#
|
|
4934
|
+
# @!attribute [rw] service_role
|
|
4935
|
+
# The updated IAM service role for the code review.
|
|
4936
|
+
# @return [String]
|
|
4937
|
+
#
|
|
4938
|
+
# @!attribute [rw] log_config
|
|
4939
|
+
# The updated CloudWatch Logs configuration for the code review.
|
|
4940
|
+
# @return [Types::CloudWatchLog]
|
|
4941
|
+
#
|
|
4942
|
+
# @!attribute [rw] code_remediation_strategy
|
|
4943
|
+
# The updated code remediation strategy for the code review.
|
|
4944
|
+
# @return [String]
|
|
4945
|
+
#
|
|
4946
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateCodeReviewInput AWS API Documentation
|
|
4947
|
+
#
|
|
4948
|
+
class UpdateCodeReviewInput < Struct.new(
|
|
4949
|
+
:code_review_id,
|
|
4950
|
+
:agent_space_id,
|
|
4951
|
+
:title,
|
|
4952
|
+
:assets,
|
|
4953
|
+
:service_role,
|
|
4954
|
+
:log_config,
|
|
4955
|
+
:code_remediation_strategy)
|
|
4956
|
+
SENSITIVE = []
|
|
4957
|
+
include Aws::Structure
|
|
4958
|
+
end
|
|
4959
|
+
|
|
4960
|
+
# Output for the UpdateCodeReview operation.
|
|
4961
|
+
#
|
|
4962
|
+
# @!attribute [rw] code_review_id
|
|
4963
|
+
# The unique identifier of the code review.
|
|
4964
|
+
# @return [String]
|
|
4965
|
+
#
|
|
4966
|
+
# @!attribute [rw] title
|
|
4967
|
+
# The title of the code review.
|
|
4968
|
+
# @return [String]
|
|
4969
|
+
#
|
|
4970
|
+
# @!attribute [rw] created_at
|
|
4971
|
+
# The date and time the code review was created, in UTC format.
|
|
4972
|
+
# @return [Time]
|
|
4973
|
+
#
|
|
4974
|
+
# @!attribute [rw] updated_at
|
|
4975
|
+
# The date and time the code review was last updated, in UTC format.
|
|
4976
|
+
# @return [Time]
|
|
4977
|
+
#
|
|
4978
|
+
# @!attribute [rw] assets
|
|
4979
|
+
# The assets included in the code review.
|
|
4980
|
+
# @return [Types::Assets]
|
|
4981
|
+
#
|
|
4982
|
+
# @!attribute [rw] service_role
|
|
4983
|
+
# The IAM service role used for the code review.
|
|
4984
|
+
# @return [String]
|
|
4985
|
+
#
|
|
4986
|
+
# @!attribute [rw] log_config
|
|
4987
|
+
# The CloudWatch Logs configuration for the code review.
|
|
4988
|
+
# @return [Types::CloudWatchLog]
|
|
4989
|
+
#
|
|
4990
|
+
# @!attribute [rw] agent_space_id
|
|
4991
|
+
# The unique identifier of the agent space that contains the code
|
|
4992
|
+
# review.
|
|
4993
|
+
# @return [String]
|
|
4994
|
+
#
|
|
4995
|
+
# @!attribute [rw] code_remediation_strategy
|
|
4996
|
+
# The code remediation strategy for the code review.
|
|
4997
|
+
# @return [String]
|
|
4998
|
+
#
|
|
4999
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/UpdateCodeReviewOutput AWS API Documentation
|
|
5000
|
+
#
|
|
5001
|
+
class UpdateCodeReviewOutput < Struct.new(
|
|
5002
|
+
:code_review_id,
|
|
5003
|
+
:title,
|
|
5004
|
+
:created_at,
|
|
5005
|
+
:updated_at,
|
|
5006
|
+
:assets,
|
|
5007
|
+
:service_role,
|
|
5008
|
+
:log_config,
|
|
5009
|
+
:agent_space_id,
|
|
5010
|
+
:code_remediation_strategy)
|
|
5011
|
+
SENSITIVE = []
|
|
5012
|
+
include Aws::Structure
|
|
5013
|
+
end
|
|
5014
|
+
|
|
3962
5015
|
# Input for updating an existing security finding.
|
|
3963
5016
|
#
|
|
3964
5017
|
# @!attribute [rw] finding_id
|