You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/GitHubEnterpriseCloud/src/Schema/RuleSuite.php
+14-6
Original file line number
Diff line number
Diff line change
@@ -69,10 +69,15 @@
69
69
"evaluation_result": {
70
70
"enum": [
71
71
"pass",
72
-
"fail"
72
+
"fail",
73
+
"bypass",
74
+
null
73
75
],
74
-
"type": "string",
75
-
"description": "The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`."
76
+
"type": [
77
+
"string",
78
+
"null"
79
+
],
80
+
"description": "The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run."
76
81
},
77
82
"rule_evaluations": {
78
83
"type": "array",
@@ -124,8 +129,11 @@
124
129
"description": "The type of rule."
125
130
},
126
131
"details": {
127
-
"type": "string",
128
-
"description": "Any associated details with the rule evaluation."
132
+
"type": [
133
+
"string",
134
+
"null"
135
+
],
136
+
"description": "The detailed failure message for the rule. Null if the rule passed."
129
137
}
130
138
}
131
139
},
@@ -184,7 +192,7 @@
184
192
* repositoryId: The ID of the repository associated with the rule evaluation.
185
193
* repositoryName: The name of the repository without the `.git` extension.
186
194
* result: The result of the rule evaluations for rules with the `active` enforcement status.
187
-
* evaluationResult: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`.
195
+
* evaluationResult: The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`. Null if no rules with `evaluate` enforcement status were run.
188
196
* ruleEvaluations: Details on the evaluated rules.
Copy file name to clipboardExpand all lines: clients/GitHubEnterpriseCloud/src/Schema/RuleSuites.php
+2-1
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,8 @@
62
62
"evaluation_result": {
63
63
"enum": [
64
64
"pass",
65
-
"fail"
65
+
"fail",
66
+
"bypass"
66
67
],
67
68
"type": "string",
68
69
"description": "The result of the rule evaluations for rules with the `active` and `evaluate` enforcement statuses, demonstrating whether rules would pass or fail if all rules in the rule suite were `active`."
Copy file name to clipboardExpand all lines: etc/specs/GitHubEnterpriseCloud/current.spec.yaml
+21-6
Original file line number
Diff line number
Diff line change
@@ -23548,9 +23548,9 @@ paths:
23548
23548
description: |-
23549
23549
Store an artifact attestation and associate it with a repository.
23550
23550
23551
-
The authenticated user must have write permission to the repository and, if using a fine-grained access token the `attestations:write` permission is required.
23551
+
The authenticated user must have write permission to the repository and, if using a fine-grained access token, the `attestations:write` permission is required.
23552
23552
23553
-
Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For amore information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
23553
+
Artifact attestations are meant to be created using the [attest action](https://github.com/actions/attest). For more information, see our guide on [using artifact attestations to establish a build's provenance](https://docs.github.com/enterprise-cloud@latest//actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds).
23554
23554
tags:
23555
23555
- repos
23556
23556
operationId: repos/create-attestation
@@ -77511,6 +77511,12 @@ components:
77511
77511
type: string
77512
77512
examples:
77513
77513
- 192.0.2.1
77514
+
codespaces:
77515
+
type: array
77516
+
items:
77517
+
type: string
77518
+
examples:
77519
+
- 192.0.2.1
77514
77520
dependabot:
77515
77521
type: array
77516
77522
items:
@@ -82408,6 +82414,7 @@ components:
82408
82414
enum:
82409
82415
- pass
82410
82416
- fail
82417
+
- bypass
82411
82418
description: The result of the rule evaluations for rules with the `active`
82412
82419
and `evaluate` enforcement statuses, demonstrating whether rules would
82413
82420
pass or fail if all rules in the rule suite were `active`.
@@ -82458,13 +82465,18 @@ components:
82458
82465
description: The result of the rule evaluations for rules with the `active`
82459
82466
enforcement status.
82460
82467
evaluation_result:
82461
-
type: string
82468
+
type:
82469
+
- string
82470
+
- 'null'
82462
82471
enum:
82463
82472
- pass
82464
82473
- fail
82474
+
- bypass
82475
+
-
82465
82476
description: The result of the rule evaluations for rules with the `active`
82466
82477
and `evaluate` enforcement statuses, demonstrating whether rules would
82467
-
pass or fail if all rules in the rule suite were `active`.
82478
+
pass or fail if all rules in the rule suite were `active`. Null if no
82479
+
rules with `evaluate` enforcement status were run.
82468
82480
rule_evaluations:
82469
82481
type: array
82470
82482
description: Details on the evaluated rules.
@@ -82504,8 +82516,11 @@ components:
82504
82516
type: string
82505
82517
description: The type of rule.
82506
82518
details:
82507
-
type: string
82508
-
description: Any associated details with the rule evaluation.
82519
+
type:
82520
+
- string
82521
+
- 'null'
82522
+
description: The detailed failure message for the rule. Null if the
82523
+
rule passed.
82509
82524
repository-advisory-vulnerability:
82510
82525
description: A product affected by the vulnerability detailed in a repository
0 commit comments