mirror of
https://github.com/github/codeql.git
synced 2026-05-01 19:55:15 +02:00
Merge branch 'toctou_refinements' of https://github.com/github/codeql-actions into toctou_refinements
This commit is contained in:
@@ -15,7 +15,7 @@ import actions
|
||||
import codeql.actions.security.UntrustedCheckoutQuery
|
||||
import codeql.actions.security.PoisonableSteps
|
||||
|
||||
from ControlCheck check, MutableRefCheckoutStep checkout
|
||||
from LabelControlCheck check, MutableRefCheckoutStep checkout
|
||||
where
|
||||
// the mutable checkout step is protected by an access check
|
||||
check = [checkout.getIf(), checkout.getEnclosingJob().getIf()] and
|
||||
|
||||
@@ -15,7 +15,7 @@ import actions
|
||||
import codeql.actions.security.UntrustedCheckoutQuery
|
||||
import codeql.actions.security.PoisonableSteps
|
||||
|
||||
from ControlCheck check, MutableRefCheckoutStep checkout
|
||||
from LabelControlCheck check, MutableRefCheckoutStep checkout
|
||||
where
|
||||
// the mutable checkout step is protected by an access check
|
||||
check = [checkout.getIf(), checkout.getEnclosingJob().getIf()] and
|
||||
|
||||
Reference in New Issue
Block a user