emass_client 3.10.1 → 3.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +57 -44
  3. data/lib/emass_client/api/artifacts_api.rb +14 -11
  4. data/lib/emass_client/api/artifacts_export_api.rb +3 -3
  5. data/lib/emass_client/api/cac_api.rb +7 -7
  6. data/lib/emass_client/api/cloud_resource_results_api.rb +79 -5
  7. data/lib/emass_client/api/cmmc_assessments_api.rb +3 -3
  8. data/lib/emass_client/api/container_scan_results_api.rb +79 -5
  9. data/lib/emass_client/api/controls_api.rb +5 -5
  10. data/lib/emass_client/api/enterprise_artifacts_dashboards_api.rb +168 -0
  11. data/lib/emass_client/api/enterprise_poam_dashboards_api.rb +168 -0
  12. data/lib/emass_client/api/enterprise_security_controls_dashboards_api.rb +241 -0
  13. data/lib/emass_client/api/enterprise_sensor_based_hardware_resources_dashboards_api.rb +168 -0
  14. data/lib/emass_client/api/enterprise_sensor_based_software_resources_dashboards_api.rb +241 -0
  15. data/lib/emass_client/api/enterprise_terms_conditions_dashboards_api.rb +168 -0
  16. data/lib/emass_client/api/enterprise_vulnerability_dashboards_api.rb +241 -0
  17. data/lib/emass_client/api/fisma_inventory_summary_dashboards_api.rb +168 -0
  18. data/lib/emass_client/api/hardware_baseline_dashboards_api.rb +168 -0
  19. data/lib/emass_client/api/milestones_api.rb +6 -6
  20. data/lib/emass_client/api/pac_api.rb +11 -11
  21. data/lib/emass_client/api/poam_api.rb +12 -9
  22. data/lib/emass_client/api/ports_and_protocols_dashboards_api.rb +168 -0
  23. data/lib/emass_client/api/privacy_compliance_dashboards_api.rb +168 -0
  24. data/lib/emass_client/api/registration_api.rb +3 -3
  25. data/lib/emass_client/api/software_baseline_dashboards_api.rb +168 -0
  26. data/lib/emass_client/api/static_code_scans_api.rb +5 -5
  27. data/lib/emass_client/api/system_a20_summary_dashboard_api.rb +95 -0
  28. data/lib/emass_client/api/system_aa_summary_dashboard_api.rb +95 -0
  29. data/lib/emass_client/api/system_associations_dashboard_api.rb +95 -0
  30. data/lib/emass_client/api/system_conmon_integration_status_dashboard_api.rb +95 -0
  31. data/lib/emass_client/api/system_pl109_reporting_summary_dashboard_api.rb +95 -0
  32. data/lib/emass_client/api/system_roles_api.rb +5 -13
  33. data/lib/emass_client/api/system_status_dashboard_api.rb +95 -0
  34. data/lib/emass_client/api/systems_api.rb +26 -26
  35. data/lib/emass_client/api/test_api.rb +3 -3
  36. data/lib/emass_client/api/test_results_api.rb +14 -11
  37. data/lib/emass_client/api/threat_risks_dashboards_api.rb +241 -0
  38. data/lib/emass_client/api/users_dashboard_api.rb +95 -0
  39. data/lib/emass_client/api/workflow_definitions_api.rb +3 -3
  40. data/lib/emass_client/api/workflow_instances_api.rb +6 -3
  41. data/lib/emass_client/api_client.rb +5 -4
  42. data/lib/emass_client/api_error.rb +3 -3
  43. data/lib/emass_client/configuration.rb +3 -3
  44. data/lib/emass_client/models/artifacts_get.rb +28 -23
  45. data/lib/emass_client/models/artifacts_request_delete_body_inner.rb +15 -20
  46. data/lib/emass_client/models/artifacts_response_del.rb +15 -20
  47. data/lib/emass_client/models/artifacts_response_del_data_inner.rb +15 -20
  48. data/lib/emass_client/models/artifacts_response_get.rb +15 -20
  49. data/lib/emass_client/models/artifacts_response_put_post.rb +15 -20
  50. data/lib/emass_client/models/artifacts_response_put_post_data_inner.rb +29 -25
  51. data/lib/emass_client/models/cac_get.rb +15 -20
  52. data/lib/emass_client/models/cac_response_get.rb +15 -20
  53. data/lib/emass_client/models/cac_response_post.rb +15 -20
  54. data/lib/emass_client/models/cac_response_post_data_inner.rb +29 -25
  55. data/lib/emass_client/models/cloud_resources_delete.rb +225 -0
  56. data/lib/emass_client/models/cloud_resources_delete_body_inner.rb +215 -0
  57. data/lib/emass_client/models/{cloud_resources_post.rb → cloud_resources_post_delete.rb} +32 -28
  58. data/lib/emass_client/models/cloud_resources_response_post.rb +16 -21
  59. data/lib/emass_client/models/cmmc_get.rb +15 -20
  60. data/lib/emass_client/models/cmmc_response_get.rb +15 -20
  61. data/lib/emass_client/models/connectivity_ccsd.rb +15 -20
  62. data/lib/emass_client/models/container_resources_delete_body_inner.rb +215 -0
  63. data/lib/emass_client/models/{containers_resources_post.rb → containers_resources_post_delete.rb} +32 -28
  64. data/lib/emass_client/models/containers_response_delete.rb +225 -0
  65. data/lib/emass_client/models/containers_response_post.rb +16 -21
  66. data/lib/emass_client/models/controls_get.rb +66 -39
  67. data/lib/emass_client/models/controls_put.rb +29 -25
  68. data/lib/emass_client/models/controls_response_get.rb +15 -20
  69. data/lib/emass_client/models/controls_response_put.rb +15 -20
  70. data/lib/emass_client/models/dashboard_mock_response.rb +15 -20
  71. data/lib/emass_client/models/dashboard_mock_response_pagination.rb +15 -20
  72. data/lib/emass_client/models/definition_transitions.rb +15 -20
  73. data/lib/emass_client/models/instances_transitions.rb +15 -20
  74. data/lib/emass_client/models/milestone_response_delete.rb +225 -0
  75. data/lib/emass_client/models/milestone_response_get.rb +15 -20
  76. data/lib/emass_client/models/milestone_response_get_milestone.rb +15 -20
  77. data/lib/emass_client/models/milestone_response_post.rb +15 -20
  78. data/lib/emass_client/models/milestone_response_put.rb +15 -20
  79. data/lib/emass_client/models/milestones_get.rb +15 -20
  80. data/lib/emass_client/models/milestones_put_post_delete.rb +29 -25
  81. data/lib/emass_client/models/milestones_request_delete_body_inner.rb +15 -20
  82. data/lib/emass_client/models/milestones_required_post.rb +19 -20
  83. data/lib/emass_client/models/milestones_required_put.rb +21 -20
  84. data/lib/emass_client/models/mock_object.rb +15 -20
  85. data/lib/emass_client/models/pac_get.rb +20 -45
  86. data/lib/emass_client/models/pac_post.rb +29 -25
  87. data/lib/emass_client/models/pac_response_get.rb +15 -20
  88. data/lib/emass_client/models/pac_response_post.rb +15 -20
  89. data/lib/emass_client/models/poam_get.rb +217 -36
  90. data/lib/emass_client/models/poam_post_put_del.rb +29 -25
  91. data/lib/emass_client/models/poam_request_delete_body_inner.rb +15 -20
  92. data/lib/emass_client/models/poam_response_delete.rb +15 -20
  93. data/lib/emass_client/models/poam_response_get_poams.rb +15 -20
  94. data/lib/emass_client/models/poam_response_get_systems.rb +15 -20
  95. data/lib/emass_client/models/poam_response_post.rb +15 -20
  96. data/lib/emass_client/models/poam_response_put.rb +15 -20
  97. data/lib/emass_client/models/register.rb +15 -20
  98. data/lib/emass_client/models/register_data.rb +15 -20
  99. data/lib/emass_client/models/register_user_request_post_body.rb +17 -20
  100. data/lib/emass_client/models/response200.rb +21 -22
  101. data/lib/emass_client/models/response201.rb +15 -20
  102. data/lib/emass_client/models/response201_meta.rb +21 -22
  103. data/lib/emass_client/models/response400.rb +15 -20
  104. data/lib/emass_client/models/response400_meta.rb +21 -22
  105. data/lib/emass_client/models/response401.rb +15 -20
  106. data/lib/emass_client/models/response401_meta.rb +21 -22
  107. data/lib/emass_client/models/response403.rb +15 -20
  108. data/lib/emass_client/models/response403_meta.rb +21 -22
  109. data/lib/emass_client/models/response404.rb +21 -22
  110. data/lib/emass_client/models/response405.rb +15 -20
  111. data/lib/emass_client/models/response405_meta.rb +21 -22
  112. data/lib/emass_client/models/response411.rb +15 -20
  113. data/lib/emass_client/models/response411_meta.rb +21 -22
  114. data/lib/emass_client/models/response490.rb +15 -20
  115. data/lib/emass_client/models/response490_meta.rb +21 -22
  116. data/lib/emass_client/models/response500.rb +15 -20
  117. data/lib/emass_client/models/response500_meta.rb +21 -22
  118. data/lib/emass_client/models/role_category.rb +15 -20
  119. data/lib/emass_client/models/roles.rb +15 -20
  120. data/lib/emass_client/models/ssps.rb +15 -20
  121. data/lib/emass_client/models/stage.rb +15 -20
  122. data/lib/emass_client/models/{static_code_application.rb → static_code_application_post.rb} +18 -23
  123. data/lib/emass_client/models/static_code_post.rb +29 -25
  124. data/lib/emass_client/models/static_code_request_post_body.rb +16 -21
  125. data/lib/emass_client/models/static_code_request_post_body_application.rb +15 -20
  126. data/lib/emass_client/models/static_code_response_post.rb +15 -20
  127. data/lib/emass_client/models/success200_response.rb +15 -20
  128. data/lib/emass_client/models/success200_response_data_inner.rb +29 -25
  129. data/lib/emass_client/models/system_response.rb +15 -20
  130. data/lib/emass_client/models/system_roles_category_response.rb +15 -20
  131. data/lib/emass_client/models/system_roles_response.rb +15 -20
  132. data/lib/emass_client/models/system_roles_response_data_inner.rb +15 -20
  133. data/lib/emass_client/models/systems.rb +248 -33
  134. data/lib/emass_client/models/systems_response.rb +15 -20
  135. data/lib/emass_client/models/test.rb +15 -20
  136. data/lib/emass_client/models/test_data.rb +15 -20
  137. data/lib/emass_client/models/test_results_get.rb +26 -21
  138. data/lib/emass_client/models/test_results_post.rb +29 -25
  139. data/lib/emass_client/models/test_results_response_get.rb +15 -20
  140. data/lib/emass_client/models/test_results_response_post.rb +15 -20
  141. data/lib/emass_client/models/users.rb +15 -20
  142. data/lib/emass_client/models/workflow_definition_get.rb +15 -20
  143. data/lib/emass_client/models/workflow_definition_response_get.rb +15 -20
  144. data/lib/emass_client/models/workflow_instance_get.rb +15 -20
  145. data/lib/emass_client/models/workflow_instance_response_get.rb +15 -20
  146. data/lib/emass_client/models/workflow_instances_get.rb +15 -20
  147. data/lib/emass_client/models/workflow_instances_response_get.rb +15 -20
  148. data/lib/emass_client/models/workflow_instances_response_get_pagination.rb +15 -20
  149. data/lib/emass_client/version.rb +4 -4
  150. data/lib/emass_client.rb +31 -7
  151. metadata +30 -6
  152. data/lib/emass_client/api/dashboards_api.rb +0 -2139
@@ -1,2139 +0,0 @@
1
- =begin
2
- #Enterprise Mission Assurance Support Service (eMASS)
3
-
4
- #The Enterprise Mission Assurance Support Service (eMASS) Representational State Transfer (REST) Application Programming Interface (API) enables users to perform assessments and complete actions associated with system records. <strong>Register External Application (that use the eMASS API)</strong></br> New users will need to [register](https://nisp.emass.apps.mil/Content/Help/jobaids/eMASS_OT_NewUser_Job_Aid.pdf) an API key with the eMASS development team prior to accessing the site for the first time. The eMASS REST API requires a client certificate (SSL/TLS, DoD PKI only). Use the `Registration` endpoint to register the client certificate.</br></br> Every call to the eMASS REST API will require the use of the agreed upon public key certificate and API key. The API key must be provided in the request header for all endpoint calls (api-key). If the service receives an untrusted certificate or API key, a 401 error response code will be returned along with an error message. </br></br> <strong>Available Request Headers</strong></br> <table> <tr> <th align=left>key</th> <th align=left>Example Value</th> <th align=left>Description</th> </tr> <tr> <td>`api-key`</td> <td>api-key-provided-by-emass</td> <td>This API key must be provided in the request header for all endpoint calls</td> </tr> <tr> <td>`user-uid`</td> <td>USER.UID.KEY</td> <td>This User unique identifier key must be provided in the request header for all PUT, POST, and DELETE endpoint calls</td> </tr> <tr> <td></td><td></td> <td> Note: For DoD users this is the DoD ID Number (EIDIPI) on their DoD CAC </td> </tr> </table> </br><strong>Approve API Client for Actionable Requests</strong></br> Users are required to log-in to eMASS and grant permissions for a client to update data within eMASS on their behalf. This is only required for actionable requests (PUT, POST, DELETE). The Registration Endpoint and all GET requests can be accessed without completing this process with the correct permissions. Please note that leaving a field parameter blank (for PUT/POST requests) has the potential to clear information in the active eMASS records. To establish an account with eMASS and/or acquire an api-key/user-uid, contact one of the listed POC:
5
-
6
- The version of the OpenAPI document: v3.10
7
- Contact: disa.meade.id.mbx.emass-tier-iii-support@mail.mil
8
- Generated by: https://openapi-generator.tech
9
- OpenAPI Generator version: 7.0.0-SNAPSHOT
10
-
11
- =end
12
-
13
- require 'cgi'
14
-
15
- module EmassClient
16
- class DashboardsApi
17
- attr_accessor :api_client
18
-
19
- def initialize(api_client = ApiClient.default)
20
- @api_client = api_client
21
- end
22
- # System Artifacts Details
23
- # Get system Artifacts details information.
24
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
25
- # @param [Hash] opts the optional parameters
26
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
27
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
28
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
29
- # @return [Object]
30
- def get_system_artifacts_details(org_id, opts = {})
31
- data, _status_code, _headers = get_system_artifacts_details_with_http_info(org_id, opts)
32
- data
33
- end
34
-
35
- # System Artifacts Details
36
- # Get system Artifacts details information.
37
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
38
- # @param [Hash] opts the optional parameters
39
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
40
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
41
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
42
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
43
- def get_system_artifacts_details_with_http_info(org_id, opts = {})
44
- if @api_client.config.debugging
45
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_artifacts_details ...'
46
- end
47
- # verify the required parameter 'org_id' is set
48
- if @api_client.config.client_side_validation && org_id.nil?
49
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_artifacts_details"
50
- end
51
- # resource path
52
- local_var_path = '/api/dashboards/system-artifacts-details'
53
-
54
- # query parameters
55
- query_params = opts[:query_params] || {}
56
- query_params[:'orgId'] = org_id
57
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
58
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
59
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
60
-
61
- # header parameters
62
- header_params = opts[:header_params] || {}
63
- # HTTP header 'Accept' (if needed)
64
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
65
-
66
- # form parameters
67
- form_params = opts[:form_params] || {}
68
-
69
- # http body (model)
70
- post_body = opts[:debug_body]
71
-
72
- # return_type
73
- return_type = opts[:debug_return_type] || 'Object'
74
-
75
- # auth_names
76
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
77
-
78
- new_options = opts.merge(
79
- :operation => :"DashboardsApi.get_system_artifacts_details",
80
- :header_params => header_params,
81
- :query_params => query_params,
82
- :form_params => form_params,
83
- :body => post_body,
84
- :auth_names => auth_names,
85
- :return_type => return_type
86
- )
87
-
88
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
89
- if @api_client.config.debugging
90
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_artifacts_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
91
- end
92
- return data, status_code, headers
93
- end
94
-
95
- # System Artifacts Summary
96
- # Get system Artifacts summary information.
97
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
98
- # @param [Hash] opts the optional parameters
99
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
100
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
101
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
102
- # @return [Object]
103
- def get_system_artifacts_summary(org_id, opts = {})
104
- data, _status_code, _headers = get_system_artifacts_summary_with_http_info(org_id, opts)
105
- data
106
- end
107
-
108
- # System Artifacts Summary
109
- # Get system Artifacts summary information.
110
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
111
- # @param [Hash] opts the optional parameters
112
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
113
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
114
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
115
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
116
- def get_system_artifacts_summary_with_http_info(org_id, opts = {})
117
- if @api_client.config.debugging
118
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_artifacts_summary ...'
119
- end
120
- # verify the required parameter 'org_id' is set
121
- if @api_client.config.client_side_validation && org_id.nil?
122
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_artifacts_summary"
123
- end
124
- # resource path
125
- local_var_path = '/api/dashboards/system-artifacts-summary'
126
-
127
- # query parameters
128
- query_params = opts[:query_params] || {}
129
- query_params[:'orgId'] = org_id
130
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
131
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
132
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
133
-
134
- # header parameters
135
- header_params = opts[:header_params] || {}
136
- # HTTP header 'Accept' (if needed)
137
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
138
-
139
- # form parameters
140
- form_params = opts[:form_params] || {}
141
-
142
- # http body (model)
143
- post_body = opts[:debug_body]
144
-
145
- # return_type
146
- return_type = opts[:debug_return_type] || 'Object'
147
-
148
- # auth_names
149
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
150
-
151
- new_options = opts.merge(
152
- :operation => :"DashboardsApi.get_system_artifacts_summary",
153
- :header_params => header_params,
154
- :query_params => query_params,
155
- :form_params => form_params,
156
- :body => post_body,
157
- :auth_names => auth_names,
158
- :return_type => return_type
159
- )
160
-
161
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
162
- if @api_client.config.debugging
163
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_artifacts_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
164
- end
165
- return data, status_code, headers
166
- end
167
-
168
- # System Assessment Procedures Details
169
- # Get systems assessement procdures details dashboard information.
170
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
171
- # @param [Hash] opts the optional parameters
172
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
173
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
174
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
175
- # @return [Object]
176
- def get_system_assessment_procedures_details(org_id, opts = {})
177
- data, _status_code, _headers = get_system_assessment_procedures_details_with_http_info(org_id, opts)
178
- data
179
- end
180
-
181
- # System Assessment Procedures Details
182
- # Get systems assessement procdures details dashboard information.
183
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
184
- # @param [Hash] opts the optional parameters
185
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
186
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
187
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
188
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
189
- def get_system_assessment_procedures_details_with_http_info(org_id, opts = {})
190
- if @api_client.config.debugging
191
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_assessment_procedures_details ...'
192
- end
193
- # verify the required parameter 'org_id' is set
194
- if @api_client.config.client_side_validation && org_id.nil?
195
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_assessment_procedures_details"
196
- end
197
- # resource path
198
- local_var_path = '/api/dashboards/system-assessment-procedures-details'
199
-
200
- # query parameters
201
- query_params = opts[:query_params] || {}
202
- query_params[:'orgId'] = org_id
203
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
204
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
205
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
206
-
207
- # header parameters
208
- header_params = opts[:header_params] || {}
209
- # HTTP header 'Accept' (if needed)
210
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
211
-
212
- # form parameters
213
- form_params = opts[:form_params] || {}
214
-
215
- # http body (model)
216
- post_body = opts[:debug_body]
217
-
218
- # return_type
219
- return_type = opts[:debug_return_type] || 'Object'
220
-
221
- # auth_names
222
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
223
-
224
- new_options = opts.merge(
225
- :operation => :"DashboardsApi.get_system_assessment_procedures_details",
226
- :header_params => header_params,
227
- :query_params => query_params,
228
- :form_params => form_params,
229
- :body => post_body,
230
- :auth_names => auth_names,
231
- :return_type => return_type
232
- )
233
-
234
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
235
- if @api_client.config.debugging
236
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_assessment_procedures_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
237
- end
238
- return data, status_code, headers
239
- end
240
-
241
- # System Associations Details
242
- # Get system associations details dashboard information.
243
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
244
- # @param [Hash] opts the optional parameters
245
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
246
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
247
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
248
- # @return [Object]
249
- def get_system_associations_details(org_id, opts = {})
250
- data, _status_code, _headers = get_system_associations_details_with_http_info(org_id, opts)
251
- data
252
- end
253
-
254
- # System Associations Details
255
- # Get system associations details dashboard information.
256
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
257
- # @param [Hash] opts the optional parameters
258
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
259
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
260
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
261
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
262
- def get_system_associations_details_with_http_info(org_id, opts = {})
263
- if @api_client.config.debugging
264
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_associations_details ...'
265
- end
266
- # verify the required parameter 'org_id' is set
267
- if @api_client.config.client_side_validation && org_id.nil?
268
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_associations_details"
269
- end
270
- # resource path
271
- local_var_path = '/api/dashboards/system-associations-details'
272
-
273
- # query parameters
274
- query_params = opts[:query_params] || {}
275
- query_params[:'orgId'] = org_id
276
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
277
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
278
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
279
-
280
- # header parameters
281
- header_params = opts[:header_params] || {}
282
- # HTTP header 'Accept' (if needed)
283
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
284
-
285
- # form parameters
286
- form_params = opts[:form_params] || {}
287
-
288
- # http body (model)
289
- post_body = opts[:debug_body]
290
-
291
- # return_type
292
- return_type = opts[:debug_return_type] || 'Object'
293
-
294
- # auth_names
295
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
296
-
297
- new_options = opts.merge(
298
- :operation => :"DashboardsApi.get_system_associations_details",
299
- :header_params => header_params,
300
- :query_params => query_params,
301
- :form_params => form_params,
302
- :body => post_body,
303
- :auth_names => auth_names,
304
- :return_type => return_type
305
- )
306
-
307
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
308
- if @api_client.config.debugging
309
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_associations_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
310
- end
311
- return data, status_code, headers
312
- end
313
-
314
- # System CONMON Integration Status
315
- # Get system CONMON integration status dashboard information.
316
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
317
- # @param [Hash] opts the optional parameters
318
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
319
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
320
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
321
- # @return [Object]
322
- def get_system_common_integration_status_summary(org_id, opts = {})
323
- data, _status_code, _headers = get_system_common_integration_status_summary_with_http_info(org_id, opts)
324
- data
325
- end
326
-
327
- # System CONMON Integration Status
328
- # Get system CONMON integration status dashboard information.
329
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
330
- # @param [Hash] opts the optional parameters
331
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
332
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
333
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
334
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
335
- def get_system_common_integration_status_summary_with_http_info(org_id, opts = {})
336
- if @api_client.config.debugging
337
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_common_integration_status_summary ...'
338
- end
339
- # verify the required parameter 'org_id' is set
340
- if @api_client.config.client_side_validation && org_id.nil?
341
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_common_integration_status_summary"
342
- end
343
- # resource path
344
- local_var_path = '/api/dashboards/system-conmon-integration-status-summary'
345
-
346
- # query parameters
347
- query_params = opts[:query_params] || {}
348
- query_params[:'orgId'] = org_id
349
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
350
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
351
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
352
-
353
- # header parameters
354
- header_params = opts[:header_params] || {}
355
- # HTTP header 'Accept' (if needed)
356
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
357
-
358
- # form parameters
359
- form_params = opts[:form_params] || {}
360
-
361
- # http body (model)
362
- post_body = opts[:debug_body]
363
-
364
- # return_type
365
- return_type = opts[:debug_return_type] || 'Object'
366
-
367
- # auth_names
368
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
369
-
370
- new_options = opts.merge(
371
- :operation => :"DashboardsApi.get_system_common_integration_status_summary",
372
- :header_params => header_params,
373
- :query_params => query_params,
374
- :form_params => form_params,
375
- :body => post_body,
376
- :auth_names => auth_names,
377
- :return_type => return_type
378
- )
379
-
380
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
381
- if @api_client.config.debugging
382
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_common_integration_status_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
383
- end
384
- return data, status_code, headers
385
- end
386
-
387
- # System Control Compliance Summary
388
- # Get systems control compliance summary dashboard information.
389
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
390
- # @param [Hash] opts the optional parameters
391
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
392
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
393
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
394
- # @return [Object]
395
- def get_system_control_compliance_summary(org_id, opts = {})
396
- data, _status_code, _headers = get_system_control_compliance_summary_with_http_info(org_id, opts)
397
- data
398
- end
399
-
400
- # System Control Compliance Summary
401
- # Get systems control compliance summary dashboard information.
402
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
403
- # @param [Hash] opts the optional parameters
404
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
405
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
406
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
407
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
408
- def get_system_control_compliance_summary_with_http_info(org_id, opts = {})
409
- if @api_client.config.debugging
410
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_control_compliance_summary ...'
411
- end
412
- # verify the required parameter 'org_id' is set
413
- if @api_client.config.client_side_validation && org_id.nil?
414
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_control_compliance_summary"
415
- end
416
- # resource path
417
- local_var_path = '/api/dashboards/system-control-compliance-summary'
418
-
419
- # query parameters
420
- query_params = opts[:query_params] || {}
421
- query_params[:'orgId'] = org_id
422
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
423
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
424
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
425
-
426
- # header parameters
427
- header_params = opts[:header_params] || {}
428
- # HTTP header 'Accept' (if needed)
429
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
430
-
431
- # form parameters
432
- form_params = opts[:form_params] || {}
433
-
434
- # http body (model)
435
- post_body = opts[:debug_body]
436
-
437
- # return_type
438
- return_type = opts[:debug_return_type] || 'Object'
439
-
440
- # auth_names
441
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
442
-
443
- new_options = opts.merge(
444
- :operation => :"DashboardsApi.get_system_control_compliance_summary",
445
- :header_params => header_params,
446
- :query_params => query_params,
447
- :form_params => form_params,
448
- :body => post_body,
449
- :auth_names => auth_names,
450
- :return_type => return_type
451
- )
452
-
453
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
454
- if @api_client.config.debugging
455
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_control_compliance_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
456
- end
457
- return data, status_code, headers
458
- end
459
-
460
- # System Hardware Details
461
- # Get system hardware details dashboard information.
462
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
463
- # @param [Hash] opts the optional parameters
464
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
465
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
466
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
467
- # @return [Object]
468
- def get_system_hardware_details(org_id, opts = {})
469
- data, _status_code, _headers = get_system_hardware_details_with_http_info(org_id, opts)
470
- data
471
- end
472
-
473
- # System Hardware Details
474
- # Get system hardware details dashboard information.
475
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
476
- # @param [Hash] opts the optional parameters
477
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
478
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
479
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
480
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
481
- def get_system_hardware_details_with_http_info(org_id, opts = {})
482
- if @api_client.config.debugging
483
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_hardware_details ...'
484
- end
485
- # verify the required parameter 'org_id' is set
486
- if @api_client.config.client_side_validation && org_id.nil?
487
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_hardware_details"
488
- end
489
- # resource path
490
- local_var_path = '/api/dashboards/system-hardware-details'
491
-
492
- # query parameters
493
- query_params = opts[:query_params] || {}
494
- query_params[:'orgId'] = org_id
495
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
496
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
497
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
498
-
499
- # header parameters
500
- header_params = opts[:header_params] || {}
501
- # HTTP header 'Accept' (if needed)
502
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
503
-
504
- # form parameters
505
- form_params = opts[:form_params] || {}
506
-
507
- # http body (model)
508
- post_body = opts[:debug_body]
509
-
510
- # return_type
511
- return_type = opts[:debug_return_type] || 'Object'
512
-
513
- # auth_names
514
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
515
-
516
- new_options = opts.merge(
517
- :operation => :"DashboardsApi.get_system_hardware_details",
518
- :header_params => header_params,
519
- :query_params => query_params,
520
- :form_params => form_params,
521
- :body => post_body,
522
- :auth_names => auth_names,
523
- :return_type => return_type
524
- )
525
-
526
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
527
- if @api_client.config.debugging
528
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_hardware_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
529
- end
530
- return data, status_code, headers
531
- end
532
-
533
- # System Hardware Summary
534
- # Get system hardware summary dashboard information.
535
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
536
- # @param [Hash] opts the optional parameters
537
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
538
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
539
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
540
- # @return [Object]
541
- def get_system_hardware_summary(org_id, opts = {})
542
- data, _status_code, _headers = get_system_hardware_summary_with_http_info(org_id, opts)
543
- data
544
- end
545
-
546
- # System Hardware Summary
547
- # Get system hardware summary dashboard information.
548
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
549
- # @param [Hash] opts the optional parameters
550
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
551
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
552
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
553
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
554
- def get_system_hardware_summary_with_http_info(org_id, opts = {})
555
- if @api_client.config.debugging
556
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_hardware_summary ...'
557
- end
558
- # verify the required parameter 'org_id' is set
559
- if @api_client.config.client_side_validation && org_id.nil?
560
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_hardware_summary"
561
- end
562
- # resource path
563
- local_var_path = '/api/dashboards/system-hardware-summary'
564
-
565
- # query parameters
566
- query_params = opts[:query_params] || {}
567
- query_params[:'orgId'] = org_id
568
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
569
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
570
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
571
-
572
- # header parameters
573
- header_params = opts[:header_params] || {}
574
- # HTTP header 'Accept' (if needed)
575
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
576
-
577
- # form parameters
578
- form_params = opts[:form_params] || {}
579
-
580
- # http body (model)
581
- post_body = opts[:debug_body]
582
-
583
- # return_type
584
- return_type = opts[:debug_return_type] || 'Object'
585
-
586
- # auth_names
587
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
588
-
589
- new_options = opts.merge(
590
- :operation => :"DashboardsApi.get_system_hardware_summary",
591
- :header_params => header_params,
592
- :query_params => query_params,
593
- :form_params => form_params,
594
- :body => post_body,
595
- :auth_names => auth_names,
596
- :return_type => return_type
597
- )
598
-
599
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
600
- if @api_client.config.debugging
601
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_hardware_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
602
- end
603
- return data, status_code, headers
604
- end
605
-
606
- # System POA&M Details
607
- # Get system POA&Ms details dashboard information.
608
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
609
- # @param [Hash] opts the optional parameters
610
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
611
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
612
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
613
- # @return [Object]
614
- def get_system_poam_details(org_id, opts = {})
615
- data, _status_code, _headers = get_system_poam_details_with_http_info(org_id, opts)
616
- data
617
- end
618
-
619
- # System POA&amp;M Details
620
- # Get system POA&amp;Ms details dashboard information.
621
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
622
- # @param [Hash] opts the optional parameters
623
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
624
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
625
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
626
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
627
- def get_system_poam_details_with_http_info(org_id, opts = {})
628
- if @api_client.config.debugging
629
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_poam_details ...'
630
- end
631
- # verify the required parameter 'org_id' is set
632
- if @api_client.config.client_side_validation && org_id.nil?
633
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_poam_details"
634
- end
635
- # resource path
636
- local_var_path = '/api/dashboards/system-poam-details'
637
-
638
- # query parameters
639
- query_params = opts[:query_params] || {}
640
- query_params[:'orgId'] = org_id
641
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
642
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
643
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
644
-
645
- # header parameters
646
- header_params = opts[:header_params] || {}
647
- # HTTP header 'Accept' (if needed)
648
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
649
-
650
- # form parameters
651
- form_params = opts[:form_params] || {}
652
-
653
- # http body (model)
654
- post_body = opts[:debug_body]
655
-
656
- # return_type
657
- return_type = opts[:debug_return_type] || 'Object'
658
-
659
- # auth_names
660
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
661
-
662
- new_options = opts.merge(
663
- :operation => :"DashboardsApi.get_system_poam_details",
664
- :header_params => header_params,
665
- :query_params => query_params,
666
- :form_params => form_params,
667
- :body => post_body,
668
- :auth_names => auth_names,
669
- :return_type => return_type
670
- )
671
-
672
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
673
- if @api_client.config.debugging
674
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_poam_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
675
- end
676
- return data, status_code, headers
677
- end
678
-
679
- # System POA&M Summary
680
- # Get systems POA&Ms summary dashboard information.
681
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
682
- # @param [Hash] opts the optional parameters
683
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
684
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
685
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
686
- # @return [Object]
687
- def get_system_poam_summary(org_id, opts = {})
688
- data, _status_code, _headers = get_system_poam_summary_with_http_info(org_id, opts)
689
- data
690
- end
691
-
692
- # System POA&amp;M Summary
693
- # Get systems POA&amp;Ms summary dashboard information.
694
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
695
- # @param [Hash] opts the optional parameters
696
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
697
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
698
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
699
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
700
- def get_system_poam_summary_with_http_info(org_id, opts = {})
701
- if @api_client.config.debugging
702
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_poam_summary ...'
703
- end
704
- # verify the required parameter 'org_id' is set
705
- if @api_client.config.client_side_validation && org_id.nil?
706
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_poam_summary"
707
- end
708
- # resource path
709
- local_var_path = '/api/dashboards/system-poam-summary'
710
-
711
- # query parameters
712
- query_params = opts[:query_params] || {}
713
- query_params[:'orgId'] = org_id
714
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
715
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
716
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
717
-
718
- # header parameters
719
- header_params = opts[:header_params] || {}
720
- # HTTP header 'Accept' (if needed)
721
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
722
-
723
- # form parameters
724
- form_params = opts[:form_params] || {}
725
-
726
- # http body (model)
727
- post_body = opts[:debug_body]
728
-
729
- # return_type
730
- return_type = opts[:debug_return_type] || 'Object'
731
-
732
- # auth_names
733
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
734
-
735
- new_options = opts.merge(
736
- :operation => :"DashboardsApi.get_system_poam_summary",
737
- :header_params => header_params,
738
- :query_params => query_params,
739
- :form_params => form_params,
740
- :body => post_body,
741
- :auth_names => auth_names,
742
- :return_type => return_type
743
- )
744
-
745
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
746
- if @api_client.config.debugging
747
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_poam_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
748
- end
749
- return data, status_code, headers
750
- end
751
-
752
- # System Ports/Protocols Details
753
- # Get system ports and protocols details dashboard information.
754
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
755
- # @param [Hash] opts the optional parameters
756
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
757
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
758
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
759
- # @return [Object]
760
- def get_system_ports_protocols_details(org_id, opts = {})
761
- data, _status_code, _headers = get_system_ports_protocols_details_with_http_info(org_id, opts)
762
- data
763
- end
764
-
765
- # System Ports/Protocols Details
766
- # Get system ports and protocols details dashboard information.
767
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
768
- # @param [Hash] opts the optional parameters
769
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
770
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
771
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
772
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
773
- def get_system_ports_protocols_details_with_http_info(org_id, opts = {})
774
- if @api_client.config.debugging
775
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_ports_protocols_details ...'
776
- end
777
- # verify the required parameter 'org_id' is set
778
- if @api_client.config.client_side_validation && org_id.nil?
779
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_ports_protocols_details"
780
- end
781
- # resource path
782
- local_var_path = '/api/dashboards/system-ports-protocols-details'
783
-
784
- # query parameters
785
- query_params = opts[:query_params] || {}
786
- query_params[:'orgId'] = org_id
787
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
788
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
789
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
790
-
791
- # header parameters
792
- header_params = opts[:header_params] || {}
793
- # HTTP header 'Accept' (if needed)
794
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
795
-
796
- # form parameters
797
- form_params = opts[:form_params] || {}
798
-
799
- # http body (model)
800
- post_body = opts[:debug_body]
801
-
802
- # return_type
803
- return_type = opts[:debug_return_type] || 'Object'
804
-
805
- # auth_names
806
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
807
-
808
- new_options = opts.merge(
809
- :operation => :"DashboardsApi.get_system_ports_protocols_details",
810
- :header_params => header_params,
811
- :query_params => query_params,
812
- :form_params => form_params,
813
- :body => post_body,
814
- :auth_names => auth_names,
815
- :return_type => return_type
816
- )
817
-
818
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
819
- if @api_client.config.debugging
820
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_ports_protocols_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
821
- end
822
- return data, status_code, headers
823
- end
824
-
825
- # System Ports/Protocols Summary
826
- # Get system ports and protocols summary dashboard information.
827
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
828
- # @param [Hash] opts the optional parameters
829
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
830
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
831
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
832
- # @return [Object]
833
- def get_system_ports_protocols_summary(org_id, opts = {})
834
- data, _status_code, _headers = get_system_ports_protocols_summary_with_http_info(org_id, opts)
835
- data
836
- end
837
-
838
- # System Ports/Protocols Summary
839
- # Get system ports and protocols summary dashboard information.
840
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
841
- # @param [Hash] opts the optional parameters
842
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
843
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
844
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
845
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
846
- def get_system_ports_protocols_summary_with_http_info(org_id, opts = {})
847
- if @api_client.config.debugging
848
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_ports_protocols_summary ...'
849
- end
850
- # verify the required parameter 'org_id' is set
851
- if @api_client.config.client_side_validation && org_id.nil?
852
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_ports_protocols_summary"
853
- end
854
- # resource path
855
- local_var_path = '/api/dashboards/system-ports-protocols-summary'
856
-
857
- # query parameters
858
- query_params = opts[:query_params] || {}
859
- query_params[:'orgId'] = org_id
860
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
861
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
862
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
863
-
864
- # header parameters
865
- header_params = opts[:header_params] || {}
866
- # HTTP header 'Accept' (if needed)
867
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
868
-
869
- # form parameters
870
- form_params = opts[:form_params] || {}
871
-
872
- # http body (model)
873
- post_body = opts[:debug_body]
874
-
875
- # return_type
876
- return_type = opts[:debug_return_type] || 'Object'
877
-
878
- # auth_names
879
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
880
-
881
- new_options = opts.merge(
882
- :operation => :"DashboardsApi.get_system_ports_protocols_summary",
883
- :header_params => header_params,
884
- :query_params => query_params,
885
- :form_params => form_params,
886
- :body => post_body,
887
- :auth_names => auth_names,
888
- :return_type => return_type
889
- )
890
-
891
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
892
- if @api_client.config.debugging
893
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_ports_protocols_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
894
- end
895
- return data, status_code, headers
896
- end
897
-
898
- # System Privacy Summary
899
- # Get user system privacy summary dashboard information.
900
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
901
- # @param [Hash] opts the optional parameters
902
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
903
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
904
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
905
- # @return [Object]
906
- def get_system_privacy_summary(org_id, opts = {})
907
- data, _status_code, _headers = get_system_privacy_summary_with_http_info(org_id, opts)
908
- data
909
- end
910
-
911
- # System Privacy Summary
912
- # Get user system privacy summary dashboard information.
913
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
914
- # @param [Hash] opts the optional parameters
915
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
916
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
917
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
918
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
919
- def get_system_privacy_summary_with_http_info(org_id, opts = {})
920
- if @api_client.config.debugging
921
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_privacy_summary ...'
922
- end
923
- # verify the required parameter 'org_id' is set
924
- if @api_client.config.client_side_validation && org_id.nil?
925
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_privacy_summary"
926
- end
927
- # resource path
928
- local_var_path = '/api/dashboards/system-privacy-summary'
929
-
930
- # query parameters
931
- query_params = opts[:query_params] || {}
932
- query_params[:'orgId'] = org_id
933
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
934
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
935
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
936
-
937
- # header parameters
938
- header_params = opts[:header_params] || {}
939
- # HTTP header 'Accept' (if needed)
940
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
941
-
942
- # form parameters
943
- form_params = opts[:form_params] || {}
944
-
945
- # http body (model)
946
- post_body = opts[:debug_body]
947
-
948
- # return_type
949
- return_type = opts[:debug_return_type] || 'Object'
950
-
951
- # auth_names
952
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
953
-
954
- new_options = opts.merge(
955
- :operation => :"DashboardsApi.get_system_privacy_summary",
956
- :header_params => header_params,
957
- :query_params => query_params,
958
- :form_params => form_params,
959
- :body => post_body,
960
- :auth_names => auth_names,
961
- :return_type => return_type
962
- )
963
-
964
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
965
- if @api_client.config.debugging
966
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_privacy_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
967
- end
968
- return data, status_code, headers
969
- end
970
-
971
- # System Control Compliance Details
972
- # Get systems security control details dashboard information.
973
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
974
- # @param [Hash] opts the optional parameters
975
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
976
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
977
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
978
- # @return [Object]
979
- def get_system_security_control_details(org_id, opts = {})
980
- data, _status_code, _headers = get_system_security_control_details_with_http_info(org_id, opts)
981
- data
982
- end
983
-
984
- # System Control Compliance Details
985
- # Get systems security control details dashboard information.
986
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
987
- # @param [Hash] opts the optional parameters
988
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
989
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
990
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
991
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
992
- def get_system_security_control_details_with_http_info(org_id, opts = {})
993
- if @api_client.config.debugging
994
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_security_control_details ...'
995
- end
996
- # verify the required parameter 'org_id' is set
997
- if @api_client.config.client_side_validation && org_id.nil?
998
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_security_control_details"
999
- end
1000
- # resource path
1001
- local_var_path = '/api/dashboards/system-security-controls-details'
1002
-
1003
- # query parameters
1004
- query_params = opts[:query_params] || {}
1005
- query_params[:'orgId'] = org_id
1006
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1007
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1008
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1009
-
1010
- # header parameters
1011
- header_params = opts[:header_params] || {}
1012
- # HTTP header 'Accept' (if needed)
1013
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1014
-
1015
- # form parameters
1016
- form_params = opts[:form_params] || {}
1017
-
1018
- # http body (model)
1019
- post_body = opts[:debug_body]
1020
-
1021
- # return_type
1022
- return_type = opts[:debug_return_type] || 'Object'
1023
-
1024
- # auth_names
1025
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1026
-
1027
- new_options = opts.merge(
1028
- :operation => :"DashboardsApi.get_system_security_control_details",
1029
- :header_params => header_params,
1030
- :query_params => query_params,
1031
- :form_params => form_params,
1032
- :body => post_body,
1033
- :auth_names => auth_names,
1034
- :return_type => return_type
1035
- )
1036
-
1037
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1038
- if @api_client.config.debugging
1039
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_security_control_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1040
- end
1041
- return data, status_code, headers
1042
- end
1043
-
1044
- # System Sensor Hardware Details
1045
- # Get system sensor hardware details dashboard information.
1046
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1047
- # @param [Hash] opts the optional parameters
1048
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1049
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1050
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1051
- # @return [Object]
1052
- def get_system_sensor_hardware_details(org_id, opts = {})
1053
- data, _status_code, _headers = get_system_sensor_hardware_details_with_http_info(org_id, opts)
1054
- data
1055
- end
1056
-
1057
- # System Sensor Hardware Details
1058
- # Get system sensor hardware details dashboard information.
1059
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1060
- # @param [Hash] opts the optional parameters
1061
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1062
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1063
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1064
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1065
- def get_system_sensor_hardware_details_with_http_info(org_id, opts = {})
1066
- if @api_client.config.debugging
1067
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_sensor_hardware_details ...'
1068
- end
1069
- # verify the required parameter 'org_id' is set
1070
- if @api_client.config.client_side_validation && org_id.nil?
1071
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_sensor_hardware_details"
1072
- end
1073
- # resource path
1074
- local_var_path = '/api/dashboards/system-sensor-hardware-details'
1075
-
1076
- # query parameters
1077
- query_params = opts[:query_params] || {}
1078
- query_params[:'orgId'] = org_id
1079
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1080
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1081
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1082
-
1083
- # header parameters
1084
- header_params = opts[:header_params] || {}
1085
- # HTTP header 'Accept' (if needed)
1086
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1087
-
1088
- # form parameters
1089
- form_params = opts[:form_params] || {}
1090
-
1091
- # http body (model)
1092
- post_body = opts[:debug_body]
1093
-
1094
- # return_type
1095
- return_type = opts[:debug_return_type] || 'Object'
1096
-
1097
- # auth_names
1098
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1099
-
1100
- new_options = opts.merge(
1101
- :operation => :"DashboardsApi.get_system_sensor_hardware_details",
1102
- :header_params => header_params,
1103
- :query_params => query_params,
1104
- :form_params => form_params,
1105
- :body => post_body,
1106
- :auth_names => auth_names,
1107
- :return_type => return_type
1108
- )
1109
-
1110
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1111
- if @api_client.config.debugging
1112
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_sensor_hardware_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1113
- end
1114
- return data, status_code, headers
1115
- end
1116
-
1117
- # System Sensor Hardware Summary
1118
- # Get system sensor hardware summary dashboard information.
1119
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1120
- # @param [Hash] opts the optional parameters
1121
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1122
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1123
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1124
- # @return [Object]
1125
- def get_system_sensor_hardware_summary(org_id, opts = {})
1126
- data, _status_code, _headers = get_system_sensor_hardware_summary_with_http_info(org_id, opts)
1127
- data
1128
- end
1129
-
1130
- # System Sensor Hardware Summary
1131
- # Get system sensor hardware summary dashboard information.
1132
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1133
- # @param [Hash] opts the optional parameters
1134
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1135
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1136
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1137
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1138
- def get_system_sensor_hardware_summary_with_http_info(org_id, opts = {})
1139
- if @api_client.config.debugging
1140
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_sensor_hardware_summary ...'
1141
- end
1142
- # verify the required parameter 'org_id' is set
1143
- if @api_client.config.client_side_validation && org_id.nil?
1144
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_sensor_hardware_summary"
1145
- end
1146
- # resource path
1147
- local_var_path = '/api/dashboards/system-sensor-hardware-summary'
1148
-
1149
- # query parameters
1150
- query_params = opts[:query_params] || {}
1151
- query_params[:'orgId'] = org_id
1152
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1153
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1154
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1155
-
1156
- # header parameters
1157
- header_params = opts[:header_params] || {}
1158
- # HTTP header 'Accept' (if needed)
1159
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1160
-
1161
- # form parameters
1162
- form_params = opts[:form_params] || {}
1163
-
1164
- # http body (model)
1165
- post_body = opts[:debug_body]
1166
-
1167
- # return_type
1168
- return_type = opts[:debug_return_type] || 'Object'
1169
-
1170
- # auth_names
1171
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1172
-
1173
- new_options = opts.merge(
1174
- :operation => :"DashboardsApi.get_system_sensor_hardware_summary",
1175
- :header_params => header_params,
1176
- :query_params => query_params,
1177
- :form_params => form_params,
1178
- :body => post_body,
1179
- :auth_names => auth_names,
1180
- :return_type => return_type
1181
- )
1182
-
1183
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1184
- if @api_client.config.debugging
1185
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_sensor_hardware_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1186
- end
1187
- return data, status_code, headers
1188
- end
1189
-
1190
- # System Software Details
1191
- # Get system software details dashboard information.
1192
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1193
- # @param [Hash] opts the optional parameters
1194
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1195
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1196
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1197
- # @return [Object]
1198
- def get_system_software_details(org_id, opts = {})
1199
- data, _status_code, _headers = get_system_software_details_with_http_info(org_id, opts)
1200
- data
1201
- end
1202
-
1203
- # System Software Details
1204
- # Get system software details dashboard information.
1205
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1206
- # @param [Hash] opts the optional parameters
1207
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1208
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1209
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1210
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1211
- def get_system_software_details_with_http_info(org_id, opts = {})
1212
- if @api_client.config.debugging
1213
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_software_details ...'
1214
- end
1215
- # verify the required parameter 'org_id' is set
1216
- if @api_client.config.client_side_validation && org_id.nil?
1217
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_software_details"
1218
- end
1219
- # resource path
1220
- local_var_path = '/api/dashboards/system-software-details'
1221
-
1222
- # query parameters
1223
- query_params = opts[:query_params] || {}
1224
- query_params[:'orgId'] = org_id
1225
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1226
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1227
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1228
-
1229
- # header parameters
1230
- header_params = opts[:header_params] || {}
1231
- # HTTP header 'Accept' (if needed)
1232
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1233
-
1234
- # form parameters
1235
- form_params = opts[:form_params] || {}
1236
-
1237
- # http body (model)
1238
- post_body = opts[:debug_body]
1239
-
1240
- # return_type
1241
- return_type = opts[:debug_return_type] || 'Object'
1242
-
1243
- # auth_names
1244
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1245
-
1246
- new_options = opts.merge(
1247
- :operation => :"DashboardsApi.get_system_software_details",
1248
- :header_params => header_params,
1249
- :query_params => query_params,
1250
- :form_params => form_params,
1251
- :body => post_body,
1252
- :auth_names => auth_names,
1253
- :return_type => return_type
1254
- )
1255
-
1256
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1257
- if @api_client.config.debugging
1258
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_software_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1259
- end
1260
- return data, status_code, headers
1261
- end
1262
-
1263
- # System Software Summary
1264
- # Get system software summary dashboard information.
1265
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1266
- # @param [Hash] opts the optional parameters
1267
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1268
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1269
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1270
- # @return [Object]
1271
- def get_system_software_summary(org_id, opts = {})
1272
- data, _status_code, _headers = get_system_software_summary_with_http_info(org_id, opts)
1273
- data
1274
- end
1275
-
1276
- # System Software Summary
1277
- # Get system software summary dashboard information.
1278
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1279
- # @param [Hash] opts the optional parameters
1280
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1281
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1282
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1283
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1284
- def get_system_software_summary_with_http_info(org_id, opts = {})
1285
- if @api_client.config.debugging
1286
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_software_summary ...'
1287
- end
1288
- # verify the required parameter 'org_id' is set
1289
- if @api_client.config.client_side_validation && org_id.nil?
1290
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_software_summary"
1291
- end
1292
- # resource path
1293
- local_var_path = '/api/dashboards/system-software-summary'
1294
-
1295
- # query parameters
1296
- query_params = opts[:query_params] || {}
1297
- query_params[:'orgId'] = org_id
1298
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1299
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1300
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1301
-
1302
- # header parameters
1303
- header_params = opts[:header_params] || {}
1304
- # HTTP header 'Accept' (if needed)
1305
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1306
-
1307
- # form parameters
1308
- form_params = opts[:form_params] || {}
1309
-
1310
- # http body (model)
1311
- post_body = opts[:debug_body]
1312
-
1313
- # return_type
1314
- return_type = opts[:debug_return_type] || 'Object'
1315
-
1316
- # auth_names
1317
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1318
-
1319
- new_options = opts.merge(
1320
- :operation => :"DashboardsApi.get_system_software_summary",
1321
- :header_params => header_params,
1322
- :query_params => query_params,
1323
- :form_params => form_params,
1324
- :body => post_body,
1325
- :auth_names => auth_names,
1326
- :return_type => return_type
1327
- )
1328
-
1329
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1330
- if @api_client.config.debugging
1331
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_software_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1332
- end
1333
- return data, status_code, headers
1334
- end
1335
-
1336
- # System Status Details
1337
- # Get systems status detail dashboard information.
1338
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1339
- # @param [Hash] opts the optional parameters
1340
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1341
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1342
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1343
- # @return [Object]
1344
- def get_system_status_details(org_id, opts = {})
1345
- data, _status_code, _headers = get_system_status_details_with_http_info(org_id, opts)
1346
- data
1347
- end
1348
-
1349
- # System Status Details
1350
- # Get systems status detail dashboard information.
1351
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1352
- # @param [Hash] opts the optional parameters
1353
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1354
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1355
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1356
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1357
- def get_system_status_details_with_http_info(org_id, opts = {})
1358
- if @api_client.config.debugging
1359
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_system_status_details ...'
1360
- end
1361
- # verify the required parameter 'org_id' is set
1362
- if @api_client.config.client_side_validation && org_id.nil?
1363
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_system_status_details"
1364
- end
1365
- # resource path
1366
- local_var_path = '/api/dashboards/system-status-details'
1367
-
1368
- # query parameters
1369
- query_params = opts[:query_params] || {}
1370
- query_params[:'orgId'] = org_id
1371
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1372
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1373
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1374
-
1375
- # header parameters
1376
- header_params = opts[:header_params] || {}
1377
- # HTTP header 'Accept' (if needed)
1378
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1379
-
1380
- # form parameters
1381
- form_params = opts[:form_params] || {}
1382
-
1383
- # http body (model)
1384
- post_body = opts[:debug_body]
1385
-
1386
- # return_type
1387
- return_type = opts[:debug_return_type] || 'Object'
1388
-
1389
- # auth_names
1390
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1391
-
1392
- new_options = opts.merge(
1393
- :operation => :"DashboardsApi.get_system_status_details",
1394
- :header_params => header_params,
1395
- :query_params => query_params,
1396
- :form_params => form_params,
1397
- :body => post_body,
1398
- :auth_names => auth_names,
1399
- :return_type => return_type
1400
- )
1401
-
1402
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1403
- if @api_client.config.debugging
1404
- @api_client.config.logger.debug "API called: DashboardsApi#get_system_status_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1405
- end
1406
- return data, status_code, headers
1407
- end
1408
-
1409
- # User System Assignments Details
1410
- # Get user system assignments details dashboard information.
1411
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1412
- # @param [Hash] opts the optional parameters
1413
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1414
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1415
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1416
- # @return [Object]
1417
- def get_user_system_assignments_details(org_id, opts = {})
1418
- data, _status_code, _headers = get_user_system_assignments_details_with_http_info(org_id, opts)
1419
- data
1420
- end
1421
-
1422
- # User System Assignments Details
1423
- # Get user system assignments details dashboard information.
1424
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1425
- # @param [Hash] opts the optional parameters
1426
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1427
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1428
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1429
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1430
- def get_user_system_assignments_details_with_http_info(org_id, opts = {})
1431
- if @api_client.config.debugging
1432
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_user_system_assignments_details ...'
1433
- end
1434
- # verify the required parameter 'org_id' is set
1435
- if @api_client.config.client_side_validation && org_id.nil?
1436
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_user_system_assignments_details"
1437
- end
1438
- # resource path
1439
- local_var_path = '/api/dashboards/user-system-assignments-details'
1440
-
1441
- # query parameters
1442
- query_params = opts[:query_params] || {}
1443
- query_params[:'orgId'] = org_id
1444
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1445
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1446
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1447
-
1448
- # header parameters
1449
- header_params = opts[:header_params] || {}
1450
- # HTTP header 'Accept' (if needed)
1451
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1452
-
1453
- # form parameters
1454
- form_params = opts[:form_params] || {}
1455
-
1456
- # http body (model)
1457
- post_body = opts[:debug_body]
1458
-
1459
- # return_type
1460
- return_type = opts[:debug_return_type] || 'Object'
1461
-
1462
- # auth_names
1463
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1464
-
1465
- new_options = opts.merge(
1466
- :operation => :"DashboardsApi.get_user_system_assignments_details",
1467
- :header_params => header_params,
1468
- :query_params => query_params,
1469
- :form_params => form_params,
1470
- :body => post_body,
1471
- :auth_names => auth_names,
1472
- :return_type => return_type
1473
- )
1474
-
1475
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1476
- if @api_client.config.debugging
1477
- @api_client.config.logger.debug "API called: DashboardsApi#get_user_system_assignments_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1478
- end
1479
- return data, status_code, headers
1480
- end
1481
-
1482
- # VA OMB FISMA SAOP Summary
1483
- # Get VA OMB-FISMA SAOP summary dashboard information.
1484
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1485
- # @param [Hash] opts the optional parameters
1486
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1487
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1488
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1489
- # @return [Object]
1490
- def get_va_omb_fsma_saop_summary(org_id, opts = {})
1491
- data, _status_code, _headers = get_va_omb_fsma_saop_summary_with_http_info(org_id, opts)
1492
- data
1493
- end
1494
-
1495
- # VA OMB FISMA SAOP Summary
1496
- # Get VA OMB-FISMA SAOP summary dashboard information.
1497
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1498
- # @param [Hash] opts the optional parameters
1499
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1500
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1501
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1502
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1503
- def get_va_omb_fsma_saop_summary_with_http_info(org_id, opts = {})
1504
- if @api_client.config.debugging
1505
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_omb_fsma_saop_summary ...'
1506
- end
1507
- # verify the required parameter 'org_id' is set
1508
- if @api_client.config.client_side_validation && org_id.nil?
1509
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_omb_fsma_saop_summary"
1510
- end
1511
- # resource path
1512
- local_var_path = '/api/dashboards/va-omb-fisma-saop-summary'
1513
-
1514
- # query parameters
1515
- query_params = opts[:query_params] || {}
1516
- query_params[:'orgId'] = org_id
1517
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1518
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1519
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1520
-
1521
- # header parameters
1522
- header_params = opts[:header_params] || {}
1523
- # HTTP header 'Accept' (if needed)
1524
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1525
-
1526
- # form parameters
1527
- form_params = opts[:form_params] || {}
1528
-
1529
- # http body (model)
1530
- post_body = opts[:debug_body]
1531
-
1532
- # return_type
1533
- return_type = opts[:debug_return_type] || 'Object'
1534
-
1535
- # auth_names
1536
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1537
-
1538
- new_options = opts.merge(
1539
- :operation => :"DashboardsApi.get_va_omb_fsma_saop_summary",
1540
- :header_params => header_params,
1541
- :query_params => query_params,
1542
- :form_params => form_params,
1543
- :body => post_body,
1544
- :auth_names => auth_names,
1545
- :return_type => return_type
1546
- )
1547
-
1548
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1549
- if @api_client.config.debugging
1550
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_omb_fsma_saop_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1551
- end
1552
- return data, status_code, headers
1553
- end
1554
-
1555
- # VA System A2.0 Summary
1556
- # Get VA system A2.0 summary dashboard information.
1557
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1558
- # @param [Hash] opts the optional parameters
1559
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1560
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1561
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1562
- # @return [Object]
1563
- def get_va_system_a2_summary(org_id, opts = {})
1564
- data, _status_code, _headers = get_va_system_a2_summary_with_http_info(org_id, opts)
1565
- data
1566
- end
1567
-
1568
- # VA System A2.0 Summary
1569
- # Get VA system A2.0 summary dashboard information.
1570
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1571
- # @param [Hash] opts the optional parameters
1572
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1573
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1574
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1575
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1576
- def get_va_system_a2_summary_with_http_info(org_id, opts = {})
1577
- if @api_client.config.debugging
1578
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_a2_summary ...'
1579
- end
1580
- # verify the required parameter 'org_id' is set
1581
- if @api_client.config.client_side_validation && org_id.nil?
1582
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_a2_summary"
1583
- end
1584
- # resource path
1585
- local_var_path = '/api/dashboards/va-system-a2-summary'
1586
-
1587
- # query parameters
1588
- query_params = opts[:query_params] || {}
1589
- query_params[:'orgId'] = org_id
1590
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1591
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1592
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1593
-
1594
- # header parameters
1595
- header_params = opts[:header_params] || {}
1596
- # HTTP header 'Accept' (if needed)
1597
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1598
-
1599
- # form parameters
1600
- form_params = opts[:form_params] || {}
1601
-
1602
- # http body (model)
1603
- post_body = opts[:debug_body]
1604
-
1605
- # return_type
1606
- return_type = opts[:debug_return_type] || 'Object'
1607
-
1608
- # auth_names
1609
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1610
-
1611
- new_options = opts.merge(
1612
- :operation => :"DashboardsApi.get_va_system_a2_summary",
1613
- :header_params => header_params,
1614
- :query_params => query_params,
1615
- :form_params => form_params,
1616
- :body => post_body,
1617
- :auth_names => auth_names,
1618
- :return_type => return_type
1619
- )
1620
-
1621
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1622
- if @api_client.config.debugging
1623
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_system_a2_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1624
- end
1625
- return data, status_code, headers
1626
- end
1627
-
1628
- # VA System A&A Summary
1629
- # Get VA system A&A summary dashboard information.
1630
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1631
- # @param [Hash] opts the optional parameters
1632
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1633
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1634
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1635
- # @return [Object]
1636
- def get_va_system_aa_summary(org_id, opts = {})
1637
- data, _status_code, _headers = get_va_system_aa_summary_with_http_info(org_id, opts)
1638
- data
1639
- end
1640
-
1641
- # VA System A&amp;A Summary
1642
- # Get VA system A&amp;A summary dashboard information.
1643
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1644
- # @param [Hash] opts the optional parameters
1645
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1646
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1647
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1648
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1649
- def get_va_system_aa_summary_with_http_info(org_id, opts = {})
1650
- if @api_client.config.debugging
1651
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_aa_summary ...'
1652
- end
1653
- # verify the required parameter 'org_id' is set
1654
- if @api_client.config.client_side_validation && org_id.nil?
1655
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_aa_summary"
1656
- end
1657
- # resource path
1658
- local_var_path = '/api/dashboards/va-system-aa-summary'
1659
-
1660
- # query parameters
1661
- query_params = opts[:query_params] || {}
1662
- query_params[:'orgId'] = org_id
1663
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1664
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1665
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1666
-
1667
- # header parameters
1668
- header_params = opts[:header_params] || {}
1669
- # HTTP header 'Accept' (if needed)
1670
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1671
-
1672
- # form parameters
1673
- form_params = opts[:form_params] || {}
1674
-
1675
- # http body (model)
1676
- post_body = opts[:debug_body]
1677
-
1678
- # return_type
1679
- return_type = opts[:debug_return_type] || 'Object'
1680
-
1681
- # auth_names
1682
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1683
-
1684
- new_options = opts.merge(
1685
- :operation => :"DashboardsApi.get_va_system_aa_summary",
1686
- :header_params => header_params,
1687
- :query_params => query_params,
1688
- :form_params => form_params,
1689
- :body => post_body,
1690
- :auth_names => auth_names,
1691
- :return_type => return_type
1692
- )
1693
-
1694
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1695
- if @api_client.config.debugging
1696
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_system_aa_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1697
- end
1698
- return data, status_code, headers
1699
- end
1700
-
1701
- # VA System FISMA Inventory Crypto Summary
1702
- # Get VA system FISMA inventory crypto summary dashboard information.
1703
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1704
- # @param [Hash] opts the optional parameters
1705
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1706
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1707
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1708
- # @return [Object]
1709
- def get_va_system_fisma_invetory_crypto_summary(org_id, opts = {})
1710
- data, _status_code, _headers = get_va_system_fisma_invetory_crypto_summary_with_http_info(org_id, opts)
1711
- data
1712
- end
1713
-
1714
- # VA System FISMA Inventory Crypto Summary
1715
- # Get VA system FISMA inventory crypto summary dashboard information.
1716
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1717
- # @param [Hash] opts the optional parameters
1718
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1719
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1720
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1721
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1722
- def get_va_system_fisma_invetory_crypto_summary_with_http_info(org_id, opts = {})
1723
- if @api_client.config.debugging
1724
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_fisma_invetory_crypto_summary ...'
1725
- end
1726
- # verify the required parameter 'org_id' is set
1727
- if @api_client.config.client_side_validation && org_id.nil?
1728
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_fisma_invetory_crypto_summary"
1729
- end
1730
- # resource path
1731
- local_var_path = '/api/dashboards/va-system-fisma-inventory-crypto-summary'
1732
-
1733
- # query parameters
1734
- query_params = opts[:query_params] || {}
1735
- query_params[:'orgId'] = org_id
1736
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1737
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1738
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1739
-
1740
- # header parameters
1741
- header_params = opts[:header_params] || {}
1742
- # HTTP header 'Accept' (if needed)
1743
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1744
-
1745
- # form parameters
1746
- form_params = opts[:form_params] || {}
1747
-
1748
- # http body (model)
1749
- post_body = opts[:debug_body]
1750
-
1751
- # return_type
1752
- return_type = opts[:debug_return_type] || 'Object'
1753
-
1754
- # auth_names
1755
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1756
-
1757
- new_options = opts.merge(
1758
- :operation => :"DashboardsApi.get_va_system_fisma_invetory_crypto_summary",
1759
- :header_params => header_params,
1760
- :query_params => query_params,
1761
- :form_params => form_params,
1762
- :body => post_body,
1763
- :auth_names => auth_names,
1764
- :return_type => return_type
1765
- )
1766
-
1767
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1768
- if @api_client.config.debugging
1769
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_system_fisma_invetory_crypto_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1770
- end
1771
- return data, status_code, headers
1772
- end
1773
-
1774
- # VA System FISMA Inventory Summary
1775
- # Get VA system FISMA inventory summary dashboard information.
1776
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1777
- # @param [Hash] opts the optional parameters
1778
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1779
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1780
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1781
- # @return [Object]
1782
- def get_va_system_fisma_invetory_summary(org_id, opts = {})
1783
- data, _status_code, _headers = get_va_system_fisma_invetory_summary_with_http_info(org_id, opts)
1784
- data
1785
- end
1786
-
1787
- # VA System FISMA Inventory Summary
1788
- # Get VA system FISMA inventory summary dashboard information.
1789
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1790
- # @param [Hash] opts the optional parameters
1791
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1792
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1793
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1794
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1795
- def get_va_system_fisma_invetory_summary_with_http_info(org_id, opts = {})
1796
- if @api_client.config.debugging
1797
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_fisma_invetory_summary ...'
1798
- end
1799
- # verify the required parameter 'org_id' is set
1800
- if @api_client.config.client_side_validation && org_id.nil?
1801
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_fisma_invetory_summary"
1802
- end
1803
- # resource path
1804
- local_var_path = '/api/dashboards/va-system-fisma-inventory-summary'
1805
-
1806
- # query parameters
1807
- query_params = opts[:query_params] || {}
1808
- query_params[:'orgId'] = org_id
1809
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1810
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1811
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1812
-
1813
- # header parameters
1814
- header_params = opts[:header_params] || {}
1815
- # HTTP header 'Accept' (if needed)
1816
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1817
-
1818
- # form parameters
1819
- form_params = opts[:form_params] || {}
1820
-
1821
- # http body (model)
1822
- post_body = opts[:debug_body]
1823
-
1824
- # return_type
1825
- return_type = opts[:debug_return_type] || 'Object'
1826
-
1827
- # auth_names
1828
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1829
-
1830
- new_options = opts.merge(
1831
- :operation => :"DashboardsApi.get_va_system_fisma_invetory_summary",
1832
- :header_params => header_params,
1833
- :query_params => query_params,
1834
- :form_params => form_params,
1835
- :body => post_body,
1836
- :auth_names => auth_names,
1837
- :return_type => return_type
1838
- )
1839
-
1840
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1841
- if @api_client.config.debugging
1842
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_system_fisma_invetory_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1843
- end
1844
- return data, status_code, headers
1845
- end
1846
-
1847
- # VA System P.L. 109 Reporting Summary
1848
- # Get VA system P.L. 109 reporting summary dashboard information.
1849
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1850
- # @param [Hash] opts the optional parameters
1851
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1852
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1853
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1854
- # @return [Object]
1855
- def get_va_system_pl109_reporting_summary(org_id, opts = {})
1856
- data, _status_code, _headers = get_va_system_pl109_reporting_summary_with_http_info(org_id, opts)
1857
- data
1858
- end
1859
-
1860
- # VA System P.L. 109 Reporting Summary
1861
- # Get VA system P.L. 109 reporting summary dashboard information.
1862
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1863
- # @param [Hash] opts the optional parameters
1864
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1865
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1866
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1867
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1868
- def get_va_system_pl109_reporting_summary_with_http_info(org_id, opts = {})
1869
- if @api_client.config.debugging
1870
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_pl109_reporting_summary ...'
1871
- end
1872
- # verify the required parameter 'org_id' is set
1873
- if @api_client.config.client_side_validation && org_id.nil?
1874
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_pl109_reporting_summary"
1875
- end
1876
- # resource path
1877
- local_var_path = '/api/dashboards/va-system-pl-109-reporting-summary'
1878
-
1879
- # query parameters
1880
- query_params = opts[:query_params] || {}
1881
- query_params[:'orgId'] = org_id
1882
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1883
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1884
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1885
-
1886
- # header parameters
1887
- header_params = opts[:header_params] || {}
1888
- # HTTP header 'Accept' (if needed)
1889
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1890
-
1891
- # form parameters
1892
- form_params = opts[:form_params] || {}
1893
-
1894
- # http body (model)
1895
- post_body = opts[:debug_body]
1896
-
1897
- # return_type
1898
- return_type = opts[:debug_return_type] || 'Object'
1899
-
1900
- # auth_names
1901
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1902
-
1903
- new_options = opts.merge(
1904
- :operation => :"DashboardsApi.get_va_system_pl109_reporting_summary",
1905
- :header_params => header_params,
1906
- :query_params => query_params,
1907
- :form_params => form_params,
1908
- :body => post_body,
1909
- :auth_names => auth_names,
1910
- :return_type => return_type
1911
- )
1912
-
1913
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1914
- if @api_client.config.debugging
1915
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_system_pl109_reporting_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1916
- end
1917
- return data, status_code, headers
1918
- end
1919
-
1920
- # VA System Threat Architecture Details
1921
- # Get VA system threat architecture details dashboard information.
1922
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1923
- # @param [Hash] opts the optional parameters
1924
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1925
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1926
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1927
- # @return [Object]
1928
- def get_va_system_threat_architecture_details(org_id, opts = {})
1929
- data, _status_code, _headers = get_va_system_threat_architecture_details_with_http_info(org_id, opts)
1930
- data
1931
- end
1932
-
1933
- # VA System Threat Architecture Details
1934
- # Get VA system threat architecture details dashboard information.
1935
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1936
- # @param [Hash] opts the optional parameters
1937
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1938
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1939
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
1940
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
1941
- def get_va_system_threat_architecture_details_with_http_info(org_id, opts = {})
1942
- if @api_client.config.debugging
1943
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_threat_architecture_details ...'
1944
- end
1945
- # verify the required parameter 'org_id' is set
1946
- if @api_client.config.client_side_validation && org_id.nil?
1947
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_threat_architecture_details"
1948
- end
1949
- # resource path
1950
- local_var_path = '/api/dashboards/va-system-threat-architecture-details'
1951
-
1952
- # query parameters
1953
- query_params = opts[:query_params] || {}
1954
- query_params[:'orgId'] = org_id
1955
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
1956
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
1957
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
1958
-
1959
- # header parameters
1960
- header_params = opts[:header_params] || {}
1961
- # HTTP header 'Accept' (if needed)
1962
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
1963
-
1964
- # form parameters
1965
- form_params = opts[:form_params] || {}
1966
-
1967
- # http body (model)
1968
- post_body = opts[:debug_body]
1969
-
1970
- # return_type
1971
- return_type = opts[:debug_return_type] || 'Object'
1972
-
1973
- # auth_names
1974
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
1975
-
1976
- new_options = opts.merge(
1977
- :operation => :"DashboardsApi.get_va_system_threat_architecture_details",
1978
- :header_params => header_params,
1979
- :query_params => query_params,
1980
- :form_params => form_params,
1981
- :body => post_body,
1982
- :auth_names => auth_names,
1983
- :return_type => return_type
1984
- )
1985
-
1986
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
1987
- if @api_client.config.debugging
1988
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_system_threat_architecture_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
1989
- end
1990
- return data, status_code, headers
1991
- end
1992
-
1993
- # VA System Threat Risks Summary
1994
- # Get VA system threat risk summary dashboard information.
1995
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
1996
- # @param [Hash] opts the optional parameters
1997
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
1998
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
1999
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
2000
- # @return [Object]
2001
- def get_va_system_threat_risk_summary(org_id, opts = {})
2002
- data, _status_code, _headers = get_va_system_threat_risk_summary_with_http_info(org_id, opts)
2003
- data
2004
- end
2005
-
2006
- # VA System Threat Risks Summary
2007
- # Get VA system threat risk summary dashboard information.
2008
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
2009
- # @param [Hash] opts the optional parameters
2010
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
2011
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
2012
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
2013
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
2014
- def get_va_system_threat_risk_summary_with_http_info(org_id, opts = {})
2015
- if @api_client.config.debugging
2016
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_threat_risk_summary ...'
2017
- end
2018
- # verify the required parameter 'org_id' is set
2019
- if @api_client.config.client_side_validation && org_id.nil?
2020
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_threat_risk_summary"
2021
- end
2022
- # resource path
2023
- local_var_path = '/api/dashboards/va-system-threat-risks-summary'
2024
-
2025
- # query parameters
2026
- query_params = opts[:query_params] || {}
2027
- query_params[:'orgId'] = org_id
2028
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
2029
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
2030
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
2031
-
2032
- # header parameters
2033
- header_params = opts[:header_params] || {}
2034
- # HTTP header 'Accept' (if needed)
2035
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2036
-
2037
- # form parameters
2038
- form_params = opts[:form_params] || {}
2039
-
2040
- # http body (model)
2041
- post_body = opts[:debug_body]
2042
-
2043
- # return_type
2044
- return_type = opts[:debug_return_type] || 'Object'
2045
-
2046
- # auth_names
2047
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
2048
-
2049
- new_options = opts.merge(
2050
- :operation => :"DashboardsApi.get_va_system_threat_risk_summary",
2051
- :header_params => header_params,
2052
- :query_params => query_params,
2053
- :form_params => form_params,
2054
- :body => post_body,
2055
- :auth_names => auth_names,
2056
- :return_type => return_type
2057
- )
2058
-
2059
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2060
- if @api_client.config.debugging
2061
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_system_threat_risk_summary\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2062
- end
2063
- return data, status_code, headers
2064
- end
2065
-
2066
- # VA System Threat Sources Details
2067
- # Get VA system threat source details dashboard information.
2068
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
2069
- # @param [Hash] opts the optional parameters
2070
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
2071
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
2072
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
2073
- # @return [Object]
2074
- def get_va_system_threat_source_details(org_id, opts = {})
2075
- data, _status_code, _headers = get_va_system_threat_source_details_with_http_info(org_id, opts)
2076
- data
2077
- end
2078
-
2079
- # VA System Threat Sources Details
2080
- # Get VA system threat source details dashboard information.
2081
- # @param org_id [Integer] **Organization Id**: The unique organization identifier.
2082
- # @param [Hash] opts the optional parameters
2083
- # @option opts [Boolean] :excludeinherited **Exclude Inherited**: If no value is specified, the default returns false to include inherited data. (default to false)
2084
- # @option opts [Integer] :page_index **Page Index**: If no value is specified, the default returns results from the first page with an index of 0. (default to 0)
2085
- # @option opts [Integer] :page_size **Page Size**: If no value is specified, the default returns 20000 per page. (default to 20000)
2086
- # @return [Array<(Object, Integer, Hash)>] Object data, response status code and response headers
2087
- def get_va_system_threat_source_details_with_http_info(org_id, opts = {})
2088
- if @api_client.config.debugging
2089
- @api_client.config.logger.debug 'Calling API: DashboardsApi.get_va_system_threat_source_details ...'
2090
- end
2091
- # verify the required parameter 'org_id' is set
2092
- if @api_client.config.client_side_validation && org_id.nil?
2093
- fail ArgumentError, "Missing the required parameter 'org_id' when calling DashboardsApi.get_va_system_threat_source_details"
2094
- end
2095
- # resource path
2096
- local_var_path = '/api/dashboards/va-system-threat-sources-details'
2097
-
2098
- # query parameters
2099
- query_params = opts[:query_params] || {}
2100
- query_params[:'orgId'] = org_id
2101
- query_params[:'excludeinherited'] = opts[:'excludeinherited'] if !opts[:'excludeinherited'].nil?
2102
- query_params[:'pageIndex'] = opts[:'page_index'] if !opts[:'page_index'].nil?
2103
- query_params[:'pageSize'] = opts[:'page_size'] if !opts[:'page_size'].nil?
2104
-
2105
- # header parameters
2106
- header_params = opts[:header_params] || {}
2107
- # HTTP header 'Accept' (if needed)
2108
- header_params['Accept'] = @api_client.select_header_accept(['application/json'])
2109
-
2110
- # form parameters
2111
- form_params = opts[:form_params] || {}
2112
-
2113
- # http body (model)
2114
- post_body = opts[:debug_body]
2115
-
2116
- # return_type
2117
- return_type = opts[:debug_return_type] || 'Object'
2118
-
2119
- # auth_names
2120
- auth_names = opts[:debug_auth_names] || ['apiKey', 'mockType', 'userId']
2121
-
2122
- new_options = opts.merge(
2123
- :operation => :"DashboardsApi.get_va_system_threat_source_details",
2124
- :header_params => header_params,
2125
- :query_params => query_params,
2126
- :form_params => form_params,
2127
- :body => post_body,
2128
- :auth_names => auth_names,
2129
- :return_type => return_type
2130
- )
2131
-
2132
- data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
2133
- if @api_client.config.debugging
2134
- @api_client.config.logger.debug "API called: DashboardsApi#get_va_system_threat_source_details\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
2135
- end
2136
- return data, status_code, headers
2137
- end
2138
- end
2139
- end