Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@redhat-cloud-services/compliance-client

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@redhat-cloud-services/compliance-client - npm Package Compare versions

Comparing version 0.2.2 to 0.2.3

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

## [0.2.3](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/compliance-client-0.2.2...@redhat-cloud-services/compliance-client-0.2.3) (2024-10-15)
## [0.2.2](https://github.com/RedHatInsights/javascript-clients/compare/@redhat-cloud-services/compliance-client-0.2.1...@redhat-cloud-services/compliance-client-0.2.2) (2024-09-04)

@@ -7,0 +9,0 @@

@@ -23,2 +23,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof PoliciesApi
*/
idsOnly?: any;
/**
* 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.

@@ -44,3 +50,3 @@ * @type { any }

*/
export declare const policiesParamCreator: (...config: ([PoliciesParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const policiesParamCreator: (...config: ([PoliciesParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default policiesParamCreator;

11

dist/Policies/index.js

@@ -8,3 +8,3 @@ "use strict";

var isPoliciesObjectParams = function (params) {
return params.length === 1 && true && true && true && true && true;
return params.length === 1 && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isPoliciesObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isPoliciesObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/policies";

@@ -43,2 +43,5 @@ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -45,0 +48,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -17,2 +17,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* 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`
* @type { any }
* @memberof PolicySystemsApi
*/
tags?: any;
/**
* Number of items to return per page

@@ -30,2 +36,8 @@ * @type { any }

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof PolicySystemsApi
*/
idsOnly?: any;
/**
* 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.

@@ -37,3 +49,3 @@ * @type { any }

/**
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* @type { any }

@@ -52,3 +64,3 @@ * @memberof PolicySystemsApi

*/
export declare const policySystemsParamCreator: (...config: ([PolicySystemsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const policySystemsParamCreator: (...config: ([PolicySystemsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default policySystemsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isPolicySystemsObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, policyId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, policyId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isPolicySystemsObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isPolicySystemsObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'tags', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, tags = params.tags, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/policies/{policy_id}/systems"

@@ -38,2 +38,5 @@ .replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));

localVarQueryParameter = {};
if (tags !== undefined) {
localVarQueryParameter['tags'] = tags;
}
if (limit !== undefined) {

@@ -45,2 +48,5 @@ localVarQueryParameter['limit'] = limit;

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -47,0 +53,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -35,2 +35,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof ProfileRulesApi
*/
idsOnly?: any;
/**
* 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.

@@ -42,3 +48,3 @@ * @type { any }

/**
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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 `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* @type { any }

@@ -57,3 +63,3 @@ * @memberof ProfileRulesApi

*/
export declare const profileRulesParamCreator: (...config: ([ProfileRulesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const profileRulesParamCreator: (...config: ([ProfileRulesParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default profileRulesParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isProfileRulesObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && Object.prototype.hasOwnProperty.call(params, 'profileId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && Object.prototype.hasOwnProperty.call(params, 'profileId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, securityGuideId, profileId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, securityGuideId, profileId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isProfileRulesObjectParams(config) ? config[0] : ['securityGuideId', 'profileId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isProfileRulesObjectParams(config) ? config[0] : ['securityGuideId', 'profileId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
securityGuideId = params.securityGuideId, profileId = params.profileId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
securityGuideId = params.securityGuideId, profileId = params.profileId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/security_guides/{security_guide_id}/profiles/{profile_id}/rules"

@@ -45,2 +45,5 @@ .replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)))

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -47,0 +50,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -29,2 +29,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof ProfilesApi
*/
idsOnly?: any;
/**
* 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.

@@ -50,3 +56,3 @@ * @type { any }

*/
export declare const profilesParamCreator: (...config: ([ProfilesParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const profilesParamCreator: (...config: ([ProfilesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default profilesParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isProfilesObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isProfilesObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isProfilesObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/security_guides/{security_guide_id}/profiles"

@@ -44,2 +44,5 @@ .replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)));

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +49,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -35,2 +35,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof ReportRuleResultsApi
*/
idsOnly?: any;
/**
* 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.

@@ -56,3 +62,3 @@ * @type { any }

*/
export declare const reportRuleResultsParamCreator: (...config: ([ReportRuleResultsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const reportRuleResultsParamCreator: (...config: ([ReportRuleResultsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default reportRuleResultsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isReportRuleResultsObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'testResultId') && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'testResultId') && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, testResultId, reportId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, testResultId, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isReportRuleResultsObjectParams(config) ? config[0] : ['testResultId', 'reportId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isReportRuleResultsObjectParams(config) ? config[0] : ['testResultId', 'reportId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
testResultId = params.testResultId, reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
testResultId = params.testResultId, reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/reports/{report_id}/test_results/{test_result_id}/rule_results"

@@ -45,2 +45,5 @@ .replace("{".concat("test_result_id", "}"), encodeURIComponent(String(testResultId)))

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -47,0 +50,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -23,2 +23,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof ReportsApi
*/
idsOnly?: any;
/**
* 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.

@@ -44,3 +50,3 @@ * @type { any }

*/
export declare const reportsParamCreator: (...config: ([ReportsParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const reportsParamCreator: (...config: ([ReportsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default reportsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isReportsObjectParams = function (params) {
return params.length === 1 && true && true && true && true && true;
return params.length === 1 && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isReportsObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isReportsObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/reports";

@@ -43,2 +43,5 @@ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -45,0 +48,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -17,2 +17,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* 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`
* @type { any }
* @memberof ReportSystemsApi
*/
tags?: any;
/**
* Number of items to return per page

@@ -30,2 +36,8 @@ * @type { any }

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof ReportSystemsApi
*/
idsOnly?: any;
/**
* 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.

@@ -37,3 +49,3 @@ * @type { any }

/**
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* @type { any }

@@ -52,3 +64,3 @@ * @memberof ReportSystemsApi

*/
export declare const reportSystemsParamCreator: (...config: ([ReportSystemsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const reportSystemsParamCreator: (...config: ([ReportSystemsParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default reportSystemsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isReportSystemsObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, reportId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, reportId, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isReportSystemsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isReportSystemsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'tags', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, tags = params.tags, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/reports/{report_id}/systems"

@@ -38,2 +38,5 @@ .replace("{".concat("report_id", "}"), encodeURIComponent(String(reportId)));

localVarQueryParameter = {};
if (tags !== undefined) {
localVarQueryParameter['tags'] = tags;
}
if (limit !== undefined) {

@@ -45,2 +48,5 @@ localVarQueryParameter['limit'] = limit;

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -47,0 +53,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -29,2 +29,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof ReportTestResultsApi
*/
idsOnly?: any;
/**
* 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.

@@ -50,3 +56,3 @@ * @type { any }

*/
export declare const reportTestResultsParamCreator: (...config: ([ReportTestResultsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const reportTestResultsParamCreator: (...config: ([ReportTestResultsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default reportTestResultsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isReportTestResultsObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'reportId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, reportId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, reportId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isReportTestResultsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isReportTestResultsObjectParams(config) ? config[0] : ['reportId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
reportId = params.reportId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/reports/{report_id}/test_results"

@@ -44,2 +44,5 @@ .replace("{".concat("report_id", "}"), encodeURIComponent(String(reportId)));

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +49,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -29,2 +29,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof RuleGroupsApi
*/
idsOnly?: any;
/**
* 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.

@@ -50,3 +56,3 @@ * @type { any }

*/
export declare const ruleGroupsParamCreator: (...config: ([RuleGroupsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const ruleGroupsParamCreator: (...config: ([RuleGroupsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default ruleGroupsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isRuleGroupsObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isRuleGroupsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isRuleGroupsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/security_guides/{security_guide_id}/rule_groups"

@@ -44,2 +44,5 @@ .replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)));

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +49,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -29,2 +29,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof RulesApi
*/
idsOnly?: any;
/**
* 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.

@@ -36,3 +42,3 @@ * @type { any }

/**
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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 `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* @type { any }

@@ -51,3 +57,3 @@ * @memberof RulesApi

*/
export declare const rulesParamCreator: (...config: ([RulesParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const rulesParamCreator: (...config: ([RulesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default rulesParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isRulesObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isRulesObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isRulesObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/security_guides/{security_guide_id}/rules"

@@ -44,2 +44,5 @@ .replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)));

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +49,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -23,2 +23,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof SecurityGuidesApi
*/
idsOnly?: any;
/**
* 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.

@@ -44,3 +50,3 @@ * @type { any }

*/
export declare const securityGuidesParamCreator: (...config: ([SecurityGuidesParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const securityGuidesParamCreator: (...config: ([SecurityGuidesParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default securityGuidesParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isSecurityGuidesObjectParams = function (params) {
return params.length === 1 && true && true && true && true && true;
return params.length === 1 && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isSecurityGuidesObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isSecurityGuidesObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/security_guides";

@@ -43,2 +43,5 @@ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -45,0 +48,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -23,2 +23,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof SupportedProfilesApi
*/
idsOnly?: any;
/**
* 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.

@@ -44,3 +50,3 @@ * @type { any }

*/
export declare const supportedProfilesParamCreator: (...config: ([SupportedProfilesParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const supportedProfilesParamCreator: (...config: ([SupportedProfilesParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default supportedProfilesParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isSupportedProfilesObjectParams = function (params) {
return params.length === 1 && true && true && true && true && true;
return params.length === 1 && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isSupportedProfilesObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isSupportedProfilesObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/security_guides/supported_profiles";

@@ -43,2 +43,5 @@ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -45,0 +48,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -29,2 +29,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof SystemReportsApi
*/
idsOnly?: any;
/**
* 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.

@@ -36,3 +42,3 @@ * @type { any }

/**
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* @type { any }

@@ -51,3 +57,3 @@ * @memberof SystemReportsApi

*/
export declare const systemReportsParamCreator: (...config: ([SystemReportsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const systemReportsParamCreator: (...config: ([SystemReportsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default systemReportsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isSystemReportsObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'systemId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'systemId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, systemId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isSystemReportsObjectParams(config) ? config[0] : ['systemId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isSystemReportsObjectParams(config) ? config[0] : ['systemId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
systemId = params.systemId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
systemId = params.systemId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/systems/{system_id}/reports"

@@ -44,2 +44,5 @@ .replace("{".concat("system_id", "}"), encodeURIComponent(String(systemId)));

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +49,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -11,2 +11,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* 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`
* @type { any }
* @memberof SystemsApi
*/
tags?: any;
/**
* Number of items to return per page

@@ -24,2 +30,8 @@ * @type { any }

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof SystemsApi
*/
idsOnly?: any;
/**
* 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.

@@ -31,3 +43,3 @@ * @type { any }

/**
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`, `never_reported`, `group_name`, `policies`, and `profile_ref_id`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* @type { any }

@@ -46,3 +58,3 @@ * @memberof SystemsApi

*/
export declare const systemsParamCreator: (...config: ([SystemsParams] | [any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const systemsParamCreator: (...config: ([SystemsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default systemsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isSystemsObjectParams = function (params) {
return params.length === 1 && true && true && true && true && true;
return params.length === 1 && true && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, xRHIDENTITY, tags, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isSystemsObjectParams(config) ? config[0] : ['xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isSystemsObjectParams(config) ? config[0] : ['xRHIDENTITY', 'tags', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
xRHIDENTITY = params.xRHIDENTITY, tags = params.tags, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/systems";

@@ -37,2 +37,5 @@ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);

localVarQueryParameter = {};
if (tags !== undefined) {
localVarQueryParameter['tags'] = tags;
}
if (limit !== undefined) {

@@ -44,2 +47,5 @@ localVarQueryParameter['limit'] = limit;

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +52,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -29,2 +29,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof SystemsPoliciesApi
*/
idsOnly?: any;
/**
* 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.

@@ -36,3 +42,3 @@ * @type { any }

/**
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* @type { any }

@@ -51,3 +57,3 @@ * @memberof SystemsPoliciesApi

*/
export declare const systemsPoliciesParamCreator: (...config: ([SystemsPoliciesParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const systemsPoliciesParamCreator: (...config: ([SystemsPoliciesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default systemsPoliciesParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isSystemsPoliciesObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'systemId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'systemId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, systemId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, systemId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isSystemsPoliciesObjectParams(config) ? config[0] : ['systemId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isSystemsPoliciesObjectParams(config) ? config[0] : ['systemId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
systemId = params.systemId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
systemId = params.systemId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/systems/{system_id}/policies"

@@ -44,2 +44,5 @@ .replace("{".concat("system_id", "}"), encodeURIComponent(String(systemId)));

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +49,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -35,2 +35,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof TailoringRulesApi
*/
idsOnly?: any;
/**
* 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.

@@ -42,3 +48,3 @@ * @type { any }

/**
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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 `remediation_available`<br><br>(e.g.: `(field_1=something AND field_2!=\"something else\") OR field_3>40`)
* Query string to filter items by their attributes. Compliant with <a href=\"https://github.com/wvanbergen/scoped_search/wiki/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`)
* @type { any }

@@ -57,3 +63,3 @@ * @memberof TailoringRulesApi

*/
export declare const tailoringRulesParamCreator: (...config: ([TailoringRulesParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const tailoringRulesParamCreator: (...config: ([TailoringRulesParams] | [any, any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default tailoringRulesParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isTailoringRulesObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && Object.prototype.hasOwnProperty.call(params, 'tailoringId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && Object.prototype.hasOwnProperty.call(params, 'tailoringId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, policyId, tailoringId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, policyId, tailoringId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isTailoringRulesObjectParams(config) ? config[0] : ['policyId', 'tailoringId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isTailoringRulesObjectParams(config) ? config[0] : ['policyId', 'tailoringId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
policyId = params.policyId, tailoringId = params.tailoringId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
policyId = params.policyId, tailoringId = params.tailoringId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/policies/{policy_id}/tailorings/{tailoring_id}/rules"

@@ -45,2 +45,5 @@ .replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)))

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -47,0 +50,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -29,2 +29,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof TailoringsApi
*/
idsOnly?: any;
/**
* 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.

@@ -50,3 +56,3 @@ * @type { any }

*/
export declare const tailoringsParamCreator: (...config: ([TailoringsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const tailoringsParamCreator: (...config: ([TailoringsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default tailoringsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isTailoringsObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'policyId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, policyId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, policyId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isTailoringsObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isTailoringsObjectParams(config) ? config[0] : ['policyId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
policyId = params.policyId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/policies/{policy_id}/tailorings"

@@ -44,2 +44,5 @@ .replace("{".concat("policy_id", "}"), encodeURIComponent(String(policyId)));

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +49,0 @@ localVarQueryParameter['sort_by'] = sortBy;

@@ -1055,2 +1055,8 @@ /**

/**
* Longer description of the Profile
* @type {any}
* @memberof SupportedProfile
*/
'description'?: any;
/**
* UUID of the latest Security Guide supporting this Profile

@@ -1456,3 +1462,3 @@ * @type {any}

*/
'last_scanned'?: any;
'end_time'?: any;
}

@@ -1459,0 +1465,0 @@ export declare const TestResultTypeEnum: {

@@ -29,2 +29,8 @@ import type { AxiosRequestConfig } from 'axios';

/**
* Indicates whether to return only resource IDs.
* @type { any }
* @memberof ValueDefinitionsApi
*/
idsOnly?: any;
/**
* 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.

@@ -50,3 +56,3 @@ * @type { any }

*/
export declare const valueDefinitionsParamCreator: (...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export declare const valueDefinitionsParamCreator: (...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<RequestArgs>;
export default valueDefinitionsParamCreator;

@@ -8,3 +8,3 @@ "use strict";

var isValueDefinitionsObjectParams = function (params) {
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true;
return params.length === 1 && Object.prototype.hasOwnProperty.call(params, 'securityGuideId') && true && true && true && true && true && true;
};

@@ -24,9 +24,9 @@ /**

return tslib_1.__awaiter(void 0, void 0, void 0, function () {
var params, securityGuideId, xRHIDENTITY, limit, offset, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
return tslib_1.__generator(this, function (_b) {
params = isValueDefinitionsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
params = isValueDefinitionsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
var _a;
return (tslib_1.__assign(tslib_1.__assign({}, acc), (_a = {}, _a[curr] = config[index], _a)));
}, {});
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
securityGuideId = params.securityGuideId, xRHIDENTITY = params.xRHIDENTITY, limit = params.limit, offset = params.offset, idsOnly = params.idsOnly, sortBy = params.sortBy, filter = params.filter, _a = params.options, options = _a === void 0 ? {} : _a;
localVarPath = "/security_guides/{security_guide_id}/value_definitions"

@@ -44,2 +44,5 @@ .replace("{".concat("security_guide_id", "}"), encodeURIComponent(String(securityGuideId)));

}
if (idsOnly !== undefined) {
localVarQueryParameter['ids_only'] = idsOnly;
}
if (sortBy !== undefined) {

@@ -46,0 +49,0 @@ localVarQueryParameter['sort_by'] = sortBy;

{
"name": "@redhat-cloud-services/compliance-client",
"version": "0.2.2",
"version": "0.2.3",
"description": "",

@@ -5,0 +5,0 @@ "main": "./index.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc