File tree Expand file tree Collapse file tree
actions/ql/lib/codeql/actions/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -276,9 +276,19 @@ abstract class LabelCheck extends ControlCheck {
276276 }
277277}
278278
279+ /**
280+ * A deployment environment that may serve as a sanitizer for
281+ * various vulnerabilities.
282+ *
283+ * It is possible to customize which deployment environments apply. The default behavior
284+ * of this model is for any environment to be considered a sanitizer.
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.
289+ */
279290class EnvironmentCheck extends ControlCheck instanceof Environment {
280291 EnvironmentCheck ( ) {
281- // if there are any custom tuples use those
282292 if enabledDeploymentEnvironmentDataModel ( _)
283293 then enabledDeploymentEnvironmentDataModel ( this .( Environment ) .getName ( ) )
284294 else this instanceof Environment
You can’t perform that action at this time.
0 commit comments