openlayer 0.16.0 → 0.17.0

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 (136) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +1 -1
  4. data/lib/openlayer/models/background_task_retrieve_response.rb +4 -0
  5. data/lib/openlayer/models/governance/framework_create_response.rb +7 -2
  6. data/lib/openlayer/models/governance/framework_export_params.rb +7 -2
  7. data/lib/openlayer/models/governance/framework_list_project_rule_stats_response.rb +2 -0
  8. data/lib/openlayer/models/governance/framework_list_response.rb +7 -2
  9. data/lib/openlayer/models/governance/framework_list_rules_response.rb +69 -29
  10. data/lib/openlayer/models/governance/framework_retrieve_response.rb +7 -2
  11. data/lib/openlayer/models/governance/framework_update_response.rb +7 -2
  12. data/lib/openlayer/models/governance/frameworks/document_list_response.rb +54 -28
  13. data/lib/openlayer/models/governance/frameworks/document_retrieve_response.rb +54 -28
  14. data/lib/openlayer/models/governance/frameworks/section_list_rules_response.rb +69 -29
  15. data/lib/openlayer/models/governance/frameworks/subsection_list_rules_response.rb +69 -29
  16. data/lib/openlayer/models/governance/rule_create_params.rb +21 -12
  17. data/lib/openlayer/models/governance/rule_create_response.rb +68 -29
  18. data/lib/openlayer/models/governance/rule_list_response.rb +69 -29
  19. data/lib/openlayer/models/governance/rule_result_create_evidence_params.rb +2 -1
  20. data/lib/openlayer/models/governance/rule_result_create_evidence_response.rb +6 -1
  21. data/lib/openlayer/models/governance/rule_result_list_evidence_response.rb +6 -1
  22. data/lib/openlayer/models/governance/rule_result_list_response.rb +34 -13
  23. data/lib/openlayer/models/governance/rule_result_retrieve_response.rb +34 -13
  24. data/lib/openlayer/models/governance/rule_result_update_params.rb +26 -10
  25. data/lib/openlayer/models/governance/rule_result_update_response.rb +34 -13
  26. data/lib/openlayer/models/governance/rule_retrieve_response.rb +68 -29
  27. data/lib/openlayer/models/governance/rule_stat_retrieve_response.rb +4 -0
  28. data/lib/openlayer/models/governance/rule_tag_list_response.rb +5 -2
  29. data/lib/openlayer/models/governance/rule_update_params.rb +2 -1
  30. data/lib/openlayer/models/governance/rule_update_response.rb +68 -29
  31. data/lib/openlayer/models/inference_pipeline_retrieve_sessions_response.rb +3 -0
  32. data/lib/openlayer/models/inference_pipeline_retrieve_users_response.rb +3 -0
  33. data/lib/openlayer/models/storage/presigned_url_retrieve_params.rb +6 -2
  34. data/lib/openlayer/models/workspaces/api_key_create_params.rb +17 -1
  35. data/lib/openlayer/models/workspaces/api_key_create_response.rb +73 -3
  36. data/lib/openlayer/models/workspaces/api_key_delete_params.rb +28 -0
  37. data/lib/openlayer/models/workspaces/api_key_list_params.rb +22 -0
  38. data/lib/openlayer/models/workspaces/api_key_list_response.rb +134 -0
  39. data/lib/openlayer/models/workspaces/api_key_retrieve_params.rb +28 -0
  40. data/lib/openlayer/models/workspaces/api_key_retrieve_response.rb +131 -0
  41. data/lib/openlayer/models/workspaces/api_key_rotate_params.rb +56 -0
  42. data/lib/openlayer/models/workspaces/api_key_rotate_response.rb +131 -0
  43. data/lib/openlayer/models/workspaces/api_key_update_params.rb +38 -0
  44. data/lib/openlayer/models/workspaces/api_key_update_response.rb +131 -0
  45. data/lib/openlayer/resources/background_tasks.rb +1 -5
  46. data/lib/openlayer/resources/commits.rb +1 -1
  47. data/lib/openlayer/resources/governance/frameworks/documents.rb +1 -9
  48. data/lib/openlayer/resources/governance/frameworks/sections.rb +1 -5
  49. data/lib/openlayer/resources/governance/frameworks/subsections.rb +1 -5
  50. data/lib/openlayer/resources/governance/frameworks.rb +10 -62
  51. data/lib/openlayer/resources/governance/rule_results.rb +8 -33
  52. data/lib/openlayer/resources/governance/rule_stats.rb +1 -5
  53. data/lib/openlayer/resources/governance/rule_tags.rb +0 -4
  54. data/lib/openlayer/resources/governance/rules.rb +7 -38
  55. data/lib/openlayer/resources/inference_pipelines/rows.rb +4 -5
  56. data/lib/openlayer/resources/inference_pipelines.rb +5 -14
  57. data/lib/openlayer/resources/projects/tests.rb +3 -3
  58. data/lib/openlayer/resources/storage/presigned_url.rb +5 -11
  59. data/lib/openlayer/resources/tests.rb +1 -4
  60. data/lib/openlayer/resources/workspaces/api_keys.rb +146 -2
  61. data/lib/openlayer/resources/workspaces/invites.rb +1 -1
  62. data/lib/openlayer/resources/workspaces.rb +1 -1
  63. data/lib/openlayer/version.rb +1 -1
  64. data/lib/openlayer.rb +9 -0
  65. data/rbi/openlayer/models/background_task_retrieve_response.rbi +3 -0
  66. data/rbi/openlayer/models/governance/framework_create_response.rbi +7 -2
  67. data/rbi/openlayer/models/governance/framework_export_params.rbi +6 -2
  68. data/rbi/openlayer/models/governance/framework_list_project_rule_stats_response.rbi +1 -0
  69. data/rbi/openlayer/models/governance/framework_list_response.rbi +7 -2
  70. data/rbi/openlayer/models/governance/framework_list_rules_response.rbi +70 -34
  71. data/rbi/openlayer/models/governance/framework_retrieve_response.rbi +7 -2
  72. data/rbi/openlayer/models/governance/framework_update_response.rbi +7 -2
  73. data/rbi/openlayer/models/governance/frameworks/document_list_response.rbi +76 -38
  74. data/rbi/openlayer/models/governance/frameworks/document_retrieve_response.rbi +76 -38
  75. data/rbi/openlayer/models/governance/frameworks/section_list_rules_response.rbi +70 -34
  76. data/rbi/openlayer/models/governance/frameworks/subsection_list_rules_response.rbi +70 -34
  77. data/rbi/openlayer/models/governance/rule_create_params.rbi +32 -17
  78. data/rbi/openlayer/models/governance/rule_create_response.rbi +70 -34
  79. data/rbi/openlayer/models/governance/rule_list_response.rbi +70 -34
  80. data/rbi/openlayer/models/governance/rule_result_create_evidence_params.rbi +4 -2
  81. data/rbi/openlayer/models/governance/rule_result_create_evidence_response.rbi +7 -2
  82. data/rbi/openlayer/models/governance/rule_result_list_evidence_response.rbi +7 -2
  83. data/rbi/openlayer/models/governance/rule_result_list_response.rbi +26 -13
  84. data/rbi/openlayer/models/governance/rule_result_retrieve_response.rbi +26 -13
  85. data/rbi/openlayer/models/governance/rule_result_update_params.rbi +18 -10
  86. data/rbi/openlayer/models/governance/rule_result_update_response.rbi +26 -13
  87. data/rbi/openlayer/models/governance/rule_retrieve_response.rbi +70 -34
  88. data/rbi/openlayer/models/governance/rule_stat_retrieve_response.rbi +3 -0
  89. data/rbi/openlayer/models/governance/rule_tag_list_response.rbi +4 -2
  90. data/rbi/openlayer/models/governance/rule_update_params.rbi +4 -2
  91. data/rbi/openlayer/models/governance/rule_update_response.rbi +70 -34
  92. data/rbi/openlayer/models/inference_pipeline_retrieve_sessions_response.rbi +2 -0
  93. data/rbi/openlayer/models/inference_pipeline_retrieve_users_response.rbi +2 -0
  94. data/rbi/openlayer/models/storage/presigned_url_retrieve_params.rbi +4 -2
  95. data/rbi/openlayer/models/workspaces/api_key_create_params.rbi +18 -0
  96. data/rbi/openlayer/models/workspaces/api_key_create_response.rbi +117 -5
  97. data/rbi/openlayer/models/workspaces/api_key_delete_params.rbi +48 -0
  98. data/rbi/openlayer/models/workspaces/api_key_list_params.rbi +40 -0
  99. data/rbi/openlayer/models/workspaces/api_key_list_response.rbi +202 -0
  100. data/rbi/openlayer/models/workspaces/api_key_retrieve_params.rbi +48 -0
  101. data/rbi/openlayer/models/workspaces/api_key_retrieve_response.rbi +194 -0
  102. data/rbi/openlayer/models/workspaces/api_key_rotate_params.rbi +85 -0
  103. data/rbi/openlayer/models/workspaces/api_key_rotate_response.rbi +194 -0
  104. data/rbi/openlayer/models/workspaces/api_key_update_params.rbi +60 -0
  105. data/rbi/openlayer/models/workspaces/api_key_update_response.rbi +194 -0
  106. data/rbi/openlayer/resources/background_tasks.rbi +1 -5
  107. data/rbi/openlayer/resources/commits.rbi +1 -1
  108. data/rbi/openlayer/resources/governance/frameworks/documents.rbi +1 -9
  109. data/rbi/openlayer/resources/governance/frameworks/sections.rbi +1 -5
  110. data/rbi/openlayer/resources/governance/frameworks/subsections.rbi +1 -5
  111. data/rbi/openlayer/resources/governance/frameworks.rbi +10 -63
  112. data/rbi/openlayer/resources/governance/rule_results.rbi +9 -35
  113. data/rbi/openlayer/resources/governance/rule_stats.rbi +1 -5
  114. data/rbi/openlayer/resources/governance/rule_tags.rbi +0 -4
  115. data/rbi/openlayer/resources/governance/rules.rbi +20 -44
  116. data/rbi/openlayer/resources/inference_pipelines/rows.rbi +4 -5
  117. data/rbi/openlayer/resources/inference_pipelines.rbi +5 -14
  118. data/rbi/openlayer/resources/projects/tests.rbi +3 -3
  119. data/rbi/openlayer/resources/storage/presigned_url.rbi +4 -12
  120. data/rbi/openlayer/resources/tests.rbi +1 -4
  121. data/rbi/openlayer/resources/workspaces/api_keys.rbi +110 -1
  122. data/rbi/openlayer/resources/workspaces/invites.rbi +1 -1
  123. data/rbi/openlayer/resources/workspaces.rbi +1 -1
  124. data/sig/openlayer/models/workspaces/api_key_create_params.rbs +5 -1
  125. data/sig/openlayer/models/workspaces/api_key_create_response.rbs +42 -3
  126. data/sig/openlayer/models/workspaces/api_key_delete_params.rbs +30 -0
  127. data/sig/openlayer/models/workspaces/api_key_list_params.rbs +25 -0
  128. data/sig/openlayer/models/workspaces/api_key_list_response.rbs +91 -0
  129. data/sig/openlayer/models/workspaces/api_key_retrieve_params.rbs +30 -0
  130. data/sig/openlayer/models/workspaces/api_key_retrieve_response.rbs +86 -0
  131. data/sig/openlayer/models/workspaces/api_key_rotate_params.rbs +45 -0
  132. data/sig/openlayer/models/workspaces/api_key_rotate_response.rbs +86 -0
  133. data/sig/openlayer/models/workspaces/api_key_update_params.rbs +34 -0
  134. data/sig/openlayer/models/workspaces/api_key_update_response.rbs +86 -0
  135. data/sig/openlayer/resources/workspaces/api_keys.rbs +33 -0
  136. metadata +29 -2
@@ -61,6 +61,9 @@ module Openlayer
61
61
  # {Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item} for more
62
62
  # details.
63
63
  #
64
+ # The text of the standard a framework is based on, split into sections and
65
+ # subsections, with the rules mapped to each part.
66
+ #
64
67
  # @param id [String] The document id.
65
68
  #
66
69
  # @param date_created [Time] The creation date.
@@ -165,7 +168,8 @@ module Openlayer
165
168
 
166
169
  # @!attribute scope
167
170
  # Whether the rule is evaluated once for the whole workspace, or once per project
168
- # the rule's frameworks apply to.
171
+ # the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
172
+ # the rule is created.
169
173
  #
170
174
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::Scope]
171
175
  required :scope,
@@ -173,14 +177,16 @@ module Openlayer
173
177
 
174
178
  # @!attribute type
175
179
  # `platform` rules are evaluated automatically from the state of your Openlayer
176
- # workspace. `evidence` rules are satisfied by attaching evidence.
180
+ # workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
181
+ # rule is created.
177
182
  #
178
183
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::Type]
179
184
  required :type,
180
185
  enum: -> { Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::Type }
181
186
 
182
187
  # @!attribute automation_params
183
- # Configuration for the platform check, when the automation takes parameters.
188
+ # Configuration for the platform check, when the automation takes parameters. Omit
189
+ # or `null` for evidence rules. Fixed once the rule is created.
184
190
  #
185
191
  # @return [Hash{Symbol=>Object}, nil]
186
192
  optional :automation_params,
@@ -190,8 +196,9 @@ module Openlayer
190
196
 
191
197
  # @!attribute automation_type
192
198
  # Which workspace signal a platform rule checks, for example
193
- # `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. `null` for
194
- # evidence rules.
199
+ # `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
200
+ # platform rules; omit or `null` for evidence rules. Fixed once the rule is
201
+ # created.
195
202
  #
196
203
  # @return [String, nil]
197
204
  optional :automation_type, String, api_name: :automationType, nil?: true
@@ -209,7 +216,8 @@ module Openlayer
209
216
  optional :description, String, nil?: true
210
217
 
211
218
  # @!attribute evidence_type
212
- # The kind of evidence that satisfies the rule. `null` for platform rules.
219
+ # The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
220
+ # `null` for platform rules. Fixed once the rule is created.
213
221
  #
214
222
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::EvidenceType, nil]
215
223
  optional :evidence_type,
@@ -219,7 +227,8 @@ module Openlayer
219
227
 
220
228
  # @!attribute renewal_cadence_days
221
229
  # How often evidence must be renewed, in days. Once evidence is older than this,
222
- # the rule result becomes `due_soon` and then `failing`.
230
+ # the rule result becomes `due_soon` and then `failing`. The window restarts
231
+ # whenever evidence is attached. Omit or `null` for platform rules.
223
232
  #
224
233
  # @return [Integer, nil]
225
234
  optional :renewal_cadence_days, Integer, api_name: :renewalCadenceDays, nil?: true
@@ -244,7 +253,8 @@ module Openlayer
244
253
  optional :date_updated, Time, api_name: :dateUpdated
245
254
 
246
255
  # @!attribute immutable
247
- # Whether the rule is managed by Openlayer and cannot be edited.
256
+ # Whether the rule is managed by Openlayer. These rules can't be renamed or
257
+ # deleted; set `deactivated` to exclude one from compliance instead.
248
258
  #
249
259
  # @return [Boolean, nil]
250
260
  optional :immutable, Openlayer::Internal::Type::Boolean
@@ -263,7 +273,7 @@ module Openlayer
263
273
  #
264
274
  # @param type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::Type] `platform` rules are evaluated automatically from the state of your Openlayer wo
265
275
  #
266
- # @param automation_params [Hash{Symbol=>Object}, nil] Configuration for the platform check, when the automation takes parameters.
276
+ # @param automation_params [Hash{Symbol=>Object}, nil] Configuration for the platform check, when the automation takes parameters. Omit
267
277
  #
268
278
  # @param automation_type [String, nil] Which workspace signal a platform rule checks, for example `monitoring_mode_enab
269
279
  #
@@ -275,14 +285,15 @@ module Openlayer
275
285
  #
276
286
  # @param description [String, nil] What the rule requires.
277
287
  #
278
- # @param evidence_type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::EvidenceType, nil] The kind of evidence that satisfies the rule. `null` for platform rules.
288
+ # @param evidence_type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::EvidenceType, nil] The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
279
289
  #
280
- # @param immutable [Boolean] Whether the rule is managed by Openlayer and cannot be edited.
290
+ # @param immutable [Boolean] Whether the rule is managed by Openlayer. These rules can't be renamed or delete
281
291
  #
282
292
  # @param renewal_cadence_days [Integer, nil] How often evidence must be renewed, in days. Once evidence is older than this, t
283
293
 
284
294
  # Whether the rule is evaluated once for the whole workspace, or once per project
285
- # the rule's frameworks apply to.
295
+ # the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
296
+ # the rule is created.
286
297
  #
287
298
  # @see Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule#scope
288
299
  module Scope
@@ -296,7 +307,8 @@ module Openlayer
296
307
  end
297
308
 
298
309
  # `platform` rules are evaluated automatically from the state of your Openlayer
299
- # workspace. `evidence` rules are satisfied by attaching evidence.
310
+ # workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
311
+ # rule is created.
300
312
  #
301
313
  # @see Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule#type
302
314
  module Type
@@ -309,7 +321,8 @@ module Openlayer
309
321
  # @return [Array<Symbol>]
310
322
  end
311
323
 
312
- # The kind of evidence that satisfies the rule. `null` for platform rules.
324
+ # The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
325
+ # `null` for platform rules. Fixed once the rule is created.
313
326
  #
314
327
  # @see Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule#evidence_type
315
328
  module EvidenceType
@@ -378,6 +391,9 @@ module Openlayer
378
391
  end
379
392
 
380
393
  # @!method initialize(id:, number:, section_id:, sort_order:, title:, rule_count: nil, rules: nil, text: nil)
394
+ # A subsection usually states one individual requirement of the standard, so it is
395
+ # where you see which rules cover a specific clause.
396
+ #
381
397
  # @param id [String] The subsection id.
382
398
  #
383
399
  # @param number [String] The subsection number as it appears in the source standard.
@@ -403,7 +419,8 @@ module Openlayer
403
419
 
404
420
  # @!attribute scope
405
421
  # Whether the rule is evaluated once for the whole workspace, or once per project
406
- # the rule's frameworks apply to.
422
+ # the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
423
+ # the rule is created.
407
424
  #
408
425
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::Scope]
409
426
  required :scope,
@@ -411,14 +428,16 @@ module Openlayer
411
428
 
412
429
  # @!attribute type
413
430
  # `platform` rules are evaluated automatically from the state of your Openlayer
414
- # workspace. `evidence` rules are satisfied by attaching evidence.
431
+ # workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
432
+ # rule is created.
415
433
  #
416
434
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::Type]
417
435
  required :type,
418
436
  enum: -> { Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::Type }
419
437
 
420
438
  # @!attribute automation_params
421
- # Configuration for the platform check, when the automation takes parameters.
439
+ # Configuration for the platform check, when the automation takes parameters. Omit
440
+ # or `null` for evidence rules. Fixed once the rule is created.
422
441
  #
423
442
  # @return [Hash{Symbol=>Object}, nil]
424
443
  optional :automation_params,
@@ -428,8 +447,9 @@ module Openlayer
428
447
 
429
448
  # @!attribute automation_type
430
449
  # Which workspace signal a platform rule checks, for example
431
- # `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. `null` for
432
- # evidence rules.
450
+ # `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
451
+ # platform rules; omit or `null` for evidence rules. Fixed once the rule is
452
+ # created.
433
453
  #
434
454
  # @return [String, nil]
435
455
  optional :automation_type, String, api_name: :automationType, nil?: true
@@ -447,7 +467,8 @@ module Openlayer
447
467
  optional :description, String, nil?: true
448
468
 
449
469
  # @!attribute evidence_type
450
- # The kind of evidence that satisfies the rule. `null` for platform rules.
470
+ # The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
471
+ # `null` for platform rules. Fixed once the rule is created.
451
472
  #
452
473
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::EvidenceType, nil]
453
474
  optional :evidence_type,
@@ -457,7 +478,8 @@ module Openlayer
457
478
 
458
479
  # @!attribute renewal_cadence_days
459
480
  # How often evidence must be renewed, in days. Once evidence is older than this,
460
- # the rule result becomes `due_soon` and then `failing`.
481
+ # the rule result becomes `due_soon` and then `failing`. The window restarts
482
+ # whenever evidence is attached. Omit or `null` for platform rules.
461
483
  #
462
484
  # @return [Integer, nil]
463
485
  optional :renewal_cadence_days, Integer, api_name: :renewalCadenceDays, nil?: true
@@ -482,7 +504,8 @@ module Openlayer
482
504
  optional :date_updated, Time, api_name: :dateUpdated
483
505
 
484
506
  # @!attribute immutable
485
- # Whether the rule is managed by Openlayer and cannot be edited.
507
+ # Whether the rule is managed by Openlayer. These rules can't be renamed or
508
+ # deleted; set `deactivated` to exclude one from compliance instead.
486
509
  #
487
510
  # @return [Boolean, nil]
488
511
  optional :immutable, Openlayer::Internal::Type::Boolean
@@ -501,7 +524,7 @@ module Openlayer
501
524
  #
502
525
  # @param type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::Type] `platform` rules are evaluated automatically from the state of your Openlayer wo
503
526
  #
504
- # @param automation_params [Hash{Symbol=>Object}, nil] Configuration for the platform check, when the automation takes parameters.
527
+ # @param automation_params [Hash{Symbol=>Object}, nil] Configuration for the platform check, when the automation takes parameters. Omit
505
528
  #
506
529
  # @param automation_type [String, nil] Which workspace signal a platform rule checks, for example `monitoring_mode_enab
507
530
  #
@@ -513,14 +536,15 @@ module Openlayer
513
536
  #
514
537
  # @param description [String, nil] What the rule requires.
515
538
  #
516
- # @param evidence_type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::EvidenceType, nil] The kind of evidence that satisfies the rule. `null` for platform rules.
539
+ # @param evidence_type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::EvidenceType, nil] The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
517
540
  #
518
- # @param immutable [Boolean] Whether the rule is managed by Openlayer and cannot be edited.
541
+ # @param immutable [Boolean] Whether the rule is managed by Openlayer. These rules can't be renamed or delete
519
542
  #
520
543
  # @param renewal_cadence_days [Integer, nil] How often evidence must be renewed, in days. Once evidence is older than this, t
521
544
 
522
545
  # Whether the rule is evaluated once for the whole workspace, or once per project
523
- # the rule's frameworks apply to.
546
+ # the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
547
+ # the rule is created.
524
548
  #
525
549
  # @see Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule#scope
526
550
  module Scope
@@ -534,7 +558,8 @@ module Openlayer
534
558
  end
535
559
 
536
560
  # `platform` rules are evaluated automatically from the state of your Openlayer
537
- # workspace. `evidence` rules are satisfied by attaching evidence.
561
+ # workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
562
+ # rule is created.
538
563
  #
539
564
  # @see Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule#type
540
565
  module Type
@@ -547,7 +572,8 @@ module Openlayer
547
572
  # @return [Array<Symbol>]
548
573
  end
549
574
 
550
- # The kind of evidence that satisfies the rule. `null` for platform rules.
575
+ # The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
576
+ # `null` for platform rules. Fixed once the rule is created.
551
577
  #
552
578
  # @see Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule#evidence_type
553
579
  module EvidenceType
@@ -51,6 +51,9 @@ module Openlayer
51
51
  # {Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse} for more
52
52
  # details.
53
53
  #
54
+ # The text of the standard a framework is based on, split into sections and
55
+ # subsections, with the rules mapped to each part.
56
+ #
54
57
  # @param id [String] The document id.
55
58
  #
56
59
  # @param date_created [Time] The creation date.
@@ -155,7 +158,8 @@ module Openlayer
155
158
 
156
159
  # @!attribute scope
157
160
  # Whether the rule is evaluated once for the whole workspace, or once per project
158
- # the rule's frameworks apply to.
161
+ # the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
162
+ # the rule is created.
159
163
  #
160
164
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::Scope]
161
165
  required :scope,
@@ -163,14 +167,16 @@ module Openlayer
163
167
 
164
168
  # @!attribute type
165
169
  # `platform` rules are evaluated automatically from the state of your Openlayer
166
- # workspace. `evidence` rules are satisfied by attaching evidence.
170
+ # workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
171
+ # rule is created.
167
172
  #
168
173
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::Type]
169
174
  required :type,
170
175
  enum: -> { Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::Type }
171
176
 
172
177
  # @!attribute automation_params
173
- # Configuration for the platform check, when the automation takes parameters.
178
+ # Configuration for the platform check, when the automation takes parameters. Omit
179
+ # or `null` for evidence rules. Fixed once the rule is created.
174
180
  #
175
181
  # @return [Hash{Symbol=>Object}, nil]
176
182
  optional :automation_params,
@@ -180,8 +186,9 @@ module Openlayer
180
186
 
181
187
  # @!attribute automation_type
182
188
  # Which workspace signal a platform rule checks, for example
183
- # `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. `null` for
184
- # evidence rules.
189
+ # `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
190
+ # platform rules; omit or `null` for evidence rules. Fixed once the rule is
191
+ # created.
185
192
  #
186
193
  # @return [String, nil]
187
194
  optional :automation_type, String, api_name: :automationType, nil?: true
@@ -199,7 +206,8 @@ module Openlayer
199
206
  optional :description, String, nil?: true
200
207
 
201
208
  # @!attribute evidence_type
202
- # The kind of evidence that satisfies the rule. `null` for platform rules.
209
+ # The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
210
+ # `null` for platform rules. Fixed once the rule is created.
203
211
  #
204
212
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::EvidenceType, nil]
205
213
  optional :evidence_type,
@@ -209,7 +217,8 @@ module Openlayer
209
217
 
210
218
  # @!attribute renewal_cadence_days
211
219
  # How often evidence must be renewed, in days. Once evidence is older than this,
212
- # the rule result becomes `due_soon` and then `failing`.
220
+ # the rule result becomes `due_soon` and then `failing`. The window restarts
221
+ # whenever evidence is attached. Omit or `null` for platform rules.
213
222
  #
214
223
  # @return [Integer, nil]
215
224
  optional :renewal_cadence_days, Integer, api_name: :renewalCadenceDays, nil?: true
@@ -234,7 +243,8 @@ module Openlayer
234
243
  optional :date_updated, Time, api_name: :dateUpdated
235
244
 
236
245
  # @!attribute immutable
237
- # Whether the rule is managed by Openlayer and cannot be edited.
246
+ # Whether the rule is managed by Openlayer. These rules can't be renamed or
247
+ # deleted; set `deactivated` to exclude one from compliance instead.
238
248
  #
239
249
  # @return [Boolean, nil]
240
250
  optional :immutable, Openlayer::Internal::Type::Boolean
@@ -253,7 +263,7 @@ module Openlayer
253
263
  #
254
264
  # @param type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::Type] `platform` rules are evaluated automatically from the state of your Openlayer wo
255
265
  #
256
- # @param automation_params [Hash{Symbol=>Object}, nil] Configuration for the platform check, when the automation takes parameters.
266
+ # @param automation_params [Hash{Symbol=>Object}, nil] Configuration for the platform check, when the automation takes parameters. Omit
257
267
  #
258
268
  # @param automation_type [String, nil] Which workspace signal a platform rule checks, for example `monitoring_mode_enab
259
269
  #
@@ -265,14 +275,15 @@ module Openlayer
265
275
  #
266
276
  # @param description [String, nil] What the rule requires.
267
277
  #
268
- # @param evidence_type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::EvidenceType, nil] The kind of evidence that satisfies the rule. `null` for platform rules.
278
+ # @param evidence_type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::EvidenceType, nil] The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
269
279
  #
270
- # @param immutable [Boolean] Whether the rule is managed by Openlayer and cannot be edited.
280
+ # @param immutable [Boolean] Whether the rule is managed by Openlayer. These rules can't be renamed or delete
271
281
  #
272
282
  # @param renewal_cadence_days [Integer, nil] How often evidence must be renewed, in days. Once evidence is older than this, t
273
283
 
274
284
  # Whether the rule is evaluated once for the whole workspace, or once per project
275
- # the rule's frameworks apply to.
285
+ # the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
286
+ # the rule is created.
276
287
  #
277
288
  # @see Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule#scope
278
289
  module Scope
@@ -286,7 +297,8 @@ module Openlayer
286
297
  end
287
298
 
288
299
  # `platform` rules are evaluated automatically from the state of your Openlayer
289
- # workspace. `evidence` rules are satisfied by attaching evidence.
300
+ # workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
301
+ # rule is created.
290
302
  #
291
303
  # @see Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule#type
292
304
  module Type
@@ -299,7 +311,8 @@ module Openlayer
299
311
  # @return [Array<Symbol>]
300
312
  end
301
313
 
302
- # The kind of evidence that satisfies the rule. `null` for platform rules.
314
+ # The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
315
+ # `null` for platform rules. Fixed once the rule is created.
303
316
  #
304
317
  # @see Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule#evidence_type
305
318
  module EvidenceType
@@ -368,6 +381,9 @@ module Openlayer
368
381
  end
369
382
 
370
383
  # @!method initialize(id:, number:, section_id:, sort_order:, title:, rule_count: nil, rules: nil, text: nil)
384
+ # A subsection usually states one individual requirement of the standard, so it is
385
+ # where you see which rules cover a specific clause.
386
+ #
371
387
  # @param id [String] The subsection id.
372
388
  #
373
389
  # @param number [String] The subsection number as it appears in the source standard.
@@ -393,7 +409,8 @@ module Openlayer
393
409
 
394
410
  # @!attribute scope
395
411
  # Whether the rule is evaluated once for the whole workspace, or once per project
396
- # the rule's frameworks apply to.
412
+ # the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
413
+ # the rule is created.
397
414
  #
398
415
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::Scope]
399
416
  required :scope,
@@ -401,14 +418,16 @@ module Openlayer
401
418
 
402
419
  # @!attribute type
403
420
  # `platform` rules are evaluated automatically from the state of your Openlayer
404
- # workspace. `evidence` rules are satisfied by attaching evidence.
421
+ # workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
422
+ # rule is created.
405
423
  #
406
424
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::Type]
407
425
  required :type,
408
426
  enum: -> { Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::Type }
409
427
 
410
428
  # @!attribute automation_params
411
- # Configuration for the platform check, when the automation takes parameters.
429
+ # Configuration for the platform check, when the automation takes parameters. Omit
430
+ # or `null` for evidence rules. Fixed once the rule is created.
412
431
  #
413
432
  # @return [Hash{Symbol=>Object}, nil]
414
433
  optional :automation_params,
@@ -418,8 +437,9 @@ module Openlayer
418
437
 
419
438
  # @!attribute automation_type
420
439
  # Which workspace signal a platform rule checks, for example
421
- # `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. `null` for
422
- # evidence rules.
440
+ # `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
441
+ # platform rules; omit or `null` for evidence rules. Fixed once the rule is
442
+ # created.
423
443
  #
424
444
  # @return [String, nil]
425
445
  optional :automation_type, String, api_name: :automationType, nil?: true
@@ -437,7 +457,8 @@ module Openlayer
437
457
  optional :description, String, nil?: true
438
458
 
439
459
  # @!attribute evidence_type
440
- # The kind of evidence that satisfies the rule. `null` for platform rules.
460
+ # The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
461
+ # `null` for platform rules. Fixed once the rule is created.
441
462
  #
442
463
  # @return [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::EvidenceType, nil]
443
464
  optional :evidence_type,
@@ -447,7 +468,8 @@ module Openlayer
447
468
 
448
469
  # @!attribute renewal_cadence_days
449
470
  # How often evidence must be renewed, in days. Once evidence is older than this,
450
- # the rule result becomes `due_soon` and then `failing`.
471
+ # the rule result becomes `due_soon` and then `failing`. The window restarts
472
+ # whenever evidence is attached. Omit or `null` for platform rules.
451
473
  #
452
474
  # @return [Integer, nil]
453
475
  optional :renewal_cadence_days, Integer, api_name: :renewalCadenceDays, nil?: true
@@ -472,7 +494,8 @@ module Openlayer
472
494
  optional :date_updated, Time, api_name: :dateUpdated
473
495
 
474
496
  # @!attribute immutable
475
- # Whether the rule is managed by Openlayer and cannot be edited.
497
+ # Whether the rule is managed by Openlayer. These rules can't be renamed or
498
+ # deleted; set `deactivated` to exclude one from compliance instead.
476
499
  #
477
500
  # @return [Boolean, nil]
478
501
  optional :immutable, Openlayer::Internal::Type::Boolean
@@ -491,7 +514,7 @@ module Openlayer
491
514
  #
492
515
  # @param type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::Type] `platform` rules are evaluated automatically from the state of your Openlayer wo
493
516
  #
494
- # @param automation_params [Hash{Symbol=>Object}, nil] Configuration for the platform check, when the automation takes parameters.
517
+ # @param automation_params [Hash{Symbol=>Object}, nil] Configuration for the platform check, when the automation takes parameters. Omit
495
518
  #
496
519
  # @param automation_type [String, nil] Which workspace signal a platform rule checks, for example `monitoring_mode_enab
497
520
  #
@@ -503,14 +526,15 @@ module Openlayer
503
526
  #
504
527
  # @param description [String, nil] What the rule requires.
505
528
  #
506
- # @param evidence_type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::EvidenceType, nil] The kind of evidence that satisfies the rule. `null` for platform rules.
529
+ # @param evidence_type [Symbol, Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::EvidenceType, nil] The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
507
530
  #
508
- # @param immutable [Boolean] Whether the rule is managed by Openlayer and cannot be edited.
531
+ # @param immutable [Boolean] Whether the rule is managed by Openlayer. These rules can't be renamed or delete
509
532
  #
510
533
  # @param renewal_cadence_days [Integer, nil] How often evidence must be renewed, in days. Once evidence is older than this, t
511
534
 
512
535
  # Whether the rule is evaluated once for the whole workspace, or once per project
513
- # the rule's frameworks apply to.
536
+ # the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
537
+ # the rule is created.
514
538
  #
515
539
  # @see Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule#scope
516
540
  module Scope
@@ -524,7 +548,8 @@ module Openlayer
524
548
  end
525
549
 
526
550
  # `platform` rules are evaluated automatically from the state of your Openlayer
527
- # workspace. `evidence` rules are satisfied by attaching evidence.
551
+ # workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
552
+ # rule is created.
528
553
  #
529
554
  # @see Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule#type
530
555
  module Type
@@ -537,7 +562,8 @@ module Openlayer
537
562
  # @return [Array<Symbol>]
538
563
  end
539
564
 
540
- # The kind of evidence that satisfies the rule. `null` for platform rules.
565
+ # The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
566
+ # `null` for platform rules. Fixed once the rule is created.
541
567
  #
542
568
  # @see Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule#evidence_type
543
569
  module EvidenceType