aws-sdk-auditmanager 1.15.0 → 1.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-auditmanager/client.rb +317 -28
- data/lib/aws-sdk-auditmanager/client_api.rb +212 -0
- data/lib/aws-sdk-auditmanager/types.rb +610 -27
- data/lib/aws-sdk-auditmanager.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 61b11dd2ff0b48a2198b4f452a28a1747fba4dcb0ea0e2822b2359aaf391a4cc
|
4
|
+
data.tar.gz: 17235a8af9e927f6f25dc98c0dc584cf907e912bd3db04f9300c4e6fb5b72086
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 456e6c46c1b8c1d9e9a08f026330c0043f12ac4cd986777a13c8a4faeac8307ba86f8193648305ed312f4165355161b672f8c031797c2ba4503216051c469281
|
7
|
+
data.tar.gz: 31d8dd4fdf6e6343526ca7fc9a4c953f4bd88fa5a67eaae6082fbaa086abc9b322565904b2a4f83f66a7c718bfa3183f6897c39716eddc38564cf63be4031d11
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.16.0 (2021-11-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces a new feature for Audit Manager: Dashboard views. You can now view insights data for your active assessments, and quickly identify non-compliant evidence that needs to be remediated.
|
8
|
+
|
4
9
|
1.15.0 (2021-11-04)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.16.0
|
@@ -1002,7 +1002,7 @@ module Aws::AuditManager
|
|
1002
1002
|
# Deletes a custom framework in Audit Manager.
|
1003
1003
|
#
|
1004
1004
|
# @option params [required, String] :framework_id
|
1005
|
-
# The identifier for the framework.
|
1005
|
+
# The identifier for the custom framework.
|
1006
1006
|
#
|
1007
1007
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1008
1008
|
#
|
@@ -1051,7 +1051,7 @@ module Aws::AuditManager
|
|
1051
1051
|
# Deletes an assessment report from an assessment in Audit Manager.
|
1052
1052
|
#
|
1053
1053
|
# @option params [required, String] :assessment_id
|
1054
|
-
# The identifier for the assessment.
|
1054
|
+
# The unique identifier for the assessment.
|
1055
1055
|
#
|
1056
1056
|
# @option params [required, String] :assessment_report_id
|
1057
1057
|
# The unique identifier for the assessment report.
|
@@ -1077,7 +1077,7 @@ module Aws::AuditManager
|
|
1077
1077
|
# Deletes a custom control in Audit Manager.
|
1078
1078
|
#
|
1079
1079
|
# @option params [required, String] :control_id
|
1080
|
-
# The identifier for the control.
|
1080
|
+
# The unique identifier for the control.
|
1081
1081
|
#
|
1082
1082
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1083
1083
|
#
|
@@ -1149,10 +1149,10 @@ module Aws::AuditManager
|
|
1149
1149
|
# in Audit Manager.
|
1150
1150
|
#
|
1151
1151
|
# @option params [required, String] :assessment_id
|
1152
|
-
# The identifier for the assessment.
|
1152
|
+
# The unique identifier for the assessment.
|
1153
1153
|
#
|
1154
1154
|
# @option params [required, String] :evidence_folder_id
|
1155
|
-
# The identifier for the folder
|
1155
|
+
# The unique identifier for the folder that the evidence is stored in.
|
1156
1156
|
#
|
1157
1157
|
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1158
1158
|
#
|
@@ -1194,7 +1194,7 @@ module Aws::AuditManager
|
|
1194
1194
|
# Returns an assessment from Audit Manager.
|
1195
1195
|
#
|
1196
1196
|
# @option params [required, String] :assessment_id
|
1197
|
-
# The identifier for the assessment.
|
1197
|
+
# The unique identifier for the assessment.
|
1198
1198
|
#
|
1199
1199
|
# @return [Types::GetAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1200
1200
|
#
|
@@ -1371,10 +1371,10 @@ module Aws::AuditManager
|
|
1371
1371
|
# Returns the URL of an assessment report in Audit Manager.
|
1372
1372
|
#
|
1373
1373
|
# @option params [required, String] :assessment_report_id
|
1374
|
-
# The identifier for the assessment report.
|
1374
|
+
# The unique identifier for the assessment report.
|
1375
1375
|
#
|
1376
1376
|
# @option params [required, String] :assessment_id
|
1377
|
-
# The identifier for the assessment.
|
1377
|
+
# The unique identifier for the assessment.
|
1378
1378
|
#
|
1379
1379
|
# @return [Types::GetAssessmentReportUrlResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1380
1380
|
#
|
@@ -1404,13 +1404,13 @@ module Aws::AuditManager
|
|
1404
1404
|
# Returns a list of changelogs from Audit Manager.
|
1405
1405
|
#
|
1406
1406
|
# @option params [required, String] :assessment_id
|
1407
|
-
# The identifier for the assessment.
|
1407
|
+
# The unique identifier for the assessment.
|
1408
1408
|
#
|
1409
1409
|
# @option params [String] :control_set_id
|
1410
|
-
# The identifier for the control set.
|
1410
|
+
# The unique identifier for the control set.
|
1411
1411
|
#
|
1412
1412
|
# @option params [String] :control_id
|
1413
|
-
# The identifier for the control.
|
1413
|
+
# The unique identifier for the control.
|
1414
1414
|
#
|
1415
1415
|
# @option params [String] :next_token
|
1416
1416
|
# The pagination token that's used to fetch the next set of results.
|
@@ -1554,16 +1554,16 @@ module Aws::AuditManager
|
|
1554
1554
|
# Returns evidence from Audit Manager.
|
1555
1555
|
#
|
1556
1556
|
# @option params [required, String] :assessment_id
|
1557
|
-
# The identifier for the assessment.
|
1557
|
+
# The unique identifier for the assessment.
|
1558
1558
|
#
|
1559
1559
|
# @option params [required, String] :control_set_id
|
1560
|
-
# The identifier for the control set.
|
1560
|
+
# The unique identifier for the control set.
|
1561
1561
|
#
|
1562
1562
|
# @option params [required, String] :evidence_folder_id
|
1563
|
-
# The identifier for the folder that the evidence is stored in.
|
1563
|
+
# The unique identifier for the folder that the evidence is stored in.
|
1564
1564
|
#
|
1565
1565
|
# @option params [required, String] :evidence_id
|
1566
|
-
# The identifier for the evidence.
|
1566
|
+
# The unique identifier for the evidence.
|
1567
1567
|
#
|
1568
1568
|
# @return [Types::GetEvidenceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1569
1569
|
#
|
@@ -1680,13 +1680,13 @@ module Aws::AuditManager
|
|
1680
1680
|
# Manager.
|
1681
1681
|
#
|
1682
1682
|
# @option params [required, String] :assessment_id
|
1683
|
-
# The identifier for the assessment.
|
1683
|
+
# The unique identifier for the assessment.
|
1684
1684
|
#
|
1685
1685
|
# @option params [required, String] :control_set_id
|
1686
|
-
# The identifier for the control set.
|
1686
|
+
# The unique identifier for the control set.
|
1687
1687
|
#
|
1688
1688
|
# @option params [required, String] :evidence_folder_id
|
1689
|
-
# The identifier for the folder that the evidence is stored in.
|
1689
|
+
# The unique identifier for the folder that the evidence is stored in.
|
1690
1690
|
#
|
1691
1691
|
# @return [Types::GetEvidenceFolderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1692
1692
|
#
|
@@ -1734,7 +1734,7 @@ module Aws::AuditManager
|
|
1734
1734
|
# Manager.
|
1735
1735
|
#
|
1736
1736
|
# @option params [required, String] :assessment_id
|
1737
|
-
# The identifier for the assessment.
|
1737
|
+
# The unique identifier for the assessment.
|
1738
1738
|
#
|
1739
1739
|
# @option params [String] :next_token
|
1740
1740
|
# The pagination token that's used to fetch the next set of results.
|
@@ -1858,6 +1858,65 @@ module Aws::AuditManager
|
|
1858
1858
|
req.send_request(options)
|
1859
1859
|
end
|
1860
1860
|
|
1861
|
+
# Gets the latest analytics data for all your current active
|
1862
|
+
# assessments.
|
1863
|
+
#
|
1864
|
+
# @return [Types::GetInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1865
|
+
#
|
1866
|
+
# * {Types::GetInsightsResponse#insights #insights} => Types::Insights
|
1867
|
+
#
|
1868
|
+
# @example Response structure
|
1869
|
+
#
|
1870
|
+
# resp.insights.active_assessments_count #=> Integer
|
1871
|
+
# resp.insights.noncompliant_evidence_count #=> Integer
|
1872
|
+
# resp.insights.compliant_evidence_count #=> Integer
|
1873
|
+
# resp.insights.inconclusive_evidence_count #=> Integer
|
1874
|
+
# resp.insights.assessment_controls_count_by_noncompliant_evidence #=> Integer
|
1875
|
+
# resp.insights.total_assessment_controls_count #=> Integer
|
1876
|
+
# resp.insights.last_updated #=> Time
|
1877
|
+
#
|
1878
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights AWS API Documentation
|
1879
|
+
#
|
1880
|
+
# @overload get_insights(params = {})
|
1881
|
+
# @param [Hash] params ({})
|
1882
|
+
def get_insights(params = {}, options = {})
|
1883
|
+
req = build_request(:get_insights, params)
|
1884
|
+
req.send_request(options)
|
1885
|
+
end
|
1886
|
+
|
1887
|
+
# Gets the latest analytics data for a specific active assessment.
|
1888
|
+
#
|
1889
|
+
# @option params [required, String] :assessment_id
|
1890
|
+
# The unique identifier for the assessment.
|
1891
|
+
#
|
1892
|
+
# @return [Types::GetInsightsByAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1893
|
+
#
|
1894
|
+
# * {Types::GetInsightsByAssessmentResponse#insights #insights} => Types::InsightsByAssessment
|
1895
|
+
#
|
1896
|
+
# @example Request syntax with placeholder values
|
1897
|
+
#
|
1898
|
+
# resp = client.get_insights_by_assessment({
|
1899
|
+
# assessment_id: "UUID", # required
|
1900
|
+
# })
|
1901
|
+
#
|
1902
|
+
# @example Response structure
|
1903
|
+
#
|
1904
|
+
# resp.insights.noncompliant_evidence_count #=> Integer
|
1905
|
+
# resp.insights.compliant_evidence_count #=> Integer
|
1906
|
+
# resp.insights.inconclusive_evidence_count #=> Integer
|
1907
|
+
# resp.insights.assessment_controls_count_by_noncompliant_evidence #=> Integer
|
1908
|
+
# resp.insights.total_assessment_controls_count #=> Integer
|
1909
|
+
# resp.insights.last_updated #=> Time
|
1910
|
+
#
|
1911
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment AWS API Documentation
|
1912
|
+
#
|
1913
|
+
# @overload get_insights_by_assessment(params = {})
|
1914
|
+
# @param [Hash] params ({})
|
1915
|
+
def get_insights_by_assessment(params = {}, options = {})
|
1916
|
+
req = build_request(:get_insights_by_assessment, params)
|
1917
|
+
req.send_request(options)
|
1918
|
+
end
|
1919
|
+
|
1861
1920
|
# Returns the name of the delegated Amazon Web Services administrator
|
1862
1921
|
# account for the organization.
|
1863
1922
|
#
|
@@ -1939,6 +1998,67 @@ module Aws::AuditManager
|
|
1939
1998
|
req.send_request(options)
|
1940
1999
|
end
|
1941
2000
|
|
2001
|
+
# Lists the latest analytics data for controls within a specific control
|
2002
|
+
# domain and a specific active assessment.
|
2003
|
+
#
|
2004
|
+
# <note markdown="1"> Control insights are listed only if the control belongs to the control
|
2005
|
+
# domain and assessment that was specified. Moreover, the control must
|
2006
|
+
# have collected evidence on the `lastUpdated` date of
|
2007
|
+
# `controlInsightsByAssessment`. If neither of these conditions are met,
|
2008
|
+
# no data is listed for that control.
|
2009
|
+
#
|
2010
|
+
# </note>
|
2011
|
+
#
|
2012
|
+
# @option params [required, String] :control_domain_id
|
2013
|
+
# The unique identifier for the control domain.
|
2014
|
+
#
|
2015
|
+
# @option params [required, String] :assessment_id
|
2016
|
+
# The unique identifier for the active assessment.
|
2017
|
+
#
|
2018
|
+
# @option params [String] :next_token
|
2019
|
+
# The pagination token that's used to fetch the next set of results.
|
2020
|
+
#
|
2021
|
+
# @option params [Integer] :max_results
|
2022
|
+
# Represents the maximum number of results on a page or for an API
|
2023
|
+
# request call.
|
2024
|
+
#
|
2025
|
+
# @return [Types::ListAssessmentControlInsightsByControlDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2026
|
+
#
|
2027
|
+
# * {Types::ListAssessmentControlInsightsByControlDomainResponse#control_insights_by_assessment #control_insights_by_assessment} => Array<Types::ControlInsightsMetadataByAssessmentItem>
|
2028
|
+
# * {Types::ListAssessmentControlInsightsByControlDomainResponse#next_token #next_token} => String
|
2029
|
+
#
|
2030
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2031
|
+
#
|
2032
|
+
# @example Request syntax with placeholder values
|
2033
|
+
#
|
2034
|
+
# resp = client.list_assessment_control_insights_by_control_domain({
|
2035
|
+
# control_domain_id: "UUID", # required
|
2036
|
+
# assessment_id: "UUID", # required
|
2037
|
+
# next_token: "Token",
|
2038
|
+
# max_results: 1,
|
2039
|
+
# })
|
2040
|
+
#
|
2041
|
+
# @example Response structure
|
2042
|
+
#
|
2043
|
+
# resp.control_insights_by_assessment #=> Array
|
2044
|
+
# resp.control_insights_by_assessment[0].name #=> String
|
2045
|
+
# resp.control_insights_by_assessment[0].id #=> String
|
2046
|
+
# resp.control_insights_by_assessment[0].evidence_insights.noncompliant_evidence_count #=> Integer
|
2047
|
+
# resp.control_insights_by_assessment[0].evidence_insights.compliant_evidence_count #=> Integer
|
2048
|
+
# resp.control_insights_by_assessment[0].evidence_insights.inconclusive_evidence_count #=> Integer
|
2049
|
+
# resp.control_insights_by_assessment[0].control_set_name #=> String
|
2050
|
+
# resp.control_insights_by_assessment[0].last_updated #=> Time
|
2051
|
+
# resp.next_token #=> String
|
2052
|
+
#
|
2053
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain AWS API Documentation
|
2054
|
+
#
|
2055
|
+
# @overload list_assessment_control_insights_by_control_domain(params = {})
|
2056
|
+
# @param [Hash] params ({})
|
2057
|
+
def list_assessment_control_insights_by_control_domain(params = {}, options = {})
|
2058
|
+
req = build_request(:list_assessment_control_insights_by_control_domain, params)
|
2059
|
+
req.send_request(options)
|
2060
|
+
end
|
2061
|
+
|
1942
2062
|
# Returns a list of sent or received share requests for custom
|
1943
2063
|
# frameworks in Audit Manager.
|
1944
2064
|
#
|
@@ -2098,6 +2218,9 @@ module Aws::AuditManager
|
|
2098
2218
|
|
2099
2219
|
# Returns a list of current and past assessments from Audit Manager.
|
2100
2220
|
#
|
2221
|
+
# @option params [String] :status
|
2222
|
+
# The current status of the assessment.
|
2223
|
+
#
|
2101
2224
|
# @option params [String] :next_token
|
2102
2225
|
# The pagination token that's used to fetch the next set of results.
|
2103
2226
|
#
|
@@ -2115,6 +2238,7 @@ module Aws::AuditManager
|
|
2115
2238
|
# @example Request syntax with placeholder values
|
2116
2239
|
#
|
2117
2240
|
# resp = client.list_assessments({
|
2241
|
+
# status: "ACTIVE", # accepts ACTIVE, INACTIVE
|
2118
2242
|
# next_token: "Token",
|
2119
2243
|
# max_results: 1,
|
2120
2244
|
# })
|
@@ -2154,6 +2278,171 @@ module Aws::AuditManager
|
|
2154
2278
|
req.send_request(options)
|
2155
2279
|
end
|
2156
2280
|
|
2281
|
+
# Lists the latest analytics data for control domains across all of your
|
2282
|
+
# active assessments.
|
2283
|
+
#
|
2284
|
+
# <note markdown="1"> A control domain is listed only if at least one of the controls within
|
2285
|
+
# that domain collected evidence on the `lastUpdated` date of
|
2286
|
+
# `controlDomainInsights`. If this condition isn’t met, no data is
|
2287
|
+
# listed for that control domain.
|
2288
|
+
#
|
2289
|
+
# </note>
|
2290
|
+
#
|
2291
|
+
# @option params [String] :next_token
|
2292
|
+
# The pagination token that's used to fetch the next set of results.
|
2293
|
+
#
|
2294
|
+
# @option params [Integer] :max_results
|
2295
|
+
# Represents the maximum number of results on a page or for an API
|
2296
|
+
# request call.
|
2297
|
+
#
|
2298
|
+
# @return [Types::ListControlDomainInsightsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2299
|
+
#
|
2300
|
+
# * {Types::ListControlDomainInsightsResponse#control_domain_insights #control_domain_insights} => Array<Types::ControlDomainInsights>
|
2301
|
+
# * {Types::ListControlDomainInsightsResponse#next_token #next_token} => String
|
2302
|
+
#
|
2303
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2304
|
+
#
|
2305
|
+
# @example Request syntax with placeholder values
|
2306
|
+
#
|
2307
|
+
# resp = client.list_control_domain_insights({
|
2308
|
+
# next_token: "Token",
|
2309
|
+
# max_results: 1,
|
2310
|
+
# })
|
2311
|
+
#
|
2312
|
+
# @example Response structure
|
2313
|
+
#
|
2314
|
+
# resp.control_domain_insights #=> Array
|
2315
|
+
# resp.control_domain_insights[0].name #=> String
|
2316
|
+
# resp.control_domain_insights[0].id #=> String
|
2317
|
+
# resp.control_domain_insights[0].controls_count_by_noncompliant_evidence #=> Integer
|
2318
|
+
# resp.control_domain_insights[0].total_controls_count #=> Integer
|
2319
|
+
# resp.control_domain_insights[0].evidence_insights.noncompliant_evidence_count #=> Integer
|
2320
|
+
# resp.control_domain_insights[0].evidence_insights.compliant_evidence_count #=> Integer
|
2321
|
+
# resp.control_domain_insights[0].evidence_insights.inconclusive_evidence_count #=> Integer
|
2322
|
+
# resp.control_domain_insights[0].last_updated #=> Time
|
2323
|
+
# resp.next_token #=> String
|
2324
|
+
#
|
2325
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights AWS API Documentation
|
2326
|
+
#
|
2327
|
+
# @overload list_control_domain_insights(params = {})
|
2328
|
+
# @param [Hash] params ({})
|
2329
|
+
def list_control_domain_insights(params = {}, options = {})
|
2330
|
+
req = build_request(:list_control_domain_insights, params)
|
2331
|
+
req.send_request(options)
|
2332
|
+
end
|
2333
|
+
|
2334
|
+
# Lists analytics data for control domains within a specified active
|
2335
|
+
# assessment.
|
2336
|
+
#
|
2337
|
+
# <note markdown="1"> A control domain is listed only if at least one of the controls within
|
2338
|
+
# that domain collected evidence on the `lastUpdated` date of
|
2339
|
+
# `controlDomainInsights`. If this condition isn’t met, no data is
|
2340
|
+
# listed for that domain.
|
2341
|
+
#
|
2342
|
+
# </note>
|
2343
|
+
#
|
2344
|
+
# @option params [required, String] :assessment_id
|
2345
|
+
# The unique identifier for the active assessment.
|
2346
|
+
#
|
2347
|
+
# @option params [String] :next_token
|
2348
|
+
# The pagination token that's used to fetch the next set of results.
|
2349
|
+
#
|
2350
|
+
# @option params [Integer] :max_results
|
2351
|
+
# Represents the maximum number of results on a page or for an API
|
2352
|
+
# request call.
|
2353
|
+
#
|
2354
|
+
# @return [Types::ListControlDomainInsightsByAssessmentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2355
|
+
#
|
2356
|
+
# * {Types::ListControlDomainInsightsByAssessmentResponse#control_domain_insights #control_domain_insights} => Array<Types::ControlDomainInsights>
|
2357
|
+
# * {Types::ListControlDomainInsightsByAssessmentResponse#next_token #next_token} => String
|
2358
|
+
#
|
2359
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2360
|
+
#
|
2361
|
+
# @example Request syntax with placeholder values
|
2362
|
+
#
|
2363
|
+
# resp = client.list_control_domain_insights_by_assessment({
|
2364
|
+
# assessment_id: "UUID", # required
|
2365
|
+
# next_token: "Token",
|
2366
|
+
# max_results: 1,
|
2367
|
+
# })
|
2368
|
+
#
|
2369
|
+
# @example Response structure
|
2370
|
+
#
|
2371
|
+
# resp.control_domain_insights #=> Array
|
2372
|
+
# resp.control_domain_insights[0].name #=> String
|
2373
|
+
# resp.control_domain_insights[0].id #=> String
|
2374
|
+
# resp.control_domain_insights[0].controls_count_by_noncompliant_evidence #=> Integer
|
2375
|
+
# resp.control_domain_insights[0].total_controls_count #=> Integer
|
2376
|
+
# resp.control_domain_insights[0].evidence_insights.noncompliant_evidence_count #=> Integer
|
2377
|
+
# resp.control_domain_insights[0].evidence_insights.compliant_evidence_count #=> Integer
|
2378
|
+
# resp.control_domain_insights[0].evidence_insights.inconclusive_evidence_count #=> Integer
|
2379
|
+
# resp.control_domain_insights[0].last_updated #=> Time
|
2380
|
+
# resp.next_token #=> String
|
2381
|
+
#
|
2382
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment AWS API Documentation
|
2383
|
+
#
|
2384
|
+
# @overload list_control_domain_insights_by_assessment(params = {})
|
2385
|
+
# @param [Hash] params ({})
|
2386
|
+
def list_control_domain_insights_by_assessment(params = {}, options = {})
|
2387
|
+
req = build_request(:list_control_domain_insights_by_assessment, params)
|
2388
|
+
req.send_request(options)
|
2389
|
+
end
|
2390
|
+
|
2391
|
+
# Lists the latest analytics data for controls within a specific control
|
2392
|
+
# domain across all active assessments.
|
2393
|
+
#
|
2394
|
+
# <note markdown="1"> Control insights are listed only if the control belongs to the control
|
2395
|
+
# domain that was specified and the control collected evidence on the
|
2396
|
+
# `lastUpdated` date of `controlInsightsMetadata`. If neither of these
|
2397
|
+
# conditions are met, no data is listed for that control.
|
2398
|
+
#
|
2399
|
+
# </note>
|
2400
|
+
#
|
2401
|
+
# @option params [required, String] :control_domain_id
|
2402
|
+
# The unique identifier for the control domain.
|
2403
|
+
#
|
2404
|
+
# @option params [String] :next_token
|
2405
|
+
# The pagination token that's used to fetch the next set of results.
|
2406
|
+
#
|
2407
|
+
# @option params [Integer] :max_results
|
2408
|
+
# Represents the maximum number of results on a page or for an API
|
2409
|
+
# request call.
|
2410
|
+
#
|
2411
|
+
# @return [Types::ListControlInsightsByControlDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2412
|
+
#
|
2413
|
+
# * {Types::ListControlInsightsByControlDomainResponse#control_insights_metadata #control_insights_metadata} => Array<Types::ControlInsightsMetadataItem>
|
2414
|
+
# * {Types::ListControlInsightsByControlDomainResponse#next_token #next_token} => String
|
2415
|
+
#
|
2416
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2417
|
+
#
|
2418
|
+
# @example Request syntax with placeholder values
|
2419
|
+
#
|
2420
|
+
# resp = client.list_control_insights_by_control_domain({
|
2421
|
+
# control_domain_id: "UUID", # required
|
2422
|
+
# next_token: "Token",
|
2423
|
+
# max_results: 1,
|
2424
|
+
# })
|
2425
|
+
#
|
2426
|
+
# @example Response structure
|
2427
|
+
#
|
2428
|
+
# resp.control_insights_metadata #=> Array
|
2429
|
+
# resp.control_insights_metadata[0].name #=> String
|
2430
|
+
# resp.control_insights_metadata[0].id #=> String
|
2431
|
+
# resp.control_insights_metadata[0].evidence_insights.noncompliant_evidence_count #=> Integer
|
2432
|
+
# resp.control_insights_metadata[0].evidence_insights.compliant_evidence_count #=> Integer
|
2433
|
+
# resp.control_insights_metadata[0].evidence_insights.inconclusive_evidence_count #=> Integer
|
2434
|
+
# resp.control_insights_metadata[0].last_updated #=> Time
|
2435
|
+
# resp.next_token #=> String
|
2436
|
+
#
|
2437
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain AWS API Documentation
|
2438
|
+
#
|
2439
|
+
# @overload list_control_insights_by_control_domain(params = {})
|
2440
|
+
# @param [Hash] params ({})
|
2441
|
+
def list_control_insights_by_control_domain(params = {}, options = {})
|
2442
|
+
req = build_request(:list_control_insights_by_control_domain, params)
|
2443
|
+
req.send_request(options)
|
2444
|
+
end
|
2445
|
+
|
2157
2446
|
# Returns a list of controls from Audit Manager.
|
2158
2447
|
#
|
2159
2448
|
# @option params [required, String] :control_type
|
@@ -2509,7 +2798,7 @@ module Aws::AuditManager
|
|
2509
2798
|
# Edits an Audit Manager assessment.
|
2510
2799
|
#
|
2511
2800
|
# @option params [required, String] :assessment_id
|
2512
|
-
# The identifier for the assessment.
|
2801
|
+
# The unique identifier for the assessment.
|
2513
2802
|
#
|
2514
2803
|
# @option params [String] :assessment_name
|
2515
2804
|
# The name of the assessment to be updated.
|
@@ -2655,13 +2944,13 @@ module Aws::AuditManager
|
|
2655
2944
|
# Updates a control within an assessment in Audit Manager.
|
2656
2945
|
#
|
2657
2946
|
# @option params [required, String] :assessment_id
|
2658
|
-
# The identifier for the assessment.
|
2947
|
+
# The unique identifier for the assessment.
|
2659
2948
|
#
|
2660
2949
|
# @option params [required, String] :control_set_id
|
2661
|
-
# The identifier for the control set.
|
2950
|
+
# The unique identifier for the control set.
|
2662
2951
|
#
|
2663
2952
|
# @option params [required, String] :control_id
|
2664
|
-
# The identifier for the control.
|
2953
|
+
# The unique identifier for the control.
|
2665
2954
|
#
|
2666
2955
|
# @option params [String] :control_status
|
2667
2956
|
# The status of the control.
|
@@ -2711,10 +3000,10 @@ module Aws::AuditManager
|
|
2711
3000
|
# Updates the status of a control set in an Audit Manager assessment.
|
2712
3001
|
#
|
2713
3002
|
# @option params [required, String] :assessment_id
|
2714
|
-
# The identifier for the assessment.
|
3003
|
+
# The unique identifier for the assessment.
|
2715
3004
|
#
|
2716
3005
|
# @option params [required, String] :control_set_id
|
2717
|
-
# The identifier for the control set.
|
3006
|
+
# The unique identifier for the control set.
|
2718
3007
|
#
|
2719
3008
|
# @option params [required, String] :status
|
2720
3009
|
# The status of the control set that's being updated.
|
@@ -2784,7 +3073,7 @@ module Aws::AuditManager
|
|
2784
3073
|
# Updates a custom framework in Audit Manager.
|
2785
3074
|
#
|
2786
3075
|
# @option params [required, String] :framework_id
|
2787
|
-
# The identifier for the framework.
|
3076
|
+
# The unique identifier for the framework.
|
2788
3077
|
#
|
2789
3078
|
# @option params [required, String] :name
|
2790
3079
|
# The name of the framework to be updated.
|
@@ -2932,7 +3221,7 @@ module Aws::AuditManager
|
|
2932
3221
|
# Updates the status of an assessment in Audit Manager.
|
2933
3222
|
#
|
2934
3223
|
# @option params [required, String] :assessment_id
|
2935
|
-
# The identifier for the assessment.
|
3224
|
+
# The unique identifier for the assessment.
|
2936
3225
|
#
|
2937
3226
|
# @option params [required, String] :status
|
2938
3227
|
# The current status of the assessment.
|
@@ -3234,7 +3523,7 @@ module Aws::AuditManager
|
|
3234
3523
|
params: params,
|
3235
3524
|
config: config)
|
3236
3525
|
context[:gem_name] = 'aws-sdk-auditmanager'
|
3237
|
-
context[:gem_version] = '1.
|
3526
|
+
context[:gem_version] = '1.16.0'
|
3238
3527
|
Seahorse::Client::Request.new(handlers, context)
|
3239
3528
|
end
|
3240
3529
|
|