@redhat-cloud-services/compliance-client 0.2.1 → 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 +4 -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/ReportsOS/index.d.ts +27 -0
- package/dist/ReportsOS/index.js +55 -0
- package/dist/ReportsOS/index.js.map +1 -0
- 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 +299 -105
- package/dist/api.js +440 -161
- package/dist/api.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +44 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.PolicySystemsApiAxiosParamCreator = exports.PolicyApi = exports.PolicyApiFactory = exports.PolicyApiFp = exports.PolicyApiAxiosParamCreator = exports.PoliciesApi = exports.PoliciesApiFactory = exports.PoliciesApiFp = exports.PoliciesApiAxiosParamCreator = exports.DeleteReportApi = exports.DeleteReportApiFactory = exports.DeleteReportApiFp = exports.DeleteReportApiAxiosParamCreator = exports.DeletePolicyApi = exports.DeletePolicyApiFactory = exports.DeletePolicyApiFp = exports.DeletePolicyApiAxiosParamCreator = exports.CreatePolicyApi = exports.CreatePolicyApiFactory = exports.CreatePolicyApiFp = exports.CreatePolicyApiAxiosParamCreator = exports.AssignSystemsApi = exports.AssignSystemsApiFactory = exports.AssignSystemsApiFp = exports.AssignSystemsApiAxiosParamCreator = exports.AssignSystemApi = exports.AssignSystemApiFactory = exports.AssignSystemApiFp = exports.AssignSystemApiAxiosParamCreator = exports.AssignRulesApi = exports.AssignRulesApiFactory = exports.AssignRulesApiFp = exports.AssignRulesApiAxiosParamCreator = exports.AssignRuleApi = exports.AssignRuleApiFactory = exports.AssignRuleApiFp = exports.AssignRuleApiAxiosParamCreator = exports.ValueDefinitionTypeEnum = exports.TestResultTypeEnum = exports.TailoringTypeEnum = exports.SystemTypeEnum = exports.SupportedProfileTypeEnum = exports.SecurityGuideTypeEnum = exports.RuleResultResultEnum = exports.RuleResultTypeEnum = exports.RuleGroupTypeEnum = exports.RuleTypeEnum = exports.ReportTypeEnum = exports.ProfileTypeEnum = exports.PolicyTypeEnum = void 0;
|
|
17
17
|
exports.ReportTestResultApiFactory = exports.ReportTestResultApiFp = exports.ReportTestResultApiAxiosParamCreator = exports.ReportSystemsOSApi = exports.ReportSystemsOSApiFactory = exports.ReportSystemsOSApiFp = exports.ReportSystemsOSApiAxiosParamCreator = exports.ReportSystemsApi = exports.ReportSystemsApiFactory = exports.ReportSystemsApiFp = exports.ReportSystemsApiAxiosParamCreator = exports.ReportSystemApi = exports.ReportSystemApiFactory = exports.ReportSystemApiFp = exports.ReportSystemApiAxiosParamCreator = exports.ReportStatsApi = exports.ReportStatsApiFactory = exports.ReportStatsApiFp = exports.ReportStatsApiAxiosParamCreator = exports.ReportRuleResultsApi = exports.ReportRuleResultsApiFactory = exports.ReportRuleResultsApiFp = exports.ReportRuleResultsApiAxiosParamCreator = exports.ReportApi = exports.ReportApiFactory = exports.ReportApiFp = exports.ReportApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.ProfileRulesApi = exports.ProfileRulesApiFactory = exports.ProfileRulesApiFp = exports.ProfileRulesApiAxiosParamCreator = exports.ProfileRuleApi = exports.ProfileRuleApiFactory = exports.ProfileRuleApiFp = exports.ProfileRuleApiAxiosParamCreator = exports.ProfileApi = exports.ProfileApiFactory = exports.ProfileApiFp = exports.ProfileApiAxiosParamCreator = exports.PolicySystemsOSApi = exports.PolicySystemsOSApiFactory = exports.PolicySystemsOSApiFp = exports.PolicySystemsOSApiAxiosParamCreator = exports.PolicySystemsApi = exports.PolicySystemsApiFactory = exports.PolicySystemsApiFp = void 0;
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.ValueDefinitionsApi = exports.ValueDefinitionsApiFactory = exports.ValueDefinitionsApiFp = exports.ValueDefinitionsApiAxiosParamCreator = exports.ValueDefinitionApi = exports.ValueDefinitionApiFactory = exports.ValueDefinitionApiFp = exports.ValueDefinitionApiAxiosParamCreator = exports.UpdateTailoringApi = void 0;
|
|
18
|
+
exports.SupportedProfilesApiAxiosParamCreator = exports.SecurityGuidesOSApi = exports.SecurityGuidesOSApiFactory = exports.SecurityGuidesOSApiFp = exports.SecurityGuidesOSApiAxiosParamCreator = exports.SecurityGuidesApi = exports.SecurityGuidesApiFactory = exports.SecurityGuidesApiFp = exports.SecurityGuidesApiAxiosParamCreator = exports.SecurityGuideRuleTreeApi = exports.SecurityGuideRuleTreeApiFactory = exports.SecurityGuideRuleTreeApiFp = exports.SecurityGuideRuleTreeApiAxiosParamCreator = exports.SecurityGuideApi = exports.SecurityGuideApiFactory = exports.SecurityGuideApiFp = exports.SecurityGuideApiAxiosParamCreator = exports.RulesApi = exports.RulesApiFactory = exports.RulesApiFp = exports.RulesApiAxiosParamCreator = exports.RuleGroupsApi = exports.RuleGroupsApiFactory = exports.RuleGroupsApiFp = exports.RuleGroupsApiAxiosParamCreator = exports.RuleGroupApi = exports.RuleGroupApiFactory = exports.RuleGroupApiFp = exports.RuleGroupApiAxiosParamCreator = exports.RuleApi = exports.RuleApiFactory = exports.RuleApiFp = exports.RuleApiAxiosParamCreator = exports.ReportsOSApi = exports.ReportsOSApiFactory = exports.ReportsOSApiFp = exports.ReportsOSApiAxiosParamCreator = exports.ReportsApi = exports.ReportsApiFactory = exports.ReportsApiFp = exports.ReportsApiAxiosParamCreator = exports.ReportTestResultsOSApi = exports.ReportTestResultsOSApiFactory = exports.ReportTestResultsOSApiFp = exports.ReportTestResultsOSApiAxiosParamCreator = exports.ReportTestResultsApi = exports.ReportTestResultsApiFactory = exports.ReportTestResultsApiFp = exports.ReportTestResultsApiAxiosParamCreator = exports.ReportTestResultApi = void 0;
|
|
19
|
+
exports.UpdatePolicyApiFactory = exports.UpdatePolicyApiFp = exports.UpdatePolicyApiAxiosParamCreator = exports.UnassignSystemApi = exports.UnassignSystemApiFactory = exports.UnassignSystemApiFp = exports.UnassignSystemApiAxiosParamCreator = exports.UnassignRuleApi = exports.UnassignRuleApiFactory = exports.UnassignRuleApiFp = exports.UnassignRuleApiAxiosParamCreator = exports.TailoringsApi = exports.TailoringsApiFactory = exports.TailoringsApiFp = exports.TailoringsApiAxiosParamCreator = exports.TailoringRulesApi = exports.TailoringRulesApiFactory = exports.TailoringRulesApiFp = exports.TailoringRulesApiAxiosParamCreator = exports.TailoringFileApi = exports.TailoringFileApiFactory = exports.TailoringFileApiFp = exports.TailoringFileApiAxiosParamCreator = exports.TailoringApi = exports.TailoringApiFactory = exports.TailoringApiFp = exports.TailoringApiAxiosParamCreator = exports.SystemsPoliciesApi = exports.SystemsPoliciesApiFactory = exports.SystemsPoliciesApiFp = exports.SystemsPoliciesApiAxiosParamCreator = exports.SystemsOSApi = exports.SystemsOSApiFactory = exports.SystemsOSApiFp = exports.SystemsOSApiAxiosParamCreator = exports.SystemsApi = exports.SystemsApiFactory = exports.SystemsApiFp = exports.SystemsApiAxiosParamCreator = exports.SystemReportsApi = exports.SystemReportsApiFactory = exports.SystemReportsApiFp = exports.SystemReportsApiAxiosParamCreator = exports.SystemApi = exports.SystemApiFactory = exports.SystemApiFp = exports.SystemApiAxiosParamCreator = exports.SupportedProfilesApi = exports.SupportedProfilesApiFactory = exports.SupportedProfilesApiFp = void 0;
|
|
20
|
+
exports.ValueDefinitionsApi = exports.ValueDefinitionsApiFactory = exports.ValueDefinitionsApiFp = exports.ValueDefinitionsApiAxiosParamCreator = exports.ValueDefinitionApi = exports.ValueDefinitionApiFactory = exports.ValueDefinitionApiFp = exports.ValueDefinitionApiAxiosParamCreator = exports.UpdateTailoringApi = exports.UpdateTailoringApiFactory = exports.UpdateTailoringApiFp = exports.UpdateTailoringApiAxiosParamCreator = exports.UpdatePolicyApi = void 0;
|
|
21
21
|
var tslib_1 = require("tslib");
|
|
22
22
|
var axios_1 = require("axios");
|
|
23
23
|
// Some imports not used depending on template conditions
|
|
@@ -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,19 +3671,152 @@ 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));
|
|
3617
3687
|
exports.ReportsApi = ReportsApi;
|
|
3688
|
+
/**
|
|
3689
|
+
* ReportsOSApi - axios parameter creator
|
|
3690
|
+
* @export
|
|
3691
|
+
*/
|
|
3692
|
+
var ReportsOSApiAxiosParamCreator = function (configuration) {
|
|
3693
|
+
var _this = this;
|
|
3694
|
+
return {
|
|
3695
|
+
/**
|
|
3696
|
+
* This feature is exclusively used by the frontend
|
|
3697
|
+
* @summary Request the list of available OS versions
|
|
3698
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3699
|
+
* @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`)
|
|
3700
|
+
* @param {*} [options] Override http request option.
|
|
3701
|
+
* @deprecated
|
|
3702
|
+
* @throws {RequiredError}
|
|
3703
|
+
*/
|
|
3704
|
+
reportsOS: function (xRHIDENTITY, filter, options) {
|
|
3705
|
+
if (options === void 0) { options = {}; }
|
|
3706
|
+
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
3707
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
3708
|
+
return tslib_1.__generator(this, function (_a) {
|
|
3709
|
+
localVarPath = "/reports/os_versions";
|
|
3710
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3711
|
+
if (configuration) {
|
|
3712
|
+
baseOptions = configuration.baseOptions;
|
|
3713
|
+
}
|
|
3714
|
+
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
3715
|
+
localVarHeaderParameter = {};
|
|
3716
|
+
localVarQueryParameter = {};
|
|
3717
|
+
if (filter !== undefined) {
|
|
3718
|
+
localVarQueryParameter['filter'] = filter;
|
|
3719
|
+
}
|
|
3720
|
+
if (xRHIDENTITY != null) {
|
|
3721
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
3722
|
+
? xRHIDENTITY
|
|
3723
|
+
: JSON.stringify(xRHIDENTITY);
|
|
3724
|
+
}
|
|
3725
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3726
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3727
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3728
|
+
return [2 /*return*/, {
|
|
3729
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3730
|
+
options: localVarRequestOptions,
|
|
3731
|
+
}];
|
|
3732
|
+
});
|
|
3733
|
+
});
|
|
3734
|
+
},
|
|
3735
|
+
};
|
|
3736
|
+
};
|
|
3737
|
+
exports.ReportsOSApiAxiosParamCreator = ReportsOSApiAxiosParamCreator;
|
|
3738
|
+
/**
|
|
3739
|
+
* ReportsOSApi - functional programming interface
|
|
3740
|
+
* @export
|
|
3741
|
+
*/
|
|
3742
|
+
var ReportsOSApiFp = function (configuration) {
|
|
3743
|
+
var localVarAxiosParamCreator = (0, exports.ReportsOSApiAxiosParamCreator)(configuration);
|
|
3744
|
+
return {
|
|
3745
|
+
/**
|
|
3746
|
+
* This feature is exclusively used by the frontend
|
|
3747
|
+
* @summary Request the list of available OS versions
|
|
3748
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3749
|
+
* @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`)
|
|
3750
|
+
* @param {*} [options] Override http request option.
|
|
3751
|
+
* @deprecated
|
|
3752
|
+
* @throws {RequiredError}
|
|
3753
|
+
*/
|
|
3754
|
+
reportsOS: function (xRHIDENTITY, filter, options) {
|
|
3755
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
3756
|
+
var localVarAxiosArgs;
|
|
3757
|
+
return tslib_1.__generator(this, function (_a) {
|
|
3758
|
+
switch (_a.label) {
|
|
3759
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportsOS(xRHIDENTITY, filter, options)];
|
|
3760
|
+
case 1:
|
|
3761
|
+
localVarAxiosArgs = _a.sent();
|
|
3762
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
3763
|
+
}
|
|
3764
|
+
});
|
|
3765
|
+
});
|
|
3766
|
+
},
|
|
3767
|
+
};
|
|
3768
|
+
};
|
|
3769
|
+
exports.ReportsOSApiFp = ReportsOSApiFp;
|
|
3770
|
+
/**
|
|
3771
|
+
* ReportsOSApi - factory interface
|
|
3772
|
+
* @export
|
|
3773
|
+
*/
|
|
3774
|
+
var ReportsOSApiFactory = function (configuration, basePath, axios) {
|
|
3775
|
+
var localVarFp = (0, exports.ReportsOSApiFp)(configuration);
|
|
3776
|
+
return {
|
|
3777
|
+
/**
|
|
3778
|
+
* This feature is exclusively used by the frontend
|
|
3779
|
+
* @summary Request the list of available OS versions
|
|
3780
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3781
|
+
* @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`)
|
|
3782
|
+
* @param {*} [options] Override http request option.
|
|
3783
|
+
* @deprecated
|
|
3784
|
+
* @throws {RequiredError}
|
|
3785
|
+
*/
|
|
3786
|
+
reportsOS: function (xRHIDENTITY, filter, options) {
|
|
3787
|
+
return localVarFp.reportsOS(xRHIDENTITY, filter, options).then(function (request) { return request(axios, basePath); });
|
|
3788
|
+
},
|
|
3789
|
+
};
|
|
3790
|
+
};
|
|
3791
|
+
exports.ReportsOSApiFactory = ReportsOSApiFactory;
|
|
3792
|
+
/**
|
|
3793
|
+
* ReportsOSApi - object-oriented interface
|
|
3794
|
+
* @export
|
|
3795
|
+
* @class ReportsOSApi
|
|
3796
|
+
* @extends {BaseAPI}
|
|
3797
|
+
*/
|
|
3798
|
+
var ReportsOSApi = /** @class */ (function (_super) {
|
|
3799
|
+
tslib_1.__extends(ReportsOSApi, _super);
|
|
3800
|
+
function ReportsOSApi() {
|
|
3801
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3802
|
+
}
|
|
3803
|
+
/**
|
|
3804
|
+
* This feature is exclusively used by the frontend
|
|
3805
|
+
* @summary Request the list of available OS versions
|
|
3806
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
3807
|
+
* @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`)
|
|
3808
|
+
* @param {*} [options] Override http request option.
|
|
3809
|
+
* @deprecated
|
|
3810
|
+
* @throws {RequiredError}
|
|
3811
|
+
* @memberof ReportsOSApi
|
|
3812
|
+
*/
|
|
3813
|
+
ReportsOSApi.prototype.reportsOS = function (xRHIDENTITY, filter, options) {
|
|
3814
|
+
var _this = this;
|
|
3815
|
+
return (0, exports.ReportsOSApiFp)(this.configuration).reportsOS(xRHIDENTITY, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3816
|
+
};
|
|
3817
|
+
return ReportsOSApi;
|
|
3818
|
+
}(base_1.BaseAPI));
|
|
3819
|
+
exports.ReportsOSApi = ReportsOSApi;
|
|
3618
3820
|
/**
|
|
3619
3821
|
* RuleApi - axios parameter creator
|
|
3620
3822
|
* @export
|
|
@@ -3899,12 +4101,13 @@ var RuleGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
3899
4101
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3900
4102
|
* @param {any} [limit] Number of items to return per page
|
|
3901
4103
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4104
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3902
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.
|
|
3903
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`)
|
|
3904
4107
|
* @param {*} [options] Override http request option.
|
|
3905
4108
|
* @throws {RequiredError}
|
|
3906
4109
|
*/
|
|
3907
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4110
|
+
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3908
4111
|
if (options === void 0) { options = {}; }
|
|
3909
4112
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
3910
4113
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3926,6 +4129,9 @@ var RuleGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
3926
4129
|
if (offset !== undefined) {
|
|
3927
4130
|
localVarQueryParameter['offset'] = offset;
|
|
3928
4131
|
}
|
|
4132
|
+
if (idsOnly !== undefined) {
|
|
4133
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4134
|
+
}
|
|
3929
4135
|
if (sortBy !== undefined) {
|
|
3930
4136
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
3931
4137
|
}
|
|
@@ -3964,17 +4170,18 @@ var RuleGroupsApiFp = function (configuration) {
|
|
|
3964
4170
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3965
4171
|
* @param {any} [limit] Number of items to return per page
|
|
3966
4172
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4173
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3967
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.
|
|
3968
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`)
|
|
3969
4176
|
* @param {*} [options] Override http request option.
|
|
3970
4177
|
* @throws {RequiredError}
|
|
3971
4178
|
*/
|
|
3972
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4179
|
+
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3973
4180
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
3974
4181
|
var localVarAxiosArgs;
|
|
3975
4182
|
return tslib_1.__generator(this, function (_a) {
|
|
3976
4183
|
switch (_a.label) {
|
|
3977
|
-
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)];
|
|
3978
4185
|
case 1:
|
|
3979
4186
|
localVarAxiosArgs = _a.sent();
|
|
3980
4187
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3999,13 +4206,14 @@ var RuleGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
3999
4206
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4000
4207
|
* @param {any} [limit] Number of items to return per page
|
|
4001
4208
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4209
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4002
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.
|
|
4003
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`)
|
|
4004
4212
|
* @param {*} [options] Override http request option.
|
|
4005
4213
|
* @throws {RequiredError}
|
|
4006
4214
|
*/
|
|
4007
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4008
|
-
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); });
|
|
4009
4217
|
},
|
|
4010
4218
|
};
|
|
4011
4219
|
};
|
|
@@ -4028,15 +4236,16 @@ var RuleGroupsApi = /** @class */ (function (_super) {
|
|
|
4028
4236
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4029
4237
|
* @param {any} [limit] Number of items to return per page
|
|
4030
4238
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4239
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4031
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.
|
|
4032
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`)
|
|
4033
4242
|
* @param {*} [options] Override http request option.
|
|
4034
4243
|
* @throws {RequiredError}
|
|
4035
4244
|
* @memberof RuleGroupsApi
|
|
4036
4245
|
*/
|
|
4037
|
-
RuleGroupsApi.prototype.ruleGroups = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4246
|
+
RuleGroupsApi.prototype.ruleGroups = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4038
4247
|
var _this = this;
|
|
4039
|
-
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); });
|
|
4040
4249
|
};
|
|
4041
4250
|
return RuleGroupsApi;
|
|
4042
4251
|
}(base_1.BaseAPI));
|
|
@@ -4055,12 +4264,13 @@ var RulesApiAxiosParamCreator = function (configuration) {
|
|
|
4055
4264
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4056
4265
|
* @param {any} [limit] Number of items to return per page
|
|
4057
4266
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4267
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4058
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.
|
|
4059
|
-
* @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`)
|
|
4060
4270
|
* @param {*} [options] Override http request option.
|
|
4061
4271
|
* @throws {RequiredError}
|
|
4062
4272
|
*/
|
|
4063
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4273
|
+
rules: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4064
4274
|
if (options === void 0) { options = {}; }
|
|
4065
4275
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4066
4276
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4082,6 +4292,9 @@ var RulesApiAxiosParamCreator = function (configuration) {
|
|
|
4082
4292
|
if (offset !== undefined) {
|
|
4083
4293
|
localVarQueryParameter['offset'] = offset;
|
|
4084
4294
|
}
|
|
4295
|
+
if (idsOnly !== undefined) {
|
|
4296
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4297
|
+
}
|
|
4085
4298
|
if (sortBy !== undefined) {
|
|
4086
4299
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4087
4300
|
}
|
|
@@ -4120,17 +4333,18 @@ var RulesApiFp = function (configuration) {
|
|
|
4120
4333
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4121
4334
|
* @param {any} [limit] Number of items to return per page
|
|
4122
4335
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4336
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4123
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.
|
|
4124
|
-
* @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`)
|
|
4125
4339
|
* @param {*} [options] Override http request option.
|
|
4126
4340
|
* @throws {RequiredError}
|
|
4127
4341
|
*/
|
|
4128
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4342
|
+
rules: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4129
4343
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4130
4344
|
var localVarAxiosArgs;
|
|
4131
4345
|
return tslib_1.__generator(this, function (_a) {
|
|
4132
4346
|
switch (_a.label) {
|
|
4133
|
-
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)];
|
|
4134
4348
|
case 1:
|
|
4135
4349
|
localVarAxiosArgs = _a.sent();
|
|
4136
4350
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4155,13 +4369,14 @@ var RulesApiFactory = function (configuration, basePath, axios) {
|
|
|
4155
4369
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4156
4370
|
* @param {any} [limit] Number of items to return per page
|
|
4157
4371
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4372
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4158
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.
|
|
4159
|
-
* @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`)
|
|
4160
4375
|
* @param {*} [options] Override http request option.
|
|
4161
4376
|
* @throws {RequiredError}
|
|
4162
4377
|
*/
|
|
4163
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4164
|
-
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); });
|
|
4165
4380
|
},
|
|
4166
4381
|
};
|
|
4167
4382
|
};
|
|
@@ -4184,15 +4399,16 @@ var RulesApi = /** @class */ (function (_super) {
|
|
|
4184
4399
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4185
4400
|
* @param {any} [limit] Number of items to return per page
|
|
4186
4401
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4402
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4187
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.
|
|
4188
|
-
* @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`)
|
|
4189
4405
|
* @param {*} [options] Override http request option.
|
|
4190
4406
|
* @throws {RequiredError}
|
|
4191
4407
|
* @memberof RulesApi
|
|
4192
4408
|
*/
|
|
4193
|
-
RulesApi.prototype.rules = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4409
|
+
RulesApi.prototype.rules = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4194
4410
|
var _this = this;
|
|
4195
|
-
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); });
|
|
4196
4412
|
};
|
|
4197
4413
|
return RulesApi;
|
|
4198
4414
|
}(base_1.BaseAPI));
|
|
@@ -4466,12 +4682,13 @@ var SecurityGuidesApiAxiosParamCreator = function (configuration) {
|
|
|
4466
4682
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4467
4683
|
* @param {any} [limit] Number of items to return per page
|
|
4468
4684
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4685
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4469
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.
|
|
4470
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`)
|
|
4471
4688
|
* @param {*} [options] Override http request option.
|
|
4472
4689
|
* @throws {RequiredError}
|
|
4473
4690
|
*/
|
|
4474
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4691
|
+
securityGuides: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4475
4692
|
if (options === void 0) { options = {}; }
|
|
4476
4693
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4477
4694
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4490,6 +4707,9 @@ var SecurityGuidesApiAxiosParamCreator = function (configuration) {
|
|
|
4490
4707
|
if (offset !== undefined) {
|
|
4491
4708
|
localVarQueryParameter['offset'] = offset;
|
|
4492
4709
|
}
|
|
4710
|
+
if (idsOnly !== undefined) {
|
|
4711
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4712
|
+
}
|
|
4493
4713
|
if (sortBy !== undefined) {
|
|
4494
4714
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4495
4715
|
}
|
|
@@ -4527,17 +4747,18 @@ var SecurityGuidesApiFp = function (configuration) {
|
|
|
4527
4747
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4528
4748
|
* @param {any} [limit] Number of items to return per page
|
|
4529
4749
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4750
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4530
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.
|
|
4531
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`)
|
|
4532
4753
|
* @param {*} [options] Override http request option.
|
|
4533
4754
|
* @throws {RequiredError}
|
|
4534
4755
|
*/
|
|
4535
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4756
|
+
securityGuides: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4536
4757
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4537
4758
|
var localVarAxiosArgs;
|
|
4538
4759
|
return tslib_1.__generator(this, function (_a) {
|
|
4539
4760
|
switch (_a.label) {
|
|
4540
|
-
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)];
|
|
4541
4762
|
case 1:
|
|
4542
4763
|
localVarAxiosArgs = _a.sent();
|
|
4543
4764
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4561,13 +4782,14 @@ var SecurityGuidesApiFactory = function (configuration, basePath, axios) {
|
|
|
4561
4782
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4562
4783
|
* @param {any} [limit] Number of items to return per page
|
|
4563
4784
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4785
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4564
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.
|
|
4565
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`)
|
|
4566
4788
|
* @param {*} [options] Override http request option.
|
|
4567
4789
|
* @throws {RequiredError}
|
|
4568
4790
|
*/
|
|
4569
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4570
|
-
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); });
|
|
4571
4793
|
},
|
|
4572
4794
|
};
|
|
4573
4795
|
};
|
|
@@ -4589,15 +4811,16 @@ var SecurityGuidesApi = /** @class */ (function (_super) {
|
|
|
4589
4811
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4590
4812
|
* @param {any} [limit] Number of items to return per page
|
|
4591
4813
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4814
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4592
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.
|
|
4593
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`)
|
|
4594
4817
|
* @param {*} [options] Override http request option.
|
|
4595
4818
|
* @throws {RequiredError}
|
|
4596
4819
|
* @memberof SecurityGuidesApi
|
|
4597
4820
|
*/
|
|
4598
|
-
SecurityGuidesApi.prototype.securityGuides = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4821
|
+
SecurityGuidesApi.prototype.securityGuides = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4599
4822
|
var _this = this;
|
|
4600
|
-
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); });
|
|
4601
4824
|
};
|
|
4602
4825
|
return SecurityGuidesApi;
|
|
4603
4826
|
}(base_1.BaseAPI));
|
|
@@ -4747,12 +4970,13 @@ var SupportedProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
4747
4970
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4748
4971
|
* @param {any} [limit] Number of items to return per page
|
|
4749
4972
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4973
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4750
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.
|
|
4751
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`)
|
|
4752
4976
|
* @param {*} [options] Override http request option.
|
|
4753
4977
|
* @throws {RequiredError}
|
|
4754
4978
|
*/
|
|
4755
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4979
|
+
supportedProfiles: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4756
4980
|
if (options === void 0) { options = {}; }
|
|
4757
4981
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4758
4982
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4771,6 +4995,9 @@ var SupportedProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
4771
4995
|
if (offset !== undefined) {
|
|
4772
4996
|
localVarQueryParameter['offset'] = offset;
|
|
4773
4997
|
}
|
|
4998
|
+
if (idsOnly !== undefined) {
|
|
4999
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5000
|
+
}
|
|
4774
5001
|
if (sortBy !== undefined) {
|
|
4775
5002
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4776
5003
|
}
|
|
@@ -4808,17 +5035,18 @@ var SupportedProfilesApiFp = function (configuration) {
|
|
|
4808
5035
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4809
5036
|
* @param {any} [limit] Number of items to return per page
|
|
4810
5037
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5038
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4811
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.
|
|
4812
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`)
|
|
4813
5041
|
* @param {*} [options] Override http request option.
|
|
4814
5042
|
* @throws {RequiredError}
|
|
4815
5043
|
*/
|
|
4816
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5044
|
+
supportedProfiles: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4817
5045
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4818
5046
|
var localVarAxiosArgs;
|
|
4819
5047
|
return tslib_1.__generator(this, function (_a) {
|
|
4820
5048
|
switch (_a.label) {
|
|
4821
|
-
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)];
|
|
4822
5050
|
case 1:
|
|
4823
5051
|
localVarAxiosArgs = _a.sent();
|
|
4824
5052
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4842,13 +5070,14 @@ var SupportedProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
4842
5070
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4843
5071
|
* @param {any} [limit] Number of items to return per page
|
|
4844
5072
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5073
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4845
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.
|
|
4846
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`)
|
|
4847
5076
|
* @param {*} [options] Override http request option.
|
|
4848
5077
|
* @throws {RequiredError}
|
|
4849
5078
|
*/
|
|
4850
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4851
|
-
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); });
|
|
4852
5081
|
},
|
|
4853
5082
|
};
|
|
4854
5083
|
};
|
|
@@ -4870,15 +5099,16 @@ var SupportedProfilesApi = /** @class */ (function (_super) {
|
|
|
4870
5099
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4871
5100
|
* @param {any} [limit] Number of items to return per page
|
|
4872
5101
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5102
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4873
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.
|
|
4874
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`)
|
|
4875
5105
|
* @param {*} [options] Override http request option.
|
|
4876
5106
|
* @throws {RequiredError}
|
|
4877
5107
|
* @memberof SupportedProfilesApi
|
|
4878
5108
|
*/
|
|
4879
|
-
SupportedProfilesApi.prototype.supportedProfiles = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5109
|
+
SupportedProfilesApi.prototype.supportedProfiles = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4880
5110
|
var _this = this;
|
|
4881
|
-
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); });
|
|
4882
5112
|
};
|
|
4883
5113
|
return SupportedProfilesApi;
|
|
4884
5114
|
}(base_1.BaseAPI));
|
|
@@ -5025,12 +5255,13 @@ var SystemReportsApiAxiosParamCreator = function (configuration) {
|
|
|
5025
5255
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5026
5256
|
* @param {any} [limit] Number of items to return per page
|
|
5027
5257
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5258
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5028
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.
|
|
5029
|
-
* @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`)
|
|
5030
5261
|
* @param {*} [options] Override http request option.
|
|
5031
5262
|
* @throws {RequiredError}
|
|
5032
5263
|
*/
|
|
5033
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5264
|
+
systemReports: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5034
5265
|
if (options === void 0) { options = {}; }
|
|
5035
5266
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5036
5267
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5052,6 +5283,9 @@ var SystemReportsApiAxiosParamCreator = function (configuration) {
|
|
|
5052
5283
|
if (offset !== undefined) {
|
|
5053
5284
|
localVarQueryParameter['offset'] = offset;
|
|
5054
5285
|
}
|
|
5286
|
+
if (idsOnly !== undefined) {
|
|
5287
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5288
|
+
}
|
|
5055
5289
|
if (sortBy !== undefined) {
|
|
5056
5290
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5057
5291
|
}
|
|
@@ -5090,17 +5324,18 @@ var SystemReportsApiFp = function (configuration) {
|
|
|
5090
5324
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5091
5325
|
* @param {any} [limit] Number of items to return per page
|
|
5092
5326
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5327
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5093
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.
|
|
5094
|
-
* @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`)
|
|
5095
5330
|
* @param {*} [options] Override http request option.
|
|
5096
5331
|
* @throws {RequiredError}
|
|
5097
5332
|
*/
|
|
5098
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5333
|
+
systemReports: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5099
5334
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5100
5335
|
var localVarAxiosArgs;
|
|
5101
5336
|
return tslib_1.__generator(this, function (_a) {
|
|
5102
5337
|
switch (_a.label) {
|
|
5103
|
-
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)];
|
|
5104
5339
|
case 1:
|
|
5105
5340
|
localVarAxiosArgs = _a.sent();
|
|
5106
5341
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5125,13 +5360,14 @@ var SystemReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
5125
5360
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5126
5361
|
* @param {any} [limit] Number of items to return per page
|
|
5127
5362
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5363
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5128
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.
|
|
5129
|
-
* @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`)
|
|
5130
5366
|
* @param {*} [options] Override http request option.
|
|
5131
5367
|
* @throws {RequiredError}
|
|
5132
5368
|
*/
|
|
5133
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5134
|
-
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); });
|
|
5135
5371
|
},
|
|
5136
5372
|
};
|
|
5137
5373
|
};
|
|
@@ -5154,15 +5390,16 @@ var SystemReportsApi = /** @class */ (function (_super) {
|
|
|
5154
5390
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5155
5391
|
* @param {any} [limit] Number of items to return per page
|
|
5156
5392
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5393
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5157
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.
|
|
5158
|
-
* @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`)
|
|
5159
5396
|
* @param {*} [options] Override http request option.
|
|
5160
5397
|
* @throws {RequiredError}
|
|
5161
5398
|
* @memberof SystemReportsApi
|
|
5162
5399
|
*/
|
|
5163
|
-
SystemReportsApi.prototype.systemReports = function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5400
|
+
SystemReportsApi.prototype.systemReports = function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5164
5401
|
var _this = this;
|
|
5165
|
-
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); });
|
|
5166
5403
|
};
|
|
5167
5404
|
return SystemReportsApi;
|
|
5168
5405
|
}(base_1.BaseAPI));
|
|
@@ -5178,14 +5415,16 @@ var SystemsApiAxiosParamCreator = function (configuration) {
|
|
|
5178
5415
|
* Lists Systems
|
|
5179
5416
|
* @summary Request Systems
|
|
5180
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`
|
|
5181
5419
|
* @param {any} [limit] Number of items to return per page
|
|
5182
5420
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5421
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5183
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.
|
|
5184
|
-
* @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`)
|
|
5185
5424
|
* @param {*} [options] Override http request option.
|
|
5186
5425
|
* @throws {RequiredError}
|
|
5187
5426
|
*/
|
|
5188
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5427
|
+
systems: function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5189
5428
|
if (options === void 0) { options = {}; }
|
|
5190
5429
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5191
5430
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5198,12 +5437,18 @@ var SystemsApiAxiosParamCreator = function (configuration) {
|
|
|
5198
5437
|
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
5199
5438
|
localVarHeaderParameter = {};
|
|
5200
5439
|
localVarQueryParameter = {};
|
|
5440
|
+
if (tags !== undefined) {
|
|
5441
|
+
localVarQueryParameter['tags'] = tags;
|
|
5442
|
+
}
|
|
5201
5443
|
if (limit !== undefined) {
|
|
5202
5444
|
localVarQueryParameter['limit'] = limit;
|
|
5203
5445
|
}
|
|
5204
5446
|
if (offset !== undefined) {
|
|
5205
5447
|
localVarQueryParameter['offset'] = offset;
|
|
5206
5448
|
}
|
|
5449
|
+
if (idsOnly !== undefined) {
|
|
5450
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5451
|
+
}
|
|
5207
5452
|
if (sortBy !== undefined) {
|
|
5208
5453
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5209
5454
|
}
|
|
@@ -5239,19 +5484,21 @@ var SystemsApiFp = function (configuration) {
|
|
|
5239
5484
|
* Lists Systems
|
|
5240
5485
|
* @summary Request Systems
|
|
5241
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`
|
|
5242
5488
|
* @param {any} [limit] Number of items to return per page
|
|
5243
5489
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5490
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5244
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.
|
|
5245
|
-
* @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`)
|
|
5246
5493
|
* @param {*} [options] Override http request option.
|
|
5247
5494
|
* @throws {RequiredError}
|
|
5248
5495
|
*/
|
|
5249
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5496
|
+
systems: function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5250
5497
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5251
5498
|
var localVarAxiosArgs;
|
|
5252
5499
|
return tslib_1.__generator(this, function (_a) {
|
|
5253
5500
|
switch (_a.label) {
|
|
5254
|
-
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)];
|
|
5255
5502
|
case 1:
|
|
5256
5503
|
localVarAxiosArgs = _a.sent();
|
|
5257
5504
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5273,15 +5520,17 @@ var SystemsApiFactory = function (configuration, basePath, axios) {
|
|
|
5273
5520
|
* Lists Systems
|
|
5274
5521
|
* @summary Request Systems
|
|
5275
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`
|
|
5276
5524
|
* @param {any} [limit] Number of items to return per page
|
|
5277
5525
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5526
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5278
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.
|
|
5279
|
-
* @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`)
|
|
5280
5529
|
* @param {*} [options] Override http request option.
|
|
5281
5530
|
* @throws {RequiredError}
|
|
5282
5531
|
*/
|
|
5283
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5284
|
-
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); });
|
|
5285
5534
|
},
|
|
5286
5535
|
};
|
|
5287
5536
|
};
|
|
@@ -5301,17 +5550,19 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
5301
5550
|
* Lists Systems
|
|
5302
5551
|
* @summary Request Systems
|
|
5303
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`
|
|
5304
5554
|
* @param {any} [limit] Number of items to return per page
|
|
5305
5555
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5556
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5306
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.
|
|
5307
|
-
* @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`)
|
|
5308
5559
|
* @param {*} [options] Override http request option.
|
|
5309
5560
|
* @throws {RequiredError}
|
|
5310
5561
|
* @memberof SystemsApi
|
|
5311
5562
|
*/
|
|
5312
|
-
SystemsApi.prototype.systems = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5563
|
+
SystemsApi.prototype.systems = function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5313
5564
|
var _this = this;
|
|
5314
|
-
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); });
|
|
5315
5566
|
};
|
|
5316
5567
|
return SystemsApi;
|
|
5317
5568
|
}(base_1.BaseAPI));
|
|
@@ -5462,12 +5713,13 @@ var SystemsPoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
5462
5713
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5463
5714
|
* @param {any} [limit] Number of items to return per page
|
|
5464
5715
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5716
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5465
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.
|
|
5466
|
-
* @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`)
|
|
5467
5719
|
* @param {*} [options] Override http request option.
|
|
5468
5720
|
* @throws {RequiredError}
|
|
5469
5721
|
*/
|
|
5470
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5722
|
+
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5471
5723
|
if (options === void 0) { options = {}; }
|
|
5472
5724
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5473
5725
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5489,6 +5741,9 @@ var SystemsPoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
5489
5741
|
if (offset !== undefined) {
|
|
5490
5742
|
localVarQueryParameter['offset'] = offset;
|
|
5491
5743
|
}
|
|
5744
|
+
if (idsOnly !== undefined) {
|
|
5745
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5746
|
+
}
|
|
5492
5747
|
if (sortBy !== undefined) {
|
|
5493
5748
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5494
5749
|
}
|
|
@@ -5527,17 +5782,18 @@ var SystemsPoliciesApiFp = function (configuration) {
|
|
|
5527
5782
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5528
5783
|
* @param {any} [limit] Number of items to return per page
|
|
5529
5784
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5785
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5530
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.
|
|
5531
|
-
* @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`)
|
|
5532
5788
|
* @param {*} [options] Override http request option.
|
|
5533
5789
|
* @throws {RequiredError}
|
|
5534
5790
|
*/
|
|
5535
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5791
|
+
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5536
5792
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5537
5793
|
var localVarAxiosArgs;
|
|
5538
5794
|
return tslib_1.__generator(this, function (_a) {
|
|
5539
5795
|
switch (_a.label) {
|
|
5540
|
-
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)];
|
|
5541
5797
|
case 1:
|
|
5542
5798
|
localVarAxiosArgs = _a.sent();
|
|
5543
5799
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5562,13 +5818,14 @@ var SystemsPoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
5562
5818
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5563
5819
|
* @param {any} [limit] Number of items to return per page
|
|
5564
5820
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5821
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5565
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.
|
|
5566
|
-
* @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`)
|
|
5567
5824
|
* @param {*} [options] Override http request option.
|
|
5568
5825
|
* @throws {RequiredError}
|
|
5569
5826
|
*/
|
|
5570
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5571
|
-
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); });
|
|
5572
5829
|
},
|
|
5573
5830
|
};
|
|
5574
5831
|
};
|
|
@@ -5591,15 +5848,16 @@ var SystemsPoliciesApi = /** @class */ (function (_super) {
|
|
|
5591
5848
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5592
5849
|
* @param {any} [limit] Number of items to return per page
|
|
5593
5850
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5851
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5594
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.
|
|
5595
|
-
* @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`)
|
|
5596
5854
|
* @param {*} [options] Override http request option.
|
|
5597
5855
|
* @throws {RequiredError}
|
|
5598
5856
|
* @memberof SystemsPoliciesApi
|
|
5599
5857
|
*/
|
|
5600
|
-
SystemsPoliciesApi.prototype.systemsPolicies = function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5858
|
+
SystemsPoliciesApi.prototype.systemsPolicies = function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5601
5859
|
var _this = this;
|
|
5602
|
-
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); });
|
|
5603
5861
|
};
|
|
5604
5862
|
return SystemsPoliciesApi;
|
|
5605
5863
|
}(base_1.BaseAPI));
|
|
@@ -5889,12 +6147,13 @@ var TailoringRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5889
6147
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5890
6148
|
* @param {any} [limit] Number of items to return per page
|
|
5891
6149
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6150
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5892
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.
|
|
5893
|
-
* @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`)
|
|
5894
6153
|
* @param {*} [options] Override http request option.
|
|
5895
6154
|
* @throws {RequiredError}
|
|
5896
6155
|
*/
|
|
5897
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6156
|
+
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5898
6157
|
if (options === void 0) { options = {}; }
|
|
5899
6158
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5900
6159
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5919,6 +6178,9 @@ var TailoringRulesApiAxiosParamCreator = function (configuration) {
|
|
|
5919
6178
|
if (offset !== undefined) {
|
|
5920
6179
|
localVarQueryParameter['offset'] = offset;
|
|
5921
6180
|
}
|
|
6181
|
+
if (idsOnly !== undefined) {
|
|
6182
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
6183
|
+
}
|
|
5922
6184
|
if (sortBy !== undefined) {
|
|
5923
6185
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5924
6186
|
}
|
|
@@ -5958,17 +6220,18 @@ var TailoringRulesApiFp = function (configuration) {
|
|
|
5958
6220
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5959
6221
|
* @param {any} [limit] Number of items to return per page
|
|
5960
6222
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6223
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5961
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.
|
|
5962
|
-
* @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`)
|
|
5963
6226
|
* @param {*} [options] Override http request option.
|
|
5964
6227
|
* @throws {RequiredError}
|
|
5965
6228
|
*/
|
|
5966
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6229
|
+
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5967
6230
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5968
6231
|
var localVarAxiosArgs;
|
|
5969
6232
|
return tslib_1.__generator(this, function (_a) {
|
|
5970
6233
|
switch (_a.label) {
|
|
5971
|
-
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)];
|
|
5972
6235
|
case 1:
|
|
5973
6236
|
localVarAxiosArgs = _a.sent();
|
|
5974
6237
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5994,13 +6257,14 @@ var TailoringRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
5994
6257
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5995
6258
|
* @param {any} [limit] Number of items to return per page
|
|
5996
6259
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6260
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5997
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.
|
|
5998
|
-
* @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`)
|
|
5999
6263
|
* @param {*} [options] Override http request option.
|
|
6000
6264
|
* @throws {RequiredError}
|
|
6001
6265
|
*/
|
|
6002
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6003
|
-
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); });
|
|
6004
6268
|
},
|
|
6005
6269
|
};
|
|
6006
6270
|
};
|
|
@@ -6024,15 +6288,16 @@ var TailoringRulesApi = /** @class */ (function (_super) {
|
|
|
6024
6288
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6025
6289
|
* @param {any} [limit] Number of items to return per page
|
|
6026
6290
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6291
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6027
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.
|
|
6028
|
-
* @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`)
|
|
6029
6294
|
* @param {*} [options] Override http request option.
|
|
6030
6295
|
* @throws {RequiredError}
|
|
6031
6296
|
* @memberof TailoringRulesApi
|
|
6032
6297
|
*/
|
|
6033
|
-
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) {
|
|
6034
6299
|
var _this = this;
|
|
6035
|
-
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); });
|
|
6036
6301
|
};
|
|
6037
6302
|
return TailoringRulesApi;
|
|
6038
6303
|
}(base_1.BaseAPI));
|
|
@@ -6051,12 +6316,13 @@ var TailoringsApiAxiosParamCreator = function (configuration) {
|
|
|
6051
6316
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6052
6317
|
* @param {any} [limit] Number of items to return per page
|
|
6053
6318
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6319
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6054
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.
|
|
6055
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`)
|
|
6056
6322
|
* @param {*} [options] Override http request option.
|
|
6057
6323
|
* @throws {RequiredError}
|
|
6058
6324
|
*/
|
|
6059
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6325
|
+
tailorings: function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6060
6326
|
if (options === void 0) { options = {}; }
|
|
6061
6327
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
6062
6328
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6078,6 +6344,9 @@ var TailoringsApiAxiosParamCreator = function (configuration) {
|
|
|
6078
6344
|
if (offset !== undefined) {
|
|
6079
6345
|
localVarQueryParameter['offset'] = offset;
|
|
6080
6346
|
}
|
|
6347
|
+
if (idsOnly !== undefined) {
|
|
6348
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
6349
|
+
}
|
|
6081
6350
|
if (sortBy !== undefined) {
|
|
6082
6351
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
6083
6352
|
}
|
|
@@ -6116,17 +6385,18 @@ var TailoringsApiFp = function (configuration) {
|
|
|
6116
6385
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6117
6386
|
* @param {any} [limit] Number of items to return per page
|
|
6118
6387
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6388
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6119
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.
|
|
6120
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`)
|
|
6121
6391
|
* @param {*} [options] Override http request option.
|
|
6122
6392
|
* @throws {RequiredError}
|
|
6123
6393
|
*/
|
|
6124
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6394
|
+
tailorings: function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6125
6395
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
6126
6396
|
var localVarAxiosArgs;
|
|
6127
6397
|
return tslib_1.__generator(this, function (_a) {
|
|
6128
6398
|
switch (_a.label) {
|
|
6129
|
-
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)];
|
|
6130
6400
|
case 1:
|
|
6131
6401
|
localVarAxiosArgs = _a.sent();
|
|
6132
6402
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6151,13 +6421,14 @@ var TailoringsApiFactory = function (configuration, basePath, axios) {
|
|
|
6151
6421
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6152
6422
|
* @param {any} [limit] Number of items to return per page
|
|
6153
6423
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6424
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6154
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.
|
|
6155
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`)
|
|
6156
6427
|
* @param {*} [options] Override http request option.
|
|
6157
6428
|
* @throws {RequiredError}
|
|
6158
6429
|
*/
|
|
6159
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6160
|
-
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); });
|
|
6161
6432
|
},
|
|
6162
6433
|
};
|
|
6163
6434
|
};
|
|
@@ -6180,15 +6451,16 @@ var TailoringsApi = /** @class */ (function (_super) {
|
|
|
6180
6451
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6181
6452
|
* @param {any} [limit] Number of items to return per page
|
|
6182
6453
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6454
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6183
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.
|
|
6184
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`)
|
|
6185
6457
|
* @param {*} [options] Override http request option.
|
|
6186
6458
|
* @throws {RequiredError}
|
|
6187
6459
|
* @memberof TailoringsApi
|
|
6188
6460
|
*/
|
|
6189
|
-
TailoringsApi.prototype.tailorings = function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6461
|
+
TailoringsApi.prototype.tailorings = function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6190
6462
|
var _this = this;
|
|
6191
|
-
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); });
|
|
6192
6464
|
};
|
|
6193
6465
|
return TailoringsApi;
|
|
6194
6466
|
}(base_1.BaseAPI));
|
|
@@ -6894,12 +7166,13 @@ var ValueDefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
6894
7166
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6895
7167
|
* @param {any} [limit] Number of items to return per page
|
|
6896
7168
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7169
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6897
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.
|
|
6898
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`)
|
|
6899
7172
|
* @param {*} [options] Override http request option.
|
|
6900
7173
|
* @throws {RequiredError}
|
|
6901
7174
|
*/
|
|
6902
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7175
|
+
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6903
7176
|
if (options === void 0) { options = {}; }
|
|
6904
7177
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
6905
7178
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6921,6 +7194,9 @@ var ValueDefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
6921
7194
|
if (offset !== undefined) {
|
|
6922
7195
|
localVarQueryParameter['offset'] = offset;
|
|
6923
7196
|
}
|
|
7197
|
+
if (idsOnly !== undefined) {
|
|
7198
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
7199
|
+
}
|
|
6924
7200
|
if (sortBy !== undefined) {
|
|
6925
7201
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
6926
7202
|
}
|
|
@@ -6959,17 +7235,18 @@ var ValueDefinitionsApiFp = function (configuration) {
|
|
|
6959
7235
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6960
7236
|
* @param {any} [limit] Number of items to return per page
|
|
6961
7237
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7238
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6962
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.
|
|
6963
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`)
|
|
6964
7241
|
* @param {*} [options] Override http request option.
|
|
6965
7242
|
* @throws {RequiredError}
|
|
6966
7243
|
*/
|
|
6967
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7244
|
+
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6968
7245
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
6969
7246
|
var localVarAxiosArgs;
|
|
6970
7247
|
return tslib_1.__generator(this, function (_a) {
|
|
6971
7248
|
switch (_a.label) {
|
|
6972
|
-
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)];
|
|
6973
7250
|
case 1:
|
|
6974
7251
|
localVarAxiosArgs = _a.sent();
|
|
6975
7252
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6994,13 +7271,14 @@ var ValueDefinitionsApiFactory = function (configuration, basePath, axios) {
|
|
|
6994
7271
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6995
7272
|
* @param {any} [limit] Number of items to return per page
|
|
6996
7273
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7274
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6997
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.
|
|
6998
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`)
|
|
6999
7277
|
* @param {*} [options] Override http request option.
|
|
7000
7278
|
* @throws {RequiredError}
|
|
7001
7279
|
*/
|
|
7002
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7003
|
-
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); });
|
|
7004
7282
|
},
|
|
7005
7283
|
};
|
|
7006
7284
|
};
|
|
@@ -7023,15 +7301,16 @@ var ValueDefinitionsApi = /** @class */ (function (_super) {
|
|
|
7023
7301
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7024
7302
|
* @param {any} [limit] Number of items to return per page
|
|
7025
7303
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7304
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7026
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.
|
|
7027
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`)
|
|
7028
7307
|
* @param {*} [options] Override http request option.
|
|
7029
7308
|
* @throws {RequiredError}
|
|
7030
7309
|
* @memberof ValueDefinitionsApi
|
|
7031
7310
|
*/
|
|
7032
|
-
ValueDefinitionsApi.prototype.valueDefinitions = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7311
|
+
ValueDefinitionsApi.prototype.valueDefinitions = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7033
7312
|
var _this = this;
|
|
7034
|
-
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); });
|
|
7035
7314
|
};
|
|
7036
7315
|
return ValueDefinitionsApi;
|
|
7037
7316
|
}(base_1.BaseAPI));
|