@@ -54251,6 +54251,16 @@ components:
5425154251 description: Name of the environment variable or secret that holds the username (used when `auth_strategy` is `plain`).
5425254252 example: HTTP_AUTH_USERNAME
5425354253 type: string
54254+ valid_tokens:
54255+ description: |-
54256+ A list of tokens that are accepted for authenticating incoming HTTP requests. When set,
54257+ the source rejects any request whose token does not match an enabled entry in this list.
54258+ Cannot be combined with the `plain` auth strategy.
54259+ items:
54260+ $ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceValidToken"
54261+ maxItems: 1000
54262+ minItems: 1
54263+ type: array
5425454264 required:
5425554265 - id
5425654266 - type
@@ -54276,6 +54286,55 @@ components:
5427654286 type: string
5427754287 x-enum-varnames:
5427854288 - HTTP_SERVER
54289+ ObservabilityPipelineHttpServerSourceValidToken:
54290+ description: An accepted token used to authenticate incoming HTTP server requests.
54291+ properties:
54292+ enabled:
54293+ default: true
54294+ description: |-
54295+ Indicates whether this token is currently accepted. Disabled tokens are rejected without
54296+ being removed from the configuration.
54297+ example: true
54298+ type: boolean
54299+ field_to_add:
54300+ $ref: "#/components/schemas/ObservabilityPipelineSourceValidTokenFieldToAdd"
54301+ path_to_token:
54302+ $ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceValidTokenPathToToken"
54303+ token_key:
54304+ description: Name of the environment variable or secret that holds the expected token value.
54305+ example: HTTP_SERVER_TOKEN
54306+ pattern: "^[A-Za-z0-9_]+$"
54307+ type: string
54308+ required:
54309+ - token_key
54310+ type: object
54311+ ObservabilityPipelineHttpServerSourceValidTokenPathToToken:
54312+ description: |-
54313+ Specifies where the worker extracts the token from in the incoming HTTP request.
54314+ This can be either a built-in location (`path` or `address`) or an HTTP header object.
54315+ oneOf:
54316+ - $ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceValidTokenPathToTokenLocation"
54317+ - $ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceValidTokenPathToTokenHeader"
54318+ ObservabilityPipelineHttpServerSourceValidTokenPathToTokenHeader:
54319+ description: Extract the token from a specific HTTP request header.
54320+ properties:
54321+ header:
54322+ description: The name of the HTTP header that carries the token.
54323+ example: X-Token
54324+ type: string
54325+ required:
54326+ - header
54327+ type: object
54328+ ObservabilityPipelineHttpServerSourceValidTokenPathToTokenLocation:
54329+ description: Built-in token location on the incoming HTTP request.
54330+ enum:
54331+ - path
54332+ - address
54333+ example: path
54334+ type: string
54335+ x-enum-varnames:
54336+ - PATH
54337+ - ADDRESS
5427954338 ObservabilityPipelineKafkaDestination:
5428054339 description: |-
5428154340 The `kafka` destination sends logs to Apache Kafka topics.
@@ -56299,6 +56358,27 @@ components:
5629956358 type: string
5630056359 x-enum-varnames:
5630156360 - SOCKET
56361+ ObservabilityPipelineSourceValidTokenFieldToAdd:
56362+ description: |-
56363+ An optional metadata field that is attached to every event authenticated by the
56364+ associated token. Both `key` and `value` must match `^[A-Za-z0-9_]+$`.
56365+ properties:
56366+ key:
56367+ description: The metadata field name to add to incoming events.
56368+ example: token_name
56369+ maxLength: 256
56370+ pattern: "^[A-Za-z0-9_]+$"
56371+ type: string
56372+ value:
56373+ description: The metadata field value to add to incoming events.
56374+ example: my_token
56375+ maxLength: 1024
56376+ pattern: "^[A-Za-z0-9_]+$"
56377+ type: string
56378+ required:
56379+ - key
56380+ - value
56381+ type: object
5630256382 ObservabilityPipelineSpec:
5630356383 description: Input schema representing an observability pipeline configuration. Used in create and validate requests.
5630456384 properties:
@@ -56495,6 +56575,15 @@ components:
5649556575 $ref: "#/components/schemas/ObservabilityPipelineTls"
5649656576 type:
5649756577 $ref: "#/components/schemas/ObservabilityPipelineSplunkHecSourceType"
56578+ valid_tokens:
56579+ description: |-
56580+ A list of tokens that are accepted for authenticating incoming HEC requests. When set, the source
56581+ rejects any request whose HEC token does not match an enabled entry in this list.
56582+ items:
56583+ $ref: "#/components/schemas/ObservabilityPipelineSplunkHecSourceValidToken"
56584+ maxItems: 1000
56585+ minItems: 1
56586+ type: array
5649856587 required:
5649956588 - id
5650056589 - type
@@ -56509,6 +56598,26 @@ components:
5650956598 type: string
5651056599 x-enum-varnames:
5651156600 - SPLUNK_HEC
56601+ ObservabilityPipelineSplunkHecSourceValidToken:
56602+ description: An accepted HEC token used to authenticate incoming Splunk HEC requests.
56603+ properties:
56604+ enabled:
56605+ default: true
56606+ description: |-
56607+ Indicates whether this token is currently accepted. Disabled tokens are rejected without
56608+ being removed from the configuration.
56609+ example: true
56610+ type: boolean
56611+ field_to_add:
56612+ $ref: "#/components/schemas/ObservabilityPipelineSourceValidTokenFieldToAdd"
56613+ token_key:
56614+ description: Name of the environment variable or secret that holds the expected HEC token value.
56615+ example: SPLUNK_HEC_TOKEN
56616+ pattern: "^[A-Za-z0-9_]+$"
56617+ type: string
56618+ required:
56619+ - token_key
56620+ type: object
5651256621 ObservabilityPipelineSplunkTcpSource:
5651356622 description: |-
5651456623 The `splunk_tcp` source receives logs from a Splunk Universal Forwarder over TCP.
0 commit comments