Skip to content

Commit ca4d249

Browse files
authored
Update 0000-timestamp-offset-and-docs.md
1 parent efe246c commit ca4d249

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

rfds/0000-timestamp-offset-and-docs.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ The agreed upon timezone format for timestamp fields in CVE Record Format:
6666

6767
Note that a CVE producer can provide a timestamp in the form
6868
yyyy-MM-ddTHH:mm:ss.sss without a timezone offset being specified. This will
69-
be converted to UTC on submission to CVE Services.
69+
be converted to UTC on submission to CVE Services. Also note that a CVE
70+
producer can provide a timestamp without milliseconds, and this will be
71+
converted to include a milliseconds value with all zeros (e.g.,
72+
yyyy-MM-ddTHH:mm:ss will be converted to yyyy-MM-ddTHH:mm:ss.sssZ).
7073

7174
Examples:
7275
- 2026-02-05T00:53:09.778Z
@@ -129,14 +132,21 @@ complement that process going forward.
129132
## Recommended Priority
130133
[recommended-priority]: #recommended-priority
131134

132-
Low
135+
Medium - This update should be considered a medium priority because as part of
136+
the AWG data normalization efforts, a timezone offset that is out of range
137+
(more than 23 hours) will currently pass schema validation but fail CVE
138+
Services validation. The schema validation does not enforce acceptable values
139+
for the timezone offset.
133140

134141
## Unresolved Questions
135142
[unresolved-questions]: #unresolved-questions
136143

137144
Can a regular expression be defined that properly limits the timezone offset to
138145
the valid range of values? I believe the answer is yes, but have not tried yet.
139146

147+
The current timestamp regular expression does not require milliseconds.
148+
Should we require milliseconds as part of the schema validation.
149+
140150
Should we consider requiring a timezone offset be provided for all timestamp
141151
fields in the future? In other words, should validation fail without it?
142152

@@ -150,3 +160,4 @@ timezone offset (outside of the range -12:00 through 14:00)?
150160
TBD
151161

152162

163+

0 commit comments

Comments
 (0)