Skip to content

Commit 6c7aeca

Browse files
committed
Improve wording on doc in actions/security/ControlChecks.qll
1 parent 029d5fb commit 6c7aeca

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

actions/ql/lib/codeql/actions/security/ControlChecks.qll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,10 @@ abstract class LabelCheck extends ControlCheck {
282282
*
283283
* It is possible to customize which deployment environments apply. The default behavior
284284
* of this model is for any environment to be considered a sanitizer.
285-
* If values are (currently manually/externally) provided in `actions/ql/lib/ext/config/deployment_environment.yml`
286-
* then those names will be used to define the valid sanitizer set.
287-
* To create a default of "no default sanitizer environment" one can add an
288-
* empty string to the data array in `deployment_environment.yml`.
285+
* If values are provided then those names
286+
* will be used to define the valid sanitizer set.
287+
* To describe the situation where there is no acceptable sanitizer environment
288+
* populate the predicate `enabledDeploymentEnvironmentDataModel` to contain a single empty string.
289289
*/
290290
class EnvironmentCheck extends ControlCheck instanceof Environment {
291291
EnvironmentCheck() {

0 commit comments

Comments
 (0)