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

[openTelemetry-audit] Adds plugin of OpenTelemetry Audit Logs #556

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

Conversation

olandr
Copy link
Contributor

@olandr olandr commented Dec 16, 2024

This adds a plugin for OpenTelemetry ingestion of audit relevant signals. This will be a separate plugin from the 'OpenTelemetry' plugin, because it will most likely have different requirements.

This is an initial pull to create the foundation of the plugin.

@olandr olandr changed the title feature/audit otel [open-telemetry-audit] Adds plugin for auditing using open-telemetry Dec 16, 2024
@olandr olandr changed the title [open-telemetry-audit] Adds plugin for auditing using open-telemetry [openTelemetry-audit] Adds plugin for auditing using open-telemetry Dec 16, 2024
@olandr olandr force-pushed the feature/audit-otel branch from 941e4ee to 97213c7 Compare December 19, 2024 15:50
@olandr olandr changed the title [openTelemetry-audit] Adds plugin for auditing using open-telemetry [openTelemetry-audit] Adds plugin of OpenTelemetry Audit Logs Dec 19, 2024
@olandr olandr force-pushed the feature/audit-otel branch 3 times, most recently from 58a1375 to 87f627e Compare December 19, 2024 16:15
@olandr olandr marked this pull request as ready for review December 19, 2024 16:16
@olandr olandr requested a review from a team as a code owner December 19, 2024 16:16
Copy link
Member

@timojohlo timojohlo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,

Overall it looks good. Most of the comments are about naming.

I still would prefer to add each component successively when needed but I am fine with this approach as well.

I like the architecture image!

Small addition: You can also include the directory-path here: https://github.com/cloudoperators/greenhouse-extensions/blob/main/.github/licenserc.yaml (as done with opentelemetry). This will then ignore automatically adding license headers and fix the failing check (see below).

@olandr olandr linked an issue Jan 14, 2025 that may be closed by this pull request
5 tasks
@olandr olandr requested a review from a team as a code owner January 15, 2025 10:31
@olandr olandr requested a review from timojohlo January 15, 2025 10:31
@timojohlo
Copy link
Member

Nothing to add from my side. A second pair of eyes would help, then I would say lets ship it!

This adds a custom PluginDefinition that implements with the otel plugin. It has custom values that are specific for handling auditing.

---------

Signed off by: Simon Olander ([email protected])
This adds a skeleton for the audit logs tpl files. At the moment there is no concrete
processing of the data.

---------

Signed off by: Simon Olander ([email protected])
This is an initial commit which just copies over the already existing otel plugin.
Simply because the foundation for this otel-audit plugin will be based on the otel plugin.

---------

Signed off by: Simon Olander ([email protected])
…specifics

- Defines a name opentelemetry-audit for the plugin
- Adds the substring 'audit' to various resource to not conflict with other resources.
- Adds architecture diagram

---------

Signed off by: Simon Olander ([email protected])
- edits logo
- changes names to be more consistent otel-audit -> audit-otel
- fixme: add playbook urls

---------

Signed off by: Simon Olander ([email protected])
@olandr olandr force-pushed the feature/audit-otel branch from b58806a to d609903 Compare January 17, 2025 11:04
This adds a skeleton for the audit logs tpl files. At the moment there is no concrete
processing of the data.

---------

Signed off by: Simon Olander ([email protected])
@olandr olandr requested a review from a team as a code owner January 17, 2025 11:07
…of reusing existing plugin

---------

Signed off by: Simon Olander ([email protected])
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.

[opentelemetry-audit] Create first version of Greenhouse Plugin for audit logging
2 participants