aws-sdk-securityagent 1.37.0 → 1.38.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 +4 -1
- data/lib/aws-sdk-securityagent/client_api.rb +4 -0
- data/lib/aws-sdk-securityagent/types.rb +25 -6
- data/lib/aws-sdk-securityagent.rb +1 -1
- data/sig/types.rbs +3 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e2b4894a8d7325bf3bea34c314ce7b70ac13ffc73629860b8a9c8b24e0762329
|
|
4
|
+
data.tar.gz: b0a450f98d015bde508f957186c25001fb0d4952917ebbb43e0b55b7250b1080
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dbc939af135d52276cc4d78b2af925a068d13f209d151aa3edb2c9bcf962aa5d556782d045b5d7402516488cbcb694ce105b92ce73f2e719cb95cfc7472d9d2b
|
|
7
|
+
data.tar.gz: 381671fe0cfaee7b9a4cd477e27e0a631dac77d79d4a3437ad9d2d74d2b4479be14ab80fd91045fc635cb9af427a1df1bb44173b21b15358b7f2f334506e4e44
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.38.0
|
|
@@ -1284,6 +1284,9 @@ module Aws::SecurityAgent
|
|
|
1284
1284
|
# resp.findings[0].code_remediation_task.task_details[0].repo_name #=> String
|
|
1285
1285
|
# resp.findings[0].code_remediation_task.task_details[0].code_diff_link #=> String
|
|
1286
1286
|
# resp.findings[0].code_remediation_task.task_details[0].pull_request_link #=> String
|
|
1287
|
+
# resp.findings[0].code_remediation_task.task_details[0].status #=> String, one of "IN_PROGRESS", "COMPLETED", "FAILED", "NO_CHANGE_REQUIRED", "UNKNOWN"
|
|
1288
|
+
# resp.findings[0].code_remediation_task.task_details[0].status_code #=> String
|
|
1289
|
+
# resp.findings[0].code_remediation_task.task_details[0].status_reason #=> String
|
|
1287
1290
|
# resp.findings[0].last_updated_by #=> String
|
|
1288
1291
|
# resp.findings[0].customer_note #=> String
|
|
1289
1292
|
# resp.findings[0].code_locations #=> Array
|
|
@@ -7097,7 +7100,7 @@ module Aws::SecurityAgent
|
|
|
7097
7100
|
tracer: tracer
|
|
7098
7101
|
)
|
|
7099
7102
|
context[:gem_name] = 'aws-sdk-securityagent'
|
|
7100
|
-
context[:gem_version] = '1.
|
|
7103
|
+
context[:gem_version] = '1.38.0'
|
|
7101
7104
|
Seahorse::Client::Request.new(handlers, context)
|
|
7102
7105
|
end
|
|
7103
7106
|
|
|
@@ -137,6 +137,7 @@ module Aws::SecurityAgent
|
|
|
137
137
|
CloudWatchLog = Shapes::StructureShape.new(name: 'CloudWatchLog')
|
|
138
138
|
CodeLocation = Shapes::StructureShape.new(name: 'CodeLocation')
|
|
139
139
|
CodeLocationList = Shapes::ListShape.new(name: 'CodeLocationList')
|
|
140
|
+
CodeRemediationJobStatus = Shapes::StringShape.new(name: 'CodeRemediationJobStatus')
|
|
140
141
|
CodeRemediationStrategy = Shapes::StringShape.new(name: 'CodeRemediationStrategy')
|
|
141
142
|
CodeRemediationTask = Shapes::StructureShape.new(name: 'CodeRemediationTask')
|
|
142
143
|
CodeRemediationTaskDetails = Shapes::StructureShape.new(name: 'CodeRemediationTaskDetails')
|
|
@@ -1028,6 +1029,9 @@ module Aws::SecurityAgent
|
|
|
1028
1029
|
CodeRemediationTaskDetails.add_member(:repo_name, Shapes::ShapeRef.new(shape: String, location_name: "repoName"))
|
|
1029
1030
|
CodeRemediationTaskDetails.add_member(:code_diff_link, Shapes::ShapeRef.new(shape: String, location_name: "codeDiffLink"))
|
|
1030
1031
|
CodeRemediationTaskDetails.add_member(:pull_request_link, Shapes::ShapeRef.new(shape: String, location_name: "pullRequestLink"))
|
|
1032
|
+
CodeRemediationTaskDetails.add_member(:status, Shapes::ShapeRef.new(shape: CodeRemediationJobStatus, location_name: "status"))
|
|
1033
|
+
CodeRemediationTaskDetails.add_member(:status_code, Shapes::ShapeRef.new(shape: String, location_name: "statusCode"))
|
|
1034
|
+
CodeRemediationTaskDetails.add_member(:status_reason, Shapes::ShapeRef.new(shape: String, location_name: "statusReason"))
|
|
1031
1035
|
CodeRemediationTaskDetails.struct_class = Types::CodeRemediationTaskDetails
|
|
1032
1036
|
|
|
1033
1037
|
CodeRemediationTaskDetailsList.member = Shapes::ShapeRef.new(shape: CodeRemediationTaskDetails)
|
|
@@ -1940,16 +1940,18 @@ module Aws::SecurityAgent
|
|
|
1940
1940
|
# security finding.
|
|
1941
1941
|
#
|
|
1942
1942
|
# @!attribute [rw] status
|
|
1943
|
-
# The current status of the code remediation task.
|
|
1943
|
+
# The current status of the overall code remediation task.
|
|
1944
1944
|
# @return [String]
|
|
1945
1945
|
#
|
|
1946
1946
|
# @!attribute [rw] status_reason
|
|
1947
|
-
# The reason for the current status of the code remediation
|
|
1947
|
+
# The reason for the current status of the overall code remediation
|
|
1948
|
+
# task.
|
|
1948
1949
|
# @return [String]
|
|
1949
1950
|
#
|
|
1950
1951
|
# @!attribute [rw] task_details
|
|
1951
|
-
# The list of details for
|
|
1952
|
-
# repository
|
|
1952
|
+
# The list of details for a code remediation task, including
|
|
1953
|
+
# repository names, status of code remediation for each associated
|
|
1954
|
+
# repository, and generated code diff or pull request links.
|
|
1953
1955
|
# @return [Array<Types::CodeRemediationTaskDetails>]
|
|
1954
1956
|
#
|
|
1955
1957
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTask AWS API Documentation
|
|
@@ -1966,7 +1968,8 @@ module Aws::SecurityAgent
|
|
|
1966
1968
|
# code diff and pull request.
|
|
1967
1969
|
#
|
|
1968
1970
|
# @!attribute [rw] repo_name
|
|
1969
|
-
# The name of
|
|
1971
|
+
# The name of an associated repository where the remediation was
|
|
1972
|
+
# applied.
|
|
1970
1973
|
# @return [String]
|
|
1971
1974
|
#
|
|
1972
1975
|
# @!attribute [rw] code_diff_link
|
|
@@ -1977,12 +1980,28 @@ module Aws::SecurityAgent
|
|
|
1977
1980
|
# The link to the pull request created for the remediation.
|
|
1978
1981
|
# @return [String]
|
|
1979
1982
|
#
|
|
1983
|
+
# @!attribute [rw] status
|
|
1984
|
+
# The current status of the code remediation task for the particular
|
|
1985
|
+
# repository.
|
|
1986
|
+
# @return [String]
|
|
1987
|
+
#
|
|
1988
|
+
# @!attribute [rw] status_code
|
|
1989
|
+
# A category classifier if a repository's code remediation fails.
|
|
1990
|
+
# @return [String]
|
|
1991
|
+
#
|
|
1992
|
+
# @!attribute [rw] status_reason
|
|
1993
|
+
# A descriptive reason when a repository's code remediation fails.
|
|
1994
|
+
# @return [String]
|
|
1995
|
+
#
|
|
1980
1996
|
# @see http://docs.aws.amazon.com/goto/WebAPI/securityagent-2025-09-06/CodeRemediationTaskDetails AWS API Documentation
|
|
1981
1997
|
#
|
|
1982
1998
|
class CodeRemediationTaskDetails < Struct.new(
|
|
1983
1999
|
:repo_name,
|
|
1984
2000
|
:code_diff_link,
|
|
1985
|
-
:pull_request_link
|
|
2001
|
+
:pull_request_link,
|
|
2002
|
+
:status,
|
|
2003
|
+
:status_code,
|
|
2004
|
+
:status_reason)
|
|
1986
2005
|
SENSITIVE = []
|
|
1987
2006
|
include Aws::Structure
|
|
1988
2007
|
end
|
data/sig/types.rbs
CHANGED
|
@@ -576,6 +576,9 @@ module Aws::SecurityAgent
|
|
|
576
576
|
attr_accessor repo_name: ::String
|
|
577
577
|
attr_accessor code_diff_link: ::String
|
|
578
578
|
attr_accessor pull_request_link: ::String
|
|
579
|
+
attr_accessor status: ("IN_PROGRESS" | "COMPLETED" | "FAILED" | "NO_CHANGE_REQUIRED" | "UNKNOWN")
|
|
580
|
+
attr_accessor status_code: ::String
|
|
581
|
+
attr_accessor status_reason: ::String
|
|
579
582
|
SENSITIVE: []
|
|
580
583
|
end
|
|
581
584
|
|