@redhat-cloud-services/compliance-client 0.1.6 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/AssignRule/index.d.ts +2 -2
- package/dist/AssignRule/index.js +6 -6
- package/dist/AssignRule/index.js.map +1 -1
- package/dist/AssignSystem/index.d.ts +1 -1
- package/dist/AssignSystem/index.js +6 -6
- package/dist/AssignSystem/index.js.map +1 -1
- package/dist/DeletePolicy/index.d.ts +1 -1
- package/dist/DeletePolicy/index.js +6 -6
- package/dist/DeletePolicy/index.js.map +1 -1
- package/dist/DeleteReport/index.d.ts +26 -0
- package/dist/DeleteReport/index.js +52 -0
- package/dist/DeleteReport/index.js.map +1 -0
- package/dist/Policy/index.d.ts +1 -1
- package/dist/Policy/index.js +6 -6
- package/dist/Policy/index.js.map +1 -1
- package/dist/PolicySystems/index.d.ts +1 -1
- package/dist/Profile/index.d.ts +2 -2
- package/dist/Profile/index.js +6 -6
- package/dist/Profile/index.js.map +1 -1
- package/dist/ProfileRule/index.d.ts +2 -2
- package/dist/ProfileRule/index.js +6 -6
- package/dist/ProfileRule/index.js.map +1 -1
- package/dist/Report/index.d.ts +1 -1
- package/dist/Report/index.js +6 -6
- package/dist/Report/index.js.map +1 -1
- package/dist/ReportSystems/index.d.ts +1 -1
- package/dist/ReportTestResult/index.d.ts +32 -0
- package/dist/ReportTestResult/index.js +53 -0
- package/dist/ReportTestResult/index.js.map +1 -0
- package/dist/ReportTestResults/index.d.ts +50 -0
- package/dist/ReportTestResults/index.js +64 -0
- package/dist/ReportTestResults/index.js.map +1 -0
- package/dist/Reports/index.d.ts +1 -1
- package/dist/Rule/index.d.ts +2 -2
- package/dist/Rule/index.js +6 -6
- package/dist/Rule/index.js.map +1 -1
- package/dist/RuleGroup/index.d.ts +1 -1
- package/dist/RuleGroup/index.js +6 -6
- package/dist/RuleGroup/index.js.map +1 -1
- package/dist/SecurityGuide/index.d.ts +1 -1
- package/dist/SecurityGuide/index.js +6 -6
- package/dist/SecurityGuide/index.js.map +1 -1
- package/dist/SecurityGuideRuleTree/index.d.ts +1 -1
- package/dist/SecurityGuideRuleTree/index.js +6 -6
- package/dist/SecurityGuideRuleTree/index.js.map +1 -1
- package/dist/System/index.d.ts +1 -1
- package/dist/System/index.js +6 -6
- package/dist/System/index.js.map +1 -1
- package/dist/Systems/index.d.ts +1 -1
- package/dist/Tailoring/index.d.ts +2 -2
- package/dist/Tailoring/index.js +6 -6
- package/dist/Tailoring/index.js.map +1 -1
- package/dist/TailoringFile/index.d.ts +2 -2
- package/dist/TailoringFile/index.js +6 -6
- package/dist/TailoringFile/index.js.map +1 -1
- package/dist/UnassignRule/index.d.ts +2 -2
- package/dist/UnassignRule/index.js +6 -6
- package/dist/UnassignRule/index.js.map +1 -1
- package/dist/UnassignSystem/index.d.ts +1 -1
- package/dist/UnassignSystem/index.js +6 -6
- package/dist/UnassignSystem/index.js.map +1 -1
- package/dist/UpdatePolicy/index.d.ts +1 -1
- package/dist/UpdatePolicy/index.js +6 -6
- package/dist/UpdatePolicy/index.js.map +1 -1
- package/dist/UpdateTailoring/index.d.ts +2 -2
- package/dist/UpdateTailoring/index.js +6 -6
- package/dist/UpdateTailoring/index.js.map +1 -1
- package/dist/ValueDefinition/index.d.ts +1 -1
- package/dist/ValueDefinition/index.js +6 -6
- package/dist/ValueDefinition/index.js.map +1 -1
- package/dist/api.d.ts +716 -116
- package/dist/api.js +902 -219
- package/dist/api.js.map +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +16 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +124 -4
- package/dist/types/index.js +4 -1
- package/dist/types/index.js.map +1 -1
- package/doc/interfaces/AssignRulesRequest.md +1 -1
- package/doc/interfaces/CreatePolicy201Response.md +1 -1
- package/doc/interfaces/CreatePolicy201ResponseData.md +1 -1
- package/doc/interfaces/Errors.md +1 -1
- package/doc/interfaces/Links.md +4 -4
- package/doc/interfaces/Metadata.md +5 -5
- package/doc/interfaces/Policies200Response.md +3 -3
- package/doc/interfaces/Policy.md +11 -11
- package/doc/interfaces/PolicyUpdate.md +3 -3
- package/doc/interfaces/Profile.md +6 -6
- package/doc/interfaces/Profile200Response.md +1 -1
- package/doc/interfaces/Profile200ResponseData.md +1 -1
- package/doc/interfaces/Profiles200Response.md +3 -3
- package/doc/interfaces/Report.md +229 -0
- package/doc/interfaces/Report200Response.md +27 -0
- package/doc/interfaces/Report200ResponseData.md +27 -0
- package/doc/interfaces/ReportTestResults200Response.md +57 -0
- package/doc/interfaces/Reports200Response.md +57 -0
- package/doc/interfaces/Rule.md +9 -9
- package/doc/interfaces/Rule200Response.md +1 -1
- package/doc/interfaces/Rule200ResponseData.md +1 -1
- package/doc/interfaces/RuleGroup.md +7 -7
- package/doc/interfaces/RuleGroup200Response.md +1 -1
- package/doc/interfaces/RuleGroup200ResponseData.md +1 -1
- package/doc/interfaces/RuleGroups200Response.md +3 -3
- package/doc/interfaces/Rules200Response.md +3 -3
- package/doc/interfaces/SecurityGuide.md +7 -7
- package/doc/interfaces/SecurityGuide200Response.md +1 -1
- package/doc/interfaces/SecurityGuide200ResponseData.md +1 -1
- package/doc/interfaces/SecurityGuides200Response.md +3 -3
- package/doc/interfaces/SupportedProfile.md +25 -8
- package/doc/interfaces/SupportedProfiles200Response.md +3 -3
- package/doc/interfaces/System.md +13 -13
- package/doc/interfaces/System200Response.md +1 -1
- package/doc/interfaces/System200ResponseData.md +1 -1
- package/doc/interfaces/Systems200Response.md +3 -3
- package/doc/interfaces/Tailoring.md +23 -6
- package/doc/interfaces/Tailoring200Response.md +1 -1
- package/doc/interfaces/Tailoring200ResponseData.md +1 -1
- package/doc/interfaces/TailoringFile.md +1 -1
- package/doc/interfaces/Tailorings200Response.md +3 -3
- package/doc/interfaces/TestResult.md +208 -0
- package/doc/interfaces/ValueDefinition.md +7 -7
- package/doc/interfaces/ValueDefinition200Response.md +1 -1
- package/doc/interfaces/ValueDefinition200ResponseData.md +1 -1
- package/doc/interfaces/ValueDefinitions200Response.md +3 -3
- package/doc/modules.md +371 -69
- package/package.json +2 -4
package/doc/modules.md
CHANGED
|
@@ -19,6 +19,11 @@
|
|
|
19
19
|
- [Profile200Response](interfaces/Profile200Response.md)
|
|
20
20
|
- [Profile200ResponseData](interfaces/Profile200ResponseData.md)
|
|
21
21
|
- [Profiles200Response](interfaces/Profiles200Response.md)
|
|
22
|
+
- [Report](interfaces/Report.md)
|
|
23
|
+
- [Report200Response](interfaces/Report200Response.md)
|
|
24
|
+
- [Report200ResponseData](interfaces/Report200ResponseData.md)
|
|
25
|
+
- [ReportTestResults200Response](interfaces/ReportTestResults200Response.md)
|
|
26
|
+
- [Reports200Response](interfaces/Reports200Response.md)
|
|
22
27
|
- [Rule](interfaces/Rule.md)
|
|
23
28
|
- [Rule200Response](interfaces/Rule200Response.md)
|
|
24
29
|
- [Rule200ResponseData](interfaces/Rule200ResponseData.md)
|
|
@@ -42,6 +47,7 @@
|
|
|
42
47
|
- [Tailoring200ResponseData](interfaces/Tailoring200ResponseData.md)
|
|
43
48
|
- [TailoringFile](interfaces/TailoringFile.md)
|
|
44
49
|
- [Tailorings200Response](interfaces/Tailorings200Response.md)
|
|
50
|
+
- [TestResult](interfaces/TestResult.md)
|
|
45
51
|
- [ValueDefinition](interfaces/ValueDefinition.md)
|
|
46
52
|
- [ValueDefinition200Response](interfaces/ValueDefinition200Response.md)
|
|
47
53
|
- [ValueDefinition200ResponseData](interfaces/ValueDefinition200ResponseData.md)
|
|
@@ -51,24 +57,28 @@
|
|
|
51
57
|
|
|
52
58
|
- [PolicyTypeEnum](modules.md#policytypeenum)
|
|
53
59
|
- [ProfileTypeEnum](modules.md#profiletypeenum)
|
|
60
|
+
- [ReportTypeEnum](modules.md#reporttypeenum)
|
|
54
61
|
- [RuleGroupTypeEnum](modules.md#rulegrouptypeenum)
|
|
55
62
|
- [RuleTypeEnum](modules.md#ruletypeenum)
|
|
56
63
|
- [SecurityGuideTypeEnum](modules.md#securityguidetypeenum)
|
|
57
64
|
- [SupportedProfileTypeEnum](modules.md#supportedprofiletypeenum)
|
|
58
65
|
- [SystemTypeEnum](modules.md#systemtypeenum)
|
|
59
66
|
- [TailoringTypeEnum](modules.md#tailoringtypeenum)
|
|
67
|
+
- [TestResultTypeEnum](modules.md#testresulttypeenum)
|
|
60
68
|
- [ValueDefinitionTypeEnum](modules.md#valuedefinitiontypeenum)
|
|
61
69
|
|
|
62
70
|
### Variables
|
|
63
71
|
|
|
64
72
|
- [PolicyTypeEnum](modules.md#policytypeenum-1)
|
|
65
73
|
- [ProfileTypeEnum](modules.md#profiletypeenum-1)
|
|
74
|
+
- [ReportTypeEnum](modules.md#reporttypeenum-1)
|
|
66
75
|
- [RuleGroupTypeEnum](modules.md#rulegrouptypeenum-1)
|
|
67
76
|
- [RuleTypeEnum](modules.md#ruletypeenum-1)
|
|
68
77
|
- [SecurityGuideTypeEnum](modules.md#securityguidetypeenum-1)
|
|
69
78
|
- [SupportedProfileTypeEnum](modules.md#supportedprofiletypeenum-1)
|
|
70
79
|
- [SystemTypeEnum](modules.md#systemtypeenum-1)
|
|
71
80
|
- [TailoringTypeEnum](modules.md#tailoringtypeenum-1)
|
|
81
|
+
- [TestResultTypeEnum](modules.md#testresulttypeenum-1)
|
|
72
82
|
- [ValueDefinitionTypeEnum](modules.md#valuedefinitiontypeenum-1)
|
|
73
83
|
|
|
74
84
|
### Functions
|
|
@@ -79,6 +89,7 @@
|
|
|
79
89
|
- [assignSystems](modules.md#assignsystems)
|
|
80
90
|
- [createPolicy](modules.md#createpolicy)
|
|
81
91
|
- [deletePolicy](modules.md#deletepolicy)
|
|
92
|
+
- [deleteReport](modules.md#deletereport)
|
|
82
93
|
- [policies](modules.md#policies)
|
|
83
94
|
- [policy](modules.md#policy)
|
|
84
95
|
- [policySystems](modules.md#policysystems)
|
|
@@ -86,6 +97,12 @@
|
|
|
86
97
|
- [profileRule](modules.md#profilerule)
|
|
87
98
|
- [profileRules](modules.md#profilerules)
|
|
88
99
|
- [profiles](modules.md#profiles)
|
|
100
|
+
- [report](modules.md#report)
|
|
101
|
+
- [reportSystem](modules.md#reportsystem)
|
|
102
|
+
- [reportSystems](modules.md#reportsystems)
|
|
103
|
+
- [reportTestResult](modules.md#reporttestresult)
|
|
104
|
+
- [reportTestResults](modules.md#reporttestresults)
|
|
105
|
+
- [reports](modules.md#reports)
|
|
89
106
|
- [rule](modules.md#rule)
|
|
90
107
|
- [ruleGroup](modules.md#rulegroup)
|
|
91
108
|
- [ruleGroups](modules.md#rulegroups)
|
|
@@ -104,6 +121,7 @@
|
|
|
104
121
|
- [unassignRule](modules.md#unassignrule)
|
|
105
122
|
- [unassignSystem](modules.md#unassignsystem)
|
|
106
123
|
- [updatePolicy](modules.md#updatepolicy)
|
|
124
|
+
- [updateTailoring](modules.md#updatetailoring)
|
|
107
125
|
- [valueDefinition](modules.md#valuedefinition)
|
|
108
126
|
- [valueDefinitions](modules.md#valuedefinitions)
|
|
109
127
|
|
|
@@ -115,9 +133,9 @@
|
|
|
115
133
|
|
|
116
134
|
#### Defined in
|
|
117
135
|
|
|
118
|
-
[types/index.ts:220](https://github.com/
|
|
136
|
+
[types/index.ts:220](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L220)
|
|
119
137
|
|
|
120
|
-
[types/index.ts:224](https://github.com/
|
|
138
|
+
[types/index.ts:224](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L224)
|
|
121
139
|
|
|
122
140
|
___
|
|
123
141
|
|
|
@@ -127,9 +145,21 @@ ___
|
|
|
127
145
|
|
|
128
146
|
#### Defined in
|
|
129
147
|
|
|
130
|
-
[types/index.ts:295](https://github.com/
|
|
148
|
+
[types/index.ts:295](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L295)
|
|
131
149
|
|
|
132
|
-
[types/index.ts:299](https://github.com/
|
|
150
|
+
[types/index.ts:299](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L299)
|
|
151
|
+
|
|
152
|
+
___
|
|
153
|
+
|
|
154
|
+
### ReportTypeEnum
|
|
155
|
+
|
|
156
|
+
Ƭ **ReportTypeEnum**: typeof [`ReportTypeEnum`](modules.md#reporttypeenum-1)[keyof typeof [`ReportTypeEnum`](modules.md#reporttypeenum-1)]
|
|
157
|
+
|
|
158
|
+
#### Defined in
|
|
159
|
+
|
|
160
|
+
[types/index.ts:438](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L438)
|
|
161
|
+
|
|
162
|
+
[types/index.ts:442](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L442)
|
|
133
163
|
|
|
134
164
|
___
|
|
135
165
|
|
|
@@ -139,9 +169,9 @@ ___
|
|
|
139
169
|
|
|
140
170
|
#### Defined in
|
|
141
171
|
|
|
142
|
-
[types/index.ts:
|
|
172
|
+
[types/index.ts:664](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L664)
|
|
143
173
|
|
|
144
|
-
[types/index.ts:
|
|
174
|
+
[types/index.ts:668](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L668)
|
|
145
175
|
|
|
146
176
|
___
|
|
147
177
|
|
|
@@ -151,9 +181,9 @@ ___
|
|
|
151
181
|
|
|
152
182
|
#### Defined in
|
|
153
183
|
|
|
154
|
-
[types/index.ts:
|
|
184
|
+
[types/index.ts:582](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L582)
|
|
155
185
|
|
|
156
|
-
[types/index.ts:
|
|
186
|
+
[types/index.ts:586](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L586)
|
|
157
187
|
|
|
158
188
|
___
|
|
159
189
|
|
|
@@ -163,9 +193,9 @@ ___
|
|
|
163
193
|
|
|
164
194
|
#### Defined in
|
|
165
195
|
|
|
166
|
-
[types/index.ts:
|
|
196
|
+
[types/index.ts:796](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L796)
|
|
167
197
|
|
|
168
|
-
[types/index.ts:
|
|
198
|
+
[types/index.ts:800](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L800)
|
|
169
199
|
|
|
170
200
|
___
|
|
171
201
|
|
|
@@ -175,9 +205,9 @@ ___
|
|
|
175
205
|
|
|
176
206
|
#### Defined in
|
|
177
207
|
|
|
178
|
-
[types/index.ts:
|
|
208
|
+
[types/index.ts:909](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L909)
|
|
179
209
|
|
|
180
|
-
[types/index.ts:
|
|
210
|
+
[types/index.ts:913](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L913)
|
|
181
211
|
|
|
182
212
|
___
|
|
183
213
|
|
|
@@ -187,9 +217,9 @@ ___
|
|
|
187
217
|
|
|
188
218
|
#### Defined in
|
|
189
219
|
|
|
190
|
-
[types/index.ts:
|
|
220
|
+
[types/index.ts:1026](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1026)
|
|
191
221
|
|
|
192
|
-
[types/index.ts:
|
|
222
|
+
[types/index.ts:1030](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1030)
|
|
193
223
|
|
|
194
224
|
___
|
|
195
225
|
|
|
@@ -199,9 +229,21 @@ ___
|
|
|
199
229
|
|
|
200
230
|
#### Defined in
|
|
201
231
|
|
|
202
|
-
[types/index.ts:
|
|
232
|
+
[types/index.ts:1133](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1133)
|
|
233
|
+
|
|
234
|
+
[types/index.ts:1137](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1137)
|
|
235
|
+
|
|
236
|
+
___
|
|
237
|
+
|
|
238
|
+
### TestResultTypeEnum
|
|
239
|
+
|
|
240
|
+
Ƭ **TestResultTypeEnum**: typeof [`TestResultTypeEnum`](modules.md#testresulttypeenum-1)[keyof typeof [`TestResultTypeEnum`](modules.md#testresulttypeenum-1)]
|
|
241
|
+
|
|
242
|
+
#### Defined in
|
|
243
|
+
|
|
244
|
+
[types/index.ts:1285](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1285)
|
|
203
245
|
|
|
204
|
-
[types/index.ts:
|
|
246
|
+
[types/index.ts:1289](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1289)
|
|
205
247
|
|
|
206
248
|
___
|
|
207
249
|
|
|
@@ -211,9 +253,9 @@ ___
|
|
|
211
253
|
|
|
212
254
|
#### Defined in
|
|
213
255
|
|
|
214
|
-
[types/index.ts:
|
|
256
|
+
[types/index.ts:1341](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1341)
|
|
215
257
|
|
|
216
|
-
[types/index.ts:
|
|
258
|
+
[types/index.ts:1345](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1345)
|
|
217
259
|
|
|
218
260
|
## Variables
|
|
219
261
|
|
|
@@ -229,9 +271,9 @@ ___
|
|
|
229
271
|
|
|
230
272
|
#### Defined in
|
|
231
273
|
|
|
232
|
-
[types/index.ts:220](https://github.com/
|
|
274
|
+
[types/index.ts:220](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L220)
|
|
233
275
|
|
|
234
|
-
[types/index.ts:224](https://github.com/
|
|
276
|
+
[types/index.ts:224](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L224)
|
|
235
277
|
|
|
236
278
|
___
|
|
237
279
|
|
|
@@ -247,9 +289,27 @@ ___
|
|
|
247
289
|
|
|
248
290
|
#### Defined in
|
|
249
291
|
|
|
250
|
-
[types/index.ts:295](https://github.com/
|
|
292
|
+
[types/index.ts:295](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L295)
|
|
251
293
|
|
|
252
|
-
[types/index.ts:299](https://github.com/
|
|
294
|
+
[types/index.ts:299](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L299)
|
|
295
|
+
|
|
296
|
+
___
|
|
297
|
+
|
|
298
|
+
### ReportTypeEnum
|
|
299
|
+
|
|
300
|
+
• `Const` **ReportTypeEnum**: `Object`
|
|
301
|
+
|
|
302
|
+
#### Type declaration
|
|
303
|
+
|
|
304
|
+
| Name | Type |
|
|
305
|
+
| :------ | :------ |
|
|
306
|
+
| `Report` | ``"report"`` |
|
|
307
|
+
|
|
308
|
+
#### Defined in
|
|
309
|
+
|
|
310
|
+
[types/index.ts:438](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L438)
|
|
311
|
+
|
|
312
|
+
[types/index.ts:442](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L442)
|
|
253
313
|
|
|
254
314
|
___
|
|
255
315
|
|
|
@@ -265,9 +325,9 @@ ___
|
|
|
265
325
|
|
|
266
326
|
#### Defined in
|
|
267
327
|
|
|
268
|
-
[types/index.ts:
|
|
328
|
+
[types/index.ts:664](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L664)
|
|
269
329
|
|
|
270
|
-
[types/index.ts:
|
|
330
|
+
[types/index.ts:668](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L668)
|
|
271
331
|
|
|
272
332
|
___
|
|
273
333
|
|
|
@@ -283,9 +343,9 @@ ___
|
|
|
283
343
|
|
|
284
344
|
#### Defined in
|
|
285
345
|
|
|
286
|
-
[types/index.ts:
|
|
346
|
+
[types/index.ts:582](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L582)
|
|
287
347
|
|
|
288
|
-
[types/index.ts:
|
|
348
|
+
[types/index.ts:586](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L586)
|
|
289
349
|
|
|
290
350
|
___
|
|
291
351
|
|
|
@@ -301,9 +361,9 @@ ___
|
|
|
301
361
|
|
|
302
362
|
#### Defined in
|
|
303
363
|
|
|
304
|
-
[types/index.ts:
|
|
364
|
+
[types/index.ts:796](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L796)
|
|
305
365
|
|
|
306
|
-
[types/index.ts:
|
|
366
|
+
[types/index.ts:800](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L800)
|
|
307
367
|
|
|
308
368
|
___
|
|
309
369
|
|
|
@@ -319,9 +379,9 @@ ___
|
|
|
319
379
|
|
|
320
380
|
#### Defined in
|
|
321
381
|
|
|
322
|
-
[types/index.ts:
|
|
382
|
+
[types/index.ts:909](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L909)
|
|
323
383
|
|
|
324
|
-
[types/index.ts:
|
|
384
|
+
[types/index.ts:913](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L913)
|
|
325
385
|
|
|
326
386
|
___
|
|
327
387
|
|
|
@@ -337,9 +397,9 @@ ___
|
|
|
337
397
|
|
|
338
398
|
#### Defined in
|
|
339
399
|
|
|
340
|
-
[types/index.ts:
|
|
400
|
+
[types/index.ts:1026](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1026)
|
|
341
401
|
|
|
342
|
-
[types/index.ts:
|
|
402
|
+
[types/index.ts:1030](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1030)
|
|
343
403
|
|
|
344
404
|
___
|
|
345
405
|
|
|
@@ -355,9 +415,27 @@ ___
|
|
|
355
415
|
|
|
356
416
|
#### Defined in
|
|
357
417
|
|
|
358
|
-
[types/index.ts:
|
|
418
|
+
[types/index.ts:1133](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1133)
|
|
419
|
+
|
|
420
|
+
[types/index.ts:1137](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1137)
|
|
421
|
+
|
|
422
|
+
___
|
|
423
|
+
|
|
424
|
+
### TestResultTypeEnum
|
|
425
|
+
|
|
426
|
+
• `Const` **TestResultTypeEnum**: `Object`
|
|
427
|
+
|
|
428
|
+
#### Type declaration
|
|
429
|
+
|
|
430
|
+
| Name | Type |
|
|
431
|
+
| :------ | :------ |
|
|
432
|
+
| `TestResult` | ``"test_result"`` |
|
|
433
|
+
|
|
434
|
+
#### Defined in
|
|
435
|
+
|
|
436
|
+
[types/index.ts:1285](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1285)
|
|
359
437
|
|
|
360
|
-
[types/index.ts:
|
|
438
|
+
[types/index.ts:1289](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1289)
|
|
361
439
|
|
|
362
440
|
___
|
|
363
441
|
|
|
@@ -373,9 +451,9 @@ ___
|
|
|
373
451
|
|
|
374
452
|
#### Defined in
|
|
375
453
|
|
|
376
|
-
[types/index.ts:
|
|
454
|
+
[types/index.ts:1341](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1341)
|
|
377
455
|
|
|
378
|
-
[types/index.ts:
|
|
456
|
+
[types/index.ts:1345](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/types/index.ts#L1345)
|
|
379
457
|
|
|
380
458
|
## Functions
|
|
381
459
|
|
|
@@ -403,7 +481,7 @@ Assign a Rule to a Tailoring
|
|
|
403
481
|
|
|
404
482
|
#### Defined in
|
|
405
483
|
|
|
406
|
-
[AssignRule/index.ts:52](https://github.com/
|
|
484
|
+
[AssignRule/index.ts:52](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/AssignRule/index.ts#L52)
|
|
407
485
|
|
|
408
486
|
___
|
|
409
487
|
|
|
@@ -433,7 +511,7 @@ Bulk assign Rules to a Tailoring
|
|
|
433
511
|
|
|
434
512
|
#### Defined in
|
|
435
513
|
|
|
436
|
-
[AssignRules/index.ts:53](https://github.com/
|
|
514
|
+
[AssignRules/index.ts:53](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/AssignRules/index.ts#L53)
|
|
437
515
|
|
|
438
516
|
___
|
|
439
517
|
|
|
@@ -461,7 +539,7 @@ Assign a System to a Policy
|
|
|
461
539
|
|
|
462
540
|
#### Defined in
|
|
463
541
|
|
|
464
|
-
[AssignSystem/index.ts:46](https://github.com/
|
|
542
|
+
[AssignSystem/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/AssignSystem/index.ts#L46)
|
|
465
543
|
|
|
466
544
|
___
|
|
467
545
|
|
|
@@ -491,7 +569,7 @@ Bulk assign Systems to a Policy
|
|
|
491
569
|
|
|
492
570
|
#### Defined in
|
|
493
571
|
|
|
494
|
-
[AssignSystems/index.ts:47](https://github.com/
|
|
572
|
+
[AssignSystems/index.ts:47](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/AssignSystems/index.ts#L47)
|
|
495
573
|
|
|
496
574
|
___
|
|
497
575
|
|
|
@@ -519,7 +597,7 @@ Create a Policy
|
|
|
519
597
|
|
|
520
598
|
#### Defined in
|
|
521
599
|
|
|
522
|
-
[CreatePolicy/index.ts:40](https://github.com/
|
|
600
|
+
[CreatePolicy/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/CreatePolicy/index.ts#L40)
|
|
523
601
|
|
|
524
602
|
___
|
|
525
603
|
|
|
@@ -547,7 +625,35 @@ Delete a Policy
|
|
|
547
625
|
|
|
548
626
|
#### Defined in
|
|
549
627
|
|
|
550
|
-
[DeletePolicy/index.ts:40](https://github.com/
|
|
628
|
+
[DeletePolicy/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/DeletePolicy/index.ts#L40)
|
|
629
|
+
|
|
630
|
+
___
|
|
631
|
+
|
|
632
|
+
### deleteReport
|
|
633
|
+
|
|
634
|
+
▸ **deleteReport**(`...config`): `Promise`\<`RequestArgs`\>
|
|
635
|
+
|
|
636
|
+
Deletes a Report results
|
|
637
|
+
|
|
638
|
+
#### Parameters
|
|
639
|
+
|
|
640
|
+
| Name | Type | Description |
|
|
641
|
+
| :------ | :------ | :------ |
|
|
642
|
+
| `...config` | [`any`, `any`, `AxiosRequestConfig`\<`any`\>] \| [`DeleteReportParams`] | with all available params. |
|
|
643
|
+
|
|
644
|
+
#### Returns
|
|
645
|
+
|
|
646
|
+
`Promise`\<`RequestArgs`\>
|
|
647
|
+
|
|
648
|
+
**`Summary`**
|
|
649
|
+
|
|
650
|
+
Delete a Report results
|
|
651
|
+
|
|
652
|
+
**`Throws`**
|
|
653
|
+
|
|
654
|
+
#### Defined in
|
|
655
|
+
|
|
656
|
+
DeleteReport/index.ts:40
|
|
551
657
|
|
|
552
658
|
___
|
|
553
659
|
|
|
@@ -575,7 +681,7 @@ Request Policies
|
|
|
575
681
|
|
|
576
682
|
#### Defined in
|
|
577
683
|
|
|
578
|
-
[Policies/index.ts:58](https://github.com/
|
|
684
|
+
[Policies/index.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Policies/index.ts#L58)
|
|
579
685
|
|
|
580
686
|
___
|
|
581
687
|
|
|
@@ -603,7 +709,7 @@ Request a Policy
|
|
|
603
709
|
|
|
604
710
|
#### Defined in
|
|
605
711
|
|
|
606
|
-
[Policy/index.ts:40](https://github.com/
|
|
712
|
+
[Policy/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Policy/index.ts#L40)
|
|
607
713
|
|
|
608
714
|
___
|
|
609
715
|
|
|
@@ -631,7 +737,7 @@ Request Systems assigned to a Policy
|
|
|
631
737
|
|
|
632
738
|
#### Defined in
|
|
633
739
|
|
|
634
|
-
[PolicySystems/index.ts:64](https://github.com/
|
|
740
|
+
[PolicySystems/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/PolicySystems/index.ts#L64)
|
|
635
741
|
|
|
636
742
|
___
|
|
637
743
|
|
|
@@ -659,7 +765,7 @@ Request a Profile
|
|
|
659
765
|
|
|
660
766
|
#### Defined in
|
|
661
767
|
|
|
662
|
-
[Profile/index.ts:46](https://github.com/
|
|
768
|
+
[Profile/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Profile/index.ts#L46)
|
|
663
769
|
|
|
664
770
|
___
|
|
665
771
|
|
|
@@ -687,7 +793,7 @@ Request a Rule assigned to a Profile
|
|
|
687
793
|
|
|
688
794
|
#### Defined in
|
|
689
795
|
|
|
690
|
-
[ProfileRule/index.ts:52](https://github.com/
|
|
796
|
+
[ProfileRule/index.ts:52](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/ProfileRule/index.ts#L52)
|
|
691
797
|
|
|
692
798
|
___
|
|
693
799
|
|
|
@@ -715,7 +821,7 @@ Request Rules assigned to a Profile
|
|
|
715
821
|
|
|
716
822
|
#### Defined in
|
|
717
823
|
|
|
718
|
-
[ProfileRules/index.ts:70](https://github.com/
|
|
824
|
+
[ProfileRules/index.ts:70](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/ProfileRules/index.ts#L70)
|
|
719
825
|
|
|
720
826
|
___
|
|
721
827
|
|
|
@@ -743,7 +849,175 @@ Request Profiles
|
|
|
743
849
|
|
|
744
850
|
#### Defined in
|
|
745
851
|
|
|
746
|
-
[Profiles/index.ts:64](https://github.com/
|
|
852
|
+
[Profiles/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Profiles/index.ts#L64)
|
|
853
|
+
|
|
854
|
+
___
|
|
855
|
+
|
|
856
|
+
### report
|
|
857
|
+
|
|
858
|
+
▸ **report**(`...config`): `Promise`\<`RequestArgs`\>
|
|
859
|
+
|
|
860
|
+
Returns a Report
|
|
861
|
+
|
|
862
|
+
#### Parameters
|
|
863
|
+
|
|
864
|
+
| Name | Type | Description |
|
|
865
|
+
| :------ | :------ | :------ |
|
|
866
|
+
| `...config` | [`any`, `any`, `AxiosRequestConfig`\<`any`\>] \| [`ReportParams`] | with all available params. |
|
|
867
|
+
|
|
868
|
+
#### Returns
|
|
869
|
+
|
|
870
|
+
`Promise`\<`RequestArgs`\>
|
|
871
|
+
|
|
872
|
+
**`Summary`**
|
|
873
|
+
|
|
874
|
+
Request a Report
|
|
875
|
+
|
|
876
|
+
**`Throws`**
|
|
877
|
+
|
|
878
|
+
#### Defined in
|
|
879
|
+
|
|
880
|
+
[Report/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Report/index.ts#L40)
|
|
881
|
+
|
|
882
|
+
___
|
|
883
|
+
|
|
884
|
+
### reportSystem
|
|
885
|
+
|
|
886
|
+
▸ **reportSystem**(`...config`): `Promise`\<`RequestArgs`\>
|
|
887
|
+
|
|
888
|
+
Returns a System under a Report
|
|
889
|
+
|
|
890
|
+
#### Parameters
|
|
891
|
+
|
|
892
|
+
| Name | Type | Description |
|
|
893
|
+
| :------ | :------ | :------ |
|
|
894
|
+
| `...config` | [`any`, `any`, `any`, `AxiosRequestConfig`\<`any`\>] \| [`ReportSystemParams`] | with all available params. |
|
|
895
|
+
|
|
896
|
+
#### Returns
|
|
897
|
+
|
|
898
|
+
`Promise`\<`RequestArgs`\>
|
|
899
|
+
|
|
900
|
+
**`Summary`**
|
|
901
|
+
|
|
902
|
+
Request a System
|
|
903
|
+
|
|
904
|
+
**`Throws`**
|
|
905
|
+
|
|
906
|
+
#### Defined in
|
|
907
|
+
|
|
908
|
+
ReportSystem/index.ts:46
|
|
909
|
+
|
|
910
|
+
___
|
|
911
|
+
|
|
912
|
+
### reportSystems
|
|
913
|
+
|
|
914
|
+
▸ **reportSystems**(`...config`): `Promise`\<`RequestArgs`\>
|
|
915
|
+
|
|
916
|
+
Lists Systems assigned to a Report
|
|
917
|
+
|
|
918
|
+
#### Parameters
|
|
919
|
+
|
|
920
|
+
| Name | Type | Description |
|
|
921
|
+
| :------ | :------ | :------ |
|
|
922
|
+
| `...config` | [`any`, `any`, `any`, `any`, `any`, `any`, `AxiosRequestConfig`\<`any`\>] \| [`ReportSystemsParams`] | with all available params. |
|
|
923
|
+
|
|
924
|
+
#### Returns
|
|
925
|
+
|
|
926
|
+
`Promise`\<`RequestArgs`\>
|
|
927
|
+
|
|
928
|
+
**`Summary`**
|
|
929
|
+
|
|
930
|
+
Request Systems assigned to a Report
|
|
931
|
+
|
|
932
|
+
**`Throws`**
|
|
933
|
+
|
|
934
|
+
#### Defined in
|
|
935
|
+
|
|
936
|
+
ReportSystems/index.ts:64
|
|
937
|
+
|
|
938
|
+
___
|
|
939
|
+
|
|
940
|
+
### reportTestResult
|
|
941
|
+
|
|
942
|
+
▸ **reportTestResult**(`...config`): `Promise`\<`RequestArgs`\>
|
|
943
|
+
|
|
944
|
+
Returns a Test Result under a Report
|
|
945
|
+
|
|
946
|
+
#### Parameters
|
|
947
|
+
|
|
948
|
+
| Name | Type | Description |
|
|
949
|
+
| :------ | :------ | :------ |
|
|
950
|
+
| `...config` | [`any`, `any`, `any`, `AxiosRequestConfig`\<`any`\>] \| [`ReportTestResultParams`] | with all available params. |
|
|
951
|
+
|
|
952
|
+
#### Returns
|
|
953
|
+
|
|
954
|
+
`Promise`\<`RequestArgs`\>
|
|
955
|
+
|
|
956
|
+
**`Summary`**
|
|
957
|
+
|
|
958
|
+
Request a Test Result
|
|
959
|
+
|
|
960
|
+
**`Throws`**
|
|
961
|
+
|
|
962
|
+
#### Defined in
|
|
963
|
+
|
|
964
|
+
ReportTestResult/index.ts:46
|
|
965
|
+
|
|
966
|
+
___
|
|
967
|
+
|
|
968
|
+
### reportTestResults
|
|
969
|
+
|
|
970
|
+
▸ **reportTestResults**(`...config`): `Promise`\<`RequestArgs`\>
|
|
971
|
+
|
|
972
|
+
Lists Test Results under a Report
|
|
973
|
+
|
|
974
|
+
#### Parameters
|
|
975
|
+
|
|
976
|
+
| Name | Type | Description |
|
|
977
|
+
| :------ | :------ | :------ |
|
|
978
|
+
| `...config` | [`any`, `any`, `any`, `any`, `any`, `any`, `AxiosRequestConfig`\<`any`\>] \| [`ReportTestResultsParams`] | with all available params. |
|
|
979
|
+
|
|
980
|
+
#### Returns
|
|
981
|
+
|
|
982
|
+
`Promise`\<`RequestArgs`\>
|
|
983
|
+
|
|
984
|
+
**`Summary`**
|
|
985
|
+
|
|
986
|
+
Request Test Results under a Report
|
|
987
|
+
|
|
988
|
+
**`Throws`**
|
|
989
|
+
|
|
990
|
+
#### Defined in
|
|
991
|
+
|
|
992
|
+
ReportTestResults/index.ts:64
|
|
993
|
+
|
|
994
|
+
___
|
|
995
|
+
|
|
996
|
+
### reports
|
|
997
|
+
|
|
998
|
+
▸ **reports**(`...config`): `Promise`\<`RequestArgs`\>
|
|
999
|
+
|
|
1000
|
+
Lists Reports
|
|
1001
|
+
|
|
1002
|
+
#### Parameters
|
|
1003
|
+
|
|
1004
|
+
| Name | Type | Description |
|
|
1005
|
+
| :------ | :------ | :------ |
|
|
1006
|
+
| `...config` | [`any`, `any`, `any`, `any`, `any`, `AxiosRequestConfig`\<`any`\>] \| [`ReportsParams`] | with all available params. |
|
|
1007
|
+
|
|
1008
|
+
#### Returns
|
|
1009
|
+
|
|
1010
|
+
`Promise`\<`RequestArgs`\>
|
|
1011
|
+
|
|
1012
|
+
**`Summary`**
|
|
1013
|
+
|
|
1014
|
+
Request Reports
|
|
1015
|
+
|
|
1016
|
+
**`Throws`**
|
|
1017
|
+
|
|
1018
|
+
#### Defined in
|
|
1019
|
+
|
|
1020
|
+
[Reports/index.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Reports/index.ts#L58)
|
|
747
1021
|
|
|
748
1022
|
___
|
|
749
1023
|
|
|
@@ -771,7 +1045,7 @@ Request a Rule
|
|
|
771
1045
|
|
|
772
1046
|
#### Defined in
|
|
773
1047
|
|
|
774
|
-
[Rule/index.ts:46](https://github.com/
|
|
1048
|
+
[Rule/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Rule/index.ts#L46)
|
|
775
1049
|
|
|
776
1050
|
___
|
|
777
1051
|
|
|
@@ -799,7 +1073,7 @@ Request a Rule Group
|
|
|
799
1073
|
|
|
800
1074
|
#### Defined in
|
|
801
1075
|
|
|
802
|
-
[RuleGroup/index.ts:46](https://github.com/
|
|
1076
|
+
[RuleGroup/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/RuleGroup/index.ts#L46)
|
|
803
1077
|
|
|
804
1078
|
___
|
|
805
1079
|
|
|
@@ -827,7 +1101,7 @@ Request Rule Groups
|
|
|
827
1101
|
|
|
828
1102
|
#### Defined in
|
|
829
1103
|
|
|
830
|
-
[RuleGroups/index.ts:64](https://github.com/
|
|
1104
|
+
[RuleGroups/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/RuleGroups/index.ts#L64)
|
|
831
1105
|
|
|
832
1106
|
___
|
|
833
1107
|
|
|
@@ -855,7 +1129,7 @@ Request Rules
|
|
|
855
1129
|
|
|
856
1130
|
#### Defined in
|
|
857
1131
|
|
|
858
|
-
[Rules/index.ts:64](https://github.com/
|
|
1132
|
+
[Rules/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Rules/index.ts#L64)
|
|
859
1133
|
|
|
860
1134
|
___
|
|
861
1135
|
|
|
@@ -883,7 +1157,7 @@ Request a Security Guide
|
|
|
883
1157
|
|
|
884
1158
|
#### Defined in
|
|
885
1159
|
|
|
886
|
-
[SecurityGuide/index.ts:40](https://github.com/
|
|
1160
|
+
[SecurityGuide/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/SecurityGuide/index.ts#L40)
|
|
887
1161
|
|
|
888
1162
|
___
|
|
889
1163
|
|
|
@@ -911,7 +1185,7 @@ Request the Rule Tree of a Security Guide
|
|
|
911
1185
|
|
|
912
1186
|
#### Defined in
|
|
913
1187
|
|
|
914
|
-
[SecurityGuideRuleTree/index.ts:40](https://github.com/
|
|
1188
|
+
[SecurityGuideRuleTree/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/SecurityGuideRuleTree/index.ts#L40)
|
|
915
1189
|
|
|
916
1190
|
___
|
|
917
1191
|
|
|
@@ -939,7 +1213,7 @@ Request Security Guides
|
|
|
939
1213
|
|
|
940
1214
|
#### Defined in
|
|
941
1215
|
|
|
942
|
-
[SecurityGuides/index.ts:58](https://github.com/
|
|
1216
|
+
[SecurityGuides/index.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/SecurityGuides/index.ts#L58)
|
|
943
1217
|
|
|
944
1218
|
___
|
|
945
1219
|
|
|
@@ -967,7 +1241,7 @@ Request Supported Profiles
|
|
|
967
1241
|
|
|
968
1242
|
#### Defined in
|
|
969
1243
|
|
|
970
|
-
[SupportedProfiles/index.ts:58](https://github.com/
|
|
1244
|
+
[SupportedProfiles/index.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/SupportedProfiles/index.ts#L58)
|
|
971
1245
|
|
|
972
1246
|
___
|
|
973
1247
|
|
|
@@ -995,7 +1269,7 @@ Request a System
|
|
|
995
1269
|
|
|
996
1270
|
#### Defined in
|
|
997
1271
|
|
|
998
|
-
[System/index.ts:40](https://github.com/
|
|
1272
|
+
[System/index.ts:40](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/System/index.ts#L40)
|
|
999
1273
|
|
|
1000
1274
|
___
|
|
1001
1275
|
|
|
@@ -1023,7 +1297,7 @@ Request Systems
|
|
|
1023
1297
|
|
|
1024
1298
|
#### Defined in
|
|
1025
1299
|
|
|
1026
|
-
[Systems/index.ts:58](https://github.com/
|
|
1300
|
+
[Systems/index.ts:58](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Systems/index.ts#L58)
|
|
1027
1301
|
|
|
1028
1302
|
___
|
|
1029
1303
|
|
|
@@ -1051,7 +1325,7 @@ Request Policies assigned to a System
|
|
|
1051
1325
|
|
|
1052
1326
|
#### Defined in
|
|
1053
1327
|
|
|
1054
|
-
[SystemsPolicies/index.ts:64](https://github.com/
|
|
1328
|
+
[SystemsPolicies/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/SystemsPolicies/index.ts#L64)
|
|
1055
1329
|
|
|
1056
1330
|
___
|
|
1057
1331
|
|
|
@@ -1079,7 +1353,7 @@ Request a Tailoring
|
|
|
1079
1353
|
|
|
1080
1354
|
#### Defined in
|
|
1081
1355
|
|
|
1082
|
-
[Tailoring/index.ts:46](https://github.com/
|
|
1356
|
+
[Tailoring/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Tailoring/index.ts#L46)
|
|
1083
1357
|
|
|
1084
1358
|
___
|
|
1085
1359
|
|
|
@@ -1107,7 +1381,7 @@ Request a Tailoring file
|
|
|
1107
1381
|
|
|
1108
1382
|
#### Defined in
|
|
1109
1383
|
|
|
1110
|
-
[TailoringFile/index.ts:46](https://github.com/
|
|
1384
|
+
[TailoringFile/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/TailoringFile/index.ts#L46)
|
|
1111
1385
|
|
|
1112
1386
|
___
|
|
1113
1387
|
|
|
@@ -1135,7 +1409,7 @@ Request Rules assigned to a Tailoring
|
|
|
1135
1409
|
|
|
1136
1410
|
#### Defined in
|
|
1137
1411
|
|
|
1138
|
-
[TailoringRules/index.ts:70](https://github.com/
|
|
1412
|
+
[TailoringRules/index.ts:70](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/TailoringRules/index.ts#L70)
|
|
1139
1413
|
|
|
1140
1414
|
___
|
|
1141
1415
|
|
|
@@ -1163,7 +1437,7 @@ Request Tailorings
|
|
|
1163
1437
|
|
|
1164
1438
|
#### Defined in
|
|
1165
1439
|
|
|
1166
|
-
[Tailorings/index.ts:64](https://github.com/
|
|
1440
|
+
[Tailorings/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/Tailorings/index.ts#L64)
|
|
1167
1441
|
|
|
1168
1442
|
___
|
|
1169
1443
|
|
|
@@ -1191,7 +1465,7 @@ Unassign a Rule from a Tailoring
|
|
|
1191
1465
|
|
|
1192
1466
|
#### Defined in
|
|
1193
1467
|
|
|
1194
|
-
[UnassignRule/index.ts:52](https://github.com/
|
|
1468
|
+
[UnassignRule/index.ts:52](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/UnassignRule/index.ts#L52)
|
|
1195
1469
|
|
|
1196
1470
|
___
|
|
1197
1471
|
|
|
@@ -1219,7 +1493,7 @@ Unassign a System from a Policy
|
|
|
1219
1493
|
|
|
1220
1494
|
#### Defined in
|
|
1221
1495
|
|
|
1222
|
-
[UnassignSystem/index.ts:46](https://github.com/
|
|
1496
|
+
[UnassignSystem/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/UnassignSystem/index.ts#L46)
|
|
1223
1497
|
|
|
1224
1498
|
___
|
|
1225
1499
|
|
|
@@ -1247,7 +1521,35 @@ Update a Policy
|
|
|
1247
1521
|
|
|
1248
1522
|
#### Defined in
|
|
1249
1523
|
|
|
1250
|
-
[UpdatePolicy/index.ts:46](https://github.com/
|
|
1524
|
+
[UpdatePolicy/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/UpdatePolicy/index.ts#L46)
|
|
1525
|
+
|
|
1526
|
+
___
|
|
1527
|
+
|
|
1528
|
+
### updateTailoring
|
|
1529
|
+
|
|
1530
|
+
▸ **updateTailoring**(`...config`): `Promise`\<`RequestArgs`\>
|
|
1531
|
+
|
|
1532
|
+
Updates a Tailoring with the provided value_overrides
|
|
1533
|
+
|
|
1534
|
+
#### Parameters
|
|
1535
|
+
|
|
1536
|
+
| Name | Type | Description |
|
|
1537
|
+
| :------ | :------ | :------ |
|
|
1538
|
+
| `...config` | [`UpdateTailoringParams`] \| [`any`, `any`, `any`, [`Tailoring`](interfaces/Tailoring.md), `AxiosRequestConfig`\<`any`\>] | with all available params. |
|
|
1539
|
+
|
|
1540
|
+
#### Returns
|
|
1541
|
+
|
|
1542
|
+
`Promise`\<`RequestArgs`\>
|
|
1543
|
+
|
|
1544
|
+
**`Summary`**
|
|
1545
|
+
|
|
1546
|
+
Update a Tailoring
|
|
1547
|
+
|
|
1548
|
+
**`Throws`**
|
|
1549
|
+
|
|
1550
|
+
#### Defined in
|
|
1551
|
+
|
|
1552
|
+
[UpdateTailoring/index.ts:52](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/UpdateTailoring/index.ts#L52)
|
|
1251
1553
|
|
|
1252
1554
|
___
|
|
1253
1555
|
|
|
@@ -1275,7 +1577,7 @@ Request a Value Definition
|
|
|
1275
1577
|
|
|
1276
1578
|
#### Defined in
|
|
1277
1579
|
|
|
1278
|
-
[ValueDefinition/index.ts:46](https://github.com/
|
|
1580
|
+
[ValueDefinition/index.ts:46](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/ValueDefinition/index.ts#L46)
|
|
1279
1581
|
|
|
1280
1582
|
___
|
|
1281
1583
|
|
|
@@ -1303,4 +1605,4 @@ Request Value Definitions
|
|
|
1303
1605
|
|
|
1304
1606
|
#### Defined in
|
|
1305
1607
|
|
|
1306
|
-
[ValueDefinitions/index.ts:64](https://github.com/
|
|
1608
|
+
[ValueDefinitions/index.ts:64](https://github.com/RedHatInsights/javascript-clients/blob/main/packages/compliance/ValueDefinitions/index.ts#L64)
|