@redhat-cloud-services/compliance-client 0.2.2 → 0.2.4
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/CreateTailoring/index.d.ts +33 -0
- package/dist/CreateTailoring/index.js +54 -0
- package/dist/CreateTailoring/index.js.map +1 -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/ProfileTree/index.d.ts +32 -0
- package/dist/ProfileTree/index.js +53 -0
- package/dist/ProfileTree/index.js.map +1 -0
- package/dist/Profiles/index.d.ts +7 -1
- package/dist/Profiles/index.js +7 -4
- package/dist/Profiles/index.js.map +1 -1
- package/dist/ReportRuleResults/index.d.ts +7 -1
- package/dist/ReportRuleResults/index.js +7 -4
- package/dist/ReportRuleResults/index.js.map +1 -1
- package/dist/ReportSystems/index.d.ts +14 -2
- package/dist/ReportSystems/index.js +10 -4
- package/dist/ReportSystems/index.js.map +1 -1
- package/dist/ReportTestResults/index.d.ts +7 -1
- package/dist/ReportTestResults/index.js +7 -4
- package/dist/ReportTestResults/index.js.map +1 -1
- package/dist/Reports/index.d.ts +7 -1
- package/dist/Reports/index.js +7 -4
- package/dist/Reports/index.js.map +1 -1
- package/dist/RuleGroups/index.d.ts +7 -1
- package/dist/RuleGroups/index.js +7 -4
- package/dist/RuleGroups/index.js.map +1 -1
- package/dist/Rules/index.d.ts +8 -2
- package/dist/Rules/index.js +7 -4
- package/dist/Rules/index.js.map +1 -1
- package/dist/SecurityGuides/index.d.ts +7 -1
- package/dist/SecurityGuides/index.js +7 -4
- package/dist/SecurityGuides/index.js.map +1 -1
- package/dist/SupportedProfiles/index.d.ts +7 -1
- package/dist/SupportedProfiles/index.js +7 -4
- package/dist/SupportedProfiles/index.js.map +1 -1
- package/dist/SystemReports/index.d.ts +8 -2
- package/dist/SystemReports/index.js +7 -4
- package/dist/SystemReports/index.js.map +1 -1
- package/dist/Systems/index.d.ts +14 -2
- package/dist/Systems/index.js +10 -4
- package/dist/Systems/index.js.map +1 -1
- package/dist/SystemsPolicies/index.d.ts +8 -2
- package/dist/SystemsPolicies/index.js +7 -4
- package/dist/SystemsPolicies/index.js.map +1 -1
- package/dist/TailoringRuleTree/index.d.ts +32 -0
- package/dist/TailoringRuleTree/index.js +53 -0
- package/dist/TailoringRuleTree/index.js.map +1 -0
- 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 +434 -130
- package/dist/api.js +714 -163
- package/dist/api.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.js +11 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +39 -20
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -13,11 +13,11 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
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;
|
|
16
|
+
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.CreateTailoringApi = exports.CreateTailoringApiFactory = exports.CreateTailoringApiFp = exports.CreateTailoringApiAxiosParamCreator = 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
|
+
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.ProfileTreeApi = exports.ProfileTreeApiFactory = exports.ProfileTreeApiFp = exports.ProfileTreeApiAxiosParamCreator = 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 = exports.PolicySystemsApiAxiosParamCreator = exports.PolicyApi = exports.PolicyApiFactory = exports.PolicyApiFp = void 0;
|
|
18
|
+
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 = exports.ReportTestResultApiFactory = exports.ReportTestResultApiFp = exports.ReportTestResultApiAxiosParamCreator = exports.ReportSystemsOSApi = exports.ReportSystemsOSApiFactory = exports.ReportSystemsOSApiFp = exports.ReportSystemsOSApiAxiosParamCreator = exports.ReportSystemsApi = void 0;
|
|
19
|
+
exports.TailoringsApiFactory = exports.TailoringsApiFp = exports.TailoringsApiAxiosParamCreator = exports.TailoringRulesApi = exports.TailoringRulesApiFactory = exports.TailoringRulesApiFp = exports.TailoringRulesApiAxiosParamCreator = exports.TailoringRuleTreeApi = exports.TailoringRuleTreeApiFactory = exports.TailoringRuleTreeApiFp = exports.TailoringRuleTreeApiAxiosParamCreator = 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 = exports.SupportedProfilesApiAxiosParamCreator = exports.SecurityGuidesOSApi = exports.SecurityGuidesOSApiFactory = exports.SecurityGuidesOSApiFp = exports.SecurityGuidesOSApiAxiosParamCreator = exports.SecurityGuidesApi = exports.SecurityGuidesApiFactory = exports.SecurityGuidesApiFp = 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 = exports.UpdatePolicyApiFactory = exports.UpdatePolicyApiFp = exports.UpdatePolicyApiAxiosParamCreator = exports.UnassignSystemApi = exports.UnassignSystemApiFactory = exports.UnassignSystemApiFp = exports.UnassignSystemApiAxiosParamCreator = exports.UnassignRuleApi = exports.UnassignRuleApiFactory = exports.UnassignRuleApiFp = exports.UnassignRuleApiAxiosParamCreator = exports.TailoringsApi = 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
|
|
@@ -759,6 +759,140 @@ var CreatePolicyApi = /** @class */ (function (_super) {
|
|
|
759
759
|
return CreatePolicyApi;
|
|
760
760
|
}(base_1.BaseAPI));
|
|
761
761
|
exports.CreatePolicyApi = CreatePolicyApi;
|
|
762
|
+
/**
|
|
763
|
+
* CreateTailoringApi - axios parameter creator
|
|
764
|
+
* @export
|
|
765
|
+
*/
|
|
766
|
+
var CreateTailoringApiAxiosParamCreator = function (configuration) {
|
|
767
|
+
var _this = this;
|
|
768
|
+
return {
|
|
769
|
+
/**
|
|
770
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
771
|
+
* @summary Create a Tailoring
|
|
772
|
+
* @param {any} policyId
|
|
773
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
774
|
+
* @param {TailoringCreate} [tailoringCreate]
|
|
775
|
+
* @param {*} [options] Override http request option.
|
|
776
|
+
* @throws {RequiredError}
|
|
777
|
+
*/
|
|
778
|
+
createTailoring: function (policyId, xRHIDENTITY, tailoringCreate, options) {
|
|
779
|
+
if (options === void 0) { options = {}; }
|
|
780
|
+
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
781
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
782
|
+
return tslib_1.__generator(this, function (_a) {
|
|
783
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
784
|
+
(0, common_1.assertParamExists)('createTailoring', 'policyId', policyId);
|
|
785
|
+
localVarPath = "/policies/{policy_id}/tailorings"
|
|
786
|
+
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));
|
|
787
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
788
|
+
if (configuration) {
|
|
789
|
+
baseOptions = configuration.baseOptions;
|
|
790
|
+
}
|
|
791
|
+
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'POST' }, baseOptions), options);
|
|
792
|
+
localVarHeaderParameter = {};
|
|
793
|
+
localVarQueryParameter = {};
|
|
794
|
+
if (xRHIDENTITY != null) {
|
|
795
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
796
|
+
? xRHIDENTITY
|
|
797
|
+
: JSON.stringify(xRHIDENTITY);
|
|
798
|
+
}
|
|
799
|
+
localVarHeaderParameter['Content-Type'] = 'application/vnd.api+json';
|
|
800
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
801
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
802
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
803
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(tailoringCreate, localVarRequestOptions, configuration);
|
|
804
|
+
return [2 /*return*/, {
|
|
805
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
806
|
+
options: localVarRequestOptions,
|
|
807
|
+
}];
|
|
808
|
+
});
|
|
809
|
+
});
|
|
810
|
+
},
|
|
811
|
+
};
|
|
812
|
+
};
|
|
813
|
+
exports.CreateTailoringApiAxiosParamCreator = CreateTailoringApiAxiosParamCreator;
|
|
814
|
+
/**
|
|
815
|
+
* CreateTailoringApi - functional programming interface
|
|
816
|
+
* @export
|
|
817
|
+
*/
|
|
818
|
+
var CreateTailoringApiFp = function (configuration) {
|
|
819
|
+
var localVarAxiosParamCreator = (0, exports.CreateTailoringApiAxiosParamCreator)(configuration);
|
|
820
|
+
return {
|
|
821
|
+
/**
|
|
822
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
823
|
+
* @summary Create a Tailoring
|
|
824
|
+
* @param {any} policyId
|
|
825
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
826
|
+
* @param {TailoringCreate} [tailoringCreate]
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
createTailoring: function (policyId, xRHIDENTITY, tailoringCreate, options) {
|
|
831
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
832
|
+
var localVarAxiosArgs;
|
|
833
|
+
return tslib_1.__generator(this, function (_a) {
|
|
834
|
+
switch (_a.label) {
|
|
835
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createTailoring(policyId, xRHIDENTITY, tailoringCreate, options)];
|
|
836
|
+
case 1:
|
|
837
|
+
localVarAxiosArgs = _a.sent();
|
|
838
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
839
|
+
}
|
|
840
|
+
});
|
|
841
|
+
});
|
|
842
|
+
},
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
exports.CreateTailoringApiFp = CreateTailoringApiFp;
|
|
846
|
+
/**
|
|
847
|
+
* CreateTailoringApi - factory interface
|
|
848
|
+
* @export
|
|
849
|
+
*/
|
|
850
|
+
var CreateTailoringApiFactory = function (configuration, basePath, axios) {
|
|
851
|
+
var localVarFp = (0, exports.CreateTailoringApiFp)(configuration);
|
|
852
|
+
return {
|
|
853
|
+
/**
|
|
854
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
855
|
+
* @summary Create a Tailoring
|
|
856
|
+
* @param {any} policyId
|
|
857
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
858
|
+
* @param {TailoringCreate} [tailoringCreate]
|
|
859
|
+
* @param {*} [options] Override http request option.
|
|
860
|
+
* @throws {RequiredError}
|
|
861
|
+
*/
|
|
862
|
+
createTailoring: function (policyId, xRHIDENTITY, tailoringCreate, options) {
|
|
863
|
+
return localVarFp.createTailoring(policyId, xRHIDENTITY, tailoringCreate, options).then(function (request) { return request(axios, basePath); });
|
|
864
|
+
},
|
|
865
|
+
};
|
|
866
|
+
};
|
|
867
|
+
exports.CreateTailoringApiFactory = CreateTailoringApiFactory;
|
|
868
|
+
/**
|
|
869
|
+
* CreateTailoringApi - object-oriented interface
|
|
870
|
+
* @export
|
|
871
|
+
* @class CreateTailoringApi
|
|
872
|
+
* @extends {BaseAPI}
|
|
873
|
+
*/
|
|
874
|
+
var CreateTailoringApi = /** @class */ (function (_super) {
|
|
875
|
+
tslib_1.__extends(CreateTailoringApi, _super);
|
|
876
|
+
function CreateTailoringApi() {
|
|
877
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Create a Tailoring with the provided attributes (for ImageBuilder only)
|
|
881
|
+
* @summary Create a Tailoring
|
|
882
|
+
* @param {any} policyId
|
|
883
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
884
|
+
* @param {TailoringCreate} [tailoringCreate]
|
|
885
|
+
* @param {*} [options] Override http request option.
|
|
886
|
+
* @throws {RequiredError}
|
|
887
|
+
* @memberof CreateTailoringApi
|
|
888
|
+
*/
|
|
889
|
+
CreateTailoringApi.prototype.createTailoring = function (policyId, xRHIDENTITY, tailoringCreate, options) {
|
|
890
|
+
var _this = this;
|
|
891
|
+
return (0, exports.CreateTailoringApiFp)(this.configuration).createTailoring(policyId, xRHIDENTITY, tailoringCreate, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
892
|
+
};
|
|
893
|
+
return CreateTailoringApi;
|
|
894
|
+
}(base_1.BaseAPI));
|
|
895
|
+
exports.CreateTailoringApi = CreateTailoringApi;
|
|
762
896
|
/**
|
|
763
897
|
* DeletePolicyApi - axios parameter creator
|
|
764
898
|
* @export
|
|
@@ -1028,12 +1162,13 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
1028
1162
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1029
1163
|
* @param {any} [limit] Number of items to return per page
|
|
1030
1164
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1165
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1031
1166
|
* @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
1167
|
* @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
1168
|
* @param {*} [options] Override http request option.
|
|
1034
1169
|
* @throws {RequiredError}
|
|
1035
1170
|
*/
|
|
1036
|
-
policies: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1171
|
+
policies: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1037
1172
|
if (options === void 0) { options = {}; }
|
|
1038
1173
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
1039
1174
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1052,6 +1187,9 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
1052
1187
|
if (offset !== undefined) {
|
|
1053
1188
|
localVarQueryParameter['offset'] = offset;
|
|
1054
1189
|
}
|
|
1190
|
+
if (idsOnly !== undefined) {
|
|
1191
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
1192
|
+
}
|
|
1055
1193
|
if (sortBy !== undefined) {
|
|
1056
1194
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
1057
1195
|
}
|
|
@@ -1089,17 +1227,18 @@ var PoliciesApiFp = function (configuration) {
|
|
|
1089
1227
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1090
1228
|
* @param {any} [limit] Number of items to return per page
|
|
1091
1229
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1230
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1092
1231
|
* @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
1232
|
* @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
1233
|
* @param {*} [options] Override http request option.
|
|
1095
1234
|
* @throws {RequiredError}
|
|
1096
1235
|
*/
|
|
1097
|
-
policies: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1236
|
+
policies: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1098
1237
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
1099
1238
|
var localVarAxiosArgs;
|
|
1100
1239
|
return tslib_1.__generator(this, function (_a) {
|
|
1101
1240
|
switch (_a.label) {
|
|
1102
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.policies(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
1241
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.policies(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
1103
1242
|
case 1:
|
|
1104
1243
|
localVarAxiosArgs = _a.sent();
|
|
1105
1244
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1123,13 +1262,14 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
1123
1262
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1124
1263
|
* @param {any} [limit] Number of items to return per page
|
|
1125
1264
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1265
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1126
1266
|
* @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
1267
|
* @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
1268
|
* @param {*} [options] Override http request option.
|
|
1129
1269
|
* @throws {RequiredError}
|
|
1130
1270
|
*/
|
|
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); });
|
|
1271
|
+
policies: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1272
|
+
return localVarFp.policies(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
1133
1273
|
},
|
|
1134
1274
|
};
|
|
1135
1275
|
};
|
|
@@ -1151,15 +1291,16 @@ var PoliciesApi = /** @class */ (function (_super) {
|
|
|
1151
1291
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1152
1292
|
* @param {any} [limit] Number of items to return per page
|
|
1153
1293
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1294
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1154
1295
|
* @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
1296
|
* @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
1297
|
* @param {*} [options] Override http request option.
|
|
1157
1298
|
* @throws {RequiredError}
|
|
1158
1299
|
* @memberof PoliciesApi
|
|
1159
1300
|
*/
|
|
1160
|
-
PoliciesApi.prototype.policies = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1301
|
+
PoliciesApi.prototype.policies = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1161
1302
|
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); });
|
|
1303
|
+
return (0, exports.PoliciesApiFp)(this.configuration).policies(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1163
1304
|
};
|
|
1164
1305
|
return PoliciesApi;
|
|
1165
1306
|
}(base_1.BaseAPI));
|
|
@@ -1304,14 +1445,16 @@ var PolicySystemsApiAxiosParamCreator = function (configuration) {
|
|
|
1304
1445
|
* @summary Request Systems assigned to a Policy
|
|
1305
1446
|
* @param {any} policyId
|
|
1306
1447
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1448
|
+
* @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
1449
|
* @param {any} [limit] Number of items to return per page
|
|
1308
1450
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1451
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1309
1452
|
* @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`, `
|
|
1453
|
+
* @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
1454
|
* @param {*} [options] Override http request option.
|
|
1312
1455
|
* @throws {RequiredError}
|
|
1313
1456
|
*/
|
|
1314
|
-
policySystems: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1457
|
+
policySystems: function (policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1315
1458
|
if (options === void 0) { options = {}; }
|
|
1316
1459
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
1317
1460
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1327,12 +1470,18 @@ var PolicySystemsApiAxiosParamCreator = function (configuration) {
|
|
|
1327
1470
|
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
1328
1471
|
localVarHeaderParameter = {};
|
|
1329
1472
|
localVarQueryParameter = {};
|
|
1473
|
+
if (tags !== undefined) {
|
|
1474
|
+
localVarQueryParameter['tags'] = tags;
|
|
1475
|
+
}
|
|
1330
1476
|
if (limit !== undefined) {
|
|
1331
1477
|
localVarQueryParameter['limit'] = limit;
|
|
1332
1478
|
}
|
|
1333
1479
|
if (offset !== undefined) {
|
|
1334
1480
|
localVarQueryParameter['offset'] = offset;
|
|
1335
1481
|
}
|
|
1482
|
+
if (idsOnly !== undefined) {
|
|
1483
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
1484
|
+
}
|
|
1336
1485
|
if (sortBy !== undefined) {
|
|
1337
1486
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
1338
1487
|
}
|
|
@@ -1369,19 +1518,21 @@ var PolicySystemsApiFp = function (configuration) {
|
|
|
1369
1518
|
* @summary Request Systems assigned to a Policy
|
|
1370
1519
|
* @param {any} policyId
|
|
1371
1520
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1521
|
+
* @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
1522
|
* @param {any} [limit] Number of items to return per page
|
|
1373
1523
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1524
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1374
1525
|
* @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`, `
|
|
1526
|
+
* @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
1527
|
* @param {*} [options] Override http request option.
|
|
1377
1528
|
* @throws {RequiredError}
|
|
1378
1529
|
*/
|
|
1379
|
-
policySystems: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1530
|
+
policySystems: function (policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1380
1531
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
1381
1532
|
var localVarAxiosArgs;
|
|
1382
1533
|
return tslib_1.__generator(this, function (_a) {
|
|
1383
1534
|
switch (_a.label) {
|
|
1384
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.policySystems(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
1535
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.policySystems(policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options)];
|
|
1385
1536
|
case 1:
|
|
1386
1537
|
localVarAxiosArgs = _a.sent();
|
|
1387
1538
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1404,15 +1555,17 @@ var PolicySystemsApiFactory = function (configuration, basePath, axios) {
|
|
|
1404
1555
|
* @summary Request Systems assigned to a Policy
|
|
1405
1556
|
* @param {any} policyId
|
|
1406
1557
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1558
|
+
* @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
1559
|
* @param {any} [limit] Number of items to return per page
|
|
1408
1560
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1561
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1409
1562
|
* @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`, `
|
|
1563
|
+
* @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
1564
|
* @param {*} [options] Override http request option.
|
|
1412
1565
|
* @throws {RequiredError}
|
|
1413
1566
|
*/
|
|
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); });
|
|
1567
|
+
policySystems: function (policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1568
|
+
return localVarFp.policySystems(policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
1416
1569
|
},
|
|
1417
1570
|
};
|
|
1418
1571
|
};
|
|
@@ -1433,17 +1586,19 @@ var PolicySystemsApi = /** @class */ (function (_super) {
|
|
|
1433
1586
|
* @summary Request Systems assigned to a Policy
|
|
1434
1587
|
* @param {any} policyId
|
|
1435
1588
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1589
|
+
* @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
1590
|
* @param {any} [limit] Number of items to return per page
|
|
1437
1591
|
* @param {any} [offset] Offset of first item of paginated response
|
|
1592
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1438
1593
|
* @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`, `
|
|
1594
|
+
* @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
1595
|
* @param {*} [options] Override http request option.
|
|
1441
1596
|
* @throws {RequiredError}
|
|
1442
1597
|
* @memberof PolicySystemsApi
|
|
1443
1598
|
*/
|
|
1444
|
-
PolicySystemsApi.prototype.policySystems = function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
1599
|
+
PolicySystemsApi.prototype.policySystems = function (policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1445
1600
|
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); });
|
|
1601
|
+
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
1602
|
};
|
|
1448
1603
|
return PolicySystemsApi;
|
|
1449
1604
|
}(base_1.BaseAPI));
|
|
@@ -1879,12 +2034,13 @@ var ProfileRulesApiAxiosParamCreator = function (configuration) {
|
|
|
1879
2034
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1880
2035
|
* @param {any} [limit] Number of items to return per page
|
|
1881
2036
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2037
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1882
2038
|
* @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 `
|
|
2039
|
+
* @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
2040
|
* @param {*} [options] Override http request option.
|
|
1885
2041
|
* @throws {RequiredError}
|
|
1886
2042
|
*/
|
|
1887
|
-
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2043
|
+
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1888
2044
|
if (options === void 0) { options = {}; }
|
|
1889
2045
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
1890
2046
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1909,6 +2065,9 @@ var ProfileRulesApiAxiosParamCreator = function (configuration) {
|
|
|
1909
2065
|
if (offset !== undefined) {
|
|
1910
2066
|
localVarQueryParameter['offset'] = offset;
|
|
1911
2067
|
}
|
|
2068
|
+
if (idsOnly !== undefined) {
|
|
2069
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
2070
|
+
}
|
|
1912
2071
|
if (sortBy !== undefined) {
|
|
1913
2072
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
1914
2073
|
}
|
|
@@ -1948,17 +2107,18 @@ var ProfileRulesApiFp = function (configuration) {
|
|
|
1948
2107
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1949
2108
|
* @param {any} [limit] Number of items to return per page
|
|
1950
2109
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2110
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1951
2111
|
* @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 `
|
|
2112
|
+
* @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
2113
|
* @param {*} [options] Override http request option.
|
|
1954
2114
|
* @throws {RequiredError}
|
|
1955
2115
|
*/
|
|
1956
|
-
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2116
|
+
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
1957
2117
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
1958
2118
|
var localVarAxiosArgs;
|
|
1959
2119
|
return tslib_1.__generator(this, function (_a) {
|
|
1960
2120
|
switch (_a.label) {
|
|
1961
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
2121
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
1962
2122
|
case 1:
|
|
1963
2123
|
localVarAxiosArgs = _a.sent();
|
|
1964
2124
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1984,13 +2144,14 @@ var ProfileRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
1984
2144
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
1985
2145
|
* @param {any} [limit] Number of items to return per page
|
|
1986
2146
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2147
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
1987
2148
|
* @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 `
|
|
2149
|
+
* @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
2150
|
* @param {*} [options] Override http request option.
|
|
1990
2151
|
* @throws {RequiredError}
|
|
1991
2152
|
*/
|
|
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); });
|
|
2153
|
+
profileRules: function (securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2154
|
+
return localVarFp.profileRules(securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
1994
2155
|
},
|
|
1995
2156
|
};
|
|
1996
2157
|
};
|
|
@@ -2014,19 +2175,155 @@ var ProfileRulesApi = /** @class */ (function (_super) {
|
|
|
2014
2175
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2015
2176
|
* @param {any} [limit] Number of items to return per page
|
|
2016
2177
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2178
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2017
2179
|
* @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 `
|
|
2180
|
+
* @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
2181
|
* @param {*} [options] Override http request option.
|
|
2020
2182
|
* @throws {RequiredError}
|
|
2021
2183
|
* @memberof ProfileRulesApi
|
|
2022
2184
|
*/
|
|
2023
|
-
ProfileRulesApi.prototype.profileRules = function (securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2185
|
+
ProfileRulesApi.prototype.profileRules = function (securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2024
2186
|
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); });
|
|
2187
|
+
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
2188
|
};
|
|
2027
2189
|
return ProfileRulesApi;
|
|
2028
2190
|
}(base_1.BaseAPI));
|
|
2029
2191
|
exports.ProfileRulesApi = ProfileRulesApi;
|
|
2192
|
+
/**
|
|
2193
|
+
* ProfileTreeApi - axios parameter creator
|
|
2194
|
+
* @export
|
|
2195
|
+
*/
|
|
2196
|
+
var ProfileTreeApiAxiosParamCreator = function (configuration) {
|
|
2197
|
+
var _this = this;
|
|
2198
|
+
return {
|
|
2199
|
+
/**
|
|
2200
|
+
* Returns the Rule Tree of a Profile
|
|
2201
|
+
* @summary Request the Rule Tree of a Profile
|
|
2202
|
+
* @param {any} securityGuideId
|
|
2203
|
+
* @param {any} profileId
|
|
2204
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2205
|
+
* @param {*} [options] Override http request option.
|
|
2206
|
+
* @throws {RequiredError}
|
|
2207
|
+
*/
|
|
2208
|
+
profileTree: function (securityGuideId, profileId, xRHIDENTITY, options) {
|
|
2209
|
+
if (options === void 0) { options = {}; }
|
|
2210
|
+
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
2211
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
2212
|
+
return tslib_1.__generator(this, function (_a) {
|
|
2213
|
+
// verify required parameter 'securityGuideId' is not null or undefined
|
|
2214
|
+
(0, common_1.assertParamExists)('profileTree', 'securityGuideId', securityGuideId);
|
|
2215
|
+
// verify required parameter 'profileId' is not null or undefined
|
|
2216
|
+
(0, common_1.assertParamExists)('profileTree', 'profileId', profileId);
|
|
2217
|
+
localVarPath = "/security_guides/{security_guide_id}/profiles/{profile_id}/rule_tree"
|
|
2218
|
+
.replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)))
|
|
2219
|
+
.replace("{".concat("profile_id", "}"), encodeURIComponent(String(profileId)));
|
|
2220
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2221
|
+
if (configuration) {
|
|
2222
|
+
baseOptions = configuration.baseOptions;
|
|
2223
|
+
}
|
|
2224
|
+
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
2225
|
+
localVarHeaderParameter = {};
|
|
2226
|
+
localVarQueryParameter = {};
|
|
2227
|
+
if (xRHIDENTITY != null) {
|
|
2228
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
2229
|
+
? xRHIDENTITY
|
|
2230
|
+
: JSON.stringify(xRHIDENTITY);
|
|
2231
|
+
}
|
|
2232
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2233
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2234
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2235
|
+
return [2 /*return*/, {
|
|
2236
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
2237
|
+
options: localVarRequestOptions,
|
|
2238
|
+
}];
|
|
2239
|
+
});
|
|
2240
|
+
});
|
|
2241
|
+
},
|
|
2242
|
+
};
|
|
2243
|
+
};
|
|
2244
|
+
exports.ProfileTreeApiAxiosParamCreator = ProfileTreeApiAxiosParamCreator;
|
|
2245
|
+
/**
|
|
2246
|
+
* ProfileTreeApi - functional programming interface
|
|
2247
|
+
* @export
|
|
2248
|
+
*/
|
|
2249
|
+
var ProfileTreeApiFp = function (configuration) {
|
|
2250
|
+
var localVarAxiosParamCreator = (0, exports.ProfileTreeApiAxiosParamCreator)(configuration);
|
|
2251
|
+
return {
|
|
2252
|
+
/**
|
|
2253
|
+
* Returns the Rule Tree of a Profile
|
|
2254
|
+
* @summary Request the Rule Tree of a Profile
|
|
2255
|
+
* @param {any} securityGuideId
|
|
2256
|
+
* @param {any} profileId
|
|
2257
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2258
|
+
* @param {*} [options] Override http request option.
|
|
2259
|
+
* @throws {RequiredError}
|
|
2260
|
+
*/
|
|
2261
|
+
profileTree: function (securityGuideId, profileId, xRHIDENTITY, options) {
|
|
2262
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
2263
|
+
var localVarAxiosArgs;
|
|
2264
|
+
return tslib_1.__generator(this, function (_a) {
|
|
2265
|
+
switch (_a.label) {
|
|
2266
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profileTree(securityGuideId, profileId, xRHIDENTITY, options)];
|
|
2267
|
+
case 1:
|
|
2268
|
+
localVarAxiosArgs = _a.sent();
|
|
2269
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
2270
|
+
}
|
|
2271
|
+
});
|
|
2272
|
+
});
|
|
2273
|
+
},
|
|
2274
|
+
};
|
|
2275
|
+
};
|
|
2276
|
+
exports.ProfileTreeApiFp = ProfileTreeApiFp;
|
|
2277
|
+
/**
|
|
2278
|
+
* ProfileTreeApi - factory interface
|
|
2279
|
+
* @export
|
|
2280
|
+
*/
|
|
2281
|
+
var ProfileTreeApiFactory = function (configuration, basePath, axios) {
|
|
2282
|
+
var localVarFp = (0, exports.ProfileTreeApiFp)(configuration);
|
|
2283
|
+
return {
|
|
2284
|
+
/**
|
|
2285
|
+
* Returns the Rule Tree of a Profile
|
|
2286
|
+
* @summary Request the Rule Tree of a Profile
|
|
2287
|
+
* @param {any} securityGuideId
|
|
2288
|
+
* @param {any} profileId
|
|
2289
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2290
|
+
* @param {*} [options] Override http request option.
|
|
2291
|
+
* @throws {RequiredError}
|
|
2292
|
+
*/
|
|
2293
|
+
profileTree: function (securityGuideId, profileId, xRHIDENTITY, options) {
|
|
2294
|
+
return localVarFp.profileTree(securityGuideId, profileId, xRHIDENTITY, options).then(function (request) { return request(axios, basePath); });
|
|
2295
|
+
},
|
|
2296
|
+
};
|
|
2297
|
+
};
|
|
2298
|
+
exports.ProfileTreeApiFactory = ProfileTreeApiFactory;
|
|
2299
|
+
/**
|
|
2300
|
+
* ProfileTreeApi - object-oriented interface
|
|
2301
|
+
* @export
|
|
2302
|
+
* @class ProfileTreeApi
|
|
2303
|
+
* @extends {BaseAPI}
|
|
2304
|
+
*/
|
|
2305
|
+
var ProfileTreeApi = /** @class */ (function (_super) {
|
|
2306
|
+
tslib_1.__extends(ProfileTreeApi, _super);
|
|
2307
|
+
function ProfileTreeApi() {
|
|
2308
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
2309
|
+
}
|
|
2310
|
+
/**
|
|
2311
|
+
* Returns the Rule Tree of a Profile
|
|
2312
|
+
* @summary Request the Rule Tree of a Profile
|
|
2313
|
+
* @param {any} securityGuideId
|
|
2314
|
+
* @param {any} profileId
|
|
2315
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
2316
|
+
* @param {*} [options] Override http request option.
|
|
2317
|
+
* @throws {RequiredError}
|
|
2318
|
+
* @memberof ProfileTreeApi
|
|
2319
|
+
*/
|
|
2320
|
+
ProfileTreeApi.prototype.profileTree = function (securityGuideId, profileId, xRHIDENTITY, options) {
|
|
2321
|
+
var _this = this;
|
|
2322
|
+
return (0, exports.ProfileTreeApiFp)(this.configuration).profileTree(securityGuideId, profileId, xRHIDENTITY, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2323
|
+
};
|
|
2324
|
+
return ProfileTreeApi;
|
|
2325
|
+
}(base_1.BaseAPI));
|
|
2326
|
+
exports.ProfileTreeApi = ProfileTreeApi;
|
|
2030
2327
|
/**
|
|
2031
2328
|
* ProfilesApi - axios parameter creator
|
|
2032
2329
|
* @export
|
|
@@ -2041,12 +2338,13 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
2041
2338
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2042
2339
|
* @param {any} [limit] Number of items to return per page
|
|
2043
2340
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2341
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2044
2342
|
* @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
2343
|
* @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
2344
|
* @param {*} [options] Override http request option.
|
|
2047
2345
|
* @throws {RequiredError}
|
|
2048
2346
|
*/
|
|
2049
|
-
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2347
|
+
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2050
2348
|
if (options === void 0) { options = {}; }
|
|
2051
2349
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
2052
2350
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2068,6 +2366,9 @@ var ProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
2068
2366
|
if (offset !== undefined) {
|
|
2069
2367
|
localVarQueryParameter['offset'] = offset;
|
|
2070
2368
|
}
|
|
2369
|
+
if (idsOnly !== undefined) {
|
|
2370
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
2371
|
+
}
|
|
2071
2372
|
if (sortBy !== undefined) {
|
|
2072
2373
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
2073
2374
|
}
|
|
@@ -2106,17 +2407,18 @@ var ProfilesApiFp = function (configuration) {
|
|
|
2106
2407
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2107
2408
|
* @param {any} [limit] Number of items to return per page
|
|
2108
2409
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2410
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2109
2411
|
* @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
2412
|
* @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
2413
|
* @param {*} [options] Override http request option.
|
|
2112
2414
|
* @throws {RequiredError}
|
|
2113
2415
|
*/
|
|
2114
|
-
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2416
|
+
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2115
2417
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
2116
2418
|
var localVarAxiosArgs;
|
|
2117
2419
|
return tslib_1.__generator(this, function (_a) {
|
|
2118
2420
|
switch (_a.label) {
|
|
2119
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profiles(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
2421
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.profiles(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
2120
2422
|
case 1:
|
|
2121
2423
|
localVarAxiosArgs = _a.sent();
|
|
2122
2424
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2141,13 +2443,14 @@ var ProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
2141
2443
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2142
2444
|
* @param {any} [limit] Number of items to return per page
|
|
2143
2445
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2446
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2144
2447
|
* @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
2448
|
* @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
2449
|
* @param {*} [options] Override http request option.
|
|
2147
2450
|
* @throws {RequiredError}
|
|
2148
2451
|
*/
|
|
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); });
|
|
2452
|
+
profiles: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2453
|
+
return localVarFp.profiles(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2151
2454
|
},
|
|
2152
2455
|
};
|
|
2153
2456
|
};
|
|
@@ -2170,15 +2473,16 @@ var ProfilesApi = /** @class */ (function (_super) {
|
|
|
2170
2473
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2171
2474
|
* @param {any} [limit] Number of items to return per page
|
|
2172
2475
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2476
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2173
2477
|
* @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
2478
|
* @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
2479
|
* @param {*} [options] Override http request option.
|
|
2176
2480
|
* @throws {RequiredError}
|
|
2177
2481
|
* @memberof ProfilesApi
|
|
2178
2482
|
*/
|
|
2179
|
-
ProfilesApi.prototype.profiles = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2483
|
+
ProfilesApi.prototype.profiles = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2180
2484
|
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); });
|
|
2485
|
+
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
2486
|
};
|
|
2183
2487
|
return ProfilesApi;
|
|
2184
2488
|
}(base_1.BaseAPI));
|
|
@@ -2326,12 +2630,13 @@ var ReportRuleResultsApiAxiosParamCreator = function (configuration) {
|
|
|
2326
2630
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2327
2631
|
* @param {any} [limit] Number of items to return per page
|
|
2328
2632
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2633
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2329
2634
|
* @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
2635
|
* @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
2636
|
* @param {*} [options] Override http request option.
|
|
2332
2637
|
* @throws {RequiredError}
|
|
2333
2638
|
*/
|
|
2334
|
-
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2639
|
+
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2335
2640
|
if (options === void 0) { options = {}; }
|
|
2336
2641
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
2337
2642
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2356,6 +2661,9 @@ var ReportRuleResultsApiAxiosParamCreator = function (configuration) {
|
|
|
2356
2661
|
if (offset !== undefined) {
|
|
2357
2662
|
localVarQueryParameter['offset'] = offset;
|
|
2358
2663
|
}
|
|
2664
|
+
if (idsOnly !== undefined) {
|
|
2665
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
2666
|
+
}
|
|
2359
2667
|
if (sortBy !== undefined) {
|
|
2360
2668
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
2361
2669
|
}
|
|
@@ -2395,17 +2703,18 @@ var ReportRuleResultsApiFp = function (configuration) {
|
|
|
2395
2703
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2396
2704
|
* @param {any} [limit] Number of items to return per page
|
|
2397
2705
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2706
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2398
2707
|
* @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
2708
|
* @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
2709
|
* @param {*} [options] Override http request option.
|
|
2401
2710
|
* @throws {RequiredError}
|
|
2402
2711
|
*/
|
|
2403
|
-
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2712
|
+
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2404
2713
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
2405
2714
|
var localVarAxiosArgs;
|
|
2406
2715
|
return tslib_1.__generator(this, function (_a) {
|
|
2407
2716
|
switch (_a.label) {
|
|
2408
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
2717
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
2409
2718
|
case 1:
|
|
2410
2719
|
localVarAxiosArgs = _a.sent();
|
|
2411
2720
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2431,13 +2740,14 @@ var ReportRuleResultsApiFactory = function (configuration, basePath, axios) {
|
|
|
2431
2740
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2432
2741
|
* @param {any} [limit] Number of items to return per page
|
|
2433
2742
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2743
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2434
2744
|
* @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
2745
|
* @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
2746
|
* @param {*} [options] Override http request option.
|
|
2437
2747
|
* @throws {RequiredError}
|
|
2438
2748
|
*/
|
|
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); });
|
|
2749
|
+
reportRuleResults: function (testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2750
|
+
return localVarFp.reportRuleResults(testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2441
2751
|
},
|
|
2442
2752
|
};
|
|
2443
2753
|
};
|
|
@@ -2461,15 +2771,16 @@ var ReportRuleResultsApi = /** @class */ (function (_super) {
|
|
|
2461
2771
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
2462
2772
|
* @param {any} [limit] Number of items to return per page
|
|
2463
2773
|
* @param {any} [offset] Offset of first item of paginated response
|
|
2774
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2464
2775
|
* @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
2776
|
* @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
2777
|
* @param {*} [options] Override http request option.
|
|
2467
2778
|
* @throws {RequiredError}
|
|
2468
2779
|
* @memberof ReportRuleResultsApi
|
|
2469
2780
|
*/
|
|
2470
|
-
ReportRuleResultsApi.prototype.reportRuleResults = function (testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
2781
|
+
ReportRuleResultsApi.prototype.reportRuleResults = function (testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2471
2782
|
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); });
|
|
2783
|
+
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
2784
|
};
|
|
2474
2785
|
return ReportRuleResultsApi;
|
|
2475
2786
|
}(base_1.BaseAPI));
|
|
@@ -2753,14 +3064,16 @@ var ReportSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
2753
3064
|
* @summary Request Systems assigned to a Report
|
|
2754
3065
|
* @param {any} reportId
|
|
2755
3066
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3067
|
+
* @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
3068
|
* @param {any} [limit] Number of items to return per page
|
|
2757
3069
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3070
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2758
3071
|
* @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`, `
|
|
3072
|
+
* @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
3073
|
* @param {*} [options] Override http request option.
|
|
2761
3074
|
* @throws {RequiredError}
|
|
2762
3075
|
*/
|
|
2763
|
-
reportSystems: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3076
|
+
reportSystems: function (reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2764
3077
|
if (options === void 0) { options = {}; }
|
|
2765
3078
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
2766
3079
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -2776,12 +3089,18 @@ var ReportSystemsApiAxiosParamCreator = function (configuration) {
|
|
|
2776
3089
|
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
2777
3090
|
localVarHeaderParameter = {};
|
|
2778
3091
|
localVarQueryParameter = {};
|
|
3092
|
+
if (tags !== undefined) {
|
|
3093
|
+
localVarQueryParameter['tags'] = tags;
|
|
3094
|
+
}
|
|
2779
3095
|
if (limit !== undefined) {
|
|
2780
3096
|
localVarQueryParameter['limit'] = limit;
|
|
2781
3097
|
}
|
|
2782
3098
|
if (offset !== undefined) {
|
|
2783
3099
|
localVarQueryParameter['offset'] = offset;
|
|
2784
3100
|
}
|
|
3101
|
+
if (idsOnly !== undefined) {
|
|
3102
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
3103
|
+
}
|
|
2785
3104
|
if (sortBy !== undefined) {
|
|
2786
3105
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
2787
3106
|
}
|
|
@@ -2818,19 +3137,21 @@ var ReportSystemsApiFp = function (configuration) {
|
|
|
2818
3137
|
* @summary Request Systems assigned to a Report
|
|
2819
3138
|
* @param {any} reportId
|
|
2820
3139
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3140
|
+
* @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
3141
|
* @param {any} [limit] Number of items to return per page
|
|
2822
3142
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3143
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2823
3144
|
* @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`, `
|
|
3145
|
+
* @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
3146
|
* @param {*} [options] Override http request option.
|
|
2826
3147
|
* @throws {RequiredError}
|
|
2827
3148
|
*/
|
|
2828
|
-
reportSystems: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3149
|
+
reportSystems: function (reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2829
3150
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
2830
3151
|
var localVarAxiosArgs;
|
|
2831
3152
|
return tslib_1.__generator(this, function (_a) {
|
|
2832
3153
|
switch (_a.label) {
|
|
2833
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportSystems(reportId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
3154
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportSystems(reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options)];
|
|
2834
3155
|
case 1:
|
|
2835
3156
|
localVarAxiosArgs = _a.sent();
|
|
2836
3157
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -2853,15 +3174,17 @@ var ReportSystemsApiFactory = function (configuration, basePath, axios) {
|
|
|
2853
3174
|
* @summary Request Systems assigned to a Report
|
|
2854
3175
|
* @param {any} reportId
|
|
2855
3176
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3177
|
+
* @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
3178
|
* @param {any} [limit] Number of items to return per page
|
|
2857
3179
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3180
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2858
3181
|
* @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`, `
|
|
3182
|
+
* @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
3183
|
* @param {*} [options] Override http request option.
|
|
2861
3184
|
* @throws {RequiredError}
|
|
2862
3185
|
*/
|
|
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); });
|
|
3186
|
+
reportSystems: function (reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3187
|
+
return localVarFp.reportSystems(reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
2865
3188
|
},
|
|
2866
3189
|
};
|
|
2867
3190
|
};
|
|
@@ -2882,17 +3205,19 @@ var ReportSystemsApi = /** @class */ (function (_super) {
|
|
|
2882
3205
|
* @summary Request Systems assigned to a Report
|
|
2883
3206
|
* @param {any} reportId
|
|
2884
3207
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3208
|
+
* @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
3209
|
* @param {any} [limit] Number of items to return per page
|
|
2886
3210
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3211
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
2887
3212
|
* @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`, `
|
|
3213
|
+
* @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
3214
|
* @param {*} [options] Override http request option.
|
|
2890
3215
|
* @throws {RequiredError}
|
|
2891
3216
|
* @memberof ReportSystemsApi
|
|
2892
3217
|
*/
|
|
2893
|
-
ReportSystemsApi.prototype.reportSystems = function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3218
|
+
ReportSystemsApi.prototype.reportSystems = function (reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
2894
3219
|
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); });
|
|
3220
|
+
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
3221
|
};
|
|
2897
3222
|
return ReportSystemsApi;
|
|
2898
3223
|
}(base_1.BaseAPI));
|
|
@@ -3185,12 +3510,13 @@ var ReportTestResultsApiAxiosParamCreator = function (configuration) {
|
|
|
3185
3510
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3186
3511
|
* @param {any} [limit] Number of items to return per page
|
|
3187
3512
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3513
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3188
3514
|
* @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
3515
|
* @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
3516
|
* @param {*} [options] Override http request option.
|
|
3191
3517
|
* @throws {RequiredError}
|
|
3192
3518
|
*/
|
|
3193
|
-
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3519
|
+
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3194
3520
|
if (options === void 0) { options = {}; }
|
|
3195
3521
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
3196
3522
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3212,6 +3538,9 @@ var ReportTestResultsApiAxiosParamCreator = function (configuration) {
|
|
|
3212
3538
|
if (offset !== undefined) {
|
|
3213
3539
|
localVarQueryParameter['offset'] = offset;
|
|
3214
3540
|
}
|
|
3541
|
+
if (idsOnly !== undefined) {
|
|
3542
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
3543
|
+
}
|
|
3215
3544
|
if (sortBy !== undefined) {
|
|
3216
3545
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
3217
3546
|
}
|
|
@@ -3250,17 +3579,18 @@ var ReportTestResultsApiFp = function (configuration) {
|
|
|
3250
3579
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3251
3580
|
* @param {any} [limit] Number of items to return per page
|
|
3252
3581
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3582
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3253
3583
|
* @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
3584
|
* @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
3585
|
* @param {*} [options] Override http request option.
|
|
3256
3586
|
* @throws {RequiredError}
|
|
3257
3587
|
*/
|
|
3258
|
-
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3588
|
+
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3259
3589
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
3260
3590
|
var localVarAxiosArgs;
|
|
3261
3591
|
return tslib_1.__generator(this, function (_a) {
|
|
3262
3592
|
switch (_a.label) {
|
|
3263
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportTestResults(reportId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
3593
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reportTestResults(reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
3264
3594
|
case 1:
|
|
3265
3595
|
localVarAxiosArgs = _a.sent();
|
|
3266
3596
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3285,13 +3615,14 @@ var ReportTestResultsApiFactory = function (configuration, basePath, axios) {
|
|
|
3285
3615
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3286
3616
|
* @param {any} [limit] Number of items to return per page
|
|
3287
3617
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3618
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3288
3619
|
* @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
3620
|
* @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
3621
|
* @param {*} [options] Override http request option.
|
|
3291
3622
|
* @throws {RequiredError}
|
|
3292
3623
|
*/
|
|
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); });
|
|
3624
|
+
reportTestResults: function (reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3625
|
+
return localVarFp.reportTestResults(reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
3295
3626
|
},
|
|
3296
3627
|
};
|
|
3297
3628
|
};
|
|
@@ -3314,15 +3645,16 @@ var ReportTestResultsApi = /** @class */ (function (_super) {
|
|
|
3314
3645
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3315
3646
|
* @param {any} [limit] Number of items to return per page
|
|
3316
3647
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3648
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3317
3649
|
* @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
3650
|
* @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
3651
|
* @param {*} [options] Override http request option.
|
|
3320
3652
|
* @throws {RequiredError}
|
|
3321
3653
|
* @memberof ReportTestResultsApi
|
|
3322
3654
|
*/
|
|
3323
|
-
ReportTestResultsApi.prototype.reportTestResults = function (reportId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3655
|
+
ReportTestResultsApi.prototype.reportTestResults = function (reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3324
3656
|
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); });
|
|
3657
|
+
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
3658
|
};
|
|
3327
3659
|
return ReportTestResultsApi;
|
|
3328
3660
|
}(base_1.BaseAPI));
|
|
@@ -3479,12 +3811,13 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
3479
3811
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3480
3812
|
* @param {any} [limit] Number of items to return per page
|
|
3481
3813
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3814
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3482
3815
|
* @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
3816
|
* @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
3817
|
* @param {*} [options] Override http request option.
|
|
3485
3818
|
* @throws {RequiredError}
|
|
3486
3819
|
*/
|
|
3487
|
-
reports: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3820
|
+
reports: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3488
3821
|
if (options === void 0) { options = {}; }
|
|
3489
3822
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
3490
3823
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -3503,6 +3836,9 @@ var ReportsApiAxiosParamCreator = function (configuration) {
|
|
|
3503
3836
|
if (offset !== undefined) {
|
|
3504
3837
|
localVarQueryParameter['offset'] = offset;
|
|
3505
3838
|
}
|
|
3839
|
+
if (idsOnly !== undefined) {
|
|
3840
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
3841
|
+
}
|
|
3506
3842
|
if (sortBy !== undefined) {
|
|
3507
3843
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
3508
3844
|
}
|
|
@@ -3540,17 +3876,18 @@ var ReportsApiFp = function (configuration) {
|
|
|
3540
3876
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3541
3877
|
* @param {any} [limit] Number of items to return per page
|
|
3542
3878
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3879
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3543
3880
|
* @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
3881
|
* @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
3882
|
* @param {*} [options] Override http request option.
|
|
3546
3883
|
* @throws {RequiredError}
|
|
3547
3884
|
*/
|
|
3548
|
-
reports: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3885
|
+
reports: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3549
3886
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
3550
3887
|
var localVarAxiosArgs;
|
|
3551
3888
|
return tslib_1.__generator(this, function (_a) {
|
|
3552
3889
|
switch (_a.label) {
|
|
3553
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reports(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
3890
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.reports(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
3554
3891
|
case 1:
|
|
3555
3892
|
localVarAxiosArgs = _a.sent();
|
|
3556
3893
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -3574,13 +3911,14 @@ var ReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
3574
3911
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3575
3912
|
* @param {any} [limit] Number of items to return per page
|
|
3576
3913
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3914
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3577
3915
|
* @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
3916
|
* @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
3917
|
* @param {*} [options] Override http request option.
|
|
3580
3918
|
* @throws {RequiredError}
|
|
3581
3919
|
*/
|
|
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); });
|
|
3920
|
+
reports: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3921
|
+
return localVarFp.reports(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
3584
3922
|
},
|
|
3585
3923
|
};
|
|
3586
3924
|
};
|
|
@@ -3602,15 +3940,16 @@ var ReportsApi = /** @class */ (function (_super) {
|
|
|
3602
3940
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
3603
3941
|
* @param {any} [limit] Number of items to return per page
|
|
3604
3942
|
* @param {any} [offset] Offset of first item of paginated response
|
|
3943
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
3605
3944
|
* @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
3945
|
* @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
3946
|
* @param {*} [options] Override http request option.
|
|
3608
3947
|
* @throws {RequiredError}
|
|
3609
3948
|
* @memberof ReportsApi
|
|
3610
3949
|
*/
|
|
3611
|
-
ReportsApi.prototype.reports = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
3950
|
+
ReportsApi.prototype.reports = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
3612
3951
|
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); });
|
|
3952
|
+
return (0, exports.ReportsApiFp)(this.configuration).reports(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
3614
3953
|
};
|
|
3615
3954
|
return ReportsApi;
|
|
3616
3955
|
}(base_1.BaseAPI));
|
|
@@ -4031,12 +4370,13 @@ var RuleGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
4031
4370
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4032
4371
|
* @param {any} [limit] Number of items to return per page
|
|
4033
4372
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4373
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4034
4374
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4035
4375
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4036
4376
|
* @param {*} [options] Override http request option.
|
|
4037
4377
|
* @throws {RequiredError}
|
|
4038
4378
|
*/
|
|
4039
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4379
|
+
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4040
4380
|
if (options === void 0) { options = {}; }
|
|
4041
4381
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4042
4382
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4058,6 +4398,9 @@ var RuleGroupsApiAxiosParamCreator = function (configuration) {
|
|
|
4058
4398
|
if (offset !== undefined) {
|
|
4059
4399
|
localVarQueryParameter['offset'] = offset;
|
|
4060
4400
|
}
|
|
4401
|
+
if (idsOnly !== undefined) {
|
|
4402
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4403
|
+
}
|
|
4061
4404
|
if (sortBy !== undefined) {
|
|
4062
4405
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4063
4406
|
}
|
|
@@ -4096,17 +4439,18 @@ var RuleGroupsApiFp = function (configuration) {
|
|
|
4096
4439
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4097
4440
|
* @param {any} [limit] Number of items to return per page
|
|
4098
4441
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4442
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4099
4443
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4100
4444
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4101
4445
|
* @param {*} [options] Override http request option.
|
|
4102
4446
|
* @throws {RequiredError}
|
|
4103
4447
|
*/
|
|
4104
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4448
|
+
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4105
4449
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4106
4450
|
var localVarAxiosArgs;
|
|
4107
4451
|
return tslib_1.__generator(this, function (_a) {
|
|
4108
4452
|
switch (_a.label) {
|
|
4109
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
4453
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
4110
4454
|
case 1:
|
|
4111
4455
|
localVarAxiosArgs = _a.sent();
|
|
4112
4456
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4131,13 +4475,14 @@ var RuleGroupsApiFactory = function (configuration, basePath, axios) {
|
|
|
4131
4475
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4132
4476
|
* @param {any} [limit] Number of items to return per page
|
|
4133
4477
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4478
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4134
4479
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4135
4480
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4136
4481
|
* @param {*} [options] Override http request option.
|
|
4137
4482
|
* @throws {RequiredError}
|
|
4138
4483
|
*/
|
|
4139
|
-
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4140
|
-
return localVarFp.ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4484
|
+
ruleGroups: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4485
|
+
return localVarFp.ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4141
4486
|
},
|
|
4142
4487
|
};
|
|
4143
4488
|
};
|
|
@@ -4160,15 +4505,16 @@ var RuleGroupsApi = /** @class */ (function (_super) {
|
|
|
4160
4505
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4161
4506
|
* @param {any} [limit] Number of items to return per page
|
|
4162
4507
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4508
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4163
4509
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4164
4510
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rule Groups are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4165
4511
|
* @param {*} [options] Override http request option.
|
|
4166
4512
|
* @throws {RequiredError}
|
|
4167
4513
|
* @memberof RuleGroupsApi
|
|
4168
4514
|
*/
|
|
4169
|
-
RuleGroupsApi.prototype.ruleGroups = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4515
|
+
RuleGroupsApi.prototype.ruleGroups = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4170
4516
|
var _this = this;
|
|
4171
|
-
return (0, exports.RuleGroupsApiFp)(this.configuration).ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4517
|
+
return (0, exports.RuleGroupsApiFp)(this.configuration).ruleGroups(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4172
4518
|
};
|
|
4173
4519
|
return RuleGroupsApi;
|
|
4174
4520
|
}(base_1.BaseAPI));
|
|
@@ -4187,12 +4533,13 @@ var RulesApiAxiosParamCreator = function (configuration) {
|
|
|
4187
4533
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4188
4534
|
* @param {any} [limit] Number of items to return per page
|
|
4189
4535
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4536
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4190
4537
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4191
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
4538
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4192
4539
|
* @param {*} [options] Override http request option.
|
|
4193
4540
|
* @throws {RequiredError}
|
|
4194
4541
|
*/
|
|
4195
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4542
|
+
rules: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4196
4543
|
if (options === void 0) { options = {}; }
|
|
4197
4544
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4198
4545
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4214,6 +4561,9 @@ var RulesApiAxiosParamCreator = function (configuration) {
|
|
|
4214
4561
|
if (offset !== undefined) {
|
|
4215
4562
|
localVarQueryParameter['offset'] = offset;
|
|
4216
4563
|
}
|
|
4564
|
+
if (idsOnly !== undefined) {
|
|
4565
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4566
|
+
}
|
|
4217
4567
|
if (sortBy !== undefined) {
|
|
4218
4568
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4219
4569
|
}
|
|
@@ -4252,17 +4602,18 @@ var RulesApiFp = function (configuration) {
|
|
|
4252
4602
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4253
4603
|
* @param {any} [limit] Number of items to return per page
|
|
4254
4604
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4605
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4255
4606
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4256
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
4607
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4257
4608
|
* @param {*} [options] Override http request option.
|
|
4258
4609
|
* @throws {RequiredError}
|
|
4259
4610
|
*/
|
|
4260
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4611
|
+
rules: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4261
4612
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4262
4613
|
var localVarAxiosArgs;
|
|
4263
4614
|
return tslib_1.__generator(this, function (_a) {
|
|
4264
4615
|
switch (_a.label) {
|
|
4265
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.rules(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
4616
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.rules(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
4266
4617
|
case 1:
|
|
4267
4618
|
localVarAxiosArgs = _a.sent();
|
|
4268
4619
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4287,13 +4638,14 @@ var RulesApiFactory = function (configuration, basePath, axios) {
|
|
|
4287
4638
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4288
4639
|
* @param {any} [limit] Number of items to return per page
|
|
4289
4640
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4641
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4290
4642
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4291
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
4643
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4292
4644
|
* @param {*} [options] Override http request option.
|
|
4293
4645
|
* @throws {RequiredError}
|
|
4294
4646
|
*/
|
|
4295
|
-
rules: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4296
|
-
return localVarFp.rules(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4647
|
+
rules: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4648
|
+
return localVarFp.rules(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4297
4649
|
},
|
|
4298
4650
|
};
|
|
4299
4651
|
};
|
|
@@ -4316,15 +4668,16 @@ var RulesApi = /** @class */ (function (_super) {
|
|
|
4316
4668
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4317
4669
|
* @param {any} [limit] Number of items to return per page
|
|
4318
4670
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4671
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4319
4672
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4320
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
4673
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4321
4674
|
* @param {*} [options] Override http request option.
|
|
4322
4675
|
* @throws {RequiredError}
|
|
4323
4676
|
* @memberof RulesApi
|
|
4324
4677
|
*/
|
|
4325
|
-
RulesApi.prototype.rules = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4678
|
+
RulesApi.prototype.rules = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4326
4679
|
var _this = this;
|
|
4327
|
-
return (0, exports.RulesApiFp)(this.configuration).rules(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4680
|
+
return (0, exports.RulesApiFp)(this.configuration).rules(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4328
4681
|
};
|
|
4329
4682
|
return RulesApi;
|
|
4330
4683
|
}(base_1.BaseAPI));
|
|
@@ -4598,12 +4951,13 @@ var SecurityGuidesApiAxiosParamCreator = function (configuration) {
|
|
|
4598
4951
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4599
4952
|
* @param {any} [limit] Number of items to return per page
|
|
4600
4953
|
* @param {any} [offset] Offset of first item of paginated response
|
|
4954
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4601
4955
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4602
4956
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4603
4957
|
* @param {*} [options] Override http request option.
|
|
4604
4958
|
* @throws {RequiredError}
|
|
4605
4959
|
*/
|
|
4606
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4960
|
+
securityGuides: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4607
4961
|
if (options === void 0) { options = {}; }
|
|
4608
4962
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4609
4963
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4622,6 +4976,9 @@ var SecurityGuidesApiAxiosParamCreator = function (configuration) {
|
|
|
4622
4976
|
if (offset !== undefined) {
|
|
4623
4977
|
localVarQueryParameter['offset'] = offset;
|
|
4624
4978
|
}
|
|
4979
|
+
if (idsOnly !== undefined) {
|
|
4980
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
4981
|
+
}
|
|
4625
4982
|
if (sortBy !== undefined) {
|
|
4626
4983
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4627
4984
|
}
|
|
@@ -4659,17 +5016,18 @@ var SecurityGuidesApiFp = function (configuration) {
|
|
|
4659
5016
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4660
5017
|
* @param {any} [limit] Number of items to return per page
|
|
4661
5018
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5019
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4662
5020
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4663
5021
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4664
5022
|
* @param {*} [options] Override http request option.
|
|
4665
5023
|
* @throws {RequiredError}
|
|
4666
5024
|
*/
|
|
4667
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5025
|
+
securityGuides: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4668
5026
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4669
5027
|
var localVarAxiosArgs;
|
|
4670
5028
|
return tslib_1.__generator(this, function (_a) {
|
|
4671
5029
|
switch (_a.label) {
|
|
4672
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.securityGuides(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
5030
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.securityGuides(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
4673
5031
|
case 1:
|
|
4674
5032
|
localVarAxiosArgs = _a.sent();
|
|
4675
5033
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4693,13 +5051,14 @@ var SecurityGuidesApiFactory = function (configuration, basePath, axios) {
|
|
|
4693
5051
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4694
5052
|
* @param {any} [limit] Number of items to return per page
|
|
4695
5053
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5054
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4696
5055
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4697
5056
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4698
5057
|
* @param {*} [options] Override http request option.
|
|
4699
5058
|
* @throws {RequiredError}
|
|
4700
5059
|
*/
|
|
4701
|
-
securityGuides: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4702
|
-
return localVarFp.securityGuides(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5060
|
+
securityGuides: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5061
|
+
return localVarFp.securityGuides(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4703
5062
|
},
|
|
4704
5063
|
};
|
|
4705
5064
|
};
|
|
@@ -4721,15 +5080,16 @@ var SecurityGuidesApi = /** @class */ (function (_super) {
|
|
|
4721
5080
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4722
5081
|
* @param {any} [limit] Number of items to return per page
|
|
4723
5082
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5083
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4724
5084
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4725
5085
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Security Guides are searchable using attributes `title`, `version`, `ref_id`, `os_major_version`, `profile_ref_id`, and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4726
5086
|
* @param {*} [options] Override http request option.
|
|
4727
5087
|
* @throws {RequiredError}
|
|
4728
5088
|
* @memberof SecurityGuidesApi
|
|
4729
5089
|
*/
|
|
4730
|
-
SecurityGuidesApi.prototype.securityGuides = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5090
|
+
SecurityGuidesApi.prototype.securityGuides = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4731
5091
|
var _this = this;
|
|
4732
|
-
return (0, exports.SecurityGuidesApiFp)(this.configuration).securityGuides(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5092
|
+
return (0, exports.SecurityGuidesApiFp)(this.configuration).securityGuides(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4733
5093
|
};
|
|
4734
5094
|
return SecurityGuidesApi;
|
|
4735
5095
|
}(base_1.BaseAPI));
|
|
@@ -4879,12 +5239,13 @@ var SupportedProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
4879
5239
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4880
5240
|
* @param {any} [limit] Number of items to return per page
|
|
4881
5241
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5242
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4882
5243
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4883
5244
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4884
5245
|
* @param {*} [options] Override http request option.
|
|
4885
5246
|
* @throws {RequiredError}
|
|
4886
5247
|
*/
|
|
4887
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5248
|
+
supportedProfiles: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4888
5249
|
if (options === void 0) { options = {}; }
|
|
4889
5250
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
4890
5251
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4903,6 +5264,9 @@ var SupportedProfilesApiAxiosParamCreator = function (configuration) {
|
|
|
4903
5264
|
if (offset !== undefined) {
|
|
4904
5265
|
localVarQueryParameter['offset'] = offset;
|
|
4905
5266
|
}
|
|
5267
|
+
if (idsOnly !== undefined) {
|
|
5268
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5269
|
+
}
|
|
4906
5270
|
if (sortBy !== undefined) {
|
|
4907
5271
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
4908
5272
|
}
|
|
@@ -4940,17 +5304,18 @@ var SupportedProfilesApiFp = function (configuration) {
|
|
|
4940
5304
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4941
5305
|
* @param {any} [limit] Number of items to return per page
|
|
4942
5306
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5307
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4943
5308
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4944
5309
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4945
5310
|
* @param {*} [options] Override http request option.
|
|
4946
5311
|
* @throws {RequiredError}
|
|
4947
5312
|
*/
|
|
4948
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5313
|
+
supportedProfiles: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
4949
5314
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
4950
5315
|
var localVarAxiosArgs;
|
|
4951
5316
|
return tslib_1.__generator(this, function (_a) {
|
|
4952
5317
|
switch (_a.label) {
|
|
4953
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.supportedProfiles(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
5318
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.supportedProfiles(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
4954
5319
|
case 1:
|
|
4955
5320
|
localVarAxiosArgs = _a.sent();
|
|
4956
5321
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4974,13 +5339,14 @@ var SupportedProfilesApiFactory = function (configuration, basePath, axios) {
|
|
|
4974
5339
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
4975
5340
|
* @param {any} [limit] Number of items to return per page
|
|
4976
5341
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5342
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
4977
5343
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
4978
5344
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
4979
5345
|
* @param {*} [options] Override http request option.
|
|
4980
5346
|
* @throws {RequiredError}
|
|
4981
5347
|
*/
|
|
4982
|
-
supportedProfiles: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
4983
|
-
return localVarFp.supportedProfiles(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5348
|
+
supportedProfiles: function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5349
|
+
return localVarFp.supportedProfiles(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
4984
5350
|
},
|
|
4985
5351
|
};
|
|
4986
5352
|
};
|
|
@@ -5002,15 +5368,16 @@ var SupportedProfilesApi = /** @class */ (function (_super) {
|
|
|
5002
5368
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5003
5369
|
* @param {any} [limit] Number of items to return per page
|
|
5004
5370
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5371
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5005
5372
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5006
5373
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Supported Profiles are searchable using attributes `os_major_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5007
5374
|
* @param {*} [options] Override http request option.
|
|
5008
5375
|
* @throws {RequiredError}
|
|
5009
5376
|
* @memberof SupportedProfilesApi
|
|
5010
5377
|
*/
|
|
5011
|
-
SupportedProfilesApi.prototype.supportedProfiles = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5378
|
+
SupportedProfilesApi.prototype.supportedProfiles = function (xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5012
5379
|
var _this = this;
|
|
5013
|
-
return (0, exports.SupportedProfilesApiFp)(this.configuration).supportedProfiles(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5380
|
+
return (0, exports.SupportedProfilesApiFp)(this.configuration).supportedProfiles(xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5014
5381
|
};
|
|
5015
5382
|
return SupportedProfilesApi;
|
|
5016
5383
|
}(base_1.BaseAPI));
|
|
@@ -5157,12 +5524,13 @@ var SystemReportsApiAxiosParamCreator = function (configuration) {
|
|
|
5157
5524
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5158
5525
|
* @param {any} [limit] Number of items to return per page
|
|
5159
5526
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5527
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5160
5528
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5161
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`
|
|
5529
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5162
5530
|
* @param {*} [options] Override http request option.
|
|
5163
5531
|
* @throws {RequiredError}
|
|
5164
5532
|
*/
|
|
5165
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5533
|
+
systemReports: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5166
5534
|
if (options === void 0) { options = {}; }
|
|
5167
5535
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5168
5536
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5184,6 +5552,9 @@ var SystemReportsApiAxiosParamCreator = function (configuration) {
|
|
|
5184
5552
|
if (offset !== undefined) {
|
|
5185
5553
|
localVarQueryParameter['offset'] = offset;
|
|
5186
5554
|
}
|
|
5555
|
+
if (idsOnly !== undefined) {
|
|
5556
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5557
|
+
}
|
|
5187
5558
|
if (sortBy !== undefined) {
|
|
5188
5559
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5189
5560
|
}
|
|
@@ -5222,17 +5593,18 @@ var SystemReportsApiFp = function (configuration) {
|
|
|
5222
5593
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5223
5594
|
* @param {any} [limit] Number of items to return per page
|
|
5224
5595
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5596
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5225
5597
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5226
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`
|
|
5598
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5227
5599
|
* @param {*} [options] Override http request option.
|
|
5228
5600
|
* @throws {RequiredError}
|
|
5229
5601
|
*/
|
|
5230
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5602
|
+
systemReports: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5231
5603
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5232
5604
|
var localVarAxiosArgs;
|
|
5233
5605
|
return tslib_1.__generator(this, function (_a) {
|
|
5234
5606
|
switch (_a.label) {
|
|
5235
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systemReports(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
5607
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systemReports(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
5236
5608
|
case 1:
|
|
5237
5609
|
localVarAxiosArgs = _a.sent();
|
|
5238
5610
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5257,13 +5629,14 @@ var SystemReportsApiFactory = function (configuration, basePath, axios) {
|
|
|
5257
5629
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5258
5630
|
* @param {any} [limit] Number of items to return per page
|
|
5259
5631
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5632
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5260
5633
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5261
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`
|
|
5634
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5262
5635
|
* @param {*} [options] Override http request option.
|
|
5263
5636
|
* @throws {RequiredError}
|
|
5264
5637
|
*/
|
|
5265
|
-
systemReports: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5266
|
-
return localVarFp.systemReports(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5638
|
+
systemReports: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5639
|
+
return localVarFp.systemReports(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5267
5640
|
},
|
|
5268
5641
|
};
|
|
5269
5642
|
};
|
|
@@ -5286,15 +5659,16 @@ var SystemReportsApi = /** @class */ (function (_super) {
|
|
|
5286
5659
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5287
5660
|
* @param {any} [limit] Number of items to return per page
|
|
5288
5661
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5662
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5289
5663
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5290
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`
|
|
5664
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Reports are searchable using attributes `title`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5291
5665
|
* @param {*} [options] Override http request option.
|
|
5292
5666
|
* @throws {RequiredError}
|
|
5293
5667
|
* @memberof SystemReportsApi
|
|
5294
5668
|
*/
|
|
5295
|
-
SystemReportsApi.prototype.systemReports = function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5669
|
+
SystemReportsApi.prototype.systemReports = function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5296
5670
|
var _this = this;
|
|
5297
|
-
return (0, exports.SystemReportsApiFp)(this.configuration).systemReports(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5671
|
+
return (0, exports.SystemReportsApiFp)(this.configuration).systemReports(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5298
5672
|
};
|
|
5299
5673
|
return SystemReportsApi;
|
|
5300
5674
|
}(base_1.BaseAPI));
|
|
@@ -5310,14 +5684,16 @@ var SystemsApiAxiosParamCreator = function (configuration) {
|
|
|
5310
5684
|
* Lists Systems
|
|
5311
5685
|
* @summary Request Systems
|
|
5312
5686
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5687
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
5313
5688
|
* @param {any} [limit] Number of items to return per page
|
|
5314
5689
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5690
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5315
5691
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5316
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
5692
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5317
5693
|
* @param {*} [options] Override http request option.
|
|
5318
5694
|
* @throws {RequiredError}
|
|
5319
5695
|
*/
|
|
5320
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5696
|
+
systems: function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5321
5697
|
if (options === void 0) { options = {}; }
|
|
5322
5698
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5323
5699
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5330,12 +5706,18 @@ var SystemsApiAxiosParamCreator = function (configuration) {
|
|
|
5330
5706
|
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
5331
5707
|
localVarHeaderParameter = {};
|
|
5332
5708
|
localVarQueryParameter = {};
|
|
5709
|
+
if (tags !== undefined) {
|
|
5710
|
+
localVarQueryParameter['tags'] = tags;
|
|
5711
|
+
}
|
|
5333
5712
|
if (limit !== undefined) {
|
|
5334
5713
|
localVarQueryParameter['limit'] = limit;
|
|
5335
5714
|
}
|
|
5336
5715
|
if (offset !== undefined) {
|
|
5337
5716
|
localVarQueryParameter['offset'] = offset;
|
|
5338
5717
|
}
|
|
5718
|
+
if (idsOnly !== undefined) {
|
|
5719
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
5720
|
+
}
|
|
5339
5721
|
if (sortBy !== undefined) {
|
|
5340
5722
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5341
5723
|
}
|
|
@@ -5371,19 +5753,21 @@ var SystemsApiFp = function (configuration) {
|
|
|
5371
5753
|
* Lists Systems
|
|
5372
5754
|
* @summary Request Systems
|
|
5373
5755
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5756
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
5374
5757
|
* @param {any} [limit] Number of items to return per page
|
|
5375
5758
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5759
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5376
5760
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5377
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
5761
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5378
5762
|
* @param {*} [options] Override http request option.
|
|
5379
5763
|
* @throws {RequiredError}
|
|
5380
5764
|
*/
|
|
5381
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5765
|
+
systems: function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5382
5766
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5383
5767
|
var localVarAxiosArgs;
|
|
5384
5768
|
return tslib_1.__generator(this, function (_a) {
|
|
5385
5769
|
switch (_a.label) {
|
|
5386
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systems(xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
5770
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systems(xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options)];
|
|
5387
5771
|
case 1:
|
|
5388
5772
|
localVarAxiosArgs = _a.sent();
|
|
5389
5773
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5405,15 +5789,17 @@ var SystemsApiFactory = function (configuration, basePath, axios) {
|
|
|
5405
5789
|
* Lists Systems
|
|
5406
5790
|
* @summary Request Systems
|
|
5407
5791
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5792
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
5408
5793
|
* @param {any} [limit] Number of items to return per page
|
|
5409
5794
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5795
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5410
5796
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5411
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
5797
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5412
5798
|
* @param {*} [options] Override http request option.
|
|
5413
5799
|
* @throws {RequiredError}
|
|
5414
5800
|
*/
|
|
5415
|
-
systems: function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5416
|
-
return localVarFp.systems(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5801
|
+
systems: function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5802
|
+
return localVarFp.systems(xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5417
5803
|
},
|
|
5418
5804
|
};
|
|
5419
5805
|
};
|
|
@@ -5433,17 +5819,19 @@ var SystemsApi = /** @class */ (function (_super) {
|
|
|
5433
5819
|
* Lists Systems
|
|
5434
5820
|
* @summary Request Systems
|
|
5435
5821
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5822
|
+
* @param {any} [tags] An array of tags to narrow down the search results. In case the value contains symbols used for separators (`/` or `=`), they need to be encoded.<br>e.g.: `namespace/key=value`, `insights-client/selinux-config=SELINUX%3Denforcing`
|
|
5436
5823
|
* @param {any} [limit] Number of items to return per page
|
|
5437
5824
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5825
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5438
5826
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5439
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `
|
|
5827
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Systems are searchable using attributes `display_name`, `os_major_version`, `os_minor_version`, `assigned_or_scanned`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5440
5828
|
* @param {*} [options] Override http request option.
|
|
5441
5829
|
* @throws {RequiredError}
|
|
5442
5830
|
* @memberof SystemsApi
|
|
5443
5831
|
*/
|
|
5444
|
-
SystemsApi.prototype.systems = function (xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5832
|
+
SystemsApi.prototype.systems = function (xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5445
5833
|
var _this = this;
|
|
5446
|
-
return (0, exports.SystemsApiFp)(this.configuration).systems(xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5834
|
+
return (0, exports.SystemsApiFp)(this.configuration).systems(xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5447
5835
|
};
|
|
5448
5836
|
return SystemsApi;
|
|
5449
5837
|
}(base_1.BaseAPI));
|
|
@@ -5594,12 +5982,13 @@ var SystemsPoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
5594
5982
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5595
5983
|
* @param {any} [limit] Number of items to return per page
|
|
5596
5984
|
* @param {any} [offset] Offset of first item of paginated response
|
|
5985
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5597
5986
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5598
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`
|
|
5987
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5599
5988
|
* @param {*} [options] Override http request option.
|
|
5600
5989
|
* @throws {RequiredError}
|
|
5601
5990
|
*/
|
|
5602
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5991
|
+
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5603
5992
|
if (options === void 0) { options = {}; }
|
|
5604
5993
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
5605
5994
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -5621,6 +6010,9 @@ var SystemsPoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
5621
6010
|
if (offset !== undefined) {
|
|
5622
6011
|
localVarQueryParameter['offset'] = offset;
|
|
5623
6012
|
}
|
|
6013
|
+
if (idsOnly !== undefined) {
|
|
6014
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
6015
|
+
}
|
|
5624
6016
|
if (sortBy !== undefined) {
|
|
5625
6017
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
5626
6018
|
}
|
|
@@ -5659,17 +6051,18 @@ var SystemsPoliciesApiFp = function (configuration) {
|
|
|
5659
6051
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5660
6052
|
* @param {any} [limit] Number of items to return per page
|
|
5661
6053
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6054
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5662
6055
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5663
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`
|
|
6056
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5664
6057
|
* @param {*} [options] Override http request option.
|
|
5665
6058
|
* @throws {RequiredError}
|
|
5666
6059
|
*/
|
|
5667
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6060
|
+
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5668
6061
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
5669
6062
|
var localVarAxiosArgs;
|
|
5670
6063
|
return tslib_1.__generator(this, function (_a) {
|
|
5671
6064
|
switch (_a.label) {
|
|
5672
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systemsPolicies(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
6065
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.systemsPolicies(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
5673
6066
|
case 1:
|
|
5674
6067
|
localVarAxiosArgs = _a.sent();
|
|
5675
6068
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -5694,13 +6087,14 @@ var SystemsPoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
5694
6087
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5695
6088
|
* @param {any} [limit] Number of items to return per page
|
|
5696
6089
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6090
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5697
6091
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5698
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`
|
|
6092
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5699
6093
|
* @param {*} [options] Override http request option.
|
|
5700
6094
|
* @throws {RequiredError}
|
|
5701
6095
|
*/
|
|
5702
|
-
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
5703
|
-
return localVarFp.systemsPolicies(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6096
|
+
systemsPolicies: function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6097
|
+
return localVarFp.systemsPolicies(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
5704
6098
|
},
|
|
5705
6099
|
};
|
|
5706
6100
|
};
|
|
@@ -5723,15 +6117,16 @@ var SystemsPoliciesApi = /** @class */ (function (_super) {
|
|
|
5723
6117
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
5724
6118
|
* @param {any} [limit] Number of items to return per page
|
|
5725
6119
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6120
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
5726
6121
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
5727
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title`
|
|
6122
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Policies are searchable using attributes `title` and `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
5728
6123
|
* @param {*} [options] Override http request option.
|
|
5729
6124
|
* @throws {RequiredError}
|
|
5730
6125
|
* @memberof SystemsPoliciesApi
|
|
5731
6126
|
*/
|
|
5732
|
-
SystemsPoliciesApi.prototype.systemsPolicies = function (systemId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6127
|
+
SystemsPoliciesApi.prototype.systemsPolicies = function (systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
5733
6128
|
var _this = this;
|
|
5734
|
-
return (0, exports.SystemsPoliciesApiFp)(this.configuration).systemsPolicies(systemId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6129
|
+
return (0, exports.SystemsPoliciesApiFp)(this.configuration).systemsPolicies(systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5735
6130
|
};
|
|
5736
6131
|
return SystemsPoliciesApi;
|
|
5737
6132
|
}(base_1.BaseAPI));
|
|
@@ -6006,6 +6401,141 @@ var TailoringFileApi = /** @class */ (function (_super) {
|
|
|
6006
6401
|
return TailoringFileApi;
|
|
6007
6402
|
}(base_1.BaseAPI));
|
|
6008
6403
|
exports.TailoringFileApi = TailoringFileApi;
|
|
6404
|
+
/**
|
|
6405
|
+
* TailoringRuleTreeApi - axios parameter creator
|
|
6406
|
+
* @export
|
|
6407
|
+
*/
|
|
6408
|
+
var TailoringRuleTreeApiAxiosParamCreator = function (configuration) {
|
|
6409
|
+
var _this = this;
|
|
6410
|
+
return {
|
|
6411
|
+
/**
|
|
6412
|
+
* Returns the Rule Tree of a Tailoring
|
|
6413
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
6414
|
+
* @param {any} policyId
|
|
6415
|
+
* @param {any} tailoringId
|
|
6416
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
6417
|
+
* @param {*} [options] Override http request option.
|
|
6418
|
+
* @throws {RequiredError}
|
|
6419
|
+
*/
|
|
6420
|
+
tailoringRuleTree: function (policyId, tailoringId, xRHIDENTITY, options) {
|
|
6421
|
+
if (options === void 0) { options = {}; }
|
|
6422
|
+
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
6423
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6424
|
+
return tslib_1.__generator(this, function (_a) {
|
|
6425
|
+
// verify required parameter 'policyId' is not null or undefined
|
|
6426
|
+
(0, common_1.assertParamExists)('tailoringRuleTree', 'policyId', policyId);
|
|
6427
|
+
// verify required parameter 'tailoringId' is not null or undefined
|
|
6428
|
+
(0, common_1.assertParamExists)('tailoringRuleTree', 'tailoringId', tailoringId);
|
|
6429
|
+
localVarPath = "/policies/{policy_id}/tailorings/{tailoring_id}/rule_tree"
|
|
6430
|
+
.replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)))
|
|
6431
|
+
.replace("{".concat("tailoring_id", "}"), encodeURIComponent(String(tailoringId)));
|
|
6432
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6433
|
+
if (configuration) {
|
|
6434
|
+
baseOptions = configuration.baseOptions;
|
|
6435
|
+
}
|
|
6436
|
+
localVarRequestOptions = tslib_1.__assign(tslib_1.__assign({ method: 'GET' }, baseOptions), options);
|
|
6437
|
+
localVarHeaderParameter = {};
|
|
6438
|
+
localVarQueryParameter = {};
|
|
6439
|
+
if (xRHIDENTITY != null) {
|
|
6440
|
+
localVarHeaderParameter['X-RH-IDENTITY'] = typeof xRHIDENTITY === 'string'
|
|
6441
|
+
? xRHIDENTITY
|
|
6442
|
+
: JSON.stringify(xRHIDENTITY);
|
|
6443
|
+
}
|
|
6444
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6445
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6446
|
+
localVarRequestOptions.headers = tslib_1.__assign(tslib_1.__assign(tslib_1.__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6447
|
+
return [2 /*return*/, {
|
|
6448
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6449
|
+
options: localVarRequestOptions,
|
|
6450
|
+
}];
|
|
6451
|
+
});
|
|
6452
|
+
});
|
|
6453
|
+
},
|
|
6454
|
+
};
|
|
6455
|
+
};
|
|
6456
|
+
exports.TailoringRuleTreeApiAxiosParamCreator = TailoringRuleTreeApiAxiosParamCreator;
|
|
6457
|
+
/**
|
|
6458
|
+
* TailoringRuleTreeApi - functional programming interface
|
|
6459
|
+
* @export
|
|
6460
|
+
*/
|
|
6461
|
+
var TailoringRuleTreeApiFp = function (configuration) {
|
|
6462
|
+
var localVarAxiosParamCreator = (0, exports.TailoringRuleTreeApiAxiosParamCreator)(configuration);
|
|
6463
|
+
return {
|
|
6464
|
+
/**
|
|
6465
|
+
* Returns the Rule Tree of a Tailoring
|
|
6466
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
6467
|
+
* @param {any} policyId
|
|
6468
|
+
* @param {any} tailoringId
|
|
6469
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
6470
|
+
* @param {*} [options] Override http request option.
|
|
6471
|
+
* @throws {RequiredError}
|
|
6472
|
+
*/
|
|
6473
|
+
tailoringRuleTree: function (policyId, tailoringId, xRHIDENTITY, options) {
|
|
6474
|
+
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
6475
|
+
var localVarAxiosArgs;
|
|
6476
|
+
return tslib_1.__generator(this, function (_a) {
|
|
6477
|
+
switch (_a.label) {
|
|
6478
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailoringRuleTree(policyId, tailoringId, xRHIDENTITY, options)];
|
|
6479
|
+
case 1:
|
|
6480
|
+
localVarAxiosArgs = _a.sent();
|
|
6481
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6482
|
+
}
|
|
6483
|
+
});
|
|
6484
|
+
});
|
|
6485
|
+
},
|
|
6486
|
+
};
|
|
6487
|
+
};
|
|
6488
|
+
exports.TailoringRuleTreeApiFp = TailoringRuleTreeApiFp;
|
|
6489
|
+
/**
|
|
6490
|
+
* TailoringRuleTreeApi - factory interface
|
|
6491
|
+
* @export
|
|
6492
|
+
*/
|
|
6493
|
+
var TailoringRuleTreeApiFactory = function (configuration, basePath, axios) {
|
|
6494
|
+
var localVarFp = (0, exports.TailoringRuleTreeApiFp)(configuration);
|
|
6495
|
+
return {
|
|
6496
|
+
/**
|
|
6497
|
+
* Returns the Rule Tree of a Tailoring
|
|
6498
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
6499
|
+
* @param {any} policyId
|
|
6500
|
+
* @param {any} tailoringId
|
|
6501
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
6502
|
+
* @param {*} [options] Override http request option.
|
|
6503
|
+
* @throws {RequiredError}
|
|
6504
|
+
*/
|
|
6505
|
+
tailoringRuleTree: function (policyId, tailoringId, xRHIDENTITY, options) {
|
|
6506
|
+
return localVarFp.tailoringRuleTree(policyId, tailoringId, xRHIDENTITY, options).then(function (request) { return request(axios, basePath); });
|
|
6507
|
+
},
|
|
6508
|
+
};
|
|
6509
|
+
};
|
|
6510
|
+
exports.TailoringRuleTreeApiFactory = TailoringRuleTreeApiFactory;
|
|
6511
|
+
/**
|
|
6512
|
+
* TailoringRuleTreeApi - object-oriented interface
|
|
6513
|
+
* @export
|
|
6514
|
+
* @class TailoringRuleTreeApi
|
|
6515
|
+
* @extends {BaseAPI}
|
|
6516
|
+
*/
|
|
6517
|
+
var TailoringRuleTreeApi = /** @class */ (function (_super) {
|
|
6518
|
+
tslib_1.__extends(TailoringRuleTreeApi, _super);
|
|
6519
|
+
function TailoringRuleTreeApi() {
|
|
6520
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
6521
|
+
}
|
|
6522
|
+
/**
|
|
6523
|
+
* Returns the Rule Tree of a Tailoring
|
|
6524
|
+
* @summary Request the Rule Tree of a Tailoring
|
|
6525
|
+
* @param {any} policyId
|
|
6526
|
+
* @param {any} tailoringId
|
|
6527
|
+
* @param {any} [xRHIDENTITY] For internal use only
|
|
6528
|
+
* @param {*} [options] Override http request option.
|
|
6529
|
+
* @throws {RequiredError}
|
|
6530
|
+
* @memberof TailoringRuleTreeApi
|
|
6531
|
+
*/
|
|
6532
|
+
TailoringRuleTreeApi.prototype.tailoringRuleTree = function (policyId, tailoringId, xRHIDENTITY, options) {
|
|
6533
|
+
var _this = this;
|
|
6534
|
+
return (0, exports.TailoringRuleTreeApiFp)(this.configuration).tailoringRuleTree(policyId, tailoringId, xRHIDENTITY, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6535
|
+
};
|
|
6536
|
+
return TailoringRuleTreeApi;
|
|
6537
|
+
}(base_1.BaseAPI));
|
|
6538
|
+
exports.TailoringRuleTreeApi = TailoringRuleTreeApi;
|
|
6009
6539
|
/**
|
|
6010
6540
|
* TailoringRulesApi - axios parameter creator
|
|
6011
6541
|
* @export
|
|
@@ -6021,12 +6551,13 @@ var TailoringRulesApiAxiosParamCreator = function (configuration) {
|
|
|
6021
6551
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6022
6552
|
* @param {any} [limit] Number of items to return per page
|
|
6023
6553
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6554
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6024
6555
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6025
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
6556
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6026
6557
|
* @param {*} [options] Override http request option.
|
|
6027
6558
|
* @throws {RequiredError}
|
|
6028
6559
|
*/
|
|
6029
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6560
|
+
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6030
6561
|
if (options === void 0) { options = {}; }
|
|
6031
6562
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
6032
6563
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6051,6 +6582,9 @@ var TailoringRulesApiAxiosParamCreator = function (configuration) {
|
|
|
6051
6582
|
if (offset !== undefined) {
|
|
6052
6583
|
localVarQueryParameter['offset'] = offset;
|
|
6053
6584
|
}
|
|
6585
|
+
if (idsOnly !== undefined) {
|
|
6586
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
6587
|
+
}
|
|
6054
6588
|
if (sortBy !== undefined) {
|
|
6055
6589
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
6056
6590
|
}
|
|
@@ -6090,17 +6624,18 @@ var TailoringRulesApiFp = function (configuration) {
|
|
|
6090
6624
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6091
6625
|
* @param {any} [limit] Number of items to return per page
|
|
6092
6626
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6627
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6093
6628
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6094
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
6629
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6095
6630
|
* @param {*} [options] Override http request option.
|
|
6096
6631
|
* @throws {RequiredError}
|
|
6097
6632
|
*/
|
|
6098
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6633
|
+
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6099
6634
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
6100
6635
|
var localVarAxiosArgs;
|
|
6101
6636
|
return tslib_1.__generator(this, function (_a) {
|
|
6102
6637
|
switch (_a.label) {
|
|
6103
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
6638
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
6104
6639
|
case 1:
|
|
6105
6640
|
localVarAxiosArgs = _a.sent();
|
|
6106
6641
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6126,13 +6661,14 @@ var TailoringRulesApiFactory = function (configuration, basePath, axios) {
|
|
|
6126
6661
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6127
6662
|
* @param {any} [limit] Number of items to return per page
|
|
6128
6663
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6664
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6129
6665
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6130
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
6666
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6131
6667
|
* @param {*} [options] Override http request option.
|
|
6132
6668
|
* @throws {RequiredError}
|
|
6133
6669
|
*/
|
|
6134
|
-
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6135
|
-
return localVarFp.tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6670
|
+
tailoringRules: function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6671
|
+
return localVarFp.tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6136
6672
|
},
|
|
6137
6673
|
};
|
|
6138
6674
|
};
|
|
@@ -6156,15 +6692,16 @@ var TailoringRulesApi = /** @class */ (function (_super) {
|
|
|
6156
6692
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6157
6693
|
* @param {any} [limit] Number of items to return per page
|
|
6158
6694
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6695
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6159
6696
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6160
|
-
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, and `
|
|
6697
|
+
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Rules are searchable using attributes `title`, `severity`, `remediation_available`, and `rule_group_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6161
6698
|
* @param {*} [options] Override http request option.
|
|
6162
6699
|
* @throws {RequiredError}
|
|
6163
6700
|
* @memberof TailoringRulesApi
|
|
6164
6701
|
*/
|
|
6165
|
-
TailoringRulesApi.prototype.tailoringRules = function (policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6702
|
+
TailoringRulesApi.prototype.tailoringRules = function (policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6166
6703
|
var _this = this;
|
|
6167
|
-
return (0, exports.TailoringRulesApiFp)(this.configuration).tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6704
|
+
return (0, exports.TailoringRulesApiFp)(this.configuration).tailoringRules(policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6168
6705
|
};
|
|
6169
6706
|
return TailoringRulesApi;
|
|
6170
6707
|
}(base_1.BaseAPI));
|
|
@@ -6183,12 +6720,13 @@ var TailoringsApiAxiosParamCreator = function (configuration) {
|
|
|
6183
6720
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6184
6721
|
* @param {any} [limit] Number of items to return per page
|
|
6185
6722
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6723
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6186
6724
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6187
6725
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6188
6726
|
* @param {*} [options] Override http request option.
|
|
6189
6727
|
* @throws {RequiredError}
|
|
6190
6728
|
*/
|
|
6191
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6729
|
+
tailorings: function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6192
6730
|
if (options === void 0) { options = {}; }
|
|
6193
6731
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
6194
6732
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -6210,6 +6748,9 @@ var TailoringsApiAxiosParamCreator = function (configuration) {
|
|
|
6210
6748
|
if (offset !== undefined) {
|
|
6211
6749
|
localVarQueryParameter['offset'] = offset;
|
|
6212
6750
|
}
|
|
6751
|
+
if (idsOnly !== undefined) {
|
|
6752
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
6753
|
+
}
|
|
6213
6754
|
if (sortBy !== undefined) {
|
|
6214
6755
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
6215
6756
|
}
|
|
@@ -6248,17 +6789,18 @@ var TailoringsApiFp = function (configuration) {
|
|
|
6248
6789
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6249
6790
|
* @param {any} [limit] Number of items to return per page
|
|
6250
6791
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6792
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6251
6793
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6252
6794
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6253
6795
|
* @param {*} [options] Override http request option.
|
|
6254
6796
|
* @throws {RequiredError}
|
|
6255
6797
|
*/
|
|
6256
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6798
|
+
tailorings: function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6257
6799
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
6258
6800
|
var localVarAxiosArgs;
|
|
6259
6801
|
return tslib_1.__generator(this, function (_a) {
|
|
6260
6802
|
switch (_a.label) {
|
|
6261
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailorings(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
6803
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.tailorings(policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
6262
6804
|
case 1:
|
|
6263
6805
|
localVarAxiosArgs = _a.sent();
|
|
6264
6806
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -6283,13 +6825,14 @@ var TailoringsApiFactory = function (configuration, basePath, axios) {
|
|
|
6283
6825
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6284
6826
|
* @param {any} [limit] Number of items to return per page
|
|
6285
6827
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6828
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6286
6829
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6287
6830
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6288
6831
|
* @param {*} [options] Override http request option.
|
|
6289
6832
|
* @throws {RequiredError}
|
|
6290
6833
|
*/
|
|
6291
|
-
tailorings: function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6292
|
-
return localVarFp.tailorings(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6834
|
+
tailorings: function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6835
|
+
return localVarFp.tailorings(policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
6293
6836
|
},
|
|
6294
6837
|
};
|
|
6295
6838
|
};
|
|
@@ -6312,15 +6855,16 @@ var TailoringsApi = /** @class */ (function (_super) {
|
|
|
6312
6855
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
6313
6856
|
* @param {any} [limit] Number of items to return per page
|
|
6314
6857
|
* @param {any} [offset] Offset of first item of paginated response
|
|
6858
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
6315
6859
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
6316
6860
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Tailorings are searchable using attributes `os_minor_version`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
6317
6861
|
* @param {*} [options] Override http request option.
|
|
6318
6862
|
* @throws {RequiredError}
|
|
6319
6863
|
* @memberof TailoringsApi
|
|
6320
6864
|
*/
|
|
6321
|
-
TailoringsApi.prototype.tailorings = function (policyId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
6865
|
+
TailoringsApi.prototype.tailorings = function (policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
6322
6866
|
var _this = this;
|
|
6323
|
-
return (0, exports.TailoringsApiFp)(this.configuration).tailorings(policyId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6867
|
+
return (0, exports.TailoringsApiFp)(this.configuration).tailorings(policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6324
6868
|
};
|
|
6325
6869
|
return TailoringsApi;
|
|
6326
6870
|
}(base_1.BaseAPI));
|
|
@@ -7026,12 +7570,13 @@ var ValueDefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
7026
7570
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7027
7571
|
* @param {any} [limit] Number of items to return per page
|
|
7028
7572
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7573
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7029
7574
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
7030
7575
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
7031
7576
|
* @param {*} [options] Override http request option.
|
|
7032
7577
|
* @throws {RequiredError}
|
|
7033
7578
|
*/
|
|
7034
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7579
|
+
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7035
7580
|
if (options === void 0) { options = {}; }
|
|
7036
7581
|
return tslib_1.__awaiter(_this, void 0, void 0, function () {
|
|
7037
7582
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7053,6 +7598,9 @@ var ValueDefinitionsApiAxiosParamCreator = function (configuration) {
|
|
|
7053
7598
|
if (offset !== undefined) {
|
|
7054
7599
|
localVarQueryParameter['offset'] = offset;
|
|
7055
7600
|
}
|
|
7601
|
+
if (idsOnly !== undefined) {
|
|
7602
|
+
localVarQueryParameter['ids_only'] = idsOnly;
|
|
7603
|
+
}
|
|
7056
7604
|
if (sortBy !== undefined) {
|
|
7057
7605
|
localVarQueryParameter['sort_by'] = sortBy;
|
|
7058
7606
|
}
|
|
@@ -7091,17 +7639,18 @@ var ValueDefinitionsApiFp = function (configuration) {
|
|
|
7091
7639
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7092
7640
|
* @param {any} [limit] Number of items to return per page
|
|
7093
7641
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7642
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7094
7643
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
7095
7644
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
7096
7645
|
* @param {*} [options] Override http request option.
|
|
7097
7646
|
* @throws {RequiredError}
|
|
7098
7647
|
*/
|
|
7099
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7648
|
+
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7100
7649
|
return tslib_1.__awaiter(this, void 0, void 0, function () {
|
|
7101
7650
|
var localVarAxiosArgs;
|
|
7102
7651
|
return tslib_1.__generator(this, function (_a) {
|
|
7103
7652
|
switch (_a.label) {
|
|
7104
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options)];
|
|
7653
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options)];
|
|
7105
7654
|
case 1:
|
|
7106
7655
|
localVarAxiosArgs = _a.sent();
|
|
7107
7656
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7126,13 +7675,14 @@ var ValueDefinitionsApiFactory = function (configuration, basePath, axios) {
|
|
|
7126
7675
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7127
7676
|
* @param {any} [limit] Number of items to return per page
|
|
7128
7677
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7678
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7129
7679
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
7130
7680
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
7131
7681
|
* @param {*} [options] Override http request option.
|
|
7132
7682
|
* @throws {RequiredError}
|
|
7133
7683
|
*/
|
|
7134
|
-
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7135
|
-
return localVarFp.valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
7684
|
+
valueDefinitions: function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7685
|
+
return localVarFp.valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(axios, basePath); });
|
|
7136
7686
|
},
|
|
7137
7687
|
};
|
|
7138
7688
|
};
|
|
@@ -7155,15 +7705,16 @@ var ValueDefinitionsApi = /** @class */ (function (_super) {
|
|
|
7155
7705
|
* @param {any} [xRHIDENTITY] For internal use only
|
|
7156
7706
|
* @param {any} [limit] Number of items to return per page
|
|
7157
7707
|
* @param {any} [offset] Offset of first item of paginated response
|
|
7708
|
+
* @param {any} [idsOnly] Indicates whether to return only resource IDs.
|
|
7158
7709
|
* @param {any} [sortBy] Attribute and direction to sort the items by. Represented by an array of fields with an optional direction (`<key>:asc` or `<key>:desc`).<br><br>If no direction is selected, `<key>:asc` is used by default.
|
|
7159
7710
|
* @param {any} [filter] Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/Query-language\" target=\"_blank\" title=\"github.com/wvanbergen/scoped_search\">scoped_search query language</a>. However, only `=` or `!=` (resp. `<>`) operators are supported.<br><br>Value Definitions are searchable using attributes `title` and `ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
|
|
7160
7711
|
* @param {*} [options] Override http request option.
|
|
7161
7712
|
* @throws {RequiredError}
|
|
7162
7713
|
* @memberof ValueDefinitionsApi
|
|
7163
7714
|
*/
|
|
7164
|
-
ValueDefinitionsApi.prototype.valueDefinitions = function (securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options) {
|
|
7715
|
+
ValueDefinitionsApi.prototype.valueDefinitions = function (securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options) {
|
|
7165
7716
|
var _this = this;
|
|
7166
|
-
return (0, exports.ValueDefinitionsApiFp)(this.configuration).valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7717
|
+
return (0, exports.ValueDefinitionsApiFp)(this.configuration).valueDefinitions(securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7167
7718
|
};
|
|
7168
7719
|
return ValueDefinitionsApi;
|
|
7169
7720
|
}(base_1.BaseAPI));
|