mirror of
https://github.com/github/codeql.git
synced 2026-01-06 11:10:23 +01:00
Reduce FP for actor/association checks that cannot be bypassed this way
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