Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion src/Command/Integration/IntegrationCommandBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ private function getFields()
'splunk',
'sumologic',
'syslog',
'otlp',
];

return [
Expand Down Expand Up @@ -418,6 +419,7 @@ private function getFields()
'sumologic',
'splunk',
'webhook',
'otlp',
]],
'description' => 'The URL or API endpoint for the integration',
]),
Expand Down Expand Up @@ -594,6 +596,7 @@ private function getFields()
'splunk',
'sumologic',
'syslog',
'otlp',
]],
'description' => 'Whether HTTPS certificate verification should be enabled (recommended)',
'questionLine' => 'Should HTTPS certificate verification be enabled (recommended)',
Expand All @@ -603,7 +606,10 @@ private function getFields()
]),
'headers' => new ArrayField('HTTP header', [
'optionName' => 'header',
'conditions' => ['type' => 'httplog'],
'conditions' => ['type' => [
'httplog',
'otlp',
]],
'description' => 'HTTP header(s) to use in POST requests. Separate names and values with a colon (:).',
'required' => false,
// Override the default split pattern (which splits a comma-separated
Expand Down
Loading