Skip to main content
Question

How to define a static variable in a SecOps dashboard query

  • October 31, 2025
  • 1 reply
  • 31 views

KeithWeinberger

Is there any method to define a static variable within a dashboard query.  

 

As part of this use case, I also need to lookup a userid on a data table and get the corresponding Password policy days to be used in a calculation.  for example

 

$PassDays = if (graph.entity.user.userid in %Password_Policy.USER then  %Password.Policy.DAYS, 90)

math.round(( (graph.entity.user.last_password_change_time.seconds + ($PassDays * 86400))- timestamp.current_seconds() )/86400) < 30

1 reply

cmmartin_google
Staff
Forum|alt.badge.img+11

No, not today, other than as you have suggested to have a dedicated Data Table and call that.