Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/lumigo-io/opentelemetry-collector-contrib/extension/lumigoauthextension

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/lumigo-io/opentelemetry-collector-contrib/extension/lumigoauthextension

  • v0.0.0-20230527134213-532407a92eef
  • Source
  • Go
  • Socket score

Version published
Created
Source

Lumigo Authenticator

Status
Stabilitystable
Supported pipeline typestrace
Distributionslumigo

This extension implements the configauth.ServerAuthenticator interface to require clients to send a Lumigo token with a header with the following structure:

Authentication: LumigoToken <token>

If the Authentication header is not provided, ot its structure does not match the expected pattern, a 401 is returned.

The extension does not yet perform validation of the token itself.

The token is available in the auth context with the auth.lumigo-token key. The raw value of the Authentication header is available as auth.raw.

Configuration

The following configuration includes the setting of the token as an additional resource attribute called lumigoToken via the resourceprocessor processor:

extensions:
  lumigoauth: {}

receivers:
  otlp:
    protocols:
      http:
        auth:
          authenticator: lumigoauth

processors:
  resource/lumigo_token_from_auth:
    attributes:
    - key: lumigoToken
      action: upsert
      from_context: auth.lumigo-token

exporters:
  otlp:

service:
  extensions: [lumigoauth]
  pipelines:
    traces:
      receivers: [otlp]
      processors: [resource/lumigo_token_from_auth]
      exporters: [otlp]

FAQs

Package last updated on 27 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc