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

Datadog log formatting #1

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Datadog log formatting #1

wants to merge 10 commits into from

Conversation

etlund
Copy link
Owner

@etlund etlund commented Apr 4, 2024

No description provided.

zspencer and others added 8 commits January 15, 2020 10:45
* Build CI against modern rubies

I am not comfortable deprecating support for 2.1/2.2/2.3 etc until it starts
becoming a pain point at run-time due to deprecation warnings, or when adding
new features or fixing bugs.

* Tempfile is not included in stdlib in modern ruby

Depending on it implicitly seems like the kind of thing that could cause downstream suffering.
* Developers may include debug messages in their application logs

There were some breaking changes with how the griddler gem was packaged.
This caused rake to fail until we downloaded the photos and updated the spec helper.

* Use Ruby 2.0 compliant syntax for defining protected methods
There appear to be several ways SPF fails where an application may want to
still receive those messages.

See [RFC4408 Section 2.5](https://tools.ietf.org/html/rfc4408#section-2.5) to
determine whether a particular use case conforms to the SPF standard.

Co-authored-by: Eric Lund <[email protected]>
Not sure why, but when an email has `dkim` it sets the spf to `nil` even
if the domain *does* have a working `spf` record.

This starts to treat `nil` `spf` values as `none`

Example body:
```rb
[{"event"=>"inbound",
  "ts"=>1682029694,
  "msg"=> {
    # ...
    "spf"=>{"result"=>nil, "detail"=>nil},
    "dkim"=>{"signed"=>true, "valid"=>true},
  }
}]
```
@etlund etlund force-pushed the datadog-log-formatting branch from 4194fca to 6bd302d Compare April 4, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants