Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] reformat timestamp from alerts to be valid RFC3339 #166

Closed
frikilax opened this issue Feb 24, 2020 · 2 comments
Closed

[BUG] reformat timestamp from alerts to be valid RFC3339 #166

frikilax opened this issue Feb 24, 2020 · 2 comments
Labels
bug Something isn't working easy important

Comments

@frikilax
Copy link
Member

Describe the bug
Current timestamp in darwin alerts is not a valid format:
2020-02-24UTC10:57:31+0000 instead of 2020-02-24T10:57:31+00:00

Plateform (please complete the following information):

  • OS (version): all
  • Darwin version: since 1.0

To Reproduce
Steps to reproduce the behavior:

  1. tail /var/darwin/alerts.log
  2. Generate an alert
  3. time should not be a valid RFC3339 format

Expected behavior
time field should follow RFC3339 specification (or ISO8601)

Screenshots/logs

{"evt_id": "61956d56-3b03-4988-8dc6-a8cf499269f5", "time": "2020-02-24UTC10:57:31+0000", "filter": "content_inspection", "certitude": 100, "yara_match": [{"rule":"eicar","tags":[]}]}
@frikilax frikilax added bug Something isn't working easy important labels Feb 24, 2020
@frikilax
Copy link
Member Author

potentially linked to #155

@frikilax
Copy link
Member Author

resolved by #187

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working easy important
Projects
None yet
Development

No branches or pull requests

1 participant