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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +1 -1
- data/lib/openlayer/models/background_task_retrieve_response.rb +4 -0
- data/lib/openlayer/models/governance/framework_create_response.rb +7 -2
- data/lib/openlayer/models/governance/framework_export_params.rb +7 -2
- data/lib/openlayer/models/governance/framework_list_project_rule_stats_response.rb +2 -0
- data/lib/openlayer/models/governance/framework_list_response.rb +7 -2
- data/lib/openlayer/models/governance/framework_list_rules_response.rb +69 -29
- data/lib/openlayer/models/governance/framework_retrieve_response.rb +7 -2
- data/lib/openlayer/models/governance/framework_update_response.rb +7 -2
- data/lib/openlayer/models/governance/frameworks/document_list_response.rb +54 -28
- data/lib/openlayer/models/governance/frameworks/document_retrieve_response.rb +54 -28
- data/lib/openlayer/models/governance/frameworks/section_list_rules_response.rb +69 -29
- data/lib/openlayer/models/governance/frameworks/subsection_list_rules_response.rb +69 -29
- data/lib/openlayer/models/governance/rule_create_params.rb +21 -12
- data/lib/openlayer/models/governance/rule_create_response.rb +68 -29
- data/lib/openlayer/models/governance/rule_list_response.rb +69 -29
- data/lib/openlayer/models/governance/rule_result_create_evidence_params.rb +2 -1
- data/lib/openlayer/models/governance/rule_result_create_evidence_response.rb +6 -1
- data/lib/openlayer/models/governance/rule_result_list_evidence_response.rb +6 -1
- data/lib/openlayer/models/governance/rule_result_list_response.rb +34 -13
- data/lib/openlayer/models/governance/rule_result_retrieve_response.rb +34 -13
- data/lib/openlayer/models/governance/rule_result_update_params.rb +26 -10
- data/lib/openlayer/models/governance/rule_result_update_response.rb +34 -13
- data/lib/openlayer/models/governance/rule_retrieve_response.rb +68 -29
- data/lib/openlayer/models/governance/rule_stat_retrieve_response.rb +4 -0
- data/lib/openlayer/models/governance/rule_tag_list_response.rb +5 -2
- data/lib/openlayer/models/governance/rule_update_params.rb +2 -1
- data/lib/openlayer/models/governance/rule_update_response.rb +68 -29
- data/lib/openlayer/models/inference_pipeline_retrieve_sessions_response.rb +3 -0
- data/lib/openlayer/models/inference_pipeline_retrieve_users_response.rb +3 -0
- data/lib/openlayer/models/storage/presigned_url_retrieve_params.rb +6 -2
- data/lib/openlayer/models/workspaces/api_key_create_params.rb +17 -1
- data/lib/openlayer/models/workspaces/api_key_create_response.rb +73 -3
- data/lib/openlayer/models/workspaces/api_key_delete_params.rb +28 -0
- data/lib/openlayer/models/workspaces/api_key_list_params.rb +22 -0
- data/lib/openlayer/models/workspaces/api_key_list_response.rb +134 -0
- data/lib/openlayer/models/workspaces/api_key_retrieve_params.rb +28 -0
- data/lib/openlayer/models/workspaces/api_key_retrieve_response.rb +131 -0
- data/lib/openlayer/models/workspaces/api_key_rotate_params.rb +56 -0
- data/lib/openlayer/models/workspaces/api_key_rotate_response.rb +131 -0
- data/lib/openlayer/models/workspaces/api_key_update_params.rb +38 -0
- data/lib/openlayer/models/workspaces/api_key_update_response.rb +131 -0
- data/lib/openlayer/resources/background_tasks.rb +1 -5
- data/lib/openlayer/resources/commits.rb +1 -1
- data/lib/openlayer/resources/governance/frameworks/documents.rb +1 -9
- data/lib/openlayer/resources/governance/frameworks/sections.rb +1 -5
- data/lib/openlayer/resources/governance/frameworks/subsections.rb +1 -5
- data/lib/openlayer/resources/governance/frameworks.rb +10 -62
- data/lib/openlayer/resources/governance/rule_results.rb +8 -33
- data/lib/openlayer/resources/governance/rule_stats.rb +1 -5
- data/lib/openlayer/resources/governance/rule_tags.rb +0 -4
- data/lib/openlayer/resources/governance/rules.rb +7 -38
- data/lib/openlayer/resources/inference_pipelines/rows.rb +4 -5
- data/lib/openlayer/resources/inference_pipelines.rb +5 -14
- data/lib/openlayer/resources/projects/tests.rb +3 -3
- data/lib/openlayer/resources/storage/presigned_url.rb +5 -11
- data/lib/openlayer/resources/tests.rb +1 -4
- data/lib/openlayer/resources/workspaces/api_keys.rb +146 -2
- data/lib/openlayer/resources/workspaces/invites.rb +1 -1
- data/lib/openlayer/resources/workspaces.rb +1 -1
- data/lib/openlayer/version.rb +1 -1
- data/lib/openlayer.rb +9 -0
- data/rbi/openlayer/models/background_task_retrieve_response.rbi +3 -0
- data/rbi/openlayer/models/governance/framework_create_response.rbi +7 -2
- data/rbi/openlayer/models/governance/framework_export_params.rbi +6 -2
- data/rbi/openlayer/models/governance/framework_list_project_rule_stats_response.rbi +1 -0
- data/rbi/openlayer/models/governance/framework_list_response.rbi +7 -2
- data/rbi/openlayer/models/governance/framework_list_rules_response.rbi +70 -34
- data/rbi/openlayer/models/governance/framework_retrieve_response.rbi +7 -2
- data/rbi/openlayer/models/governance/framework_update_response.rbi +7 -2
- data/rbi/openlayer/models/governance/frameworks/document_list_response.rbi +76 -38
- data/rbi/openlayer/models/governance/frameworks/document_retrieve_response.rbi +76 -38
- data/rbi/openlayer/models/governance/frameworks/section_list_rules_response.rbi +70 -34
- data/rbi/openlayer/models/governance/frameworks/subsection_list_rules_response.rbi +70 -34
- data/rbi/openlayer/models/governance/rule_create_params.rbi +32 -17
- data/rbi/openlayer/models/governance/rule_create_response.rbi +70 -34
- data/rbi/openlayer/models/governance/rule_list_response.rbi +70 -34
- data/rbi/openlayer/models/governance/rule_result_create_evidence_params.rbi +4 -2
- data/rbi/openlayer/models/governance/rule_result_create_evidence_response.rbi +7 -2
- data/rbi/openlayer/models/governance/rule_result_list_evidence_response.rbi +7 -2
- data/rbi/openlayer/models/governance/rule_result_list_response.rbi +26 -13
- data/rbi/openlayer/models/governance/rule_result_retrieve_response.rbi +26 -13
- data/rbi/openlayer/models/governance/rule_result_update_params.rbi +18 -10
- data/rbi/openlayer/models/governance/rule_result_update_response.rbi +26 -13
- data/rbi/openlayer/models/governance/rule_retrieve_response.rbi +70 -34
- data/rbi/openlayer/models/governance/rule_stat_retrieve_response.rbi +3 -0
- data/rbi/openlayer/models/governance/rule_tag_list_response.rbi +4 -2
- data/rbi/openlayer/models/governance/rule_update_params.rbi +4 -2
- data/rbi/openlayer/models/governance/rule_update_response.rbi +70 -34
- data/rbi/openlayer/models/inference_pipeline_retrieve_sessions_response.rbi +2 -0
- data/rbi/openlayer/models/inference_pipeline_retrieve_users_response.rbi +2 -0
- data/rbi/openlayer/models/storage/presigned_url_retrieve_params.rbi +4 -2
- data/rbi/openlayer/models/workspaces/api_key_create_params.rbi +18 -0
- data/rbi/openlayer/models/workspaces/api_key_create_response.rbi +117 -5
- data/rbi/openlayer/models/workspaces/api_key_delete_params.rbi +48 -0
- data/rbi/openlayer/models/workspaces/api_key_list_params.rbi +40 -0
- data/rbi/openlayer/models/workspaces/api_key_list_response.rbi +202 -0
- data/rbi/openlayer/models/workspaces/api_key_retrieve_params.rbi +48 -0
- data/rbi/openlayer/models/workspaces/api_key_retrieve_response.rbi +194 -0
- data/rbi/openlayer/models/workspaces/api_key_rotate_params.rbi +85 -0
- data/rbi/openlayer/models/workspaces/api_key_rotate_response.rbi +194 -0
- data/rbi/openlayer/models/workspaces/api_key_update_params.rbi +60 -0
- data/rbi/openlayer/models/workspaces/api_key_update_response.rbi +194 -0
- data/rbi/openlayer/resources/background_tasks.rbi +1 -5
- data/rbi/openlayer/resources/commits.rbi +1 -1
- data/rbi/openlayer/resources/governance/frameworks/documents.rbi +1 -9
- data/rbi/openlayer/resources/governance/frameworks/sections.rbi +1 -5
- data/rbi/openlayer/resources/governance/frameworks/subsections.rbi +1 -5
- data/rbi/openlayer/resources/governance/frameworks.rbi +10 -63
- data/rbi/openlayer/resources/governance/rule_results.rbi +9 -35
- data/rbi/openlayer/resources/governance/rule_stats.rbi +1 -5
- data/rbi/openlayer/resources/governance/rule_tags.rbi +0 -4
- data/rbi/openlayer/resources/governance/rules.rbi +20 -44
- data/rbi/openlayer/resources/inference_pipelines/rows.rbi +4 -5
- data/rbi/openlayer/resources/inference_pipelines.rbi +5 -14
- data/rbi/openlayer/resources/projects/tests.rbi +3 -3
- data/rbi/openlayer/resources/storage/presigned_url.rbi +4 -12
- data/rbi/openlayer/resources/tests.rbi +1 -4
- data/rbi/openlayer/resources/workspaces/api_keys.rbi +110 -1
- data/rbi/openlayer/resources/workspaces/invites.rbi +1 -1
- data/rbi/openlayer/resources/workspaces.rbi +1 -1
- data/sig/openlayer/models/workspaces/api_key_create_params.rbs +5 -1
- data/sig/openlayer/models/workspaces/api_key_create_response.rbs +42 -3
- data/sig/openlayer/models/workspaces/api_key_delete_params.rbs +30 -0
- data/sig/openlayer/models/workspaces/api_key_list_params.rbs +25 -0
- data/sig/openlayer/models/workspaces/api_key_list_response.rbs +91 -0
- data/sig/openlayer/models/workspaces/api_key_retrieve_params.rbs +30 -0
- data/sig/openlayer/models/workspaces/api_key_retrieve_response.rbs +86 -0
- data/sig/openlayer/models/workspaces/api_key_rotate_params.rbs +45 -0
- data/sig/openlayer/models/workspaces/api_key_rotate_response.rbs +86 -0
- data/sig/openlayer/models/workspaces/api_key_update_params.rbs +34 -0
- data/sig/openlayer/models/workspaces/api_key_update_response.rbs +86 -0
- data/sig/openlayer/resources/workspaces/api_keys.rbs +33 -0
- metadata +29 -2
|
@@ -98,6 +98,8 @@ module Openlayer
|
|
|
98
98
|
end
|
|
99
99
|
attr_writer :sections
|
|
100
100
|
|
|
101
|
+
# The text of the standard a framework is based on, split into sections and
|
|
102
|
+
# subsections, with the rules mapped to each part.
|
|
101
103
|
sig do
|
|
102
104
|
params(
|
|
103
105
|
id: String,
|
|
@@ -311,7 +313,8 @@ module Openlayer
|
|
|
311
313
|
attr_accessor :name
|
|
312
314
|
|
|
313
315
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
314
|
-
# the rule's frameworks apply to.
|
|
316
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
317
|
+
# the rule is created.
|
|
315
318
|
sig do
|
|
316
319
|
returns(
|
|
317
320
|
Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::Scope::TaggedSymbol
|
|
@@ -320,7 +323,8 @@ module Openlayer
|
|
|
320
323
|
attr_accessor :scope
|
|
321
324
|
|
|
322
325
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
323
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
326
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
327
|
+
# rule is created.
|
|
324
328
|
sig do
|
|
325
329
|
returns(
|
|
326
330
|
Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Rule::Type::TaggedSymbol
|
|
@@ -328,13 +332,15 @@ module Openlayer
|
|
|
328
332
|
end
|
|
329
333
|
attr_accessor :type
|
|
330
334
|
|
|
331
|
-
# Configuration for the platform check, when the automation takes parameters.
|
|
335
|
+
# Configuration for the platform check, when the automation takes parameters. Omit
|
|
336
|
+
# or `null` for evidence rules. Fixed once the rule is created.
|
|
332
337
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
333
338
|
attr_accessor :automation_params
|
|
334
339
|
|
|
335
340
|
# Which workspace signal a platform rule checks, for example
|
|
336
|
-
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`.
|
|
337
|
-
# evidence rules.
|
|
341
|
+
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
|
|
342
|
+
# platform rules; omit or `null` for evidence rules. Fixed once the rule is
|
|
343
|
+
# created.
|
|
338
344
|
sig { returns(T.nilable(String)) }
|
|
339
345
|
attr_accessor :automation_type
|
|
340
346
|
|
|
@@ -349,7 +355,8 @@ module Openlayer
|
|
|
349
355
|
sig { returns(T.nilable(String)) }
|
|
350
356
|
attr_accessor :description
|
|
351
357
|
|
|
352
|
-
# The kind of evidence that satisfies the rule.
|
|
358
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
359
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
353
360
|
sig do
|
|
354
361
|
returns(
|
|
355
362
|
T.nilable(
|
|
@@ -360,7 +367,8 @@ module Openlayer
|
|
|
360
367
|
attr_accessor :evidence_type
|
|
361
368
|
|
|
362
369
|
# How often evidence must be renewed, in days. Once evidence is older than this,
|
|
363
|
-
# the rule result becomes `due_soon` and then `failing`.
|
|
370
|
+
# the rule result becomes `due_soon` and then `failing`. The window restarts
|
|
371
|
+
# whenever evidence is attached. Omit or `null` for platform rules.
|
|
364
372
|
sig { returns(T.nilable(Integer)) }
|
|
365
373
|
attr_accessor :renewal_cadence_days
|
|
366
374
|
|
|
@@ -382,7 +390,8 @@ module Openlayer
|
|
|
382
390
|
sig { params(date_updated: Time).void }
|
|
383
391
|
attr_writer :date_updated
|
|
384
392
|
|
|
385
|
-
# Whether the rule is managed by Openlayer
|
|
393
|
+
# Whether the rule is managed by Openlayer. These rules can't be renamed or
|
|
394
|
+
# deleted; set `deactivated` to exclude one from compliance instead.
|
|
386
395
|
sig { returns(T.nilable(T::Boolean)) }
|
|
387
396
|
attr_reader :immutable
|
|
388
397
|
|
|
@@ -417,16 +426,20 @@ module Openlayer
|
|
|
417
426
|
# The rule name.
|
|
418
427
|
name:,
|
|
419
428
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
420
|
-
# the rule's frameworks apply to.
|
|
429
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
430
|
+
# the rule is created.
|
|
421
431
|
scope:,
|
|
422
432
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
423
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
433
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
434
|
+
# rule is created.
|
|
424
435
|
type:,
|
|
425
|
-
# Configuration for the platform check, when the automation takes parameters.
|
|
436
|
+
# Configuration for the platform check, when the automation takes parameters. Omit
|
|
437
|
+
# or `null` for evidence rules. Fixed once the rule is created.
|
|
426
438
|
automation_params: nil,
|
|
427
439
|
# Which workspace signal a platform rule checks, for example
|
|
428
|
-
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`.
|
|
429
|
-
# 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.
|
|
430
443
|
automation_type: nil,
|
|
431
444
|
# The creation date.
|
|
432
445
|
date_created: nil,
|
|
@@ -436,12 +449,15 @@ module Openlayer
|
|
|
436
449
|
deactivated: nil,
|
|
437
450
|
# What the rule requires.
|
|
438
451
|
description: nil,
|
|
439
|
-
# The kind of evidence that satisfies the rule.
|
|
452
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
453
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
440
454
|
evidence_type: nil,
|
|
441
|
-
# Whether the rule is managed by Openlayer
|
|
455
|
+
# Whether the rule is managed by Openlayer. These rules can't be renamed or
|
|
456
|
+
# deleted; set `deactivated` to exclude one from compliance instead.
|
|
442
457
|
immutable: nil,
|
|
443
458
|
# How often evidence must be renewed, in days. Once evidence is older than this,
|
|
444
|
-
# the rule result becomes `due_soon` and then `failing`.
|
|
459
|
+
# the rule result becomes `due_soon` and then `failing`. The window restarts
|
|
460
|
+
# whenever evidence is attached. Omit or `null` for platform rules.
|
|
445
461
|
renewal_cadence_days: nil
|
|
446
462
|
)
|
|
447
463
|
end
|
|
@@ -474,7 +490,8 @@ module Openlayer
|
|
|
474
490
|
end
|
|
475
491
|
|
|
476
492
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
477
|
-
# the rule's frameworks apply to.
|
|
493
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
494
|
+
# the rule is created.
|
|
478
495
|
module Scope
|
|
479
496
|
extend Openlayer::Internal::Type::Enum
|
|
480
497
|
|
|
@@ -510,7 +527,8 @@ module Openlayer
|
|
|
510
527
|
end
|
|
511
528
|
|
|
512
529
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
513
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
530
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
531
|
+
# rule is created.
|
|
514
532
|
module Type
|
|
515
533
|
extend Openlayer::Internal::Type::Enum
|
|
516
534
|
|
|
@@ -545,7 +563,8 @@ module Openlayer
|
|
|
545
563
|
end
|
|
546
564
|
end
|
|
547
565
|
|
|
548
|
-
# The kind of evidence that satisfies the rule.
|
|
566
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
567
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
549
568
|
module EvidenceType
|
|
550
569
|
extend Openlayer::Internal::Type::Enum
|
|
551
570
|
|
|
@@ -653,6 +672,8 @@ module Openlayer
|
|
|
653
672
|
end
|
|
654
673
|
attr_writer :rules
|
|
655
674
|
|
|
675
|
+
# A subsection usually states one individual requirement of the standard, so it is
|
|
676
|
+
# where you see which rules cover a specific clause.
|
|
656
677
|
sig do
|
|
657
678
|
params(
|
|
658
679
|
id: String,
|
|
@@ -722,7 +743,8 @@ module Openlayer
|
|
|
722
743
|
attr_accessor :name
|
|
723
744
|
|
|
724
745
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
725
|
-
# the rule's frameworks apply to.
|
|
746
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
747
|
+
# the rule is created.
|
|
726
748
|
sig do
|
|
727
749
|
returns(
|
|
728
750
|
Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::Scope::TaggedSymbol
|
|
@@ -731,7 +753,8 @@ module Openlayer
|
|
|
731
753
|
attr_accessor :scope
|
|
732
754
|
|
|
733
755
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
734
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
756
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
757
|
+
# rule is created.
|
|
735
758
|
sig do
|
|
736
759
|
returns(
|
|
737
760
|
Openlayer::Models::Governance::Frameworks::DocumentListResponse::Item::Section::Subsection::Rule::Type::TaggedSymbol
|
|
@@ -739,13 +762,15 @@ module Openlayer
|
|
|
739
762
|
end
|
|
740
763
|
attr_accessor :type
|
|
741
764
|
|
|
742
|
-
# Configuration for the platform check, when the automation takes parameters.
|
|
765
|
+
# Configuration for the platform check, when the automation takes parameters. Omit
|
|
766
|
+
# or `null` for evidence rules. Fixed once the rule is created.
|
|
743
767
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
744
768
|
attr_accessor :automation_params
|
|
745
769
|
|
|
746
770
|
# Which workspace signal a platform rule checks, for example
|
|
747
|
-
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`.
|
|
748
|
-
# evidence rules.
|
|
771
|
+
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
|
|
772
|
+
# platform rules; omit or `null` for evidence rules. Fixed once the rule is
|
|
773
|
+
# created.
|
|
749
774
|
sig { returns(T.nilable(String)) }
|
|
750
775
|
attr_accessor :automation_type
|
|
751
776
|
|
|
@@ -760,7 +785,8 @@ module Openlayer
|
|
|
760
785
|
sig { returns(T.nilable(String)) }
|
|
761
786
|
attr_accessor :description
|
|
762
787
|
|
|
763
|
-
# The kind of evidence that satisfies the rule.
|
|
788
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
789
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
764
790
|
sig do
|
|
765
791
|
returns(
|
|
766
792
|
T.nilable(
|
|
@@ -771,7 +797,8 @@ module Openlayer
|
|
|
771
797
|
attr_accessor :evidence_type
|
|
772
798
|
|
|
773
799
|
# How often evidence must be renewed, in days. Once evidence is older than this,
|
|
774
|
-
# the rule result becomes `due_soon` and then `failing`.
|
|
800
|
+
# the rule result becomes `due_soon` and then `failing`. The window restarts
|
|
801
|
+
# whenever evidence is attached. Omit or `null` for platform rules.
|
|
775
802
|
sig { returns(T.nilable(Integer)) }
|
|
776
803
|
attr_accessor :renewal_cadence_days
|
|
777
804
|
|
|
@@ -793,7 +820,8 @@ module Openlayer
|
|
|
793
820
|
sig { params(date_updated: Time).void }
|
|
794
821
|
attr_writer :date_updated
|
|
795
822
|
|
|
796
|
-
# Whether the rule is managed by Openlayer
|
|
823
|
+
# Whether the rule is managed by Openlayer. These rules can't be renamed or
|
|
824
|
+
# deleted; set `deactivated` to exclude one from compliance instead.
|
|
797
825
|
sig { returns(T.nilable(T::Boolean)) }
|
|
798
826
|
attr_reader :immutable
|
|
799
827
|
|
|
@@ -828,16 +856,20 @@ module Openlayer
|
|
|
828
856
|
# The rule name.
|
|
829
857
|
name:,
|
|
830
858
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
831
|
-
# the rule's frameworks apply to.
|
|
859
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
860
|
+
# the rule is created.
|
|
832
861
|
scope:,
|
|
833
862
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
834
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
863
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
864
|
+
# rule is created.
|
|
835
865
|
type:,
|
|
836
|
-
# Configuration for the platform check, when the automation takes parameters.
|
|
866
|
+
# Configuration for the platform check, when the automation takes parameters. Omit
|
|
867
|
+
# or `null` for evidence rules. Fixed once the rule is created.
|
|
837
868
|
automation_params: nil,
|
|
838
869
|
# Which workspace signal a platform rule checks, for example
|
|
839
|
-
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`.
|
|
840
|
-
# evidence rules.
|
|
870
|
+
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
|
|
871
|
+
# platform rules; omit or `null` for evidence rules. Fixed once the rule is
|
|
872
|
+
# created.
|
|
841
873
|
automation_type: nil,
|
|
842
874
|
# The creation date.
|
|
843
875
|
date_created: nil,
|
|
@@ -847,12 +879,15 @@ module Openlayer
|
|
|
847
879
|
deactivated: nil,
|
|
848
880
|
# What the rule requires.
|
|
849
881
|
description: nil,
|
|
850
|
-
# The kind of evidence that satisfies the rule.
|
|
882
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
883
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
851
884
|
evidence_type: nil,
|
|
852
|
-
# Whether the rule is managed by Openlayer
|
|
885
|
+
# Whether the rule is managed by Openlayer. These rules can't be renamed or
|
|
886
|
+
# deleted; set `deactivated` to exclude one from compliance instead.
|
|
853
887
|
immutable: nil,
|
|
854
888
|
# How often evidence must be renewed, in days. Once evidence is older than this,
|
|
855
|
-
# the rule result becomes `due_soon` and then `failing`.
|
|
889
|
+
# the rule result becomes `due_soon` and then `failing`. The window restarts
|
|
890
|
+
# whenever evidence is attached. Omit or `null` for platform rules.
|
|
856
891
|
renewal_cadence_days: nil
|
|
857
892
|
)
|
|
858
893
|
end
|
|
@@ -886,7 +921,8 @@ module Openlayer
|
|
|
886
921
|
end
|
|
887
922
|
|
|
888
923
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
889
|
-
# the rule's frameworks apply to.
|
|
924
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
925
|
+
# the rule is created.
|
|
890
926
|
module Scope
|
|
891
927
|
extend Openlayer::Internal::Type::Enum
|
|
892
928
|
|
|
@@ -922,7 +958,8 @@ module Openlayer
|
|
|
922
958
|
end
|
|
923
959
|
|
|
924
960
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
925
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
961
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
962
|
+
# rule is created.
|
|
926
963
|
module Type
|
|
927
964
|
extend Openlayer::Internal::Type::Enum
|
|
928
965
|
|
|
@@ -957,7 +994,8 @@ module Openlayer
|
|
|
957
994
|
end
|
|
958
995
|
end
|
|
959
996
|
|
|
960
|
-
# The kind of evidence that satisfies the rule.
|
|
997
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
998
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
961
999
|
module EvidenceType
|
|
962
1000
|
extend Openlayer::Internal::Type::Enum
|
|
963
1001
|
|
|
@@ -56,6 +56,8 @@ module Openlayer
|
|
|
56
56
|
end
|
|
57
57
|
attr_writer :sections
|
|
58
58
|
|
|
59
|
+
# The text of the standard a framework is based on, split into sections and
|
|
60
|
+
# subsections, with the rules mapped to each part.
|
|
59
61
|
sig do
|
|
60
62
|
params(
|
|
61
63
|
id: String,
|
|
@@ -269,7 +271,8 @@ module Openlayer
|
|
|
269
271
|
attr_accessor :name
|
|
270
272
|
|
|
271
273
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
272
|
-
# the rule's frameworks apply to.
|
|
274
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
275
|
+
# the rule is created.
|
|
273
276
|
sig do
|
|
274
277
|
returns(
|
|
275
278
|
Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::Scope::TaggedSymbol
|
|
@@ -278,7 +281,8 @@ module Openlayer
|
|
|
278
281
|
attr_accessor :scope
|
|
279
282
|
|
|
280
283
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
281
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
284
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
285
|
+
# rule is created.
|
|
282
286
|
sig do
|
|
283
287
|
returns(
|
|
284
288
|
Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Rule::Type::TaggedSymbol
|
|
@@ -286,13 +290,15 @@ module Openlayer
|
|
|
286
290
|
end
|
|
287
291
|
attr_accessor :type
|
|
288
292
|
|
|
289
|
-
# Configuration for the platform check, when the automation takes parameters.
|
|
293
|
+
# Configuration for the platform check, when the automation takes parameters. Omit
|
|
294
|
+
# or `null` for evidence rules. Fixed once the rule is created.
|
|
290
295
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
291
296
|
attr_accessor :automation_params
|
|
292
297
|
|
|
293
298
|
# Which workspace signal a platform rule checks, for example
|
|
294
|
-
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`.
|
|
295
|
-
# evidence rules.
|
|
299
|
+
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
|
|
300
|
+
# platform rules; omit or `null` for evidence rules. Fixed once the rule is
|
|
301
|
+
# created.
|
|
296
302
|
sig { returns(T.nilable(String)) }
|
|
297
303
|
attr_accessor :automation_type
|
|
298
304
|
|
|
@@ -307,7 +313,8 @@ module Openlayer
|
|
|
307
313
|
sig { returns(T.nilable(String)) }
|
|
308
314
|
attr_accessor :description
|
|
309
315
|
|
|
310
|
-
# The kind of evidence that satisfies the rule.
|
|
316
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
317
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
311
318
|
sig do
|
|
312
319
|
returns(
|
|
313
320
|
T.nilable(
|
|
@@ -318,7 +325,8 @@ module Openlayer
|
|
|
318
325
|
attr_accessor :evidence_type
|
|
319
326
|
|
|
320
327
|
# How often evidence must be renewed, in days. Once evidence is older than this,
|
|
321
|
-
# the rule result becomes `due_soon` and then `failing`.
|
|
328
|
+
# the rule result becomes `due_soon` and then `failing`. The window restarts
|
|
329
|
+
# whenever evidence is attached. Omit or `null` for platform rules.
|
|
322
330
|
sig { returns(T.nilable(Integer)) }
|
|
323
331
|
attr_accessor :renewal_cadence_days
|
|
324
332
|
|
|
@@ -340,7 +348,8 @@ module Openlayer
|
|
|
340
348
|
sig { params(date_updated: Time).void }
|
|
341
349
|
attr_writer :date_updated
|
|
342
350
|
|
|
343
|
-
# Whether the rule is managed by Openlayer
|
|
351
|
+
# Whether the rule is managed by Openlayer. These rules can't be renamed or
|
|
352
|
+
# deleted; set `deactivated` to exclude one from compliance instead.
|
|
344
353
|
sig { returns(T.nilable(T::Boolean)) }
|
|
345
354
|
attr_reader :immutable
|
|
346
355
|
|
|
@@ -375,16 +384,20 @@ module Openlayer
|
|
|
375
384
|
# The rule name.
|
|
376
385
|
name:,
|
|
377
386
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
378
|
-
# the rule's frameworks apply to.
|
|
387
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
388
|
+
# the rule is created.
|
|
379
389
|
scope:,
|
|
380
390
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
381
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
391
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
392
|
+
# rule is created.
|
|
382
393
|
type:,
|
|
383
|
-
# Configuration for the platform check, when the automation takes parameters.
|
|
394
|
+
# Configuration for the platform check, when the automation takes parameters. Omit
|
|
395
|
+
# or `null` for evidence rules. Fixed once the rule is created.
|
|
384
396
|
automation_params: nil,
|
|
385
397
|
# Which workspace signal a platform rule checks, for example
|
|
386
|
-
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`.
|
|
387
|
-
# evidence rules.
|
|
398
|
+
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
|
|
399
|
+
# platform rules; omit or `null` for evidence rules. Fixed once the rule is
|
|
400
|
+
# created.
|
|
388
401
|
automation_type: nil,
|
|
389
402
|
# The creation date.
|
|
390
403
|
date_created: nil,
|
|
@@ -394,12 +407,15 @@ module Openlayer
|
|
|
394
407
|
deactivated: nil,
|
|
395
408
|
# What the rule requires.
|
|
396
409
|
description: nil,
|
|
397
|
-
# The kind of evidence that satisfies the rule.
|
|
410
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
411
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
398
412
|
evidence_type: nil,
|
|
399
|
-
# Whether the rule is managed by Openlayer
|
|
413
|
+
# Whether the rule is managed by Openlayer. These rules can't be renamed or
|
|
414
|
+
# deleted; set `deactivated` to exclude one from compliance instead.
|
|
400
415
|
immutable: nil,
|
|
401
416
|
# How often evidence must be renewed, in days. Once evidence is older than this,
|
|
402
|
-
# the rule result becomes `due_soon` and then `failing`.
|
|
417
|
+
# the rule result becomes `due_soon` and then `failing`. The window restarts
|
|
418
|
+
# whenever evidence is attached. Omit or `null` for platform rules.
|
|
403
419
|
renewal_cadence_days: nil
|
|
404
420
|
)
|
|
405
421
|
end
|
|
@@ -432,7 +448,8 @@ module Openlayer
|
|
|
432
448
|
end
|
|
433
449
|
|
|
434
450
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
435
|
-
# the rule's frameworks apply to.
|
|
451
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
452
|
+
# the rule is created.
|
|
436
453
|
module Scope
|
|
437
454
|
extend Openlayer::Internal::Type::Enum
|
|
438
455
|
|
|
@@ -468,7 +485,8 @@ module Openlayer
|
|
|
468
485
|
end
|
|
469
486
|
|
|
470
487
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
471
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
488
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
489
|
+
# rule is created.
|
|
472
490
|
module Type
|
|
473
491
|
extend Openlayer::Internal::Type::Enum
|
|
474
492
|
|
|
@@ -503,7 +521,8 @@ module Openlayer
|
|
|
503
521
|
end
|
|
504
522
|
end
|
|
505
523
|
|
|
506
|
-
# The kind of evidence that satisfies the rule.
|
|
524
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
525
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
507
526
|
module EvidenceType
|
|
508
527
|
extend Openlayer::Internal::Type::Enum
|
|
509
528
|
|
|
@@ -611,6 +630,8 @@ module Openlayer
|
|
|
611
630
|
end
|
|
612
631
|
attr_writer :rules
|
|
613
632
|
|
|
633
|
+
# A subsection usually states one individual requirement of the standard, so it is
|
|
634
|
+
# where you see which rules cover a specific clause.
|
|
614
635
|
sig do
|
|
615
636
|
params(
|
|
616
637
|
id: String,
|
|
@@ -680,7 +701,8 @@ module Openlayer
|
|
|
680
701
|
attr_accessor :name
|
|
681
702
|
|
|
682
703
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
683
|
-
# the rule's frameworks apply to.
|
|
704
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
705
|
+
# the rule is created.
|
|
684
706
|
sig do
|
|
685
707
|
returns(
|
|
686
708
|
Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::Scope::TaggedSymbol
|
|
@@ -689,7 +711,8 @@ module Openlayer
|
|
|
689
711
|
attr_accessor :scope
|
|
690
712
|
|
|
691
713
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
692
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
714
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
715
|
+
# rule is created.
|
|
693
716
|
sig do
|
|
694
717
|
returns(
|
|
695
718
|
Openlayer::Models::Governance::Frameworks::DocumentRetrieveResponse::Section::Subsection::Rule::Type::TaggedSymbol
|
|
@@ -697,13 +720,15 @@ module Openlayer
|
|
|
697
720
|
end
|
|
698
721
|
attr_accessor :type
|
|
699
722
|
|
|
700
|
-
# Configuration for the platform check, when the automation takes parameters.
|
|
723
|
+
# Configuration for the platform check, when the automation takes parameters. Omit
|
|
724
|
+
# or `null` for evidence rules. Fixed once the rule is created.
|
|
701
725
|
sig { returns(T.nilable(T::Hash[Symbol, T.anything])) }
|
|
702
726
|
attr_accessor :automation_params
|
|
703
727
|
|
|
704
728
|
# Which workspace signal a platform rule checks, for example
|
|
705
|
-
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`.
|
|
706
|
-
# evidence rules.
|
|
729
|
+
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
|
|
730
|
+
# platform rules; omit or `null` for evidence rules. Fixed once the rule is
|
|
731
|
+
# created.
|
|
707
732
|
sig { returns(T.nilable(String)) }
|
|
708
733
|
attr_accessor :automation_type
|
|
709
734
|
|
|
@@ -718,7 +743,8 @@ module Openlayer
|
|
|
718
743
|
sig { returns(T.nilable(String)) }
|
|
719
744
|
attr_accessor :description
|
|
720
745
|
|
|
721
|
-
# The kind of evidence that satisfies the rule.
|
|
746
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
747
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
722
748
|
sig do
|
|
723
749
|
returns(
|
|
724
750
|
T.nilable(
|
|
@@ -729,7 +755,8 @@ module Openlayer
|
|
|
729
755
|
attr_accessor :evidence_type
|
|
730
756
|
|
|
731
757
|
# How often evidence must be renewed, in days. Once evidence is older than this,
|
|
732
|
-
# the rule result becomes `due_soon` and then `failing`.
|
|
758
|
+
# the rule result becomes `due_soon` and then `failing`. The window restarts
|
|
759
|
+
# whenever evidence is attached. Omit or `null` for platform rules.
|
|
733
760
|
sig { returns(T.nilable(Integer)) }
|
|
734
761
|
attr_accessor :renewal_cadence_days
|
|
735
762
|
|
|
@@ -751,7 +778,8 @@ module Openlayer
|
|
|
751
778
|
sig { params(date_updated: Time).void }
|
|
752
779
|
attr_writer :date_updated
|
|
753
780
|
|
|
754
|
-
# Whether the rule is managed by Openlayer
|
|
781
|
+
# Whether the rule is managed by Openlayer. These rules can't be renamed or
|
|
782
|
+
# deleted; set `deactivated` to exclude one from compliance instead.
|
|
755
783
|
sig { returns(T.nilable(T::Boolean)) }
|
|
756
784
|
attr_reader :immutable
|
|
757
785
|
|
|
@@ -786,16 +814,20 @@ module Openlayer
|
|
|
786
814
|
# The rule name.
|
|
787
815
|
name:,
|
|
788
816
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
789
|
-
# the rule's frameworks apply to.
|
|
817
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
818
|
+
# the rule is created.
|
|
790
819
|
scope:,
|
|
791
820
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
792
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
821
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
822
|
+
# rule is created.
|
|
793
823
|
type:,
|
|
794
|
-
# Configuration for the platform check, when the automation takes parameters.
|
|
824
|
+
# Configuration for the platform check, when the automation takes parameters. Omit
|
|
825
|
+
# or `null` for evidence rules. Fixed once the rule is created.
|
|
795
826
|
automation_params: nil,
|
|
796
827
|
# Which workspace signal a platform rule checks, for example
|
|
797
|
-
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`.
|
|
798
|
-
# evidence rules.
|
|
828
|
+
# `monitoring_mode_enabled`, `test_setup`, or `project_owner_set`. Set it for
|
|
829
|
+
# platform rules; omit or `null` for evidence rules. Fixed once the rule is
|
|
830
|
+
# created.
|
|
799
831
|
automation_type: nil,
|
|
800
832
|
# The creation date.
|
|
801
833
|
date_created: nil,
|
|
@@ -805,12 +837,15 @@ module Openlayer
|
|
|
805
837
|
deactivated: nil,
|
|
806
838
|
# What the rule requires.
|
|
807
839
|
description: nil,
|
|
808
|
-
# The kind of evidence that satisfies the rule.
|
|
840
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
841
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
809
842
|
evidence_type: nil,
|
|
810
|
-
# Whether the rule is managed by Openlayer
|
|
843
|
+
# Whether the rule is managed by Openlayer. These rules can't be renamed or
|
|
844
|
+
# deleted; set `deactivated` to exclude one from compliance instead.
|
|
811
845
|
immutable: nil,
|
|
812
846
|
# How often evidence must be renewed, in days. Once evidence is older than this,
|
|
813
|
-
# the rule result becomes `due_soon` and then `failing`.
|
|
847
|
+
# the rule result becomes `due_soon` and then `failing`. The window restarts
|
|
848
|
+
# whenever evidence is attached. Omit or `null` for platform rules.
|
|
814
849
|
renewal_cadence_days: nil
|
|
815
850
|
)
|
|
816
851
|
end
|
|
@@ -843,7 +878,8 @@ module Openlayer
|
|
|
843
878
|
end
|
|
844
879
|
|
|
845
880
|
# Whether the rule is evaluated once for the whole workspace, or once per project
|
|
846
|
-
# the rule's frameworks apply to.
|
|
881
|
+
# the rule's frameworks apply to. Must be `project` for platform rules. Fixed once
|
|
882
|
+
# the rule is created.
|
|
847
883
|
module Scope
|
|
848
884
|
extend Openlayer::Internal::Type::Enum
|
|
849
885
|
|
|
@@ -879,7 +915,8 @@ module Openlayer
|
|
|
879
915
|
end
|
|
880
916
|
|
|
881
917
|
# `platform` rules are evaluated automatically from the state of your Openlayer
|
|
882
|
-
# workspace. `evidence` rules are satisfied by attaching evidence.
|
|
918
|
+
# workspace. `evidence` rules are satisfied by attaching evidence. Fixed once the
|
|
919
|
+
# rule is created.
|
|
883
920
|
module Type
|
|
884
921
|
extend Openlayer::Internal::Type::Enum
|
|
885
922
|
|
|
@@ -914,7 +951,8 @@ module Openlayer
|
|
|
914
951
|
end
|
|
915
952
|
end
|
|
916
953
|
|
|
917
|
-
# The kind of evidence that satisfies the rule.
|
|
954
|
+
# The kind of evidence that satisfies the rule. Set it for evidence rules; omit or
|
|
955
|
+
# `null` for platform rules. Fixed once the rule is created.
|
|
918
956
|
module EvidenceType
|
|
919
957
|
extend Openlayer::Internal::Type::Enum
|
|
920
958
|
|