@redhat-cloud-services/compliance-client 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/AssignRule/index.d.ts +1 -1
- package/dist/DeleteReport/index.d.ts +1 -1
- package/dist/DeleteReport/index.js +1 -1
- package/dist/PolicySystems/index.d.ts +1 -1
- package/dist/PolicySystemsOS/index.d.ts +33 -0
- package/dist/PolicySystemsOS/index.js +56 -0
- package/dist/PolicySystemsOS/index.js.map +1 -0
- package/dist/Profile/index.d.ts +1 -1
- package/dist/ProfileRule/index.d.ts +1 -1
- package/dist/ProfileRules/index.d.ts +1 -1
- package/dist/ReportRuleResults/index.d.ts +56 -0
- package/dist/ReportRuleResults/index.js +65 -0
- package/dist/ReportRuleResults/index.js.map +1 -0
- package/dist/ReportStats/index.d.ts +27 -0
- package/dist/ReportStats/index.js +53 -0
- package/dist/ReportStats/index.js.map +1 -0
- package/dist/ReportSystems/index.d.ts +1 -1
- package/dist/ReportSystemsOS/index.d.ts +33 -0
- package/dist/ReportSystemsOS/index.js +56 -0
- package/dist/ReportSystemsOS/index.js.map +1 -0
- package/dist/ReportTestResults/index.d.ts +1 -1
- package/dist/ReportTestResultsOS/index.d.ts +33 -0
- package/dist/ReportTestResultsOS/index.js +56 -0
- package/dist/ReportTestResultsOS/index.js.map +1 -0
- package/dist/Rule/index.d.ts +1 -1
- package/dist/Rules/index.d.ts +1 -1
- package/dist/SecurityGuides/index.d.ts +1 -1
- package/dist/SecurityGuidesOS/index.d.ts +27 -0
- package/dist/SecurityGuidesOS/index.js +55 -0
- package/dist/SecurityGuidesOS/index.js.map +1 -0
- package/dist/SystemReports/index.d.ts +50 -0
- package/dist/SystemReports/index.js +64 -0
- package/dist/SystemReports/index.js.map +1 -0
- package/dist/Systems/index.d.ts +1 -1
- package/dist/SystemsOS/index.d.ts +27 -0
- package/dist/SystemsOS/index.js +55 -0
- package/dist/SystemsOS/index.js.map +1 -0
- package/dist/TailoringRules/index.d.ts +1 -1
- package/dist/UnassignRule/index.d.ts +1 -1
- package/dist/api.d.ts +1183 -1472
- package/dist/api.js +2279 -896
- package/dist/api.js.map +1 -1
- package/dist/index.d.ts +8 -0
- package/dist/index.js +25 -1
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +169 -5
- package/dist/types/index.js +15 -1
- package/dist/types/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// This is a sample supporting file mustache template.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.valueDefinitions = exports.valueDefinition = exports.updateTailoring = exports.updatePolicy = exports.unassignSystem = exports.unassignRule = exports.tailorings = exports.tailoringRules = exports.tailoringFile = exports.tailoring = exports.systemsPolicies = exports.systems = exports.system = exports.supportedProfiles = exports.securityGuides = exports.securityGuideRuleTree = exports.securityGuide = exports.rules = exports.ruleGroups = exports.ruleGroup = exports.rule = exports.reports = exports.reportTestResults = exports.reportTestResult = exports.reportSystems = exports.reportSystem = exports.report = exports.profiles = exports.profileRules = exports.profileRule = exports.profile = exports.policySystems = exports.policy = exports.policies = exports.deleteReport = exports.deletePolicy = exports.createPolicy = exports.assignSystems = exports.assignSystem = exports.assignRules = exports.assignRule = void 0;
|
|
4
|
+
exports.valueDefinitions = exports.valueDefinition = exports.updateTailoring = exports.updatePolicy = exports.unassignSystem = exports.unassignRule = exports.tailorings = exports.tailoringRules = exports.tailoringFile = exports.tailoring = exports.systemsPolicies = exports.systemsOS = exports.systems = exports.systemReports = exports.system = exports.supportedProfiles = exports.securityGuidesOS = exports.securityGuides = exports.securityGuideRuleTree = exports.securityGuide = exports.rules = exports.ruleGroups = exports.ruleGroup = exports.rule = exports.reports = exports.reportTestResultsOS = exports.reportTestResults = exports.reportTestResult = exports.reportSystemsOS = exports.reportSystems = exports.reportSystem = exports.reportStats = exports.reportRuleResults = exports.report = exports.profiles = exports.profileRules = exports.profileRule = exports.profile = exports.policySystemsOS = exports.policySystems = exports.policy = exports.policies = exports.deleteReport = exports.deletePolicy = exports.createPolicy = exports.assignSystems = exports.assignSystem = exports.assignRules = exports.assignRule = void 0;
|
|
5
5
|
var tslib_1 = require("tslib");
|
|
6
6
|
tslib_1.__exportStar(require("./types"), exports);
|
|
7
7
|
var AssignRule_1 = require("./AssignRule");
|
|
@@ -34,6 +34,9 @@ Object.defineProperty(exports, "policy", { enumerable: true, get: function () {
|
|
|
34
34
|
var PolicySystems_1 = require("./PolicySystems");
|
|
35
35
|
Object.defineProperty(exports, "policySystems", { enumerable: true, get: function () { return PolicySystems_1.default; } });
|
|
36
36
|
// end of operations block
|
|
37
|
+
var PolicySystemsOS_1 = require("./PolicySystemsOS");
|
|
38
|
+
Object.defineProperty(exports, "policySystemsOS", { enumerable: true, get: function () { return PolicySystemsOS_1.default; } });
|
|
39
|
+
// end of operations block
|
|
37
40
|
var Profile_1 = require("./Profile");
|
|
38
41
|
Object.defineProperty(exports, "profile", { enumerable: true, get: function () { return Profile_1.default; } });
|
|
39
42
|
// end of operations block
|
|
@@ -49,18 +52,30 @@ Object.defineProperty(exports, "profiles", { enumerable: true, get: function ()
|
|
|
49
52
|
var Report_1 = require("./Report");
|
|
50
53
|
Object.defineProperty(exports, "report", { enumerable: true, get: function () { return Report_1.default; } });
|
|
51
54
|
// end of operations block
|
|
55
|
+
var ReportRuleResults_1 = require("./ReportRuleResults");
|
|
56
|
+
Object.defineProperty(exports, "reportRuleResults", { enumerable: true, get: function () { return ReportRuleResults_1.default; } });
|
|
57
|
+
// end of operations block
|
|
58
|
+
var ReportStats_1 = require("./ReportStats");
|
|
59
|
+
Object.defineProperty(exports, "reportStats", { enumerable: true, get: function () { return ReportStats_1.default; } });
|
|
60
|
+
// end of operations block
|
|
52
61
|
var ReportSystem_1 = require("./ReportSystem");
|
|
53
62
|
Object.defineProperty(exports, "reportSystem", { enumerable: true, get: function () { return ReportSystem_1.default; } });
|
|
54
63
|
// end of operations block
|
|
55
64
|
var ReportSystems_1 = require("./ReportSystems");
|
|
56
65
|
Object.defineProperty(exports, "reportSystems", { enumerable: true, get: function () { return ReportSystems_1.default; } });
|
|
57
66
|
// end of operations block
|
|
67
|
+
var ReportSystemsOS_1 = require("./ReportSystemsOS");
|
|
68
|
+
Object.defineProperty(exports, "reportSystemsOS", { enumerable: true, get: function () { return ReportSystemsOS_1.default; } });
|
|
69
|
+
// end of operations block
|
|
58
70
|
var ReportTestResult_1 = require("./ReportTestResult");
|
|
59
71
|
Object.defineProperty(exports, "reportTestResult", { enumerable: true, get: function () { return ReportTestResult_1.default; } });
|
|
60
72
|
// end of operations block
|
|
61
73
|
var ReportTestResults_1 = require("./ReportTestResults");
|
|
62
74
|
Object.defineProperty(exports, "reportTestResults", { enumerable: true, get: function () { return ReportTestResults_1.default; } });
|
|
63
75
|
// end of operations block
|
|
76
|
+
var ReportTestResultsOS_1 = require("./ReportTestResultsOS");
|
|
77
|
+
Object.defineProperty(exports, "reportTestResultsOS", { enumerable: true, get: function () { return ReportTestResultsOS_1.default; } });
|
|
78
|
+
// end of operations block
|
|
64
79
|
var Reports_1 = require("./Reports");
|
|
65
80
|
Object.defineProperty(exports, "reports", { enumerable: true, get: function () { return Reports_1.default; } });
|
|
66
81
|
// end of operations block
|
|
@@ -85,15 +100,24 @@ Object.defineProperty(exports, "securityGuideRuleTree", { enumerable: true, get:
|
|
|
85
100
|
var SecurityGuides_1 = require("./SecurityGuides");
|
|
86
101
|
Object.defineProperty(exports, "securityGuides", { enumerable: true, get: function () { return SecurityGuides_1.default; } });
|
|
87
102
|
// end of operations block
|
|
103
|
+
var SecurityGuidesOS_1 = require("./SecurityGuidesOS");
|
|
104
|
+
Object.defineProperty(exports, "securityGuidesOS", { enumerable: true, get: function () { return SecurityGuidesOS_1.default; } });
|
|
105
|
+
// end of operations block
|
|
88
106
|
var SupportedProfiles_1 = require("./SupportedProfiles");
|
|
89
107
|
Object.defineProperty(exports, "supportedProfiles", { enumerable: true, get: function () { return SupportedProfiles_1.default; } });
|
|
90
108
|
// end of operations block
|
|
91
109
|
var System_1 = require("./System");
|
|
92
110
|
Object.defineProperty(exports, "system", { enumerable: true, get: function () { return System_1.default; } });
|
|
93
111
|
// end of operations block
|
|
112
|
+
var SystemReports_1 = require("./SystemReports");
|
|
113
|
+
Object.defineProperty(exports, "systemReports", { enumerable: true, get: function () { return SystemReports_1.default; } });
|
|
114
|
+
// end of operations block
|
|
94
115
|
var Systems_1 = require("./Systems");
|
|
95
116
|
Object.defineProperty(exports, "systems", { enumerable: true, get: function () { return Systems_1.default; } });
|
|
96
117
|
// end of operations block
|
|
118
|
+
var SystemsOS_1 = require("./SystemsOS");
|
|
119
|
+
Object.defineProperty(exports, "systemsOS", { enumerable: true, get: function () { return SystemsOS_1.default; } });
|
|
120
|
+
// end of operations block
|
|
97
121
|
var SystemsPolicies_1 = require("./SystemsPolicies");
|
|
98
122
|
Object.defineProperty(exports, "systemsPolicies", { enumerable: true, get: function () { return SystemsPolicies_1.default; } });
|
|
99
123
|
// end of operations block
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sDAAsD;;;;AAEtD,kDAAuB;AAEvB,2CAAoD;AAA3C,wGAAA,OAAO,OAAc;AAG9B,0BAA0B;AAC1B,6CAAsD;AAA7C,0GAAA,OAAO,OAAe;AAG/B,0BAA0B;AAC1B,+CAAwD;AAA/C,4GAAA,OAAO,OAAgB;AAGhC,0BAA0B;AAC1B,iDAA0D;AAAjD,8GAAA,OAAO,OAAiB;AAGjC,0BAA0B;AAC1B,+CAAwD;AAA/C,4GAAA,OAAO,OAAgB;AAGhC,0BAA0B;AAC1B,+CAAwD;AAA/C,4GAAA,OAAO,OAAgB;AAGhC,0BAA0B;AAC1B,+CAAwD;AAA/C,4GAAA,OAAO,OAAgB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OAAO,OAAoB;AAGpC,0BAA0B"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -398,31 +398,37 @@ export interface Report {
|
|
|
398
398
|
*/
|
|
399
399
|
'profile_title'?: any;
|
|
400
400
|
/**
|
|
401
|
-
*
|
|
401
|
+
* Describes percentage of compliant systems
|
|
402
|
+
* @type {any}
|
|
403
|
+
* @memberof Report
|
|
404
|
+
*/
|
|
405
|
+
'percent_compliant'?: any;
|
|
406
|
+
/**
|
|
407
|
+
* The number of Systems assigned to this Report. Not visible under the Systems endpoint.
|
|
402
408
|
* @type {any}
|
|
403
409
|
* @memberof Report
|
|
404
410
|
*/
|
|
405
411
|
'assigned_system_count'?: any;
|
|
406
412
|
/**
|
|
407
|
-
* The number of compliant Systems in this Report
|
|
413
|
+
* The number of compliant Systems in this Report. Inconsistent under the Systems endpoint.
|
|
408
414
|
* @type {any}
|
|
409
415
|
* @memberof Report
|
|
410
416
|
*/
|
|
411
417
|
'compliant_system_count'?: any;
|
|
412
418
|
/**
|
|
413
|
-
* Informs if the user has access to all the Systems under the Report
|
|
419
|
+
* Informs if the user has access to all the Systems under the Report. \\ Inconsistent under the Systems endpoint.
|
|
414
420
|
* @type {any}
|
|
415
421
|
* @memberof Report
|
|
416
422
|
*/
|
|
417
423
|
'all_systems_exposed'?: any;
|
|
418
424
|
/**
|
|
419
|
-
* The number of unsupported Systems in this Report
|
|
425
|
+
* The number of unsupported Systems in this Report. \\ Inconsistent under the Systems endpoint.
|
|
420
426
|
* @type {any}
|
|
421
427
|
* @memberof Report
|
|
422
428
|
*/
|
|
423
429
|
'unsupported_system_count'?: any;
|
|
424
430
|
/**
|
|
425
|
-
* The number of Systems in this Report that have Test Results available
|
|
431
|
+
* The number of Systems in this Report that have Test Results available. \\ Inconsistent under the Systems endpoint.
|
|
426
432
|
* @type {any}
|
|
427
433
|
* @memberof Report
|
|
428
434
|
*/
|
|
@@ -458,6 +464,57 @@ export interface Report200ResponseData {
|
|
|
458
464
|
*/
|
|
459
465
|
'schema'?: Report;
|
|
460
466
|
}
|
|
467
|
+
/**
|
|
468
|
+
*
|
|
469
|
+
* @export
|
|
470
|
+
* @interface ReportRuleResults200Response
|
|
471
|
+
*/
|
|
472
|
+
export interface ReportRuleResults200Response {
|
|
473
|
+
/**
|
|
474
|
+
*
|
|
475
|
+
* @type {Metadata}
|
|
476
|
+
* @memberof ReportRuleResults200Response
|
|
477
|
+
*/
|
|
478
|
+
'meta'?: Metadata;
|
|
479
|
+
/**
|
|
480
|
+
*
|
|
481
|
+
* @type {Links}
|
|
482
|
+
* @memberof ReportRuleResults200Response
|
|
483
|
+
*/
|
|
484
|
+
'links'?: Links;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {any}
|
|
488
|
+
* @memberof ReportRuleResults200Response
|
|
489
|
+
*/
|
|
490
|
+
'data'?: any;
|
|
491
|
+
}
|
|
492
|
+
/**
|
|
493
|
+
*
|
|
494
|
+
* @export
|
|
495
|
+
* @interface ReportStats200Response
|
|
496
|
+
*/
|
|
497
|
+
export interface ReportStats200Response {
|
|
498
|
+
/**
|
|
499
|
+
*
|
|
500
|
+
* @type {ReportStats200ResponseData}
|
|
501
|
+
* @memberof ReportStats200Response
|
|
502
|
+
*/
|
|
503
|
+
'data'?: ReportStats200ResponseData;
|
|
504
|
+
}
|
|
505
|
+
/**
|
|
506
|
+
*
|
|
507
|
+
* @export
|
|
508
|
+
* @interface ReportStats200ResponseData
|
|
509
|
+
*/
|
|
510
|
+
export interface ReportStats200ResponseData {
|
|
511
|
+
/**
|
|
512
|
+
*
|
|
513
|
+
* @type {any}
|
|
514
|
+
* @memberof ReportStats200ResponseData
|
|
515
|
+
*/
|
|
516
|
+
'schema'?: any;
|
|
517
|
+
}
|
|
461
518
|
/**
|
|
462
519
|
*
|
|
463
520
|
* @export
|
|
@@ -562,6 +619,12 @@ export interface Rule {
|
|
|
562
619
|
* @memberof Rule
|
|
563
620
|
*/
|
|
564
621
|
'severity'?: any;
|
|
622
|
+
/**
|
|
623
|
+
* Whether or not a remediation is available for the given rule.
|
|
624
|
+
* @type {any}
|
|
625
|
+
* @memberof Rule
|
|
626
|
+
*/
|
|
627
|
+
'remediation_available'?: any;
|
|
565
628
|
/**
|
|
566
629
|
* The idenfitier of the remediation associated to this rule, only available under profiles.
|
|
567
630
|
* @type {any}
|
|
@@ -703,6 +766,101 @@ export interface RuleGroups200Response {
|
|
|
703
766
|
*/
|
|
704
767
|
'data'?: any;
|
|
705
768
|
}
|
|
769
|
+
/**
|
|
770
|
+
*
|
|
771
|
+
* @export
|
|
772
|
+
* @interface RuleResult
|
|
773
|
+
*/
|
|
774
|
+
export interface RuleResult {
|
|
775
|
+
/**
|
|
776
|
+
*
|
|
777
|
+
* @type {any}
|
|
778
|
+
* @memberof RuleResult
|
|
779
|
+
*/
|
|
780
|
+
'id'?: any;
|
|
781
|
+
/**
|
|
782
|
+
*
|
|
783
|
+
* @type {any}
|
|
784
|
+
* @memberof RuleResult
|
|
785
|
+
*/
|
|
786
|
+
'type'?: RuleResultTypeEnum;
|
|
787
|
+
/**
|
|
788
|
+
* Status of the Rule Result
|
|
789
|
+
* @type {any}
|
|
790
|
+
* @memberof RuleResult
|
|
791
|
+
*/
|
|
792
|
+
'result'?: RuleResultResultEnum;
|
|
793
|
+
/**
|
|
794
|
+
* UUID of the affected Rule
|
|
795
|
+
* @type {any}
|
|
796
|
+
* @memberof RuleResult
|
|
797
|
+
*/
|
|
798
|
+
'rule_id'?: any;
|
|
799
|
+
/**
|
|
800
|
+
* UUID of the affected System
|
|
801
|
+
* @type {any}
|
|
802
|
+
* @memberof RuleResult
|
|
803
|
+
*/
|
|
804
|
+
'system_id'?: any;
|
|
805
|
+
/**
|
|
806
|
+
* Identificator of the Rule
|
|
807
|
+
* @type {any}
|
|
808
|
+
* @memberof RuleResult
|
|
809
|
+
*/
|
|
810
|
+
'ref_id'?: any;
|
|
811
|
+
/**
|
|
812
|
+
* Short title of the Rule
|
|
813
|
+
* @type {any}
|
|
814
|
+
* @memberof RuleResult
|
|
815
|
+
*/
|
|
816
|
+
'title'?: any;
|
|
817
|
+
/**
|
|
818
|
+
* Rationale of the Rule
|
|
819
|
+
* @type {any}
|
|
820
|
+
* @memberof RuleResult
|
|
821
|
+
*/
|
|
822
|
+
'rationale'?: any;
|
|
823
|
+
/**
|
|
824
|
+
* Longer description of the Rule
|
|
825
|
+
* @type {any}
|
|
826
|
+
* @memberof RuleResult
|
|
827
|
+
*/
|
|
828
|
+
'description'?: any;
|
|
829
|
+
/**
|
|
830
|
+
* The original sorting precedence of the Rule in the Security Guide
|
|
831
|
+
* @type {any}
|
|
832
|
+
* @memberof RuleResult
|
|
833
|
+
*/
|
|
834
|
+
'precedence'?: any;
|
|
835
|
+
/**
|
|
836
|
+
* The severity of the Rule
|
|
837
|
+
* @type {any}
|
|
838
|
+
* @memberof RuleResult
|
|
839
|
+
*/
|
|
840
|
+
'severity'?: any;
|
|
841
|
+
/**
|
|
842
|
+
* The idenfitier of the remediation associated to this rule, only available under profiles.
|
|
843
|
+
* @type {any}
|
|
844
|
+
* @memberof RuleResult
|
|
845
|
+
*/
|
|
846
|
+
'remediation_issue_id'?: any;
|
|
847
|
+
}
|
|
848
|
+
export declare const RuleResultTypeEnum: {
|
|
849
|
+
readonly Rule: "rule";
|
|
850
|
+
};
|
|
851
|
+
export type RuleResultTypeEnum = typeof RuleResultTypeEnum[keyof typeof RuleResultTypeEnum];
|
|
852
|
+
export declare const RuleResultResultEnum: {
|
|
853
|
+
readonly Pass: "pass";
|
|
854
|
+
readonly Fail: "fail";
|
|
855
|
+
readonly Error: "error";
|
|
856
|
+
readonly Unknown: "unknown";
|
|
857
|
+
readonly Fixed: "fixed";
|
|
858
|
+
readonly Notapplicable: "notapplicable";
|
|
859
|
+
readonly Notchecked: "notchecked";
|
|
860
|
+
readonly Informational: "informational";
|
|
861
|
+
readonly Notselected: "notselected";
|
|
862
|
+
};
|
|
863
|
+
export type RuleResultResultEnum = typeof RuleResultResultEnum[keyof typeof RuleResultResultEnum];
|
|
706
864
|
/**
|
|
707
865
|
*
|
|
708
866
|
* @export
|
|
@@ -1086,6 +1244,12 @@ export interface Tailoring {
|
|
|
1086
1244
|
* @memberof Tailoring
|
|
1087
1245
|
*/
|
|
1088
1246
|
'security_guide_id'?: any;
|
|
1247
|
+
/**
|
|
1248
|
+
* Version of the Security Guide that contains the parent Profile
|
|
1249
|
+
* @type {any}
|
|
1250
|
+
* @memberof Tailoring
|
|
1251
|
+
*/
|
|
1252
|
+
'security_guide_version'?: any;
|
|
1089
1253
|
/**
|
|
1090
1254
|
* Major version of the Operating System that the Tailoring covers
|
|
1091
1255
|
* @type {any}
|
package/dist/types/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ValueDefinitionTypeEnum = exports.TestResultTypeEnum = exports.TailoringTypeEnum = exports.SystemTypeEnum = exports.SupportedProfileTypeEnum = exports.SecurityGuideTypeEnum = exports.RuleGroupTypeEnum = exports.RuleTypeEnum = exports.ReportTypeEnum = exports.ProfileTypeEnum = exports.PolicyTypeEnum = void 0;
|
|
3
|
+
exports.ValueDefinitionTypeEnum = exports.TestResultTypeEnum = exports.TailoringTypeEnum = exports.SystemTypeEnum = exports.SupportedProfileTypeEnum = exports.SecurityGuideTypeEnum = exports.RuleResultResultEnum = exports.RuleResultTypeEnum = exports.RuleGroupTypeEnum = exports.RuleTypeEnum = exports.ReportTypeEnum = exports.ProfileTypeEnum = exports.PolicyTypeEnum = void 0;
|
|
4
4
|
exports.PolicyTypeEnum = {
|
|
5
5
|
Policy: 'policy'
|
|
6
6
|
};
|
|
@@ -16,6 +16,20 @@ exports.RuleTypeEnum = {
|
|
|
16
16
|
exports.RuleGroupTypeEnum = {
|
|
17
17
|
RuleGroup: 'rule_group'
|
|
18
18
|
};
|
|
19
|
+
exports.RuleResultTypeEnum = {
|
|
20
|
+
Rule: 'rule'
|
|
21
|
+
};
|
|
22
|
+
exports.RuleResultResultEnum = {
|
|
23
|
+
Pass: 'pass',
|
|
24
|
+
Fail: 'fail',
|
|
25
|
+
Error: 'error',
|
|
26
|
+
Unknown: 'unknown',
|
|
27
|
+
Fixed: 'fixed',
|
|
28
|
+
Notapplicable: 'notapplicable',
|
|
29
|
+
Notchecked: 'notchecked',
|
|
30
|
+
Informational: 'informational',
|
|
31
|
+
Notselected: 'notselected'
|
|
32
|
+
};
|
|
19
33
|
exports.SecurityGuideTypeEnum = {
|
|
20
34
|
SecurityGuide: 'security_guide'
|
|
21
35
|
};
|
package/dist/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;AA2Na,QAAA,cAAc,GAAG;IAC1B,MAAM,EAAE,QAAQ;CACV,CAAC;AAyEE,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAE,SAAS;CACZ,CAAC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";;;AA2Na,QAAA,cAAc,GAAG;IAC1B,MAAM,EAAE,QAAQ;CACV,CAAC;AAyEE,QAAA,eAAe,GAAG;IAC3B,OAAO,EAAE,SAAS;CACZ,CAAC;AAmJE,QAAA,cAAc,GAAG;IAC1B,MAAM,EAAE,QAAQ;CACV,CAAC;AAuME,QAAA,YAAY,GAAG;IACxB,IAAI,EAAE,MAAM;CACN,CAAC;AAgFE,QAAA,iBAAiB,GAAG;IAC7B,SAAS,EAAE,YAAY;CACjB,CAAC;AAuIE,QAAA,kBAAkB,GAAG;IAC9B,IAAI,EAAE,MAAM;CACN,CAAC;AAGE,QAAA,oBAAoB,GAAG;IAChC,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,aAAa,EAAE,eAAe;IAC9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