@redhat-cloud-services/compliance-client 0.2.2 → 0.2.3
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 +2 -0
- package/dist/Policies/index.d.ts +7 -1
- package/dist/Policies/index.js +7 -4
- package/dist/Policies/index.js.map +1 -1
- package/dist/PolicySystems/index.d.ts +14 -2
- package/dist/PolicySystems/index.js +10 -4
- package/dist/PolicySystems/index.js.map +1 -1
- package/dist/ProfileRules/index.d.ts +8 -2
- package/dist/ProfileRules/index.js +7 -4
- package/dist/ProfileRules/index.js.map +1 -1
- package/dist/Profiles/index.d.ts +7 -1
- package/dist/Profiles/index.js +7 -4
- package/dist/Profiles/index.js.map +1 -1
- package/dist/ReportRuleResults/index.d.ts +7 -1
- package/dist/ReportRuleResults/index.js +7 -4
- package/dist/ReportRuleResults/index.js.map +1 -1
- package/dist/ReportSystems/index.d.ts +14 -2
- package/dist/ReportSystems/index.js +10 -4
- package/dist/ReportSystems/index.js.map +1 -1
- package/dist/ReportTestResults/index.d.ts +7 -1
- package/dist/ReportTestResults/index.js +7 -4
- package/dist/ReportTestResults/index.js.map +1 -1
- package/dist/Reports/index.d.ts +7 -1
- package/dist/Reports/index.js +7 -4
- package/dist/Reports/index.js.map +1 -1
- package/dist/RuleGroups/index.d.ts +7 -1
- package/dist/RuleGroups/index.js +7 -4
- package/dist/RuleGroups/index.js.map +1 -1
- package/dist/Rules/index.d.ts +8 -2
- package/dist/Rules/index.js +7 -4
- package/dist/Rules/index.js.map +1 -1
- package/dist/SecurityGuides/index.d.ts +7 -1
- package/dist/SecurityGuides/index.js +7 -4
- package/dist/SecurityGuides/index.js.map +1 -1
- package/dist/SupportedProfiles/index.d.ts +7 -1
- package/dist/SupportedProfiles/index.js +7 -4
- package/dist/SupportedProfiles/index.js.map +1 -1
- package/dist/SystemReports/index.d.ts +8 -2
- package/dist/SystemReports/index.js +7 -4
- package/dist/SystemReports/index.js.map +1 -1
- package/dist/Systems/index.d.ts +14 -2
- package/dist/Systems/index.js +10 -4
- package/dist/Systems/index.js.map +1 -1
- package/dist/SystemsPolicies/index.d.ts +8 -2
- package/dist/SystemsPolicies/index.js +7 -4
- package/dist/SystemsPolicies/index.js.map +1 -1
- package/dist/TailoringRules/index.d.ts +8 -2
- package/dist/TailoringRules/index.js +7 -4
- package/dist/TailoringRules/index.js.map +1 -1
- package/dist/Tailorings/index.d.ts +7 -1
- package/dist/Tailorings/index.js +7 -4
- package/dist/Tailorings/index.js.map +1 -1
- package/dist/ValueDefinitions/index.d.ts +7 -1
- package/dist/ValueDefinitions/index.js +7 -4
- package/dist/ValueDefinitions/index.js.map +1 -1
- package/dist/api.d.ts +195 -105
- package/dist/api.js +305 -158
- package/dist/api.js.map +1 -1
- package/dist/types/index.d.ts +7 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -1028,12 +1028,13 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
1028
1028
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1029
1029
|
* @param {any} [limit] Number of items to return per page
|
|
1030
1030
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1031
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1031
1032
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1032
1033
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1033
1034
|
* @param {*} [options] Override http request option.
|
|
1034
1035
|
* @throws {RequiredError}
|
|
1035
1036
|
*/
|
|
1036
|
-
policies: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1037
|
+
policies: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1037
1038
|
if (options === void 0) { options = {}; }
|
|
1038
1039
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
1039
1040
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1052,6 +1053,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
1052
1053
|
if (offset !== undefined) {
|
|
1053
1054
|
localVarQueryParameter['offset'] = offset;
|
|
1054
1055
|
}
|
|
1056
|
+
if (idsOnly !== undefined) {
|
|
1057
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
1058
|
+
}
|
|
1055
1059
|
if (sortBy !== undefined) {
|
|
1056
1060
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
1057
1061
|
}
|
|
@@ -1089,17 +1093,18 @@ var PoliciesApiFp = function (configuration) {
|
|
|
1089
1093
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1090
1094
|
* @param {any} [limit] Number of items to return per page
|
|
1091
1095
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1096
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1092
1097
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1093
1098
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1094
1099
|
* @param {*} [options] Override http request option.
|
|
1095
1100
|
* @throws {RequiredError}
|
|
1096
1101
|
*/
|
|
1097
|
-
policies: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1102
|
+
policies: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1098
1103
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
1099
1104
|
var localVarAxiosArgs;
|
|
1100
1105
|
return tslib_1.__generator(this, function (_a) {
|
|
1101
1106
|
switch (_a.label) {
|
|
1102
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.policies(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
1107
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.policies(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
1103
1108
|
case 1:
|
|
1104
1109
|
localVarAxiosArgs = _a.sent();
|
|
1105
1110
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1123,13 +1128,14 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
1123
1128
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1124
1129
|
* @param {any} [limit] Number of items to return per page
|
|
1125
1130
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1131
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1126
1132
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1127
1133
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1128
1134
|
* @param {*} [options] Override http request option.
|
|
1129
1135
|
* @throws {RequiredError}
|
|
1130
1136
|
*/
|
|
1131
|
-
policies: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1132
|
-
return localVarFp.policies(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
1137
|
+
policies: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1138
|
+
return localVarFp.policies(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
1133
1139
|
},
|
|
1134
1140
|
};
|
|
1135
1141
|
};
|
|
@@ -1151,15 +1157,16 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
1151
1157
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1152
1158
|
* @param {any} [limit] Number of items to return per page
|
|
1153
1159
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1160
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1154
1161
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1155
1162
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`, `os_major_version`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1156
1163
|
* @param {*} [options] Override http request option.
|
|
1157
1164
|
* @throws {RequiredError}
|
|
1158
1165
|
* @memberof PoliciesApi
|
|
1159
1166
|
*/
|
|
1160
|
-
PoliciesApi.prototype.policies = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1167
|
+
PoliciesApi.prototype.policies = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1161
1168
|
var _this = this;
|
|
1162
|
-
return (0, exports.PoliciesApiFp)(this.configuration).policies(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1169
|
+
return (0, exports.PoliciesApiFp)(this.configuration).policies(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1163
1170
|
};
|
|
1164
1171
|
return PoliciesApi;
|
|
1165
1172
|
}(base_1.BaseAPI));
|
|
@@ -1304,14 +1311,16 @@ var PolicySystemsApiAxiosParamCreator = function (configuration) {
|
|
|
1304
1311
|
* @summary Request Systems assigned to a Policy
|
|
1305
1312
|
* @param {any} policyId
|
|
1306
1313
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1314
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
1307
1315
|
* @param {any} [limit] Number of items to return per page
|
|
1308
1316
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1317
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1309
1318
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1310
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
1319
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1311
1320
|
* @param {*} [options] Override http request option.
|
|
1312
1321
|
* @throws {RequiredError}
|
|
1313
1322
|
*/
|
|
1314
|
-
policySystems: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1323
|
+
policySystems: function (policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1315
1324
|
if (options === void 0) { options = {}; }
|
|
1316
1325
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
1317
1326
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1327,12 +1336,18 @@ var PolicySystemsApiAxiosParamCreator = function (configuration) {
|
|
|
1327
1336
|
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
1328
1337
|
localVarHeaderParameter = {};
|
|
1329
1338
|
localVarQueryParameter = {};
|
|
1339
|
+
if (tags !== undefined) {
|
|
1340
|
+
localVarQueryParameter['tags'] = tags;
|
|
1341
|
+
}
|
|
1330
1342
|
if (limit !== undefined) {
|
|
1331
1343
|
localVarQueryParameter['limit'] = limit;
|
|
1332
1344
|
}
|
|
1333
1345
|
if (offset !== undefined) {
|
|
1334
1346
|
localVarQueryParameter['offset'] = offset;
|
|
1335
1347
|
}
|
|
1348
|
+
if (idsOnly !== undefined) {
|
|
1349
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
1350
|
+
}
|
|
1336
1351
|
if (sortBy !== undefined) {
|
|
1337
1352
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
1338
1353
|
}
|
|
@@ -1369,19 +1384,21 @@ var PolicySystemsApiFp = function (configuration) {
|
|
|
1369
1384
|
* @summary Request Systems assigned to a Policy
|
|
1370
1385
|
* @param {any} policyId
|
|
1371
1386
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1387
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
1372
1388
|
* @param {any} [limit] Number of items to return per page
|
|
1373
1389
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1390
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1374
1391
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1375
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
1392
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1376
1393
|
* @param {*} [options] Override http request option.
|
|
1377
1394
|
* @throws {RequiredError}
|
|
1378
1395
|
*/
|
|
1379
|
-
policySystems: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1396
|
+
policySystems: function (policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1380
1397
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
1381
1398
|
var localVarAxiosArgs;
|
|
1382
1399
|
return tslib_1.__generator(this, function (_a) {
|
|
1383
1400
|
switch (_a.label) {
|
|
1384
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.policySystems(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
1401
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.policySystems(policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options)];
|
|
1385
1402
|
case 1:
|
|
1386
1403
|
localVarAxiosArgs = _a.sent();
|
|
1387
1404
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1404,15 +1421,17 @@ var PolicySystemsApiFactory = function (configuration, basePath, axios) {
|
|
|
1404
1421
|
* @summary Request Systems assigned to a Policy
|
|
1405
1422
|
* @param {any} policyId
|
|
1406
1423
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1424
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
1407
1425
|
* @param {any} [limit] Number of items to return per page
|
|
1408
1426
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1427
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1409
1428
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1410
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
1429
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1411
1430
|
* @param {*} [options] Override http request option.
|
|
1412
1431
|
* @throws {RequiredError}
|
|
1413
1432
|
*/
|
|
1414
|
-
policySystems: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1415
|
-
return localVarFp.policySystems(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
1433
|
+
policySystems: function (policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1434
|
+
return localVarFp.policySystems(policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
1416
1435
|
},
|
|
1417
1436
|
};
|
|
1418
1437
|
};
|
|
@@ -1433,17 +1452,19 @@ var PolicySystemsApi = /** @class */ (function (_super) {
|
|
|
1433
1452
|
* @summary Request Systems assigned to a Policy
|
|
1434
1453
|
* @param {any} policyId
|
|
1435
1454
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1455
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
1436
1456
|
* @param {any} [limit] Number of items to return per page
|
|
1437
1457
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1458
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1438
1459
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1439
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
1460
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1440
1461
|
* @param {*} [options] Override http request option.
|
|
1441
1462
|
* @throws {RequiredError}
|
|
1442
1463
|
* @memberof PolicySystemsApi
|
|
1443
1464
|
*/
|
|
1444
|
-
PolicySystemsApi.prototype.policySystems = function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1465
|
+
PolicySystemsApi.prototype.policySystems = function (policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1445
1466
|
var _this = this;
|
|
1446
|
-
return (0, exports.PolicySystemsApiFp)(this.configuration).policySystems(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1467
|
+
return (0, exports.PolicySystemsApiFp)(this.configuration).policySystems(policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1447
1468
|
};
|
|
1448
1469
|
return PolicySystemsApi;
|
|
1449
1470
|
}(base_1.BaseAPI));
|
|
@@ -1879,12 +1900,13 @@ var ProfileRulesApiAxiosParamCreator = function (configuration) {
|
|
|
1879
1900
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1880
1901
|
* @param {any} [limit] Number of items to return per page
|
|
1881
1902
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1903
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1882
1904
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1883
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
1905
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1884
1906
|
* @param {*} [options] Override http request option.
|
|
1885
1907
|
* @throws {RequiredError}
|
|
1886
1908
|
*/
|
|
1887
|
-
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1909
|
+
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1888
1910
|
if (options === void 0) { options = {}; }
|
|
1889
1911
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
1890
1912
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1909,6 +1931,9 @@ var ProfileRulesApiAxiosParamCreator = function (configuration) {
|
|
|
1909
1931
|
if (offset !== undefined) {
|
|
1910
1932
|
localVarQueryParameter['offset'] = offset;
|
|
1911
1933
|
}
|
|
1934
|
+
if (idsOnly !== undefined) {
|
|
1935
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
1936
|
+
}
|
|
1912
1937
|
if (sortBy !== undefined) {
|
|
1913
1938
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
1914
1939
|
}
|
|
@@ -1948,17 +1973,18 @@ var ProfileRulesApiFp = function (configuration) {
|
|
|
1948
1973
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1949
1974
|
* @param {any} [limit] Number of items to return per page
|
|
1950
1975
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1976
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1951
1977
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1952
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
1978
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1953
1979
|
* @param {*} [options] Override http request option.
|
|
1954
1980
|
* @throws {RequiredError}
|
|
1955
1981
|
*/
|
|
1956
|
-
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1982
|
+
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1957
1983
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
1958
1984
|
var localVarAxiosArgs;
|
|
1959
1985
|
return tslib_1.__generator(this, function (_a) {
|
|
1960
1986
|
switch (_a.label) {
|
|
1961
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
1987
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
1962
1988
|
case 1:
|
|
1963
1989
|
localVarAxiosArgs = _a.sent();
|
|
1964
1990
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1984,13 +2010,14 @@ var ProfileRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
1984
2010
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1985
2011
|
* @param {any} [limit] Number of items to return per page
|
|
1986
2012
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2013
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1987
2014
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
1988
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
2015
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
1989
2016
|
* @param {*} [options] Override http request option.
|
|
1990
2017
|
* @throws {RequiredError}
|
|
1991
2018
|
*/
|
|
1992
|
-
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1993
|
-
return localVarFp.profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2019
|
+
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2020
|
+
return localVarFp.profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
1994
2021
|
},
|
|
1995
2022
|
};
|
|
1996
2023
|
};
|
|
@@ -2014,15 +2041,16 @@ var ProfileRulesApi = /** @class */ (function (_super) {
|
|
|
2014
2041
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2015
2042
|
* @param {any} [limit] Number of items to return per page
|
|
2016
2043
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2044
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2017
2045
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2018
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
2046
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2019
2047
|
* @param {*} [options] Override http request option.
|
|
2020
2048
|
* @throws {RequiredError}
|
|
2021
2049
|
* @memberof ProfileRulesApi
|
|
2022
2050
|
*/
|
|
2023
|
-
ProfileRulesApi.prototype.profileRules = function (securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2051
|
+
ProfileRulesApi.prototype.profileRules = function (securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2024
2052
|
var _this = this;
|
|
2025
|
-
return (0, exports.ProfileRulesApiFp)(this.configuration).profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2053
|
+
return (0, exports.ProfileRulesApiFp)(this.configuration).profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2026
2054
|
};
|
|
2027
2055
|
return ProfileRulesApi;
|
|
2028
2056
|
}(base_1.BaseAPI));
|
|
@@ -2041,12 +2069,13 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
2041
2069
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2042
2070
|
* @param {any} [limit] Number of items to return per page
|
|
2043
2071
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2072
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2044
2073
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2045
2074
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2046
2075
|
* @param {*} [options] Override http request option.
|
|
2047
2076
|
* @throws {RequiredError}
|
|
2048
2077
|
*/
|
|
2049
|
-
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2078
|
+
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2050
2079
|
if (options === void 0) { options = {}; }
|
|
2051
2080
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
2052
2081
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2068,6 +2097,9 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
2068
2097
|
if (offset !== undefined) {
|
|
2069
2098
|
localVarQueryParameter['offset'] = offset;
|
|
2070
2099
|
}
|
|
2100
|
+
if (idsOnly !== undefined) {
|
|
2101
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
2102
|
+
}
|
|
2071
2103
|
if (sortBy !== undefined) {
|
|
2072
2104
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
2073
2105
|
}
|
|
@@ -2106,17 +2138,18 @@ var ProfilesApiFp = function (configuration) {
|
|
|
2106
2138
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2107
2139
|
* @param {any} [limit] Number of items to return per page
|
|
2108
2140
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2141
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2109
2142
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2110
2143
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2111
2144
|
* @param {*} [options] Override http request option.
|
|
2112
2145
|
* @throws {RequiredError}
|
|
2113
2146
|
*/
|
|
2114
|
-
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2147
|
+
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2115
2148
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
2116
2149
|
var localVarAxiosArgs;
|
|
2117
2150
|
return tslib_1.__generator(this, function (_a) {
|
|
2118
2151
|
switch (_a.label) {
|
|
2119
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profiles(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
2152
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profiles(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
2120
2153
|
case 1:
|
|
2121
2154
|
localVarAxiosArgs = _a.sent();
|
|
2122
2155
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2141,13 +2174,14 @@ var ProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
2141
2174
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2142
2175
|
* @param {any} [limit] Number of items to return per page
|
|
2143
2176
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2177
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2144
2178
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2145
2179
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2146
2180
|
* @param {*} [options] Override http request option.
|
|
2147
2181
|
* @throws {RequiredError}
|
|
2148
2182
|
*/
|
|
2149
|
-
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2150
|
-
return localVarFp.profiles(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2183
|
+
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2184
|
+
return localVarFp.profiles(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2151
2185
|
},
|
|
2152
2186
|
};
|
|
2153
2187
|
};
|
|
@@ -2170,15 +2204,16 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
2170
2204
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2171
2205
|
* @param {any} [limit] Number of items to return per page
|
|
2172
2206
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2207
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2173
2208
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2174
2209
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Profiles are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2175
2210
|
* @param {*} [options] Override http request option.
|
|
2176
2211
|
* @throws {RequiredError}
|
|
2177
2212
|
* @memberof ProfilesApi
|
|
2178
2213
|
*/
|
|
2179
|
-
ProfilesApi.prototype.profiles = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2214
|
+
ProfilesApi.prototype.profiles = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2180
2215
|
var _this = this;
|
|
2181
|
-
return (0, exports.ProfilesApiFp)(this.configuration).profiles(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2216
|
+
return (0, exports.ProfilesApiFp)(this.configuration).profiles(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2182
2217
|
};
|
|
2183
2218
|
return ProfilesApi;
|
|
2184
2219
|
}(base_1.BaseAPI));
|
|
@@ -2326,12 +2361,13 @@ var ReportRuleResultsApiAxiosParamCreator = function (configuration) {
|
|
|
2326
2361
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2327
2362
|
* @param {any} [limit] Number of items to return per page
|
|
2328
2363
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2364
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2329
2365
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2330
2366
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Results are searchable using attributes `result`, `title`, `severity`, and `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2331
2367
|
* @param {*} [options] Override http request option.
|
|
2332
2368
|
* @throws {RequiredError}
|
|
2333
2369
|
*/
|
|
2334
|
-
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2370
|
+
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2335
2371
|
if (options === void 0) { options = {}; }
|
|
2336
2372
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
2337
2373
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2356,6 +2392,9 @@ var ReportRuleResultsApiAxiosParamCreator = function (configuration) {
|
|
|
2356
2392
|
if (offset !== undefined) {
|
|
2357
2393
|
localVarQueryParameter['offset'] = offset;
|
|
2358
2394
|
}
|
|
2395
|
+
if (idsOnly !== undefined) {
|
|
2396
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
2397
|
+
}
|
|
2359
2398
|
if (sortBy !== undefined) {
|
|
2360
2399
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
2361
2400
|
}
|
|
@@ -2395,17 +2434,18 @@ var ReportRuleResultsApiFp = function (configuration) {
|
|
|
2395
2434
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2396
2435
|
* @param {any} [limit] Number of items to return per page
|
|
2397
2436
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2437
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2398
2438
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2399
2439
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Results are searchable using attributes `result`, `title`, `severity`, and `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2400
2440
|
* @param {*} [options] Override http request option.
|
|
2401
2441
|
* @throws {RequiredError}
|
|
2402
2442
|
*/
|
|
2403
|
-
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2443
|
+
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2404
2444
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
2405
2445
|
var localVarAxiosArgs;
|
|
2406
2446
|
return tslib_1.__generator(this, function (_a) {
|
|
2407
2447
|
switch (_a.label) {
|
|
2408
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
2448
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
2409
2449
|
case 1:
|
|
2410
2450
|
localVarAxiosArgs = _a.sent();
|
|
2411
2451
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2431,13 +2471,14 @@ var ReportRuleResultsApiFactory = function (configuration, basePath, axios) {
|
|
|
2431
2471
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2432
2472
|
* @param {any} [limit] Number of items to return per page
|
|
2433
2473
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2474
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2434
2475
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2435
2476
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Results are searchable using attributes `result`, `title`, `severity`, and `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2436
2477
|
* @param {*} [options] Override http request option.
|
|
2437
2478
|
* @throws {RequiredError}
|
|
2438
2479
|
*/
|
|
2439
|
-
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2440
|
-
return localVarFp.reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2480
|
+
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2481
|
+
return localVarFp.reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2441
2482
|
},
|
|
2442
2483
|
};
|
|
2443
2484
|
};
|
|
@@ -2461,15 +2502,16 @@ var ReportRuleResultsApi = /** @class */ (function (_super) {
|
|
|
2461
2502
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2462
2503
|
* @param {any} [limit] Number of items to return per page
|
|
2463
2504
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2505
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2464
2506
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2465
2507
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Results are searchable using attributes `result`, `title`, `severity`, and `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2466
2508
|
* @param {*} [options] Override http request option.
|
|
2467
2509
|
* @throws {RequiredError}
|
|
2468
2510
|
* @memberof ReportRuleResultsApi
|
|
2469
2511
|
*/
|
|
2470
|
-
ReportRuleResultsApi.prototype.reportRuleResults = function (testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2512
|
+
ReportRuleResultsApi.prototype.reportRuleResults = function (testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2471
2513
|
var _this = this;
|
|
2472
|
-
return (0, exports.ReportRuleResultsApiFp)(this.configuration).reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2514
|
+
return (0, exports.ReportRuleResultsApiFp)(this.configuration).reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2473
2515
|
};
|
|
2474
2516
|
return ReportRuleResultsApi;
|
|
2475
2517
|
}(base_1.BaseAPI));
|
|
@@ -2753,14 +2795,16 @@ var ReportSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
2753
2795
|
* @summary Request Systems assigned to a Report
|
|
2754
2796
|
* @param {any} reportId
|
|
2755
2797
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2798
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
2756
2799
|
* @param {any} [limit] Number of items to return per page
|
|
2757
2800
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2801
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2758
2802
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2759
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
2803
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, `never_reported`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2760
2804
|
* @param {*} [options] Override http request option.
|
|
2761
2805
|
* @throws {RequiredError}
|
|
2762
2806
|
*/
|
|
2763
|
-
reportSystems: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2807
|
+
reportSystems: function (reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2764
2808
|
if (options === void 0) { options = {}; }
|
|
2765
2809
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
2766
2810
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2776,12 +2820,18 @@ var ReportSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
2776
2820
|
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
2777
2821
|
localVarHeaderParameter = {};
|
|
2778
2822
|
localVarQueryParameter = {};
|
|
2823
|
+
if (tags !== undefined) {
|
|
2824
|
+
localVarQueryParameter['tags'] = tags;
|
|
2825
|
+
}
|
|
2779
2826
|
if (limit !== undefined) {
|
|
2780
2827
|
localVarQueryParameter['limit'] = limit;
|
|
2781
2828
|
}
|
|
2782
2829
|
if (offset !== undefined) {
|
|
2783
2830
|
localVarQueryParameter['offset'] = offset;
|
|
2784
2831
|
}
|
|
2832
|
+
if (idsOnly !== undefined) {
|
|
2833
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
2834
|
+
}
|
|
2785
2835
|
if (sortBy !== undefined) {
|
|
2786
2836
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
2787
2837
|
}
|
|
@@ -2818,19 +2868,21 @@ var ReportSystemsApiFp = function (configuration) {
|
|
|
2818
2868
|
* @summary Request Systems assigned to a Report
|
|
2819
2869
|
* @param {any} reportId
|
|
2820
2870
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2871
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
2821
2872
|
* @param {any} [limit] Number of items to return per page
|
|
2822
2873
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2874
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2823
2875
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2824
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
2876
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, `never_reported`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2825
2877
|
* @param {*} [options] Override http request option.
|
|
2826
2878
|
* @throws {RequiredError}
|
|
2827
2879
|
*/
|
|
2828
|
-
reportSystems: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2880
|
+
reportSystems: function (reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2829
2881
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
2830
2882
|
var localVarAxiosArgs;
|
|
2831
2883
|
return tslib_1.__generator(this, function (_a) {
|
|
2832
2884
|
switch (_a.label) {
|
|
2833
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportSystems(reportId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
2885
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportSystems(reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options)];
|
|
2834
2886
|
case 1:
|
|
2835
2887
|
localVarAxiosArgs = _a.sent();
|
|
2836
2888
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2853,15 +2905,17 @@ var ReportSystemsApiFactory = function (configuration, basePath, axios) {
|
|
|
2853
2905
|
* @summary Request Systems assigned to a Report
|
|
2854
2906
|
* @param {any} reportId
|
|
2855
2907
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2908
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
2856
2909
|
* @param {any} [limit] Number of items to return per page
|
|
2857
2910
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2911
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2858
2912
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2859
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
2913
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, `never_reported`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2860
2914
|
* @param {*} [options] Override http request option.
|
|
2861
2915
|
* @throws {RequiredError}
|
|
2862
2916
|
*/
|
|
2863
|
-
reportSystems: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2864
|
-
return localVarFp.reportSystems(reportId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2917
|
+
reportSystems: function (reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2918
|
+
return localVarFp.reportSystems(reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2865
2919
|
},
|
|
2866
2920
|
};
|
|
2867
2921
|
};
|
|
@@ -2882,17 +2936,19 @@ var ReportSystemsApi = /** @class */ (function (_super) {
|
|
|
2882
2936
|
* @summary Request Systems assigned to a Report
|
|
2883
2937
|
* @param {any} reportId
|
|
2884
2938
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2939
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
2885
2940
|
* @param {any} [limit] Number of items to return per page
|
|
2886
2941
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2942
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2887
2943
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
2888
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `
|
|
2944
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_minor_version`, `never_reported`, and `group_name`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
2889
2945
|
* @param {*} [options] Override http request option.
|
|
2890
2946
|
* @throws {RequiredError}
|
|
2891
2947
|
* @memberof ReportSystemsApi
|
|
2892
2948
|
*/
|
|
2893
|
-
ReportSystemsApi.prototype.reportSystems = function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2949
|
+
ReportSystemsApi.prototype.reportSystems = function (reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2894
2950
|
var _this = this;
|
|
2895
|
-
return (0, exports.ReportSystemsApiFp)(this.configuration).reportSystems(reportId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2951
|
+
return (0, exports.ReportSystemsApiFp)(this.configuration).reportSystems(reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2896
2952
|
};
|
|
2897
2953
|
return ReportSystemsApi;
|
|
2898
2954
|
}(base_1.BaseAPI));
|
|
@@ -3185,12 +3241,13 @@ var ReportTestResultsApiAxiosParamCreator = function (configuration) {
|
|
|
3185
3241
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3186
3242
|
* @param {any} [limit] Number of items to return per page
|
|
3187
3243
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3244
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3188
3245
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
3189
3246
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3190
3247
|
* @param {*} [options] Override http request option.
|
|
3191
3248
|
* @throws {RequiredError}
|
|
3192
3249
|
*/
|
|
3193
|
-
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3250
|
+
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3194
3251
|
if (options === void 0) { options = {}; }
|
|
3195
3252
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
3196
3253
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3212,6 +3269,9 @@ var ReportTestResultsApiAxiosParamCreator = function (configuration) {
|
|
|
3212
3269
|
if (offset !== undefined) {
|
|
3213
3270
|
localVarQueryParameter['offset'] = offset;
|
|
3214
3271
|
}
|
|
3272
|
+
if (idsOnly !== undefined) {
|
|
3273
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
3274
|
+
}
|
|
3215
3275
|
if (sortBy !== undefined) {
|
|
3216
3276
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
3217
3277
|
}
|
|
@@ -3250,17 +3310,18 @@ var ReportTestResultsApiFp = function (configuration) {
|
|
|
3250
3310
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3251
3311
|
* @param {any} [limit] Number of items to return per page
|
|
3252
3312
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3313
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3253
3314
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
3254
3315
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3255
3316
|
* @param {*} [options] Override http request option.
|
|
3256
3317
|
* @throws {RequiredError}
|
|
3257
3318
|
*/
|
|
3258
|
-
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3319
|
+
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3259
3320
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
3260
3321
|
var localVarAxiosArgs;
|
|
3261
3322
|
return tslib_1.__generator(this, function (_a) {
|
|
3262
3323
|
switch (_a.label) {
|
|
3263
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportTestResults(reportId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
3324
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportTestResults(reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
3264
3325
|
case 1:
|
|
3265
3326
|
localVarAxiosArgs = _a.sent();
|
|
3266
3327
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3285,13 +3346,14 @@ var ReportTestResultsApiFactory = function (configuration, basePath, axios) {
|
|
|
3285
3346
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3286
3347
|
* @param {any} [limit] Number of items to return per page
|
|
3287
3348
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3349
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3288
3350
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
3289
3351
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3290
3352
|
* @param {*} [options] Override http request option.
|
|
3291
3353
|
* @throws {RequiredError}
|
|
3292
3354
|
*/
|
|
3293
|
-
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3294
|
-
return localVarFp.reportTestResults(reportId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
3355
|
+
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3356
|
+
return localVarFp.reportTestResults(reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
3295
3357
|
},
|
|
3296
3358
|
};
|
|
3297
3359
|
};
|
|
@@ -3314,15 +3376,16 @@ var ReportTestResultsApi = /** @class */ (function (_super) {
|
|
|
3314
3376
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3315
3377
|
* @param {any} [limit] Number of items to return per page
|
|
3316
3378
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3379
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3317
3380
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
3318
3381
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Test Results are searchable using attributes `score`, `supported`, `system_id`, `display_name`, `os_minor_version`, `security_guide_version`, `compliant`, `group_name`, and `failed_rule_severity`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3319
3382
|
* @param {*} [options] Override http request option.
|
|
3320
3383
|
* @throws {RequiredError}
|
|
3321
3384
|
* @memberof ReportTestResultsApi
|
|
3322
3385
|
*/
|
|
3323
|
-
ReportTestResultsApi.prototype.reportTestResults = function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3386
|
+
ReportTestResultsApi.prototype.reportTestResults = function (reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3324
3387
|
var _this = this;
|
|
3325
|
-
return (0, exports.ReportTestResultsApiFp)(this.configuration).reportTestResults(reportId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3388
|
+
return (0, exports.ReportTestResultsApiFp)(this.configuration).reportTestResults(reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3326
3389
|
};
|
|
3327
3390
|
return ReportTestResultsApi;
|
|
3328
3391
|
}(base_1.BaseAPI));
|
|
@@ -3479,12 +3542,13 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
3479
3542
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3480
3543
|
* @param {any} [limit] Number of items to return per page
|
|
3481
3544
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3545
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3482
3546
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
3483
3547
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`, `os_major_version`, and `with_reported_systems`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3484
3548
|
* @param {*} [options] Override http request option.
|
|
3485
3549
|
* @throws {RequiredError}
|
|
3486
3550
|
*/
|
|
3487
|
-
reports: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3551
|
+
reports: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3488
3552
|
if (options === void 0) { options = {}; }
|
|
3489
3553
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
3490
3554
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3503,6 +3567,9 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
3503
3567
|
if (offset !== undefined) {
|
|
3504
3568
|
localVarQueryParameter['offset'] = offset;
|
|
3505
3569
|
}
|
|
3570
|
+
if (idsOnly !== undefined) {
|
|
3571
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
3572
|
+
}
|
|
3506
3573
|
if (sortBy !== undefined) {
|
|
3507
3574
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
3508
3575
|
}
|
|
@@ -3540,17 +3607,18 @@ var ReportsApiFp = function (configuration) {
|
|
|
3540
3607
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3541
3608
|
* @param {any} [limit] Number of items to return per page
|
|
3542
3609
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3610
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3543
3611
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
3544
3612
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`, `os_major_version`, and `with_reported_systems`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3545
3613
|
* @param {*} [options] Override http request option.
|
|
3546
3614
|
* @throws {RequiredError}
|
|
3547
3615
|
*/
|
|
3548
|
-
reports: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3616
|
+
reports: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3549
3617
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
3550
3618
|
var localVarAxiosArgs;
|
|
3551
3619
|
return tslib_1.__generator(this, function (_a) {
|
|
3552
3620
|
switch (_a.label) {
|
|
3553
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reports(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
3621
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reports(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
3554
3622
|
case 1:
|
|
3555
3623
|
localVarAxiosArgs = _a.sent();
|
|
3556
3624
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3574,13 +3642,14 @@ var ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
3574
3642
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3575
3643
|
* @param {any} [limit] Number of items to return per page
|
|
3576
3644
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3645
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3577
3646
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
3578
3647
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`, `os_major_version`, and `with_reported_systems`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3579
3648
|
* @param {*} [options] Override http request option.
|
|
3580
3649
|
* @throws {RequiredError}
|
|
3581
3650
|
*/
|
|
3582
|
-
reports: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3583
|
-
return localVarFp.reports(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
3651
|
+
reports: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3652
|
+
return localVarFp.reports(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
3584
3653
|
},
|
|
3585
3654
|
};
|
|
3586
3655
|
};
|
|
@@ -3602,15 +3671,16 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
3602
3671
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3603
3672
|
* @param {any} [limit] Number of items to return per page
|
|
3604
3673
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3674
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3605
3675
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
3606
3676
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`, `os_major_version`, and `with_reported_systems`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
3607
3677
|
* @param {*} [options] Override http request option.
|
|
3608
3678
|
* @throws {RequiredError}
|
|
3609
3679
|
* @memberof ReportsApi
|
|
3610
3680
|
*/
|
|
3611
|
-
ReportsApi.prototype.reports = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3681
|
+
ReportsApi.prototype.reports = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3612
3682
|
var _this = this;
|
|
3613
|
-
return (0, exports.ReportsApiFp)(this.configuration).reports(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3683
|
+
return (0, exports.ReportsApiFp)(this.configuration).reports(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3614
3684
|
};
|
|
3615
3685
|
return ReportsApi;
|
|
3616
3686
|
}(base_1.BaseAPI));
|
|
@@ -4031,12 +4101,13 @@ var RuleGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
4031
4101
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4032
4102
|
* @param {any} [limit] Number of items to return per page
|
|
4033
4103
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4104
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4034
4105
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4035
4106
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4036
4107
|
* @param {*} [options] Override http request option.
|
|
4037
4108
|
* @throws {RequiredError}
|
|
4038
4109
|
*/
|
|
4039
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4110
|
+
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4040
4111
|
if (options === void 0) { options = {}; }
|
|
4041
4112
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4042
4113
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4058,6 +4129,9 @@ var RuleGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
4058
4129
|
if (offset !== undefined) {
|
|
4059
4130
|
localVarQueryParameter['offset'] = offset;
|
|
4060
4131
|
}
|
|
4132
|
+
if (idsOnly !== undefined) {
|
|
4133
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4134
|
+
}
|
|
4061
4135
|
if (sortBy !== undefined) {
|
|
4062
4136
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4063
4137
|
}
|
|
@@ -4096,17 +4170,18 @@ var RuleGroupsApiFp = function (configuration) {
|
|
|
4096
4170
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4097
4171
|
* @param {any} [limit] Number of items to return per page
|
|
4098
4172
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4173
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4099
4174
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4100
4175
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4101
4176
|
* @param {*} [options] Override http request option.
|
|
4102
4177
|
* @throws {RequiredError}
|
|
4103
4178
|
*/
|
|
4104
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4179
|
+
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4105
4180
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4106
4181
|
var localVarAxiosArgs;
|
|
4107
4182
|
return tslib_1.__generator(this, function (_a) {
|
|
4108
4183
|
switch (_a.label) {
|
|
4109
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
4184
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
4110
4185
|
case 1:
|
|
4111
4186
|
localVarAxiosArgs = _a.sent();
|
|
4112
4187
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4131,13 +4206,14 @@ var RuleGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
4131
4206
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4132
4207
|
* @param {any} [limit] Number of items to return per page
|
|
4133
4208
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4209
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4134
4210
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4135
4211
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4136
4212
|
* @param {*} [options] Override http request option.
|
|
4137
4213
|
* @throws {RequiredError}
|
|
4138
4214
|
*/
|
|
4139
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4140
|
-
return localVarFp.ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4215
|
+
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4216
|
+
return localVarFp.ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4141
4217
|
},
|
|
4142
4218
|
};
|
|
4143
4219
|
};
|
|
@@ -4160,15 +4236,16 @@ var RuleGroupsApi = /** @class */ (function (_super) {
|
|
|
4160
4236
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4161
4237
|
* @param {any} [limit] Number of items to return per page
|
|
4162
4238
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4239
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4163
4240
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4164
4241
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4165
4242
|
* @param {*} [options] Override http request option.
|
|
4166
4243
|
* @throws {RequiredError}
|
|
4167
4244
|
* @memberof RuleGroupsApi
|
|
4168
4245
|
*/
|
|
4169
|
-
RuleGroupsApi.prototype.ruleGroups = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4246
|
+
RuleGroupsApi.prototype.ruleGroups = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4170
4247
|
var _this = this;
|
|
4171
|
-
return (0, exports.RuleGroupsApiFp)(this.configuration).ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4248
|
+
return (0, exports.RuleGroupsApiFp)(this.configuration).ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4172
4249
|
};
|
|
4173
4250
|
return RuleGroupsApi;
|
|
4174
4251
|
}(base_1.BaseAPI));
|
|
@@ -4187,12 +4264,13 @@ var RulesApiAxiosParamCreator = function (configuration) {
|
|
|
4187
4264
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4188
4265
|
* @param {any} [limit] Number of items to return per page
|
|
4189
4266
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4267
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4190
4268
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4191
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
4269
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4192
4270
|
* @param {*} [options] Override http request option.
|
|
4193
4271
|
* @throws {RequiredError}
|
|
4194
4272
|
*/
|
|
4195
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4273
|
+
rules: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4196
4274
|
if (options === void 0) { options = {}; }
|
|
4197
4275
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4198
4276
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4214,6 +4292,9 @@ var RulesApiAxiosParamCreator = function (configuration) {
|
|
|
4214
4292
|
if (offset !== undefined) {
|
|
4215
4293
|
localVarQueryParameter['offset'] = offset;
|
|
4216
4294
|
}
|
|
4295
|
+
if (idsOnly !== undefined) {
|
|
4296
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4297
|
+
}
|
|
4217
4298
|
if (sortBy !== undefined) {
|
|
4218
4299
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4219
4300
|
}
|
|
@@ -4252,17 +4333,18 @@ var RulesApiFp = function (configuration) {
|
|
|
4252
4333
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4253
4334
|
* @param {any} [limit] Number of items to return per page
|
|
4254
4335
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4336
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4255
4337
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4256
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
4338
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4257
4339
|
* @param {*} [options] Override http request option.
|
|
4258
4340
|
* @throws {RequiredError}
|
|
4259
4341
|
*/
|
|
4260
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4342
|
+
rules: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4261
4343
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4262
4344
|
var localVarAxiosArgs;
|
|
4263
4345
|
return tslib_1.__generator(this, function (_a) {
|
|
4264
4346
|
switch (_a.label) {
|
|
4265
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.rules(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
4347
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.rules(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
4266
4348
|
case 1:
|
|
4267
4349
|
localVarAxiosArgs = _a.sent();
|
|
4268
4350
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4287,13 +4369,14 @@ var RulesApiFactory = function (configuration, basePath, axios) {
|
|
|
4287
4369
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4288
4370
|
* @param {any} [limit] Number of items to return per page
|
|
4289
4371
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4372
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4290
4373
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4291
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
4374
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4292
4375
|
* @param {*} [options] Override http request option.
|
|
4293
4376
|
* @throws {RequiredError}
|
|
4294
4377
|
*/
|
|
4295
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4296
|
-
return localVarFp.rules(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4378
|
+
rules: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4379
|
+
return localVarFp.rules(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4297
4380
|
},
|
|
4298
4381
|
};
|
|
4299
4382
|
};
|
|
@@ -4316,15 +4399,16 @@ var RulesApi = /** @class */ (function (_super) {
|
|
|
4316
4399
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4317
4400
|
* @param {any} [limit] Number of items to return per page
|
|
4318
4401
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4402
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4319
4403
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4320
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
4404
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4321
4405
|
* @param {*} [options] Override http request option.
|
|
4322
4406
|
* @throws {RequiredError}
|
|
4323
4407
|
* @memberof RulesApi
|
|
4324
4408
|
*/
|
|
4325
|
-
RulesApi.prototype.rules = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4409
|
+
RulesApi.prototype.rules = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4326
4410
|
var _this = this;
|
|
4327
|
-
return (0, exports.RulesApiFp)(this.configuration).rules(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4411
|
+
return (0, exports.RulesApiFp)(this.configuration).rules(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4328
4412
|
};
|
|
4329
4413
|
return RulesApi;
|
|
4330
4414
|
}(base_1.BaseAPI));
|
|
@@ -4598,12 +4682,13 @@ var SecurityGuidesApiAxiosParamCreator = function (configuration) {
|
|
|
4598
4682
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4599
4683
|
* @param {any} [limit] Number of items to return per page
|
|
4600
4684
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4685
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4601
4686
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4602
4687
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4603
4688
|
* @param {*} [options] Override http request option.
|
|
4604
4689
|
* @throws {RequiredError}
|
|
4605
4690
|
*/
|
|
4606
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4691
|
+
securityGuides: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4607
4692
|
if (options === void 0) { options = {}; }
|
|
4608
4693
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4609
4694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4622,6 +4707,9 @@ var SecurityGuidesApiAxiosParamCreator = function (configuration) {
|
|
|
4622
4707
|
if (offset !== undefined) {
|
|
4623
4708
|
localVarQueryParameter['offset'] = offset;
|
|
4624
4709
|
}
|
|
4710
|
+
if (idsOnly !== undefined) {
|
|
4711
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4712
|
+
}
|
|
4625
4713
|
if (sortBy !== undefined) {
|
|
4626
4714
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4627
4715
|
}
|
|
@@ -4659,17 +4747,18 @@ var SecurityGuidesApiFp = function (configuration) {
|
|
|
4659
4747
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4660
4748
|
* @param {any} [limit] Number of items to return per page
|
|
4661
4749
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4750
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4662
4751
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4663
4752
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4664
4753
|
* @param {*} [options] Override http request option.
|
|
4665
4754
|
* @throws {RequiredError}
|
|
4666
4755
|
*/
|
|
4667
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4756
|
+
securityGuides: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4668
4757
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4669
4758
|
var localVarAxiosArgs;
|
|
4670
4759
|
return tslib_1.__generator(this, function (_a) {
|
|
4671
4760
|
switch (_a.label) {
|
|
4672
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.securityGuides(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
4761
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.securityGuides(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
4673
4762
|
case 1:
|
|
4674
4763
|
localVarAxiosArgs = _a.sent();
|
|
4675
4764
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4693,13 +4782,14 @@ var SecurityGuidesApiFactory = function (configuration, basePath, axios) {
|
|
|
4693
4782
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4694
4783
|
* @param {any} [limit] Number of items to return per page
|
|
4695
4784
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4785
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4696
4786
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4697
4787
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4698
4788
|
* @param {*} [options] Override http request option.
|
|
4699
4789
|
* @throws {RequiredError}
|
|
4700
4790
|
*/
|
|
4701
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4702
|
-
return localVarFp.securityGuides(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4791
|
+
securityGuides: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4792
|
+
return localVarFp.securityGuides(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4703
4793
|
},
|
|
4704
4794
|
};
|
|
4705
4795
|
};
|
|
@@ -4721,15 +4811,16 @@ var SecurityGuidesApi = /** @class */ (function (_super) {
|
|
|
4721
4811
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4722
4812
|
* @param {any} [limit] Number of items to return per page
|
|
4723
4813
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4814
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4724
4815
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4725
4816
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4726
4817
|
* @param {*} [options] Override http request option.
|
|
4727
4818
|
* @throws {RequiredError}
|
|
4728
4819
|
* @memberof SecurityGuidesApi
|
|
4729
4820
|
*/
|
|
4730
|
-
SecurityGuidesApi.prototype.securityGuides = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4821
|
+
SecurityGuidesApi.prototype.securityGuides = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4731
4822
|
var _this = this;
|
|
4732
|
-
return (0, exports.SecurityGuidesApiFp)(this.configuration).securityGuides(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4823
|
+
return (0, exports.SecurityGuidesApiFp)(this.configuration).securityGuides(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4733
4824
|
};
|
|
4734
4825
|
return SecurityGuidesApi;
|
|
4735
4826
|
}(base_1.BaseAPI));
|
|
@@ -4879,12 +4970,13 @@ var SupportedProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
4879
4970
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4880
4971
|
* @param {any} [limit] Number of items to return per page
|
|
4881
4972
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4973
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4882
4974
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4883
4975
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4884
4976
|
* @param {*} [options] Override http request option.
|
|
4885
4977
|
* @throws {RequiredError}
|
|
4886
4978
|
*/
|
|
4887
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4979
|
+
supportedProfiles: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4888
4980
|
if (options === void 0) { options = {}; }
|
|
4889
4981
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4890
4982
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4903,6 +4995,9 @@ var SupportedProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
4903
4995
|
if (offset !== undefined) {
|
|
4904
4996
|
localVarQueryParameter['offset'] = offset;
|
|
4905
4997
|
}
|
|
4998
|
+
if (idsOnly !== undefined) {
|
|
4999
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5000
|
+
}
|
|
4906
5001
|
if (sortBy !== undefined) {
|
|
4907
5002
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4908
5003
|
}
|
|
@@ -4940,17 +5035,18 @@ var SupportedProfilesApiFp = function (configuration) {
|
|
|
4940
5035
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4941
5036
|
* @param {any} [limit] Number of items to return per page
|
|
4942
5037
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5038
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4943
5039
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4944
5040
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4945
5041
|
* @param {*} [options] Override http request option.
|
|
4946
5042
|
* @throws {RequiredError}
|
|
4947
5043
|
*/
|
|
4948
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5044
|
+
supportedProfiles: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4949
5045
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4950
5046
|
var localVarAxiosArgs;
|
|
4951
5047
|
return tslib_1.__generator(this, function (_a) {
|
|
4952
5048
|
switch (_a.label) {
|
|
4953
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.supportedProfiles(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
5049
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.supportedProfiles(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
4954
5050
|
case 1:
|
|
4955
5051
|
localVarAxiosArgs = _a.sent();
|
|
4956
5052
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4974,13 +5070,14 @@ var SupportedProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
4974
5070
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4975
5071
|
* @param {any} [limit] Number of items to return per page
|
|
4976
5072
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5073
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4977
5074
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4978
5075
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4979
5076
|
* @param {*} [options] Override http request option.
|
|
4980
5077
|
* @throws {RequiredError}
|
|
4981
5078
|
*/
|
|
4982
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4983
|
-
return localVarFp.supportedProfiles(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5079
|
+
supportedProfiles: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5080
|
+
return localVarFp.supportedProfiles(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4984
5081
|
},
|
|
4985
5082
|
};
|
|
4986
5083
|
};
|
|
@@ -5002,15 +5099,16 @@ var SupportedProfilesApi = /** @class */ (function (_super) {
|
|
|
5002
5099
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5003
5100
|
* @param {any} [limit] Number of items to return per page
|
|
5004
5101
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5102
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5005
5103
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5006
5104
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5007
5105
|
* @param {*} [options] Override http request option.
|
|
5008
5106
|
* @throws {RequiredError}
|
|
5009
5107
|
* @memberof SupportedProfilesApi
|
|
5010
5108
|
*/
|
|
5011
|
-
SupportedProfilesApi.prototype.supportedProfiles = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5109
|
+
SupportedProfilesApi.prototype.supportedProfiles = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5012
5110
|
var _this = this;
|
|
5013
|
-
return (0, exports.SupportedProfilesApiFp)(this.configuration).supportedProfiles(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5111
|
+
return (0, exports.SupportedProfilesApiFp)(this.configuration).supportedProfiles(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5014
5112
|
};
|
|
5015
5113
|
return SupportedProfilesApi;
|
|
5016
5114
|
}(base_1.BaseAPI));
|
|
@@ -5157,12 +5255,13 @@ var SystemReportsApiAxiosParamCreator = function (configuration) {
|
|
|
5157
5255
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5158
5256
|
* @param {any} [limit] Number of items to return per page
|
|
5159
5257
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5258
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5160
5259
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5161
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`
|
|
5260
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5162
5261
|
* @param {*} [options] Override http request option.
|
|
5163
5262
|
* @throws {RequiredError}
|
|
5164
5263
|
*/
|
|
5165
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5264
|
+
systemReports: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5166
5265
|
if (options === void 0) { options = {}; }
|
|
5167
5266
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5168
5267
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5184,6 +5283,9 @@ var SystemReportsApiAxiosParamCreator = function (configuration) {
|
|
|
5184
5283
|
if (offset !== undefined) {
|
|
5185
5284
|
localVarQueryParameter['offset'] = offset;
|
|
5186
5285
|
}
|
|
5286
|
+
if (idsOnly !== undefined) {
|
|
5287
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5288
|
+
}
|
|
5187
5289
|
if (sortBy !== undefined) {
|
|
5188
5290
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5189
5291
|
}
|
|
@@ -5222,17 +5324,18 @@ var SystemReportsApiFp = function (configuration) {
|
|
|
5222
5324
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5223
5325
|
* @param {any} [limit] Number of items to return per page
|
|
5224
5326
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5327
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5225
5328
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5226
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`
|
|
5329
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5227
5330
|
* @param {*} [options] Override http request option.
|
|
5228
5331
|
* @throws {RequiredError}
|
|
5229
5332
|
*/
|
|
5230
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5333
|
+
systemReports: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5231
5334
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5232
5335
|
var localVarAxiosArgs;
|
|
5233
5336
|
return tslib_1.__generator(this, function (_a) {
|
|
5234
5337
|
switch (_a.label) {
|
|
5235
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systemReports(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
5338
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systemReports(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
5236
5339
|
case 1:
|
|
5237
5340
|
localVarAxiosArgs = _a.sent();
|
|
5238
5341
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5257,13 +5360,14 @@ var SystemReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
5257
5360
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5258
5361
|
* @param {any} [limit] Number of items to return per page
|
|
5259
5362
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5363
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5260
5364
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5261
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`
|
|
5365
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5262
5366
|
* @param {*} [options] Override http request option.
|
|
5263
5367
|
* @throws {RequiredError}
|
|
5264
5368
|
*/
|
|
5265
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5266
|
-
return localVarFp.systemReports(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5369
|
+
systemReports: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5370
|
+
return localVarFp.systemReports(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5267
5371
|
},
|
|
5268
5372
|
};
|
|
5269
5373
|
};
|
|
@@ -5286,15 +5390,16 @@ var SystemReportsApi = /** @class */ (function (_super) {
|
|
|
5286
5390
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5287
5391
|
* @param {any} [limit] Number of items to return per page
|
|
5288
5392
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5393
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5289
5394
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5290
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`
|
|
5395
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5291
5396
|
* @param {*} [options] Override http request option.
|
|
5292
5397
|
* @throws {RequiredError}
|
|
5293
5398
|
* @memberof SystemReportsApi
|
|
5294
5399
|
*/
|
|
5295
|
-
SystemReportsApi.prototype.systemReports = function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5400
|
+
SystemReportsApi.prototype.systemReports = function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5296
5401
|
var _this = this;
|
|
5297
|
-
return (0, exports.SystemReportsApiFp)(this.configuration).systemReports(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5402
|
+
return (0, exports.SystemReportsApiFp)(this.configuration).systemReports(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5298
5403
|
};
|
|
5299
5404
|
return SystemReportsApi;
|
|
5300
5405
|
}(base_1.BaseAPI));
|
|
@@ -5310,14 +5415,16 @@ var SystemsApiAxiosParamCreator = function (configuration) {
|
|
|
5310
5415
|
* Lists Systems
|
|
5311
5416
|
* @summary Request Systems
|
|
5312
5417
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5418
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
5313
5419
|
* @param {any} [limit] Number of items to return per page
|
|
5314
5420
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5421
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5315
5422
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5316
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
5423
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5317
5424
|
* @param {*} [options] Override http request option.
|
|
5318
5425
|
* @throws {RequiredError}
|
|
5319
5426
|
*/
|
|
5320
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5427
|
+
systems: function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5321
5428
|
if (options === void 0) { options = {}; }
|
|
5322
5429
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5323
5430
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5330,12 +5437,18 @@ var SystemsApiAxiosParamCreator = function (configuration) {
|
|
|
5330
5437
|
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
5331
5438
|
localVarHeaderParameter = {};
|
|
5332
5439
|
localVarQueryParameter = {};
|
|
5440
|
+
if (tags !== undefined) {
|
|
5441
|
+
localVarQueryParameter['tags'] = tags;
|
|
5442
|
+
}
|
|
5333
5443
|
if (limit !== undefined) {
|
|
5334
5444
|
localVarQueryParameter['limit'] = limit;
|
|
5335
5445
|
}
|
|
5336
5446
|
if (offset !== undefined) {
|
|
5337
5447
|
localVarQueryParameter['offset'] = offset;
|
|
5338
5448
|
}
|
|
5449
|
+
if (idsOnly !== undefined) {
|
|
5450
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5451
|
+
}
|
|
5339
5452
|
if (sortBy !== undefined) {
|
|
5340
5453
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5341
5454
|
}
|
|
@@ -5371,19 +5484,21 @@ var SystemsApiFp = function (configuration) {
|
|
|
5371
5484
|
* Lists Systems
|
|
5372
5485
|
* @summary Request Systems
|
|
5373
5486
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5487
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
5374
5488
|
* @param {any} [limit] Number of items to return per page
|
|
5375
5489
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5490
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5376
5491
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5377
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
5492
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5378
5493
|
* @param {*} [options] Override http request option.
|
|
5379
5494
|
* @throws {RequiredError}
|
|
5380
5495
|
*/
|
|
5381
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5496
|
+
systems: function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5382
5497
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5383
5498
|
var localVarAxiosArgs;
|
|
5384
5499
|
return tslib_1.__generator(this, function (_a) {
|
|
5385
5500
|
switch (_a.label) {
|
|
5386
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systems(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
5501
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systems(xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options)];
|
|
5387
5502
|
case 1:
|
|
5388
5503
|
localVarAxiosArgs = _a.sent();
|
|
5389
5504
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5405,15 +5520,17 @@ var SystemsApiFactory = function (configuration, basePath, axios) {
|
|
|
5405
5520
|
* Lists Systems
|
|
5406
5521
|
* @summary Request Systems
|
|
5407
5522
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5523
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
5408
5524
|
* @param {any} [limit] Number of items to return per page
|
|
5409
5525
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5526
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5410
5527
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5411
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
5528
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5412
5529
|
* @param {*} [options] Override http request option.
|
|
5413
5530
|
* @throws {RequiredError}
|
|
5414
5531
|
*/
|
|
5415
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5416
|
-
return localVarFp.systems(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5532
|
+
systems: function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5533
|
+
return localVarFp.systems(xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5417
5534
|
},
|
|
5418
5535
|
};
|
|
5419
5536
|
};
|
|
@@ -5433,17 +5550,19 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
5433
5550
|
* Lists Systems
|
|
5434
5551
|
* @summary Request Systems
|
|
5435
5552
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5553
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
5436
5554
|
* @param {any} [limit] Number of items to return per page
|
|
5437
5555
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5556
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5438
5557
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5439
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
5558
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5440
5559
|
* @param {*} [options] Override http request option.
|
|
5441
5560
|
* @throws {RequiredError}
|
|
5442
5561
|
* @memberof SystemsApi
|
|
5443
5562
|
*/
|
|
5444
|
-
SystemsApi.prototype.systems = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5563
|
+
SystemsApi.prototype.systems = function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5445
5564
|
var _this = this;
|
|
5446
|
-
return (0, exports.SystemsApiFp)(this.configuration).systems(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5565
|
+
return (0, exports.SystemsApiFp)(this.configuration).systems(xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5447
5566
|
};
|
|
5448
5567
|
return SystemsApi;
|
|
5449
5568
|
}(base_1.BaseAPI));
|
|
@@ -5594,12 +5713,13 @@ var SystemsPoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
5594
5713
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5595
5714
|
* @param {any} [limit] Number of items to return per page
|
|
5596
5715
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5716
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5597
5717
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5598
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`
|
|
5718
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5599
5719
|
* @param {*} [options] Override http request option.
|
|
5600
5720
|
* @throws {RequiredError}
|
|
5601
5721
|
*/
|
|
5602
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5722
|
+
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5603
5723
|
if (options === void 0) { options = {}; }
|
|
5604
5724
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5605
5725
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5621,6 +5741,9 @@ var SystemsPoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
5621
5741
|
if (offset !== undefined) {
|
|
5622
5742
|
localVarQueryParameter['offset'] = offset;
|
|
5623
5743
|
}
|
|
5744
|
+
if (idsOnly !== undefined) {
|
|
5745
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5746
|
+
}
|
|
5624
5747
|
if (sortBy !== undefined) {
|
|
5625
5748
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5626
5749
|
}
|
|
@@ -5659,17 +5782,18 @@ var SystemsPoliciesApiFp = function (configuration) {
|
|
|
5659
5782
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5660
5783
|
* @param {any} [limit] Number of items to return per page
|
|
5661
5784
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5785
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5662
5786
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5663
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`
|
|
5787
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5664
5788
|
* @param {*} [options] Override http request option.
|
|
5665
5789
|
* @throws {RequiredError}
|
|
5666
5790
|
*/
|
|
5667
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5791
|
+
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5668
5792
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5669
5793
|
var localVarAxiosArgs;
|
|
5670
5794
|
return tslib_1.__generator(this, function (_a) {
|
|
5671
5795
|
switch (_a.label) {
|
|
5672
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systemsPolicies(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
5796
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systemsPolicies(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
5673
5797
|
case 1:
|
|
5674
5798
|
localVarAxiosArgs = _a.sent();
|
|
5675
5799
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5694,13 +5818,14 @@ var SystemsPoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
5694
5818
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5695
5819
|
* @param {any} [limit] Number of items to return per page
|
|
5696
5820
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5821
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5697
5822
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5698
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`
|
|
5823
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5699
5824
|
* @param {*} [options] Override http request option.
|
|
5700
5825
|
* @throws {RequiredError}
|
|
5701
5826
|
*/
|
|
5702
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5703
|
-
return localVarFp.systemsPolicies(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5827
|
+
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5828
|
+
return localVarFp.systemsPolicies(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5704
5829
|
},
|
|
5705
5830
|
};
|
|
5706
5831
|
};
|
|
@@ -5723,15 +5848,16 @@ var SystemsPoliciesApi = /** @class */ (function (_super) {
|
|
|
5723
5848
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5724
5849
|
* @param {any} [limit] Number of items to return per page
|
|
5725
5850
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5851
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5726
5852
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5727
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`
|
|
5853
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5728
5854
|
* @param {*} [options] Override http request option.
|
|
5729
5855
|
* @throws {RequiredError}
|
|
5730
5856
|
* @memberof SystemsPoliciesApi
|
|
5731
5857
|
*/
|
|
5732
|
-
SystemsPoliciesApi.prototype.systemsPolicies = function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5858
|
+
SystemsPoliciesApi.prototype.systemsPolicies = function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5733
5859
|
var _this = this;
|
|
5734
|
-
return (0, exports.SystemsPoliciesApiFp)(this.configuration).systemsPolicies(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5860
|
+
return (0, exports.SystemsPoliciesApiFp)(this.configuration).systemsPolicies(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5735
5861
|
};
|
|
5736
5862
|
return SystemsPoliciesApi;
|
|
5737
5863
|
}(base_1.BaseAPI));
|
|
@@ -6021,12 +6147,13 @@ var TailoringRulesApiAxiosParamCreator = function (configuration) {
|
|
|
6021
6147
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6022
6148
|
* @param {any} [limit] Number of items to return per page
|
|
6023
6149
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6150
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6024
6151
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6025
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
6152
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6026
6153
|
* @param {*} [options] Override http request option.
|
|
6027
6154
|
* @throws {RequiredError}
|
|
6028
6155
|
*/
|
|
6029
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6156
|
+
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6030
6157
|
if (options === void 0) { options = {}; }
|
|
6031
6158
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
6032
6159
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6051,6 +6178,9 @@ var TailoringRulesApiAxiosParamCreator = function (configuration) {
|
|
|
6051
6178
|
if (offset !== undefined) {
|
|
6052
6179
|
localVarQueryParameter['offset'] = offset;
|
|
6053
6180
|
}
|
|
6181
|
+
if (idsOnly !== undefined) {
|
|
6182
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
6183
|
+
}
|
|
6054
6184
|
if (sortBy !== undefined) {
|
|
6055
6185
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
6056
6186
|
}
|
|
@@ -6090,17 +6220,18 @@ var TailoringRulesApiFp = function (configuration) {
|
|
|
6090
6220
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6091
6221
|
* @param {any} [limit] Number of items to return per page
|
|
6092
6222
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6223
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6093
6224
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6094
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
6225
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6095
6226
|
* @param {*} [options] Override http request option.
|
|
6096
6227
|
* @throws {RequiredError}
|
|
6097
6228
|
*/
|
|
6098
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6229
|
+
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6099
6230
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
6100
6231
|
var localVarAxiosArgs;
|
|
6101
6232
|
return tslib_1.__generator(this, function (_a) {
|
|
6102
6233
|
switch (_a.label) {
|
|
6103
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
6234
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
6104
6235
|
case 1:
|
|
6105
6236
|
localVarAxiosArgs = _a.sent();
|
|
6106
6237
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6126,13 +6257,14 @@ var TailoringRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
6126
6257
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6127
6258
|
* @param {any} [limit] Number of items to return per page
|
|
6128
6259
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6260
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6129
6261
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6130
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
6262
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6131
6263
|
* @param {*} [options] Override http request option.
|
|
6132
6264
|
* @throws {RequiredError}
|
|
6133
6265
|
*/
|
|
6134
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6135
|
-
return localVarFp.tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6266
|
+
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6267
|
+
return localVarFp.tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6136
6268
|
},
|
|
6137
6269
|
};
|
|
6138
6270
|
};
|
|
@@ -6156,15 +6288,16 @@ var TailoringRulesApi = /** @class */ (function (_super) {
|
|
|
6156
6288
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6157
6289
|
* @param {any} [limit] Number of items to return per page
|
|
6158
6290
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6291
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6159
6292
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6160
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
6293
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6161
6294
|
* @param {*} [options] Override http request option.
|
|
6162
6295
|
* @throws {RequiredError}
|
|
6163
6296
|
* @memberof TailoringRulesApi
|
|
6164
6297
|
*/
|
|
6165
|
-
TailoringRulesApi.prototype.tailoringRules = function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6298
|
+
TailoringRulesApi.prototype.tailoringRules = function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6166
6299
|
var _this = this;
|
|
6167
|
-
return (0, exports.TailoringRulesApiFp)(this.configuration).tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6300
|
+
return (0, exports.TailoringRulesApiFp)(this.configuration).tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6168
6301
|
};
|
|
6169
6302
|
return TailoringRulesApi;
|
|
6170
6303
|
}(base_1.BaseAPI));
|
|
@@ -6183,12 +6316,13 @@ var TailoringsApiAxiosParamCreator = function (configuration) {
|
|
|
6183
6316
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6184
6317
|
* @param {any} [limit] Number of items to return per page
|
|
6185
6318
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6319
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6186
6320
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6187
6321
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6188
6322
|
* @param {*} [options] Override http request option.
|
|
6189
6323
|
* @throws {RequiredError}
|
|
6190
6324
|
*/
|
|
6191
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6325
|
+
tailorings: function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6192
6326
|
if (options === void 0) { options = {}; }
|
|
6193
6327
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
6194
6328
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6210,6 +6344,9 @@ var TailoringsApiAxiosParamCreator = function (configuration) {
|
|
|
6210
6344
|
if (offset !== undefined) {
|
|
6211
6345
|
localVarQueryParameter['offset'] = offset;
|
|
6212
6346
|
}
|
|
6347
|
+
if (idsOnly !== undefined) {
|
|
6348
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
6349
|
+
}
|
|
6213
6350
|
if (sortBy !== undefined) {
|
|
6214
6351
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
6215
6352
|
}
|
|
@@ -6248,17 +6385,18 @@ var TailoringsApiFp = function (configuration) {
|
|
|
6248
6385
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6249
6386
|
* @param {any} [limit] Number of items to return per page
|
|
6250
6387
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6388
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6251
6389
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6252
6390
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6253
6391
|
* @param {*} [options] Override http request option.
|
|
6254
6392
|
* @throws {RequiredError}
|
|
6255
6393
|
*/
|
|
6256
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6394
|
+
tailorings: function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6257
6395
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
6258
6396
|
var localVarAxiosArgs;
|
|
6259
6397
|
return tslib_1.__generator(this, function (_a) {
|
|
6260
6398
|
switch (_a.label) {
|
|
6261
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailorings(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
6399
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailorings(policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
6262
6400
|
case 1:
|
|
6263
6401
|
localVarAxiosArgs = _a.sent();
|
|
6264
6402
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6283,13 +6421,14 @@ var TailoringsApiFactory = function (configuration, basePath, axios) {
|
|
|
6283
6421
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6284
6422
|
* @param {any} [limit] Number of items to return per page
|
|
6285
6423
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6424
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6286
6425
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6287
6426
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6288
6427
|
* @param {*} [options] Override http request option.
|
|
6289
6428
|
* @throws {RequiredError}
|
|
6290
6429
|
*/
|
|
6291
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6292
|
-
return localVarFp.tailorings(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6430
|
+
tailorings: function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6431
|
+
return localVarFp.tailorings(policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6293
6432
|
},
|
|
6294
6433
|
};
|
|
6295
6434
|
};
|
|
@@ -6312,15 +6451,16 @@ var TailoringsApi = /** @class */ (function (_super) {
|
|
|
6312
6451
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6313
6452
|
* @param {any} [limit] Number of items to return per page
|
|
6314
6453
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6454
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6315
6455
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6316
6456
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6317
6457
|
* @param {*} [options] Override http request option.
|
|
6318
6458
|
* @throws {RequiredError}
|
|
6319
6459
|
* @memberof TailoringsApi
|
|
6320
6460
|
*/
|
|
6321
|
-
TailoringsApi.prototype.tailorings = function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6461
|
+
TailoringsApi.prototype.tailorings = function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6322
6462
|
var _this = this;
|
|
6323
|
-
return (0, exports.TailoringsApiFp)(this.configuration).tailorings(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6463
|
+
return (0, exports.TailoringsApiFp)(this.configuration).tailorings(policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6324
6464
|
};
|
|
6325
6465
|
return TailoringsApi;
|
|
6326
6466
|
}(base_1.BaseAPI));
|
|
@@ -7026,12 +7166,13 @@ var ValueDefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
7026
7166
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7027
7167
|
* @param {any} [limit] Number of items to return per page
|
|
7028
7168
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7169
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7029
7170
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
7030
7171
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
7031
7172
|
* @param {*} [options] Override http request option.
|
|
7032
7173
|
* @throws {RequiredError}
|
|
7033
7174
|
*/
|
|
7034
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7175
|
+
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7035
7176
|
if (options === void 0) { options = {}; }
|
|
7036
7177
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
7037
7178
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7053,6 +7194,9 @@ var ValueDefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
7053
7194
|
if (offset !== undefined) {
|
|
7054
7195
|
localVarQueryParameter['offset'] = offset;
|
|
7055
7196
|
}
|
|
7197
|
+
if (idsOnly !== undefined) {
|
|
7198
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
7199
|
+
}
|
|
7056
7200
|
if (sortBy !== undefined) {
|
|
7057
7201
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
7058
7202
|
}
|
|
@@ -7091,17 +7235,18 @@ var ValueDefinitionsApiFp = function (configuration) {
|
|
|
7091
7235
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7092
7236
|
* @param {any} [limit] Number of items to return per page
|
|
7093
7237
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7238
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7094
7239
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
7095
7240
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
7096
7241
|
* @param {*} [options] Override http request option.
|
|
7097
7242
|
* @throws {RequiredError}
|
|
7098
7243
|
*/
|
|
7099
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7244
|
+
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7100
7245
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
7101
7246
|
var localVarAxiosArgs;
|
|
7102
7247
|
return tslib_1.__generator(this, function (_a) {
|
|
7103
7248
|
switch (_a.label) {
|
|
7104
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
7249
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
7105
7250
|
case 1:
|
|
7106
7251
|
localVarAxiosArgs = _a.sent();
|
|
7107
7252
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7126,13 +7271,14 @@ var ValueDefinitionsApiFactory = function (configuration, basePath, axios) {
|
|
|
7126
7271
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7127
7272
|
* @param {any} [limit] Number of items to return per page
|
|
7128
7273
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7274
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7129
7275
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
7130
7276
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
7131
7277
|
* @param {*} [options] Override http request option.
|
|
7132
7278
|
* @throws {RequiredError}
|
|
7133
7279
|
*/
|
|
7134
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7135
|
-
return localVarFp.valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
7280
|
+
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7281
|
+
return localVarFp.valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
7136
7282
|
},
|
|
7137
7283
|
};
|
|
7138
7284
|
};
|
|
@@ -7155,15 +7301,16 @@ var ValueDefinitionsApi = /** @class */ (function (_super) {
|
|
|
7155
7301
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7156
7302
|
* @param {any} [limit] Number of items to return per page
|
|
7157
7303
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7304
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7158
7305
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
7159
7306
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
7160
7307
|
* @param {*} [options] Override http request option.
|
|
7161
7308
|
* @throws {RequiredError}
|
|
7162
7309
|
* @memberof ValueDefinitionsApi
|
|
7163
7310
|
*/
|
|
7164
|
-
ValueDefinitionsApi.prototype.valueDefinitions = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7311
|
+
ValueDefinitionsApi.prototype.valueDefinitions = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7165
7312
|
var _this = this;
|
|
7166
|
-
return (0, exports.ValueDefinitionsApiFp)(this.configuration).valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7313
|
+
return (0, exports.ValueDefinitionsApiFp)(this.configuration).valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7167
7314
|
};
|
|
7168
7315
|
return ValueDefinitionsApi;
|
|
7169
7316
|
}(base_1.BaseAPI));
|