@redhat-cloud-services/compliance-client 3.0.5 → 3.0.7
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/dist/AssignRule/index.d.ts +5 -5
- package/dist/AssignRule/index.js +15 -10
- package/dist/AssignRule/index.js.map +1 -1
- package/dist/AssignRules/index.d.ts +4 -4
- package/dist/AssignRules/index.js +15 -10
- package/dist/AssignRules/index.js.map +1 -1
- package/dist/AssignSystem/index.d.ts +5 -5
- package/dist/AssignSystem/index.js +15 -10
- package/dist/AssignSystem/index.js.map +1 -1
- package/dist/AssignSystems/index.d.ts +4 -4
- package/dist/AssignSystems/index.js +15 -10
- package/dist/AssignSystems/index.js.map +1 -1
- package/dist/CreatePolicy/index.d.ts +5 -5
- package/dist/CreatePolicy/index.js +16 -11
- package/dist/CreatePolicy/index.js.map +1 -1
- package/dist/CreateTailoring/index.d.ts +5 -4
- package/dist/CreateTailoring/index.js +16 -10
- package/dist/CreateTailoring/index.js.map +1 -1
- package/dist/DeletePolicy/index.d.ts +5 -5
- package/dist/DeletePolicy/index.js +15 -10
- package/dist/DeletePolicy/index.js.map +1 -1
- package/dist/DeleteReport/index.d.ts +5 -5
- package/dist/DeleteReport/index.js +15 -10
- package/dist/DeleteReport/index.js.map +1 -1
- package/dist/Policies/index.d.ts +5 -5
- package/dist/Policies/index.js +15 -10
- package/dist/Policies/index.js.map +1 -1
- package/dist/Policy/index.d.ts +5 -5
- package/dist/Policy/index.js +15 -10
- package/dist/Policy/index.js.map +1 -1
- package/dist/PolicySystems/index.d.ts +6 -6
- package/dist/PolicySystems/index.js +15 -10
- package/dist/PolicySystems/index.js.map +1 -1
- package/dist/PolicySystemsOS/index.d.ts +4 -4
- package/dist/PolicySystemsOS/index.js +14 -9
- package/dist/PolicySystemsOS/index.js.map +1 -1
- package/dist/Profile/index.d.ts +5 -5
- package/dist/Profile/index.js +15 -10
- package/dist/Profile/index.js.map +1 -1
- package/dist/ProfileRule/index.d.ts +5 -5
- package/dist/ProfileRule/index.js +15 -10
- package/dist/ProfileRule/index.js.map +1 -1
- package/dist/ProfileRules/index.d.ts +6 -6
- package/dist/ProfileRules/index.js +15 -10
- package/dist/ProfileRules/index.js.map +1 -1
- package/dist/ProfileTree/index.d.ts +5 -4
- package/dist/ProfileTree/index.js +15 -9
- package/dist/ProfileTree/index.js.map +1 -1
- package/dist/Profiles/index.d.ts +5 -5
- package/dist/Profiles/index.js +15 -10
- package/dist/Profiles/index.js.map +1 -1
- package/dist/Report/index.d.ts +5 -5
- package/dist/Report/index.js +15 -10
- package/dist/Report/index.js.map +1 -1
- package/dist/ReportRuleResults/index.d.ts +6 -6
- package/dist/ReportRuleResults/index.js +15 -10
- package/dist/ReportRuleResults/index.js.map +1 -1
- package/dist/ReportStats/index.d.ts +4 -4
- package/dist/ReportStats/index.js +14 -9
- package/dist/ReportStats/index.js.map +1 -1
- package/dist/ReportSystem/index.d.ts +5 -5
- package/dist/ReportSystem/index.js +15 -10
- package/dist/ReportSystem/index.js.map +1 -1
- package/dist/ReportSystems/index.d.ts +6 -6
- package/dist/ReportSystems/index.js +15 -10
- package/dist/ReportSystems/index.js.map +1 -1
- package/dist/ReportSystemsOS/index.d.ts +4 -4
- package/dist/ReportSystemsOS/index.js +14 -9
- package/dist/ReportSystemsOS/index.js.map +1 -1
- package/dist/ReportTestResult/index.d.ts +5 -5
- package/dist/ReportTestResult/index.js +15 -10
- package/dist/ReportTestResult/index.js.map +1 -1
- package/dist/ReportTestResults/index.d.ts +5 -5
- package/dist/ReportTestResults/index.js +15 -10
- package/dist/ReportTestResults/index.js.map +1 -1
- package/dist/ReportTestResultsOS/index.d.ts +4 -4
- package/dist/ReportTestResultsOS/index.js +14 -9
- package/dist/ReportTestResultsOS/index.js.map +1 -1
- package/dist/ReportTestResultsSG/index.d.ts +4 -4
- package/dist/ReportTestResultsSG/index.js +14 -9
- package/dist/ReportTestResultsSG/index.js.map +1 -1
- package/dist/Reports/index.d.ts +5 -5
- package/dist/Reports/index.js +15 -10
- package/dist/Reports/index.js.map +1 -1
- package/dist/ReportsOS/index.d.ts +4 -4
- package/dist/ReportsOS/index.js +14 -9
- package/dist/ReportsOS/index.js.map +1 -1
- package/dist/Rule/index.d.ts +5 -5
- package/dist/Rule/index.js +15 -10
- package/dist/Rule/index.js.map +1 -1
- package/dist/RuleGroup/index.d.ts +5 -5
- package/dist/RuleGroup/index.js +15 -10
- package/dist/RuleGroup/index.js.map +1 -1
- package/dist/RuleGroups/index.d.ts +5 -5
- package/dist/RuleGroups/index.js +15 -10
- package/dist/RuleGroups/index.js.map +1 -1
- package/dist/Rules/index.d.ts +6 -6
- package/dist/Rules/index.js +15 -10
- package/dist/Rules/index.js.map +1 -1
- package/dist/SecurityGuide/index.d.ts +5 -5
- package/dist/SecurityGuide/index.js +15 -10
- package/dist/SecurityGuide/index.js.map +1 -1
- package/dist/SecurityGuideRuleTree/index.d.ts +6 -5
- package/dist/SecurityGuideRuleTree/index.js +16 -10
- package/dist/SecurityGuideRuleTree/index.js.map +1 -1
- package/dist/SecurityGuides/index.d.ts +5 -5
- package/dist/SecurityGuides/index.js +15 -10
- package/dist/SecurityGuides/index.js.map +1 -1
- package/dist/SecurityGuidesOS/index.d.ts +4 -4
- package/dist/SecurityGuidesOS/index.js +14 -9
- package/dist/SecurityGuidesOS/index.js.map +1 -1
- package/dist/Status/index.d.ts +16 -0
- package/dist/Status/index.js +51 -0
- package/dist/Status/index.js.map +1 -0
- package/dist/SupportedProfiles/index.d.ts +5 -5
- package/dist/SupportedProfiles/index.js +15 -10
- package/dist/SupportedProfiles/index.js.map +1 -1
- package/dist/System/index.d.ts +5 -5
- package/dist/System/index.js +15 -10
- package/dist/System/index.js.map +1 -1
- package/dist/SystemReports/index.d.ts +6 -6
- package/dist/SystemReports/index.js +15 -10
- package/dist/SystemReports/index.js.map +1 -1
- package/dist/Systems/index.d.ts +6 -6
- package/dist/Systems/index.js +15 -10
- package/dist/Systems/index.js.map +1 -1
- package/dist/SystemsOS/index.d.ts +5 -5
- package/dist/SystemsOS/index.js +15 -10
- package/dist/SystemsOS/index.js.map +1 -1
- package/dist/SystemsPolicies/index.d.ts +5 -5
- package/dist/SystemsPolicies/index.js +15 -10
- package/dist/SystemsPolicies/index.js.map +1 -1
- package/dist/Tailoring/index.d.ts +5 -5
- package/dist/Tailoring/index.js +15 -10
- package/dist/Tailoring/index.js.map +1 -1
- package/dist/TailoringFileJSON/index.d.ts +34 -0
- package/dist/TailoringFileJSON/index.js +58 -0
- package/dist/TailoringFileJSON/index.js.map +1 -0
- package/dist/TailoringFileTOML/index.d.ts +34 -0
- package/dist/TailoringFileTOML/index.js +58 -0
- package/dist/TailoringFileTOML/index.js.map +1 -0
- package/dist/TailoringRuleTree/index.d.ts +6 -5
- package/dist/TailoringRuleTree/index.js +16 -10
- package/dist/TailoringRuleTree/index.js.map +1 -1
- package/dist/TailoringRules/index.d.ts +6 -6
- package/dist/TailoringRules/index.js +15 -10
- package/dist/TailoringRules/index.js.map +1 -1
- package/dist/Tailorings/index.d.ts +5 -5
- package/dist/Tailorings/index.js +15 -10
- package/dist/Tailorings/index.js.map +1 -1
- package/dist/UnassignRule/index.d.ts +5 -5
- package/dist/UnassignRule/index.js +15 -10
- package/dist/UnassignRule/index.js.map +1 -1
- package/dist/UnassignSystem/index.d.ts +5 -5
- package/dist/UnassignSystem/index.js +15 -10
- package/dist/UnassignSystem/index.js.map +1 -1
- package/dist/UpdatePolicy/index.d.ts +5 -5
- package/dist/UpdatePolicy/index.js +16 -11
- package/dist/UpdatePolicy/index.js.map +1 -1
- package/dist/UpdateTailoring/index.d.ts +5 -5
- package/dist/UpdateTailoring/index.js +16 -11
- package/dist/UpdateTailoring/index.js.map +1 -1
- package/dist/ValueDefinition/index.d.ts +5 -5
- package/dist/ValueDefinition/index.js +15 -10
- package/dist/ValueDefinition/index.js.map +1 -1
- package/dist/ValueDefinitions/index.d.ts +5 -5
- package/dist/ValueDefinitions/index.js +15 -10
- package/dist/ValueDefinitions/index.js.map +1 -1
- package/dist/api.d.ts +114 -112
- package/dist/api.js +5 -1
- package/dist/api.js.map +1 -1
- package/dist/esm/AssignRule/index.d.ts +5 -5
- package/dist/esm/AssignRule/index.js +15 -10
- package/dist/esm/AssignRule/index.js.map +1 -1
- package/dist/esm/AssignRules/index.d.ts +4 -4
- package/dist/esm/AssignRules/index.js +15 -10
- package/dist/esm/AssignRules/index.js.map +1 -1
- package/dist/esm/AssignSystem/index.d.ts +5 -5
- package/dist/esm/AssignSystem/index.js +15 -10
- package/dist/esm/AssignSystem/index.js.map +1 -1
- package/dist/esm/AssignSystems/index.d.ts +4 -4
- package/dist/esm/AssignSystems/index.js +15 -10
- package/dist/esm/AssignSystems/index.js.map +1 -1
- package/dist/esm/CreatePolicy/index.d.ts +5 -5
- package/dist/esm/CreatePolicy/index.js +16 -11
- package/dist/esm/CreatePolicy/index.js.map +1 -1
- package/dist/esm/CreateTailoring/index.d.ts +5 -4
- package/dist/esm/CreateTailoring/index.js +16 -10
- package/dist/esm/CreateTailoring/index.js.map +1 -1
- package/dist/esm/DeletePolicy/index.d.ts +5 -5
- package/dist/esm/DeletePolicy/index.js +15 -10
- package/dist/esm/DeletePolicy/index.js.map +1 -1
- package/dist/esm/DeleteReport/index.d.ts +5 -5
- package/dist/esm/DeleteReport/index.js +15 -10
- package/dist/esm/DeleteReport/index.js.map +1 -1
- package/dist/esm/Policies/index.d.ts +5 -5
- package/dist/esm/Policies/index.js +15 -10
- package/dist/esm/Policies/index.js.map +1 -1
- package/dist/esm/Policy/index.d.ts +5 -5
- package/dist/esm/Policy/index.js +15 -10
- package/dist/esm/Policy/index.js.map +1 -1
- package/dist/esm/PolicySystems/index.d.ts +6 -6
- package/dist/esm/PolicySystems/index.js +15 -10
- package/dist/esm/PolicySystems/index.js.map +1 -1
- package/dist/esm/PolicySystemsOS/index.d.ts +4 -4
- package/dist/esm/PolicySystemsOS/index.js +14 -9
- package/dist/esm/PolicySystemsOS/index.js.map +1 -1
- package/dist/esm/Profile/index.d.ts +5 -5
- package/dist/esm/Profile/index.js +15 -10
- package/dist/esm/Profile/index.js.map +1 -1
- package/dist/esm/ProfileRule/index.d.ts +5 -5
- package/dist/esm/ProfileRule/index.js +15 -10
- package/dist/esm/ProfileRule/index.js.map +1 -1
- package/dist/esm/ProfileRules/index.d.ts +6 -6
- package/dist/esm/ProfileRules/index.js +15 -10
- package/dist/esm/ProfileRules/index.js.map +1 -1
- package/dist/esm/ProfileTree/index.d.ts +5 -4
- package/dist/esm/ProfileTree/index.js +15 -9
- package/dist/esm/ProfileTree/index.js.map +1 -1
- package/dist/esm/Profiles/index.d.ts +5 -5
- package/dist/esm/Profiles/index.js +15 -10
- package/dist/esm/Profiles/index.js.map +1 -1
- package/dist/esm/Report/index.d.ts +5 -5
- package/dist/esm/Report/index.js +15 -10
- package/dist/esm/Report/index.js.map +1 -1
- package/dist/esm/ReportRuleResults/index.d.ts +6 -6
- package/dist/esm/ReportRuleResults/index.js +15 -10
- package/dist/esm/ReportRuleResults/index.js.map +1 -1
- package/dist/esm/ReportStats/index.d.ts +4 -4
- package/dist/esm/ReportStats/index.js +14 -9
- package/dist/esm/ReportStats/index.js.map +1 -1
- package/dist/esm/ReportSystem/index.d.ts +5 -5
- package/dist/esm/ReportSystem/index.js +15 -10
- package/dist/esm/ReportSystem/index.js.map +1 -1
- package/dist/esm/ReportSystems/index.d.ts +6 -6
- package/dist/esm/ReportSystems/index.js +15 -10
- package/dist/esm/ReportSystems/index.js.map +1 -1
- package/dist/esm/ReportSystemsOS/index.d.ts +4 -4
- package/dist/esm/ReportSystemsOS/index.js +14 -9
- package/dist/esm/ReportSystemsOS/index.js.map +1 -1
- package/dist/esm/ReportTestResult/index.d.ts +5 -5
- package/dist/esm/ReportTestResult/index.js +15 -10
- package/dist/esm/ReportTestResult/index.js.map +1 -1
- package/dist/esm/ReportTestResults/index.d.ts +5 -5
- package/dist/esm/ReportTestResults/index.js +15 -10
- package/dist/esm/ReportTestResults/index.js.map +1 -1
- package/dist/esm/ReportTestResultsOS/index.d.ts +4 -4
- package/dist/esm/ReportTestResultsOS/index.js +14 -9
- package/dist/esm/ReportTestResultsOS/index.js.map +1 -1
- package/dist/esm/ReportTestResultsSG/index.d.ts +4 -4
- package/dist/esm/ReportTestResultsSG/index.js +14 -9
- package/dist/esm/ReportTestResultsSG/index.js.map +1 -1
- package/dist/esm/Reports/index.d.ts +5 -5
- package/dist/esm/Reports/index.js +15 -10
- package/dist/esm/Reports/index.js.map +1 -1
- package/dist/esm/ReportsOS/index.d.ts +4 -4
- package/dist/esm/ReportsOS/index.js +14 -9
- package/dist/esm/ReportsOS/index.js.map +1 -1
- package/dist/esm/Rule/index.d.ts +5 -5
- package/dist/esm/Rule/index.js +15 -10
- package/dist/esm/Rule/index.js.map +1 -1
- package/dist/esm/RuleGroup/index.d.ts +5 -5
- package/dist/esm/RuleGroup/index.js +15 -10
- package/dist/esm/RuleGroup/index.js.map +1 -1
- package/dist/esm/RuleGroups/index.d.ts +5 -5
- package/dist/esm/RuleGroups/index.js +15 -10
- package/dist/esm/RuleGroups/index.js.map +1 -1
- package/dist/esm/Rules/index.d.ts +6 -6
- package/dist/esm/Rules/index.js +15 -10
- package/dist/esm/Rules/index.js.map +1 -1
- package/dist/esm/SecurityGuide/index.d.ts +5 -5
- package/dist/esm/SecurityGuide/index.js +15 -10
- package/dist/esm/SecurityGuide/index.js.map +1 -1
- package/dist/esm/SecurityGuideRuleTree/index.d.ts +6 -5
- package/dist/esm/SecurityGuideRuleTree/index.js +16 -10
- package/dist/esm/SecurityGuideRuleTree/index.js.map +1 -1
- package/dist/esm/SecurityGuides/index.d.ts +5 -5
- package/dist/esm/SecurityGuides/index.js +15 -10
- package/dist/esm/SecurityGuides/index.js.map +1 -1
- package/dist/esm/SecurityGuidesOS/index.d.ts +4 -4
- package/dist/esm/SecurityGuidesOS/index.js +14 -9
- package/dist/esm/SecurityGuidesOS/index.js.map +1 -1
- package/dist/esm/Status/index.d.ts +16 -0
- package/dist/esm/Status/index.js +47 -0
- package/dist/esm/Status/index.js.map +1 -0
- package/dist/esm/SupportedProfiles/index.d.ts +5 -5
- package/dist/esm/SupportedProfiles/index.js +15 -10
- package/dist/esm/SupportedProfiles/index.js.map +1 -1
- package/dist/esm/System/index.d.ts +5 -5
- package/dist/esm/System/index.js +15 -10
- package/dist/esm/System/index.js.map +1 -1
- package/dist/esm/SystemReports/index.d.ts +6 -6
- package/dist/esm/SystemReports/index.js +15 -10
- package/dist/esm/SystemReports/index.js.map +1 -1
- package/dist/esm/Systems/index.d.ts +6 -6
- package/dist/esm/Systems/index.js +15 -10
- package/dist/esm/Systems/index.js.map +1 -1
- package/dist/esm/SystemsOS/index.d.ts +5 -5
- package/dist/esm/SystemsOS/index.js +15 -10
- package/dist/esm/SystemsOS/index.js.map +1 -1
- package/dist/esm/SystemsPolicies/index.d.ts +5 -5
- package/dist/esm/SystemsPolicies/index.js +15 -10
- package/dist/esm/SystemsPolicies/index.js.map +1 -1
- package/dist/esm/Tailoring/index.d.ts +5 -5
- package/dist/esm/Tailoring/index.js +15 -10
- package/dist/esm/Tailoring/index.js.map +1 -1
- package/dist/esm/TailoringFileJSON/index.d.ts +34 -0
- package/dist/esm/TailoringFileJSON/index.js +54 -0
- package/dist/esm/TailoringFileJSON/index.js.map +1 -0
- package/dist/esm/TailoringFileTOML/index.d.ts +34 -0
- package/dist/esm/TailoringFileTOML/index.js +54 -0
- package/dist/esm/TailoringFileTOML/index.js.map +1 -0
- package/dist/esm/TailoringRuleTree/index.d.ts +6 -5
- package/dist/esm/TailoringRuleTree/index.js +16 -10
- package/dist/esm/TailoringRuleTree/index.js.map +1 -1
- package/dist/esm/TailoringRules/index.d.ts +6 -6
- package/dist/esm/TailoringRules/index.js +15 -10
- package/dist/esm/TailoringRules/index.js.map +1 -1
- package/dist/esm/Tailorings/index.d.ts +5 -5
- package/dist/esm/Tailorings/index.js +15 -10
- package/dist/esm/Tailorings/index.js.map +1 -1
- package/dist/esm/UnassignRule/index.d.ts +5 -5
- package/dist/esm/UnassignRule/index.js +15 -10
- package/dist/esm/UnassignRule/index.js.map +1 -1
- package/dist/esm/UnassignSystem/index.d.ts +5 -5
- package/dist/esm/UnassignSystem/index.js +15 -10
- package/dist/esm/UnassignSystem/index.js.map +1 -1
- package/dist/esm/UpdatePolicy/index.d.ts +5 -5
- package/dist/esm/UpdatePolicy/index.js +16 -11
- package/dist/esm/UpdatePolicy/index.js.map +1 -1
- package/dist/esm/UpdateTailoring/index.d.ts +5 -5
- package/dist/esm/UpdateTailoring/index.js +16 -11
- package/dist/esm/UpdateTailoring/index.js.map +1 -1
- package/dist/esm/ValueDefinition/index.d.ts +5 -5
- package/dist/esm/ValueDefinition/index.js +15 -10
- package/dist/esm/ValueDefinition/index.js.map +1 -1
- package/dist/esm/ValueDefinitions/index.d.ts +5 -5
- package/dist/esm/ValueDefinitions/index.js +15 -10
- package/dist/esm/ValueDefinitions/index.js.map +1 -1
- package/dist/esm/api.d.ts +114 -112
- package/dist/esm/api.js +6 -2
- package/dist/esm/api.js.map +1 -1
- package/dist/esm/index.d.ts +57 -54
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/index.d.ts +70 -5
- package/dist/esm/types/index.js.map +1 -1
- package/dist/index.d.ts +57 -54
- package/dist/index.js +11 -4
- package/dist/index.js.map +1 -1
- package/dist/package.json +2 -2
- package/dist/types/index.d.ts +70 -5
- package/dist/types/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -2,22 +2,26 @@ import { __assign, __awaiter, __generator } from "tslib";
|
|
|
2
2
|
// @ts-ignore
|
|
3
3
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
4
4
|
var isValueDefinitionObjectParams = function (params) {
|
|
5
|
-
|
|
5
|
+
var l = params.length === 1;
|
|
6
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
7
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'securityGuideId') && Object.prototype.hasOwnProperty.call(params[0], 'valueDefinitionId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Retrieve a specific value definition.
|
|
9
13
|
* @summary Request a Value Definition
|
|
10
14
|
* @param {ValueDefinitionParams} config with all available params.
|
|
11
15
|
* @param {*} [options] Override http request option.
|
|
12
16
|
* @throws {RequiredError}
|
|
13
17
|
*/
|
|
14
|
-
export var valueDefinitionParamCreator = function () {
|
|
18
|
+
export var valueDefinitionParamCreator = function (sendRequest) {
|
|
15
19
|
var config = [];
|
|
16
|
-
for (var _i =
|
|
17
|
-
config[_i] = arguments[_i];
|
|
20
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
21
|
+
config[_i - 1] = arguments[_i];
|
|
18
22
|
}
|
|
19
23
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
20
|
-
var params, securityGuideId, valueDefinitionId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
var params, securityGuideId, valueDefinitionId, xRHIDENTITY, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
21
25
|
return __generator(this, function (_b) {
|
|
22
26
|
params = isValueDefinitionObjectParams(config) ? config[0] : ['securityGuideId', 'valueDefinitionId', 'xRHIDENTITY', 'options'].reduce(function (acc, curr, index) {
|
|
23
27
|
var _a;
|
|
@@ -38,10 +42,11 @@ export var valueDefinitionParamCreator = function () {
|
|
|
38
42
|
}
|
|
39
43
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40
44
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
+
args = {
|
|
46
|
+
urlObj: localVarUrlObj,
|
|
47
|
+
options: localVarRequestOptions,
|
|
48
|
+
};
|
|
49
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
45
50
|
});
|
|
46
51
|
});
|
|
47
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ValueDefinition/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,6BAA6B,GAAG,UAAC,MAA2C;IAChF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ValueDefinition/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AAkCjU,IAAM,6BAA6B,GAAG,UAAC,MAA2C;IAChF,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAA;IAC3J,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,IAAM,2BAA2B,GAAG,UAAO,WAAmC;IAAE,gBAA0E;SAA1E,UAA0E,EAA1E,qBAA0E,EAA1E,IAA0E;QAA1E,+BAA0E;;;;;YACvJ,MAAM,GAAG,6BAA6B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,mBAAmB,EAAE,aAAa,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uBAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAA0B,CAAC;YAC7N,eAAe,GAAmD,MAAM,gBAAzD,EAAE,iBAAiB,GAAgC,MAAM,kBAAtC,EAAE,WAAW,GAAmB,MAAM,YAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAC3E,YAAY,GAAG,8EAA8E;iBAC9F,OAAO,CAAC,WAAI,mBAAmB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC;iBAChF,OAAO,CAAC,WAAI,qBAAqB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,iBAAiB,CAAC,CAAC,CAAC,CAAC;YAEpF,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;YACvD,sBAAsB,cAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAEzC,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA4B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACxE,CAAA;AAED,eAAe,2BAA2B,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import
|
|
1
|
+
import type { AxiosRequestConfig } from 'axios';
|
|
2
|
+
import { BaseAPI } from '@redhat-cloud-services/javascript-clients-shared/dist/base';
|
|
3
3
|
import type { ValueDefinitions200Response } from '../types';
|
|
4
4
|
export type ValueDefinitionsParams = {
|
|
5
5
|
/**
|
|
@@ -46,13 +46,13 @@ export type ValueDefinitionsParams = {
|
|
|
46
46
|
filter?: any;
|
|
47
47
|
options?: AxiosRequestConfig;
|
|
48
48
|
};
|
|
49
|
-
export type ValueDefinitionsReturnType =
|
|
49
|
+
export type ValueDefinitionsReturnType = ValueDefinitions200Response;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Retrieve a list of the fields which can be edited within a profile.
|
|
52
52
|
* @summary Request Value Definitions
|
|
53
53
|
* @param {ValueDefinitionsParams} config with all available params.
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
57
|
-
export declare const valueDefinitionsParamCreator: (...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<
|
|
57
|
+
export declare const valueDefinitionsParamCreator: (sendRequest: BaseAPI["sendRequest"], ...config: ([ValueDefinitionsParams] | [any, any, any, any, any, any, any, AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<ValueDefinitions200Response, any, {}>>;
|
|
58
58
|
export default valueDefinitionsParamCreator;
|
|
@@ -2,22 +2,26 @@ import { __assign, __awaiter, __generator } from "tslib";
|
|
|
2
2
|
// @ts-ignore
|
|
3
3
|
import { DUMMY_BASE_URL, setSearchParams } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
4
4
|
var isValueDefinitionsObjectParams = function (params) {
|
|
5
|
-
|
|
5
|
+
var l = params.length === 1;
|
|
6
|
+
if (l && typeof params[0] === 'object' && !Array.isArray(params[0])) {
|
|
7
|
+
return true && Object.prototype.hasOwnProperty.call(params[0], 'securityGuideId');
|
|
8
|
+
}
|
|
9
|
+
return false;
|
|
6
10
|
};
|
|
7
11
|
/**
|
|
8
|
-
*
|
|
12
|
+
* Retrieve a list of the fields which can be edited within a profile.
|
|
9
13
|
* @summary Request Value Definitions
|
|
10
14
|
* @param {ValueDefinitionsParams} config with all available params.
|
|
11
15
|
* @param {*} [options] Override http request option.
|
|
12
16
|
* @throws {RequiredError}
|
|
13
17
|
*/
|
|
14
|
-
export var valueDefinitionsParamCreator = function () {
|
|
18
|
+
export var valueDefinitionsParamCreator = function (sendRequest) {
|
|
15
19
|
var config = [];
|
|
16
|
-
for (var _i =
|
|
17
|
-
config[_i] = arguments[_i];
|
|
20
|
+
for (var _i = 1; _i < arguments.length; _i++) {
|
|
21
|
+
config[_i - 1] = arguments[_i];
|
|
18
22
|
}
|
|
19
23
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
20
|
-
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter;
|
|
24
|
+
var params, securityGuideId, xRHIDENTITY, limit, offset, idsOnly, sortBy, filter, _a, options, localVarPath, localVarUrlObj, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, args;
|
|
21
25
|
return __generator(this, function (_b) {
|
|
22
26
|
params = isValueDefinitionsObjectParams(config) ? config[0] : ['securityGuideId', 'xRHIDENTITY', 'limit', 'offset', 'idsOnly', 'sortBy', 'filter', 'options'].reduce(function (acc, curr, index) {
|
|
23
27
|
var _a;
|
|
@@ -52,10 +56,11 @@ export var valueDefinitionsParamCreator = function () {
|
|
|
52
56
|
}
|
|
53
57
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
54
58
|
localVarRequestOptions.headers = __assign(__assign({}, localVarHeaderParameter), options.headers);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
+
args = {
|
|
60
|
+
urlObj: localVarUrlObj,
|
|
61
|
+
options: localVarRequestOptions,
|
|
62
|
+
};
|
|
63
|
+
return [2 /*return*/, sendRequest(Promise.resolve(args))];
|
|
59
64
|
});
|
|
60
65
|
});
|
|
61
66
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ValueDefinitions/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA0DjU,IAAM,8BAA8B,GAAG,UAAC,MAA4C;IAClF,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../ValueDefinitions/index.ts"],"names":[],"mappings":";AAEA,aAAa;AACb,OAAO,EAAmD,cAAc,EAAuG,eAAe,EAA8D,MAAM,8DAA8D,CAAC;AA0DjU,IAAM,8BAA8B,GAAG,UAAC,MAA4C;IAClF,IAAM,CAAC,GAAG,MAAM,CAAC,MAAM,KAAK,CAAC,CAAA;IAC7B,IAAG,CAAC,IAAI,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,QAAQ,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACnE,OAAO,IAAI,IAAI,MAAM,CAAC,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,CAAA;IACnF,CAAC;IACD,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AACD;;;;;;EAME;AACF,MAAM,CAAC,IAAM,4BAA4B,GAAG,UAAO,WAAmC;IAAE,gBAA+F;SAA/F,UAA+F,EAA/F,qBAA+F,EAA/F,IAA+F;QAA/F,+BAA+F;;;;;YAC7K,MAAM,GAAG,8BAA8B,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,iBAAiB,EAAE,aAAa,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,QAAQ,EAAE,SAAS,CAAC,CAAC,MAAM,CAAC,UAAC,GAAG,EAAE,IAAI,EAAE,KAAK;;gBAAK,OAAA,uBAAM,GAAG,gBAAG,IAAI,IAAG,MAAM,CAAC,KAAK,CAAC,OAAG;YAAnC,CAAmC,EAAE,EAAE,CAA2B,CAAC;YAC5P,eAAe,GAAwE,MAAM,gBAA9E,EAAE,WAAW,GAA2D,MAAM,YAAjE,EAAE,KAAK,GAAoD,MAAM,MAA1D,EAAE,MAAM,GAA4C,MAAM,OAAlD,EAAE,OAAO,GAAmC,MAAM,QAAzC,EAAE,MAAM,GAA2B,MAAM,OAAjC,EAAE,MAAM,GAAmB,MAAM,OAAzB,EAAE,KAAiB,MAAM,QAAX,EAAZ,OAAO,mBAAG,EAAE,KAAA,CAAY;YAChG,YAAY,GAAG,wDAAwD;iBACxE,OAAO,CAAC,WAAI,mBAAmB,MAAG,EAAE,kBAAkB,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;YAEhF,cAAc,GAAG,IAAI,GAAG,CAAC,YAAY,EAAE,cAAc,CAAC,CAAC;YACvD,sBAAsB,cAAK,MAAM,EAAE,KAAe,IAAK,OAAO,CAAC,CAAC;YAChE,uBAAuB,GAAG,EAAS,CAAC;YACpC,sBAAsB,GAAG,EAAS,CAAC;YAEzC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;gBACtB,sBAAsB,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC;YAC5C,CAAC;YAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;gBACxB,sBAAsB,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC;YACjD,CAAC;YAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,SAAS,CAAC,GAAG,MAAM,CAAC;YAC/C,CAAC;YAED,IAAI,MAAM,KAAK,SAAS,EAAE,CAAC;gBACvB,sBAAsB,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;YAC9C,CAAC;YAED,IAAI,WAAW,IAAI,IAAI,EAAE,CAAC;gBACtB,uBAAuB,CAAC,eAAe,CAAC,GAAG,OAAO,WAAW,KAAK,QAAQ;oBACtE,CAAC,CAAC,WAAW;oBACb,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;YACtC,CAAC;YAID,eAAe,CAAC,cAAc,EAAE,sBAAsB,CAAC,CAAC;YACxD,sBAAsB,CAAC,OAAO,yBAAO,uBAAuB,GAAK,OAAO,CAAC,OAAO,CAAC,CAAC;YAE5E,IAAI,GAAG;gBACT,MAAM,EAAE,cAAc;gBACtB,OAAO,EAAE,sBAAsB;aAClC,CAAC;YAEF,sBAAO,WAAW,CAA6B,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,EAAC;;;CACzE,CAAA;AAED,eAAe,4BAA4B,CAAC"}
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -1,115 +1,117 @@
|
|
|
1
1
|
import { ApiConfig } from '@redhat-cloud-services/javascript-clients-shared/dist/common';
|
|
2
|
-
import { AssignRuleReturnType, AssignRulesReturnType, AssignSystemReturnType, AssignSystemsReturnType, CreatePolicyReturnType, CreateTailoringReturnType, DeletePolicyReturnType, DeleteReportReturnType, PoliciesReturnType, PolicyReturnType, PolicySystemsReturnType, PolicySystemsOSReturnType, ProfileReturnType, ProfileRuleReturnType, ProfileRulesReturnType, ProfileTreeReturnType, ProfilesReturnType, ReportReturnType, ReportRuleResultsReturnType, ReportStatsReturnType, ReportSystemReturnType, ReportSystemsReturnType, ReportSystemsOSReturnType, ReportTestResultReturnType, ReportTestResultsReturnType, ReportTestResultsOSReturnType, ReportTestResultsSGReturnType, ReportsReturnType, ReportsOSReturnType, RuleReturnType, RuleGroupReturnType, RuleGroupsReturnType, RulesReturnType, SecurityGuideReturnType, SecurityGuideRuleTreeReturnType, SecurityGuidesReturnType, SecurityGuidesOSReturnType, SupportedProfilesReturnType, SystemReturnType, SystemReportsReturnType, SystemsReturnType, SystemsOSReturnType, SystemsPoliciesReturnType, TailoringReturnType, TailoringFileReturnType, TailoringRuleTreeReturnType, TailoringRulesReturnType, TailoringsReturnType, UnassignRuleReturnType, UnassignSystemReturnType, UpdatePolicyReturnType, UpdateTailoringReturnType, ValueDefinitionReturnType, ValueDefinitionsReturnType } from './index';
|
|
3
|
-
type endpointReturnTypes = {
|
|
4
|
-
assignRule: AssignRuleReturnType;
|
|
5
|
-
assignRules: AssignRulesReturnType;
|
|
6
|
-
assignSystem: AssignSystemReturnType;
|
|
7
|
-
assignSystems: AssignSystemsReturnType;
|
|
8
|
-
createPolicy: CreatePolicyReturnType;
|
|
9
|
-
createTailoring: CreateTailoringReturnType;
|
|
10
|
-
deletePolicy: DeletePolicyReturnType;
|
|
11
|
-
deleteReport: DeleteReportReturnType;
|
|
12
|
-
policies: PoliciesReturnType;
|
|
13
|
-
policy: PolicyReturnType;
|
|
14
|
-
policySystems: PolicySystemsReturnType;
|
|
15
|
-
policySystemsOS: PolicySystemsOSReturnType;
|
|
16
|
-
profile: ProfileReturnType;
|
|
17
|
-
profileRule: ProfileRuleReturnType;
|
|
18
|
-
profileRules: ProfileRulesReturnType;
|
|
19
|
-
profileTree: ProfileTreeReturnType;
|
|
20
|
-
profiles: ProfilesReturnType;
|
|
21
|
-
report: ReportReturnType;
|
|
22
|
-
reportRuleResults: ReportRuleResultsReturnType;
|
|
23
|
-
reportStats: ReportStatsReturnType;
|
|
24
|
-
reportSystem: ReportSystemReturnType;
|
|
25
|
-
reportSystems: ReportSystemsReturnType;
|
|
26
|
-
reportSystemsOS: ReportSystemsOSReturnType;
|
|
27
|
-
reportTestResult: ReportTestResultReturnType;
|
|
28
|
-
reportTestResults: ReportTestResultsReturnType;
|
|
29
|
-
reportTestResultsOS: ReportTestResultsOSReturnType;
|
|
30
|
-
reportTestResultsSG: ReportTestResultsSGReturnType;
|
|
31
|
-
reports: ReportsReturnType;
|
|
32
|
-
reportsOS: ReportsOSReturnType;
|
|
33
|
-
rule: RuleReturnType;
|
|
34
|
-
ruleGroup: RuleGroupReturnType;
|
|
35
|
-
ruleGroups: RuleGroupsReturnType;
|
|
36
|
-
rules: RulesReturnType;
|
|
37
|
-
securityGuide: SecurityGuideReturnType;
|
|
38
|
-
securityGuideRuleTree: SecurityGuideRuleTreeReturnType;
|
|
39
|
-
securityGuides: SecurityGuidesReturnType;
|
|
40
|
-
securityGuidesOS: SecurityGuidesOSReturnType;
|
|
41
|
-
supportedProfiles: SupportedProfilesReturnType;
|
|
42
|
-
system: SystemReturnType;
|
|
43
|
-
systemReports: SystemReportsReturnType;
|
|
44
|
-
systems: SystemsReturnType;
|
|
45
|
-
systemsOS: SystemsOSReturnType;
|
|
46
|
-
systemsPolicies: SystemsPoliciesReturnType;
|
|
47
|
-
tailoring: TailoringReturnType;
|
|
48
|
-
tailoringFile: TailoringFileReturnType;
|
|
49
|
-
tailoringRuleTree: TailoringRuleTreeReturnType;
|
|
50
|
-
tailoringRules: TailoringRulesReturnType;
|
|
51
|
-
tailorings: TailoringsReturnType;
|
|
52
|
-
unassignRule: UnassignRuleReturnType;
|
|
53
|
-
unassignSystem: UnassignSystemReturnType;
|
|
54
|
-
updatePolicy: UpdatePolicyReturnType;
|
|
55
|
-
updateTailoring: UpdateTailoringReturnType;
|
|
56
|
-
valueDefinition: ValueDefinitionReturnType;
|
|
57
|
-
valueDefinitions: ValueDefinitionsReturnType;
|
|
58
|
-
};
|
|
59
2
|
export declare const ComplianceClient: (BASE_PATH: string, instance?: ApiConfig) => import("packages/shared/dist/base").BaseAPI & import("@redhat-cloud-services/javascript-clients-shared/dist/utils").APIFactoryResponse<{
|
|
60
|
-
assignRule: (...config: ([import("./AssignRule").AssignRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
61
|
-
assignRules: (...config: ([import("./AssignRules").AssignRulesParams] | [any, any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
62
|
-
assignSystem: (...config: ([import("./AssignSystem").AssignSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
63
|
-
assignSystems: (...config: ([import("./AssignSystems").AssignSystemsParams] | [any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
64
|
-
createPolicy: (...config: ([import("./CreatePolicy").CreatePolicyParams] | [any, import("./types").Policy, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
65
|
-
createTailoring: (...config: ([import("./CreateTailoring").CreateTailoringParams] | [any, any, import("./types").TailoringCreate, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
66
|
-
deletePolicy: (...config: ([import("./DeletePolicy").DeletePolicyParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
67
|
-
deleteReport: (...config: ([import("./DeleteReport").DeleteReportParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
68
|
-
policies: (...config: ([import("./Policies").PoliciesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
69
|
-
policy: (...config: ([import("./Policy").PolicyParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
70
|
-
policySystems: (...config: ([import("./PolicySystems").PolicySystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
71
|
-
policySystemsOS: (...config: ([import("./PolicySystemsOS").PolicySystemsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
72
|
-
profile: (...config: ([import("./Profile").ProfileParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
73
|
-
profileRule: (...config: ([import("./ProfileRule").ProfileRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
74
|
-
profileRules: (...config: ([import("./ProfileRules").ProfileRulesParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
75
|
-
profileTree: (...config: ([import("./ProfileTree").ProfileTreeParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
76
|
-
profiles: (...config: ([import("./Profiles").ProfilesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
77
|
-
report: (...config: ([import("./Report").ReportParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
78
|
-
reportRuleResults: (...config: ([import("./ReportRuleResults").ReportRuleResultsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
79
|
-
reportStats: (...config: ([import("./ReportStats").ReportStatsParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
80
|
-
reportSystem: (...config: ([import("./ReportSystem").ReportSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
81
|
-
reportSystems: (...config: ([import("./ReportSystems").ReportSystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
82
|
-
reportSystemsOS: (...config: ([import("./ReportSystemsOS").ReportSystemsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
83
|
-
reportTestResult: (...config: ([import("./ReportTestResult").ReportTestResultParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
84
|
-
reportTestResults: (...config: ([import("./ReportTestResults").ReportTestResultsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
85
|
-
reportTestResultsOS: (...config: ([import("./ReportTestResultsOS").ReportTestResultsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
86
|
-
reportTestResultsSG: (...config: ([import("./ReportTestResultsSG").ReportTestResultsSGParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
87
|
-
reports: (...config: ([import("./Reports").ReportsParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
88
|
-
reportsOS: (...config: ([import("./ReportsOS").ReportsOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
89
|
-
rule: (...config: ([import("./Rule").RuleParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
90
|
-
ruleGroup: (...config: ([import("./RuleGroup").RuleGroupParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
91
|
-
ruleGroups: (...config: ([import("./RuleGroups").RuleGroupsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
92
|
-
rules: (...config: ([import("./Rules").RulesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
93
|
-
securityGuide: (...config: ([import("./SecurityGuide").SecurityGuideParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
94
|
-
securityGuideRuleTree: (...config: ([import("./SecurityGuideRuleTree").SecurityGuideRuleTreeParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
95
|
-
securityGuides: (...config: ([import("./SecurityGuides").SecurityGuidesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
96
|
-
securityGuidesOS: (...config: ([import("./SecurityGuidesOS").SecurityGuidesOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
3
|
+
assignRule: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./AssignRule").AssignRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
4
|
+
assignRules: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./AssignRules").AssignRulesParams] | [any, any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
5
|
+
assignSystem: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./AssignSystem").AssignSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
6
|
+
assignSystems: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./AssignSystems").AssignSystemsParams] | [any, any, import("./types").AssignRulesRequest, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
7
|
+
createPolicy: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./CreatePolicy").CreatePolicyParams] | [any, import("./types").Policy, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
8
|
+
createTailoring: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./CreateTailoring").CreateTailoringParams] | [any, any, import("./types").TailoringCreate, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
9
|
+
deletePolicy: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./DeletePolicy").DeletePolicyParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
10
|
+
deleteReport: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./DeleteReport").DeleteReportParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
11
|
+
policies: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Policies").PoliciesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Policies200Response, any, {}>>;
|
|
12
|
+
policy: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Policy").PolicyParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
13
|
+
policySystems: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./PolicySystems").PolicySystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
14
|
+
policySystemsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./PolicySystemsOS").PolicySystemsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
15
|
+
profile: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Profile").ProfileParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Profile200Response, any, {}>>;
|
|
16
|
+
profileRule: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ProfileRule").ProfileRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rule200Response, any, {}>>;
|
|
17
|
+
profileRules: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ProfileRules").ProfileRulesParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
18
|
+
profileTree: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ProfileTree").ProfileTreeParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
19
|
+
profiles: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Profiles").ProfilesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Profiles200Response, any, {}>>;
|
|
20
|
+
report: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Report").ReportParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Report200Response, any, {}>>;
|
|
21
|
+
reportRuleResults: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportRuleResults").ReportRuleResultsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ReportRuleResults200Response, any, {}>>;
|
|
22
|
+
reportStats: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportStats").ReportStatsParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ReportStats200Response, any, {}>>;
|
|
23
|
+
reportSystem: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportSystem").ReportSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
24
|
+
reportSystems: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportSystems").ReportSystemsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
25
|
+
reportSystemsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportSystemsOS").ReportSystemsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
26
|
+
reportTestResult: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportTestResult").ReportTestResultParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
27
|
+
reportTestResults: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportTestResults").ReportTestResultsParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ReportTestResults200Response, any, {}>>;
|
|
28
|
+
reportTestResultsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportTestResultsOS").ReportTestResultsOSParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
29
|
+
reportTestResultsSG: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportTestResultsSG").ReportTestResultsSGParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
30
|
+
reports: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Reports").ReportsParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Reports200Response, any, {}>>;
|
|
31
|
+
reportsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ReportsOS").ReportsOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
32
|
+
rule: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Rule").RuleParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rule200Response, any, {}>>;
|
|
33
|
+
ruleGroup: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./RuleGroup").RuleGroupParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").RuleGroup200Response, any, {}>>;
|
|
34
|
+
ruleGroups: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./RuleGroups").RuleGroupsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").RuleGroups200Response, any, {}>>;
|
|
35
|
+
rules: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Rules").RulesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
36
|
+
securityGuide: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SecurityGuide").SecurityGuideParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").SecurityGuide200Response, any, {}>>;
|
|
37
|
+
securityGuideRuleTree: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SecurityGuideRuleTree").SecurityGuideRuleTreeParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
38
|
+
securityGuides: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SecurityGuides").SecurityGuidesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").SecurityGuides200Response, any, {}>>;
|
|
39
|
+
securityGuidesOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SecurityGuidesOS").SecurityGuidesOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
40
|
+
status: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Status").StatusParams] | [import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Status200Response, any, {}>>;
|
|
41
|
+
supportedProfiles: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SupportedProfiles").SupportedProfilesParams] | [any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").SupportedProfiles200Response, any, {}>>;
|
|
42
|
+
system: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./System").SystemParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
43
|
+
systemReports: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SystemReports").SystemReportsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Reports200Response, any, {}>>;
|
|
44
|
+
systems: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Systems").SystemsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
45
|
+
systemsOS: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SystemsOS").SystemsOSParams] | [any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
46
|
+
systemsPolicies: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./SystemsPolicies").SystemsPoliciesParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Policies200Response, any, {}>>;
|
|
47
|
+
tailoring: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Tailoring").TailoringParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
48
|
+
tailoringFileJSON: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./TailoringFileJSON").TailoringFileJSONParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").TailoringFileJson, any, {}>>;
|
|
49
|
+
tailoringFileTOML: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./TailoringFileTOML").TailoringFileTOMLParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").TailoringFileToml, any, {}>>;
|
|
50
|
+
tailoringRuleTree: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./TailoringRuleTree").TailoringRuleTreeParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
51
|
+
tailoringRules: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./TailoringRules").TailoringRulesParams] | [any, any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
52
|
+
tailorings: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./Tailorings").TailoringsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").Tailorings200Response, any, {}>>;
|
|
53
|
+
unassignRule: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./UnassignRule").UnassignRuleParams] | [any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
54
|
+
unassignSystem: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./UnassignSystem").UnassignSystemParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
55
|
+
updatePolicy: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./UpdatePolicy").UpdatePolicyParams] | [any, any, import("./types").PolicyUpdate, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
56
|
+
updateTailoring: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./UpdateTailoring").UpdateTailoringParams] | [any, any, any, import("./types").Tailoring, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
57
|
+
valueDefinition: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ValueDefinition").ValueDefinitionParams] | [any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ValueDefinition200Response, any, {}>>;
|
|
58
|
+
valueDefinitions: (sendRequest: import("packages/shared/dist/base").BaseAPI["sendRequest"], ...config: ([import("./ValueDefinitions").ValueDefinitionsParams] | [any, any, any, any, any, any, any, import("axios").AxiosRequestConfig])) => Promise<import("axios").AxiosResponse<import("./types").ValueDefinitions200Response, any, {}>>;
|
|
59
|
+
}, {
|
|
60
|
+
assignRule: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
61
|
+
assignRules: Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
62
|
+
assignSystem: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
63
|
+
assignSystems: Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
64
|
+
createPolicy: Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
65
|
+
createTailoring: Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
66
|
+
deletePolicy: Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
67
|
+
deleteReport: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
68
|
+
policies: Promise<import("axios").AxiosResponse<import("./types").Policies200Response, any, {}>>;
|
|
69
|
+
policy: Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
70
|
+
policySystems: Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
71
|
+
policySystemsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
72
|
+
profile: Promise<import("axios").AxiosResponse<import("./types").Profile200Response, any, {}>>;
|
|
73
|
+
profileRule: Promise<import("axios").AxiosResponse<import("./types").Rule200Response, any, {}>>;
|
|
74
|
+
profileRules: Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
75
|
+
profileTree: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
76
|
+
profiles: Promise<import("axios").AxiosResponse<import("./types").Profiles200Response, any, {}>>;
|
|
77
|
+
report: Promise<import("axios").AxiosResponse<import("./types").Report200Response, any, {}>>;
|
|
78
|
+
reportRuleResults: Promise<import("axios").AxiosResponse<import("./types").ReportRuleResults200Response, any, {}>>;
|
|
79
|
+
reportStats: Promise<import("axios").AxiosResponse<import("./types").ReportStats200Response, any, {}>>;
|
|
80
|
+
reportSystem: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
81
|
+
reportSystems: Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
82
|
+
reportSystemsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
83
|
+
reportTestResult: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
84
|
+
reportTestResults: Promise<import("axios").AxiosResponse<import("./types").ReportTestResults200Response, any, {}>>;
|
|
85
|
+
reportTestResultsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
86
|
+
reportTestResultsSG: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
87
|
+
reports: Promise<import("axios").AxiosResponse<import("./types").Reports200Response, any, {}>>;
|
|
88
|
+
reportsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
89
|
+
rule: Promise<import("axios").AxiosResponse<import("./types").Rule200Response, any, {}>>;
|
|
90
|
+
ruleGroup: Promise<import("axios").AxiosResponse<import("./types").RuleGroup200Response, any, {}>>;
|
|
91
|
+
ruleGroups: Promise<import("axios").AxiosResponse<import("./types").RuleGroups200Response, any, {}>>;
|
|
92
|
+
rules: Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
93
|
+
securityGuide: Promise<import("axios").AxiosResponse<import("./types").SecurityGuide200Response, any, {}>>;
|
|
94
|
+
securityGuideRuleTree: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
95
|
+
securityGuides: Promise<import("axios").AxiosResponse<import("./types").SecurityGuides200Response, any, {}>>;
|
|
96
|
+
securityGuidesOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
97
|
+
status: Promise<import("axios").AxiosResponse<import("./types").Status200Response, any, {}>>;
|
|
98
|
+
supportedProfiles: Promise<import("axios").AxiosResponse<import("./types").SupportedProfiles200Response, any, {}>>;
|
|
99
|
+
system: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
100
|
+
systemReports: Promise<import("axios").AxiosResponse<import("./types").Reports200Response, any, {}>>;
|
|
101
|
+
systems: Promise<import("axios").AxiosResponse<import("./types").Systems200Response, any, {}>>;
|
|
102
|
+
systemsOS: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
103
|
+
systemsPolicies: Promise<import("axios").AxiosResponse<import("./types").Policies200Response, any, {}>>;
|
|
104
|
+
tailoring: Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
105
|
+
tailoringFileJSON: Promise<import("axios").AxiosResponse<import("./types").TailoringFileJson, any, {}>>;
|
|
106
|
+
tailoringFileTOML: Promise<import("axios").AxiosResponse<import("./types").TailoringFileToml, any, {}>>;
|
|
107
|
+
tailoringRuleTree: Promise<import("axios").AxiosResponse<any, any, {}>>;
|
|
108
|
+
tailoringRules: Promise<import("axios").AxiosResponse<import("./types").Rules200Response, any, {}>>;
|
|
109
|
+
tailorings: Promise<import("axios").AxiosResponse<import("./types").Tailorings200Response, any, {}>>;
|
|
110
|
+
unassignRule: Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
111
|
+
unassignSystem: Promise<import("axios").AxiosResponse<import("./types").System200Response, any, {}>>;
|
|
112
|
+
updatePolicy: Promise<import("axios").AxiosResponse<import("./types").CreatePolicy201Response, any, {}>>;
|
|
113
|
+
updateTailoring: Promise<import("axios").AxiosResponse<import("./types").CreateTailoring201Response, any, {}>>;
|
|
114
|
+
valueDefinition: Promise<import("axios").AxiosResponse<import("./types").ValueDefinition200Response, any, {}>>;
|
|
115
|
+
valueDefinitions: Promise<import("axios").AxiosResponse<import("./types").ValueDefinitions200Response, any, {}>>;
|
|
116
|
+
}>;
|
|
115
117
|
export default ComplianceClient;
|
package/dist/esm/api.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
1
3
|
import { APIFactory } from '@redhat-cloud-services/javascript-clients-shared/dist/utils';
|
|
2
|
-
import { assignRule, assignRules, assignSystem, assignSystems, createPolicy, createTailoring, deletePolicy, deleteReport, policies, policy, policySystems, policySystemsOS, profile, profileRule, profileRules, profileTree, profiles, report, reportRuleResults, reportStats, reportSystem, reportSystems, reportSystemsOS, reportTestResult, reportTestResults, reportTestResultsOS, reportTestResultsSG, reports, reportsOS, rule, ruleGroup, ruleGroups, rules, securityGuide, securityGuideRuleTree, securityGuides, securityGuidesOS, supportedProfiles, system, systemReports, systems, systemsOS, systemsPolicies, tailoring,
|
|
4
|
+
import { assignRule, assignRules, assignSystem, assignSystems, createPolicy, createTailoring, deletePolicy, deleteReport, policies, policy, policySystems, policySystemsOS, profile, profileRule, profileRules, profileTree, profiles, report, reportRuleResults, reportStats, reportSystem, reportSystems, reportSystemsOS, reportTestResult, reportTestResults, reportTestResultsOS, reportTestResultsSG, reports, reportsOS, rule, ruleGroup, ruleGroups, rules, securityGuide, securityGuideRuleTree, securityGuides, securityGuidesOS, status, supportedProfiles, system, systemReports, systems, systemsOS, systemsPolicies, tailoring, tailoringFileJSON, tailoringFileTOML, tailoringRuleTree, tailoringRules, tailorings, unassignRule, unassignSystem, updatePolicy, updateTailoring, valueDefinition, valueDefinitions, } from './index';
|
|
3
5
|
var endpointList = {
|
|
4
6
|
assignRule: assignRule,
|
|
5
7
|
assignRules: assignRules,
|
|
@@ -38,6 +40,7 @@ var endpointList = {
|
|
|
38
40
|
securityGuideRuleTree: securityGuideRuleTree,
|
|
39
41
|
securityGuides: securityGuides,
|
|
40
42
|
securityGuidesOS: securityGuidesOS,
|
|
43
|
+
status: status,
|
|
41
44
|
supportedProfiles: supportedProfiles,
|
|
42
45
|
system: system,
|
|
43
46
|
systemReports: systemReports,
|
|
@@ -45,7 +48,8 @@ var endpointList = {
|
|
|
45
48
|
systemsOS: systemsOS,
|
|
46
49
|
systemsPolicies: systemsPolicies,
|
|
47
50
|
tailoring: tailoring,
|
|
48
|
-
|
|
51
|
+
tailoringFileJSON: tailoringFileJSON,
|
|
52
|
+
tailoringFileTOML: tailoringFileTOML,
|
|
49
53
|
tailoringRuleTree: tailoringRuleTree,
|
|
50
54
|
tailoringRules: tailoringRules,
|
|
51
55
|
tailorings: tailorings,
|
package/dist/esm/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../api.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../api.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,OAAO,EAAE,UAAU,EAAE,MAAM,6DAA6D,CAAC;AAEzF,OAAO,EACH,UAAU,EACV,WAAW,EACX,YAAY,EACZ,aAAa,EACb,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,QAAQ,EACR,MAAM,EACN,aAAa,EACb,eAAe,EACf,OAAO,EACP,WAAW,EACX,YAAY,EACZ,WAAW,EACX,QAAQ,EACR,MAAM,EACN,iBAAiB,EACjB,WAAW,EACX,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,mBAAmB,EACnB,OAAO,EACP,SAAS,EACT,IAAI,EACJ,SAAS,EACT,UAAU,EACV,KAAK,EACL,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,gBAAgB,EAChB,MAAM,EACN,iBAAiB,EACjB,MAAM,EACN,aAAa,EACb,OAAO,EACP,SAAS,EACT,eAAe,EACf,SAAS,EACT,iBAAiB,EACjB,iBAAiB,EACjB,iBAAiB,EACjB,cAAc,EACd,UAAU,EACV,YAAY,EACZ,cAAc,EACd,YAAY,EACZ,eAAe,EACf,eAAe,EACf,gBAAgB,GAEjB,MAAM,SAAS,CAAC;AAEnB,IAAM,YAAY,GAAG;IACf,UAAU,YAAA;IACZ,WAAW,aAAA;IACX,YAAY,cAAA;IACZ,aAAa,eAAA;IACb,YAAY,cAAA;IACZ,eAAe,iBAAA;IACf,YAAY,cAAA;IACZ,YAAY,cAAA;IACZ,QAAQ,UAAA;IACR,MAAM,QAAA;IACN,aAAa,eAAA;IACb,eAAe,iBAAA;IACf,OAAO,SAAA;IACP,WAAW,aAAA;IACX,YAAY,cAAA;IACZ,WAAW,aAAA;IACX,QAAQ,UAAA;IACR,MAAM,QAAA;IACN,iBAAiB,mBAAA;IACjB,WAAW,aAAA;IACX,YAAY,cAAA;IACZ,aAAa,eAAA;IACb,eAAe,iBAAA;IACf,gBAAgB,kBAAA;IAChB,iBAAiB,mBAAA;IACjB,mBAAmB,qBAAA;IACnB,mBAAmB,qBAAA;IACnB,OAAO,SAAA;IACP,SAAS,WAAA;IACT,IAAI,MAAA;IACJ,SAAS,WAAA;IACT,UAAU,YAAA;IACV,KAAK,OAAA;IACL,aAAa,eAAA;IACb,qBAAqB,uBAAA;IACrB,cAAc,gBAAA;IACd,gBAAgB,kBAAA;IAChB,MAAM,QAAA;IACN,iBAAiB,mBAAA;IACjB,MAAM,QAAA;IACN,aAAa,eAAA;IACb,OAAO,SAAA;IACP,SAAS,WAAA;IACT,eAAe,iBAAA;IACf,SAAS,WAAA;IACT,iBAAiB,mBAAA;IACjB,iBAAiB,mBAAA;IACjB,iBAAiB,mBAAA;IACjB,cAAc,gBAAA;IACd,UAAU,YAAA;IACV,YAAY,cAAA;IACZ,cAAc,gBAAA;IACd,YAAY,cAAA;IACZ,eAAe,iBAAA;IACf,eAAe,iBAAA;IACf,gBAAgB,kBAAA;CAGnB,CAAC;AAEF,MAAM,CAAC,IAAM,gBAAgB,GAAG,UAAC,SAAiB,EAAE,QAAoB;IACtE,OAAO,UAAU,CAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,CAAC,CAAC;AACvD,CAAC,CAAA;AAED,eAAe,gBAAgB,CAAC"}
|