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+ * This type represents deployment environments that may serve as sanitizers for
281+ * various vunlerabilities.
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 (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 saniziter environment" one can add an
288+ * empty string to the data array in `deployment_environment.yml`.
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