@redhat-cloud-services/compliance-client 0.2.0 → 0.2.2

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/AssignRule/index.d.ts +1 -1
  3. package/dist/DeleteReport/index.d.ts +1 -1
  4. package/dist/DeleteReport/index.js +1 -1
  5. package/dist/PolicySystems/index.d.ts +1 -1
  6. package/dist/PolicySystemsOS/index.d.ts +33 -0
  7. package/dist/PolicySystemsOS/index.js +56 -0
  8. package/dist/PolicySystemsOS/index.js.map +1 -0
  9. package/dist/Profile/index.d.ts +1 -1
  10. package/dist/ProfileRule/index.d.ts +1 -1
  11. package/dist/ProfileRules/index.d.ts +1 -1
  12. package/dist/ReportRuleResults/index.d.ts +56 -0
  13. package/dist/ReportRuleResults/index.js +65 -0
  14. package/dist/ReportRuleResults/index.js.map +1 -0
  15. package/dist/ReportStats/index.d.ts +27 -0
  16. package/dist/ReportStats/index.js +53 -0
  17. package/dist/ReportStats/index.js.map +1 -0
  18. package/dist/ReportSystems/index.d.ts +1 -1
  19. package/dist/ReportSystemsOS/index.d.ts +33 -0
  20. package/dist/ReportSystemsOS/index.js +56 -0
  21. package/dist/ReportSystemsOS/index.js.map +1 -0
  22. package/dist/ReportTestResults/index.d.ts +1 -1
  23. package/dist/ReportTestResultsOS/index.d.ts +33 -0
  24. package/dist/ReportTestResultsOS/index.js +56 -0
  25. package/dist/ReportTestResultsOS/index.js.map +1 -0
  26. package/dist/ReportsOS/index.d.ts +27 -0
  27. package/dist/ReportsOS/index.js +55 -0
  28. package/dist/ReportsOS/index.js.map +1 -0
  29. package/dist/Rule/index.d.ts +1 -1
  30. package/dist/Rules/index.d.ts +1 -1
  31. package/dist/SecurityGuides/index.d.ts +1 -1
  32. package/dist/SecurityGuidesOS/index.d.ts +27 -0
  33. package/dist/SecurityGuidesOS/index.js +55 -0
  34. package/dist/SecurityGuidesOS/index.js.map +1 -0
  35. package/dist/SystemReports/index.d.ts +50 -0
  36. package/dist/SystemReports/index.js +64 -0
  37. package/dist/SystemReports/index.js.map +1 -0
  38. package/dist/Systems/index.d.ts +1 -1
  39. package/dist/SystemsOS/index.d.ts +27 -0
  40. package/dist/SystemsOS/index.js +55 -0
  41. package/dist/SystemsOS/index.js.map +1 -0
  42. package/dist/TailoringRules/index.d.ts +1 -1
  43. package/dist/UnassignRule/index.d.ts +1 -1
  44. package/dist/api.d.ts +1272 -1457
  45. package/dist/api.js +2411 -896
  46. package/dist/api.js.map +1 -1
  47. package/dist/index.d.ts +9 -0
  48. package/dist/index.js +28 -1
  49. package/dist/index.js.map +1 -1
  50. package/dist/types/index.d.ts +206 -5
  51. package/dist/types/index.js +15 -1
  52. package/dist/types/index.js.map +1 -1
  53. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -9,16 +9,22 @@ export { default as deleteReport } from './DeleteReport';
9
9
  export { default as policies } from './Policies';
10
10
  export { default as policy } from './Policy';
11
11
  export { default as policySystems } from './PolicySystems';
12
+ export { default as policySystemsOS } from './PolicySystemsOS';
12
13
  export { default as profile } from './Profile';
13
14
  export { default as profileRule } from './ProfileRule';
14
15
  export { default as profileRules } from './ProfileRules';
15
16
  export { default as profiles } from './Profiles';
16
17
  export { default as report } from './Report';
18
+ export { default as reportRuleResults } from './ReportRuleResults';
19
+ export { default as reportStats } from './ReportStats';
17
20
  export { default as reportSystem } from './ReportSystem';
18
21
  export { default as reportSystems } from './ReportSystems';
22
+ export { default as reportSystemsOS } from './ReportSystemsOS';
19
23
  export { default as reportTestResult } from './ReportTestResult';
20
24
  export { default as reportTestResults } from './ReportTestResults';
25
+ export { default as reportTestResultsOS } from './ReportTestResultsOS';
21
26
  export { default as reports } from './Reports';
27
+ export { default as reportsOS } from './ReportsOS';
22
28
  export { default as rule } from './Rule';
23
29
  export { default as ruleGroup } from './RuleGroup';
24
30
  export { default as ruleGroups } from './RuleGroups';
@@ -26,9 +32,12 @@ export { default as rules } from './Rules';
26
32
  export { default as securityGuide } from './SecurityGuide';
27
33
  export { default as securityGuideRuleTree } from './SecurityGuideRuleTree';
28
34
  export { default as securityGuides } from './SecurityGuides';
35
+ export { default as securityGuidesOS } from './SecurityGuidesOS';
29
36
  export { default as supportedProfiles } from './SupportedProfiles';
30
37
  export { default as system } from './System';
38
+ export { default as systemReports } from './SystemReports';
31
39
  export { default as systems } from './Systems';
40
+ export { default as systemsOS } from './SystemsOS';
32
41
  export { default as systemsPolicies } from './SystemsPolicies';
33
42
  export { default as tailoring } from './Tailoring';
34
43
  export { default as tailoringFile } from './TailoringFile';
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.reportsOS = 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,21 +52,36 @@ 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
82
+ var ReportsOS_1 = require("./ReportsOS");
83
+ Object.defineProperty(exports, "reportsOS", { enumerable: true, get: function () { return ReportsOS_1.default; } });
84
+ // end of operations block
67
85
  var Rule_1 = require("./Rule");
68
86
  Object.defineProperty(exports, "rule", { enumerable: true, get: function () { return Rule_1.default; } });
69
87
  // end of operations block
@@ -85,15 +103,24 @@ Object.defineProperty(exports, "securityGuideRuleTree", { enumerable: true, get:
85
103
  var SecurityGuides_1 = require("./SecurityGuides");
86
104
  Object.defineProperty(exports, "securityGuides", { enumerable: true, get: function () { return SecurityGuides_1.default; } });
87
105
  // end of operations block
106
+ var SecurityGuidesOS_1 = require("./SecurityGuidesOS");
107
+ Object.defineProperty(exports, "securityGuidesOS", { enumerable: true, get: function () { return SecurityGuidesOS_1.default; } });
108
+ // end of operations block
88
109
  var SupportedProfiles_1 = require("./SupportedProfiles");
89
110
  Object.defineProperty(exports, "supportedProfiles", { enumerable: true, get: function () { return SupportedProfiles_1.default; } });
90
111
  // end of operations block
91
112
  var System_1 = require("./System");
92
113
  Object.defineProperty(exports, "system", { enumerable: true, get: function () { return System_1.default; } });
93
114
  // end of operations block
115
+ var SystemReports_1 = require("./SystemReports");
116
+ Object.defineProperty(exports, "systemReports", { enumerable: true, get: function () { return SystemReports_1.default; } });
117
+ // end of operations block
94
118
  var Systems_1 = require("./Systems");
95
119
  Object.defineProperty(exports, "systems", { enumerable: true, get: function () { return Systems_1.default; } });
96
120
  // end of operations block
121
+ var SystemsOS_1 = require("./SystemsOS");
122
+ Object.defineProperty(exports, "systemsOS", { enumerable: true, get: function () { return SystemsOS_1.default; } });
123
+ // end of operations block
97
124
  var SystemsPolicies_1 = require("./SystemsPolicies");
98
125
  Object.defineProperty(exports, "systemsPolicies", { enumerable: true, get: function () { return SystemsPolicies_1.default; } });
99
126
  // 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;AAGhC,0BAA0B;AAC1B,uCAAgD;AAAvC,oGAAA,OAAO,OAAY;AAG5B,0BAA0B;AAC1B,mCAA4C;AAAnC,gGAAA,OAAO,OAAU;AAG1B,0BAA0B;AAC1B,iDAA0D;AAAjD,8GAAA,OAAO,OAAiB;AAGjC,0BAA0B;AAC1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AA0B;AAC1B,iEAA0E;AAAjE,8HAAA,OAAO,OAAyB;AAGzC,0BAA0B;AAC1B,mDAA4D;AAAnD,gHAAA,OAAO,OAAkB;AAGlC,0BAA0B;AAC1B,uDAAgE;AAAvD,oHAAA,OAAO,OAAoB;AAGpC,0BAA0B;AAC1B,yDAAkE;AAAzD,sHAAA,OAAO,OAAqB;AAGrC,0BAA0B;AAC1B,mCAA4C;AAAnC,gGAAA,OAAO,OAAU;AAG1B,0BAA0B;AAC1B,iDAA0D;AAAjD,8GAAA,OAAO,OAAiB;AAGjC,0BAA0B;AAC1B,qCAA8C;AAArC,kGAAA,OAAO,OAAW;AAG3B,0BAA0B;AAC1B,yCAAkD;AAAzC,sGAAA,OAAO,OAAa;AAG7B,0BAA0B;AAC1B,qDAA8D;AAArD,kHAAA,OAAO,OAAmB;AAGnC,0BAA0B;AAC1B,yCAAkD;AAAzC,sGAAA,OAAO,OAAa;AAG7B,0BAA0B;AAC1B,iDAA0D;AAAjD,8GAAA,OAAO,OAAiB;AAGjC,0BAA0B;AAC1B,mDAA4D;AAAnD,gHAAA,OAAO,OAAkB;AAGlC,0BAA0B;AAC1B,2CAAoD;AAA3C,wGAAA,OAAO,OAAc;AAG9B,0BAA0B;AAC1B,+CAAwD;AAA/C,4GAAA,OAAO,OAAgB;AAGhC,0BAA0B;AAC1B,mDAA4D;AAAnD,gHAAA,OAAO,OAAkB;AAGlC,0BAA0B;AAC1B,+CAAwD;AAA/C,4GAAA,OAAO,OAAgB;AAGhC,0BAA0B;AAC1B,qDAA8D;AAArD,kHAAA,OAAO,OAAmB;AAGnC,0BAA0B;AAC1B,qDAA8D;AAArD,kHAAA,OAAO,OAAmB;AAGnC,0BAA0B;AAC1B,uDAAgE;AAAvD,oHAAA,OAAO,OAAoB;AAGpC,0BAA0B"}
@@ -398,31 +398,37 @@ export interface Report {
398
398
  */
399
399
  'profile_title'?: any;
400
400
  /**
401
- * The number of Systems assigned to this Report
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,24 @@ export interface Rule {
562
619
  * @memberof Rule
563
620
  */
564
621
  'severity'?: any;
622
+ /**
623
+ *
624
+ * @type {RuleIdentifier}
625
+ * @memberof Rule
626
+ */
627
+ 'identifier'?: RuleIdentifier;
628
+ /**
629
+ * Array of the Rule References
630
+ * @type {any}
631
+ * @memberof Rule
632
+ */
633
+ 'references'?: any;
634
+ /**
635
+ * Whether or not a remediation is available for the given rule.
636
+ * @type {any}
637
+ * @memberof Rule
638
+ */
639
+ 'remediation_available'?: any;
565
640
  /**
566
641
  * The idenfitier of the remediation associated to this rule, only available under profiles.
567
642
  * @type {any}
@@ -703,6 +778,120 @@ export interface RuleGroups200Response {
703
778
  */
704
779
  'data'?: any;
705
780
  }
781
+ /**
782
+ * Identifier of the Rule
783
+ * @export
784
+ * @interface RuleIdentifier
785
+ */
786
+ export interface RuleIdentifier {
787
+ /**
788
+ *
789
+ * @type {any}
790
+ * @memberof RuleIdentifier
791
+ */
792
+ 'label'?: any;
793
+ /**
794
+ *
795
+ * @type {any}
796
+ * @memberof RuleIdentifier
797
+ */
798
+ 'system'?: any;
799
+ }
800
+ /**
801
+ *
802
+ * @export
803
+ * @interface RuleResult
804
+ */
805
+ export interface RuleResult {
806
+ /**
807
+ *
808
+ * @type {any}
809
+ * @memberof RuleResult
810
+ */
811
+ 'id'?: any;
812
+ /**
813
+ *
814
+ * @type {any}
815
+ * @memberof RuleResult
816
+ */
817
+ 'type'?: RuleResultTypeEnum;
818
+ /**
819
+ * Status of the Rule Result
820
+ * @type {any}
821
+ * @memberof RuleResult
822
+ */
823
+ 'result'?: RuleResultResultEnum;
824
+ /**
825
+ * UUID of the affected Rule
826
+ * @type {any}
827
+ * @memberof RuleResult
828
+ */
829
+ 'rule_id'?: any;
830
+ /**
831
+ * UUID of the affected System
832
+ * @type {any}
833
+ * @memberof RuleResult
834
+ */
835
+ 'system_id'?: any;
836
+ /**
837
+ * Identificator of the Rule
838
+ * @type {any}
839
+ * @memberof RuleResult
840
+ */
841
+ 'ref_id'?: any;
842
+ /**
843
+ * Short title of the Rule
844
+ * @type {any}
845
+ * @memberof RuleResult
846
+ */
847
+ 'title'?: any;
848
+ /**
849
+ * Rationale of the Rule
850
+ * @type {any}
851
+ * @memberof RuleResult
852
+ */
853
+ 'rationale'?: any;
854
+ /**
855
+ * Longer description of the Rule
856
+ * @type {any}
857
+ * @memberof RuleResult
858
+ */
859
+ 'description'?: any;
860
+ /**
861
+ * The original sorting precedence of the Rule in the Security Guide
862
+ * @type {any}
863
+ * @memberof RuleResult
864
+ */
865
+ 'precedence'?: any;
866
+ /**
867
+ * The severity of the Rule
868
+ * @type {any}
869
+ * @memberof RuleResult
870
+ */
871
+ 'severity'?: any;
872
+ /**
873
+ * The idenfitier of the remediation associated to this rule, only available under profiles.
874
+ * @type {any}
875
+ * @memberof RuleResult
876
+ */
877
+ 'remediation_issue_id'?: any;
878
+ }
879
+ export declare const RuleResultTypeEnum: {
880
+ readonly Rule: "rule";
881
+ };
882
+ export type RuleResultTypeEnum = typeof RuleResultTypeEnum[keyof typeof RuleResultTypeEnum];
883
+ export declare const RuleResultResultEnum: {
884
+ readonly Pass: "pass";
885
+ readonly Fail: "fail";
886
+ readonly Error: "error";
887
+ readonly Unknown: "unknown";
888
+ readonly Fixed: "fixed";
889
+ readonly Notapplicable: "notapplicable";
890
+ readonly Notchecked: "notchecked";
891
+ readonly Informational: "informational";
892
+ readonly Notselected: "notselected";
893
+ };
894
+ export type RuleResultResultEnum = typeof RuleResultResultEnum[keyof typeof RuleResultResultEnum];
706
895
  /**
707
896
  *
708
897
  * @export
@@ -1086,6 +1275,12 @@ export interface Tailoring {
1086
1275
  * @memberof Tailoring
1087
1276
  */
1088
1277
  'security_guide_id'?: any;
1278
+ /**
1279
+ * Version of the Security Guide that contains the parent Profile
1280
+ * @type {any}
1281
+ * @memberof Tailoring
1282
+ */
1283
+ 'security_guide_version'?: any;
1089
1284
  /**
1090
1285
  * Major version of the Operating System that the Tailoring covers
1091
1286
  * @type {any}
@@ -1234,6 +1429,12 @@ export interface TestResult {
1234
1429
  * @memberof TestResult
1235
1430
  */
1236
1431
  'compliant'?: any;
1432
+ /**
1433
+ * Compliance Score of the System within a given Report.
1434
+ * @type {any}
1435
+ * @memberof TestResult
1436
+ */
1437
+ 'score'?: any;
1237
1438
  /**
1238
1439
  * Whether the System is supported or not by a Profile within a given Policy.
1239
1440
  * @type {any}
@@ -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
  };
@@ -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;AA6IE,QAAA,cAAc,GAAG;IAC1B,MAAM,EAAE,QAAQ;CACV,CAAC;AA8IE,QAAA,YAAY,GAAG;IACxB,IAAI,EAAE,MAAM;CACN,CAAC;AAgFE,QAAA,iBAAiB,GAAG;IAC7B,SAAS,EAAE,YAAY;CACjB,CAAC;AAkIE,QAAA,qBAAqB,GAAG;IACjC,aAAa,EAAE,gBAAgB;CACzB,CAAC;AA+GE,QAAA,wBAAwB,GAAG;IACpC,gBAAgB,EAAE,mBAAmB;CAC/B,CAAC;AAmHE,QAAA,cAAc,GAAG;IAC1B,MAAM,EAAE,QAAQ;CACV,CAAC;AAyGE,QAAA,iBAAiB,GAAG;IAC7B,SAAS,EAAE,WAAW;CAChB,CAAC;AAsJE,QAAA,kBAAkB,GAAG;IAC9B,UAAU,EAAE,aAAa;CACnB,CAAC;AAsDE,QAAA,uBAAuB,GAAG;IACnC,eAAe,EAAE,kBAAkB;CAC7B,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;AAmNE,QAAA,YAAY,GAAG;IACxB,IAAI,EAAE,MAAM;CACN,CAAC;AAgFE,QAAA,iBAAiB,GAAG;IAC7B,SAAS,EAAE,YAAY;CACjB,CAAC;AA0JE,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;IAC9B,UAAU,EAAE,YAAY;IACxB,aAAa,EAAE,eAAe;IAC9B,WAAW,EAAE,aAAa;CACpB,CAAC;AA+EE,QAAA,qBAAqB,GAAG;IACjC,aAAa,EAAE,gBAAgB;CACzB,CAAC;AA+GE,QAAA,wBAAwB,GAAG;IACpC,gBAAgB,EAAE,mBAAmB;CAC/B,CAAC;AAmHE,QAAA,cAAc,GAAG;IAC1B,MAAM,EAAE,QAAQ;CACV,CAAC;AA+GE,QAAA,iBAAiB,GAAG;IAC7B,SAAS,EAAE,WAAW;CAChB,CAAC;AA4JE,QAAA,kBAAkB,GAAG;IAC9B,UAAU,EAAE,aAAa;CACnB,CAAC;AAsDE,QAAA,uBAAuB,GAAG;IACnC,eAAe,EAAE,kBAAkB;CAC7B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redhat-cloud-services/compliance-client",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "module": "./esm/index.js",