Home

How to enter dates in your queries

To search for dates you'll use a date range [start date .. end date] or a specific date. Several date variables are available. Learn more

Examples

Find containers with state changed between 1-2 months ago

state.changedTime: [now-2M .. now-1M]

Find containers with state changed between January 1st and April 1st 2017

state.changedTime: [2017-01-01 .. 2015-04-01]

Find containers with vulnerabilities last found between 10 days ago and 1 second ago

vulnerabilities.lastFound: [now-10d .. now-1s]

Find containers with vulnerabilities last found on February 1st 2017

vulnerabilities.lastFound: '2017-02-01'

Find containers with vulnerabilities last found in year 2017

vulnerabilities.lastFound: "2017"

Find containers with vulnerabilities first found on February 1st 2016 at time 10:53:49

vulnerabilities.firstfound: "2016-02-01 10:53:49"

Find containers with vulnerabilities first found between January 1st and April 1st 2017  Learn more

vulnerabilities.firstFound: [2017-01-01 .. 2015-04-01]

Still have questions?

Tell me about the "now" shortcut

Type now- then a number and time unit.

y (year), M (month), w (week), d (day), h (hour), m (minute), s (second)

Examples

now-1y for 1 year ago

now-2M for 2 months ago

now-5d for 5 days ago

Comparison operators are supported

Examples

vulnerabilities.vulnerability.published > 2017-03-12

vulnerabilities.vulnerability.published >= 2017-03-12