Predicate getRelevantEventInPrivilegedContext
Gets the event that is relevant for the given node in the context of artifact poisoning.
This is used to highlight the event in the query results when an alert is raised.
Import path
import codeql.actions.security.ArtifactPoisoningQuery