[CoreDNS] Add CoreDNS package#4064
Conversation
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
andrewkroh
left a comment
There was a problem hiding this comment.
Great to see CoreDNS support coming to Agent.
I think this package would benefit from a system test the runs the real CoreDNS in a container, and then sends in some queries from another container using dig to simulate requests and possibly some errors. I used a setup like this in the hashicorp_vault package and it makes verifying compatibility with new versions easier.
This would also setup the package to have a metrics data_stream added that uses the prometheus input to collect data from https://coredns.io/plugins/metrics/. (Also did this in hashicorp_vault.)
packages/coredns/data_stream/log/_dev/test/pipeline/test-coredns.log
Outdated
Show resolved
Hide resolved
I was going to do this but couldn't get CoreDNS to log to a file within a container so with the current inputs wouldn't really allow for reading from the container STDOUT unless I'm missing something |
|
I would |
|
|
The coredns image is bult |
That worked. Just need to figure out the errors now with the agent. |
|
@andrewkroh fixed tests. ready for review |
andrewkroh
left a comment
There was a problem hiding this comment.
LGTM. Can you please include a screenshot of the dashboard in the package.
|
/test |
ec4e6b0 to
7306f43
Compare
🚀 Benchmarks reportTo see the full report comment with |
🌐 Coverage report
|
What does this PR do?
Add CoreDNS package
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
Related issues
Screenshots