Datetimes for manually uploaded fields
chjlarson
✭✭✭✭
Hi, I know that the current date can be used in queries when interacting with asset metadata, such as _createdOn, e.g.:
Find aws_instance that has orca_cve with ._createdOn > date.now-1hourWould this work for datetimes that we upload as fields ourselves?
0
Best Answer
-
As long as the values are stored as an epoch number in milliseconds with the following format it should work!
date(YYYY) date(YYYY-MM) date(YYYY-MM-DD) date(YYYY-MM-DDThhTZD) date(YYYY-MM-DDThh:mmTZD) date(YYYY-MM-DDThh:mm:ssTZD) date(YYYY-MM-DDThh:mm:ss.sTZD)
0
This Month's Leaders
Categories
- 336 All Categories
- Featured Categories
- 7 About the AskJ1 Community
- 11 Product Announcements
- From Mission Control
- 1 Rapid Response
- 3 How J1 Uses J1
- Topics
- 131 Asset Management
- 56 Compliance & Reporting
- 65 Security Operations
- 40 Security Engineering
- 5 Open Source
- 18 News, Careers and More