Class: DatadogAPIClient::V2::GitHubOIDCClaimPatterns
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::GitHubOIDCClaimPatterns
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb
Overview
GitHub Actions OIDC claims to match against. Each field is a regular expression.
The sub claim is required; all other claims are optional. A token matches only when
all provided patterns match simultaneously (AND semantics).
Instance Attribute Summary collapse
-
#actor ⇒ Object
Regular expression matched against the
actorclaim. -
#actor_id ⇒ Object
Regular expression matched against the
actor_idclaim. -
#enterprise ⇒ Object
Regular expression matched against the
enterpriseclaim. -
#enterprise_id ⇒ Object
Regular expression matched against the
enterprise_idclaim. -
#environment ⇒ Object
Regular expression matched against the
environmentclaim. -
#event_name ⇒ Object
Regular expression matched against the
event_nameclaim. -
#job_workflow_ref ⇒ Object
Regular expression matched against the
job_workflow_refclaim. -
#ref ⇒ Object
Regular expression matched against the
refclaim. -
#ref_type ⇒ Object
Regular expression matched against the
ref_typeclaim. -
#repository ⇒ Object
Regular expression matched against the
repositoryclaim. -
#repository_id ⇒ Object
Regular expression matched against the
repository_idclaim. -
#repository_owner ⇒ Object
Regular expression matched against the
repository_ownerclaim. -
#repository_owner_id ⇒ Object
Regular expression matched against the
repository_owner_idclaim. -
#repository_visibility ⇒ Object
Regular expression matched against the
repository_visibilityclaim. -
#runner_environment ⇒ Object
Regular expression matched against the
runner_environmentclaim. -
#sub ⇒ Object
readonly
Regular expression matched against the entire
sub(subject) claim, the primary GitHub Actions OIDC identifier (for example,repo:<OWNER>/<REPO>:ref:refs/heads/main). -
#workflow ⇒ Object
Regular expression matched against the
workflowclaim. -
#workflow_ref ⇒ Object
Regular expression matched against the
workflow_refclaim.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#actor ⇒ Object
Regular expression matched against the actor claim.
27 28 29 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 27 def actor @actor end |
#actor_id ⇒ Object
Regular expression matched against the actor_id claim.
30 31 32 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 30 def actor_id @actor_id end |
#enterprise ⇒ Object
Regular expression matched against the enterprise claim.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 33 def enterprise @enterprise end |
#enterprise_id ⇒ Object
Regular expression matched against the enterprise_id claim.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 36 def enterprise_id @enterprise_id end |
#environment ⇒ Object
Regular expression matched against the environment claim.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 39 def environment @environment end |
#event_name ⇒ Object
Regular expression matched against the event_name claim.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 42 def event_name @event_name end |
#job_workflow_ref ⇒ Object
Regular expression matched against the job_workflow_ref claim.
45 46 47 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 45 def job_workflow_ref @job_workflow_ref end |
#ref ⇒ Object
Regular expression matched against the ref claim.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 48 def ref @ref end |
#ref_type ⇒ Object
Regular expression matched against the ref_type claim.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 51 def ref_type @ref_type end |
#repository ⇒ Object
Regular expression matched against the repository claim.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 54 def repository @repository end |
#repository_id ⇒ Object
Regular expression matched against the repository_id claim.
57 58 59 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 57 def repository_id @repository_id end |
#repository_owner ⇒ Object
Regular expression matched against the repository_owner claim.
60 61 62 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 60 def repository_owner @repository_owner end |
#repository_owner_id ⇒ Object
Regular expression matched against the repository_owner_id claim.
63 64 65 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 63 def repository_owner_id @repository_owner_id end |
#repository_visibility ⇒ Object
Regular expression matched against the repository_visibility claim.
66 67 68 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 66 def repository_visibility @repository_visibility end |
#runner_environment ⇒ Object
Regular expression matched against the runner_environment claim.
69 70 71 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 69 def runner_environment @runner_environment end |
#sub ⇒ Object
Regular expression matched against the entire sub (subject) claim, the primary GitHub Actions OIDC
identifier (for example, repo:<OWNER>/<REPO>:ref:refs/heads/main). The pattern must begin with
repo:<OWNER>/, where <OWNER> is a literal repository-owner name rather than a regular expression.
74 75 76 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 74 def sub @sub end |
#workflow ⇒ Object
Regular expression matched against the workflow claim.
77 78 79 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 77 def workflow @workflow end |
#workflow_ref ⇒ Object
Regular expression matched against the workflow_ref claim.
80 81 82 |
# File 'lib/datadog_api_client/v2/models/git_hub_oidc_claim_patterns.rb', line 80 def workflow_ref @workflow_ref end |