mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 05:04:05 -08:00
db134f0abe
* ✨ Create Splunk node * 🔨 Move rejectUnauthorized to credentials * 🔨 Remove trailing slash * 🔨 Clarify 401 error * 🔥 Remove unused params * 🔥 Remove unused logic * ⚡ Guard against code missing * 🔨 Refactor filter * 🔥 Remove params with no effect * 🔥 Remove superfluous description * 🔥 Remove params for unimplemented resource * 🔥 Remove param with no effect * 🐛 Fix multiple roles in user create and upate * 🔥 Remove logging * ⚡ Simplify ID handling * 👕 Fix lint * ⚡ Add cred test * 🎨 Format import * ✏️ Apply Product feedback * 🐛 Make axiox errors compatible Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
33 lines
655 B
TypeScript
33 lines
655 B
TypeScript
import {
|
|
ICredentialType,
|
|
INodeProperties,
|
|
} from 'n8n-workflow';
|
|
|
|
export class SplunkApi implements ICredentialType {
|
|
name = 'splunkApi';
|
|
displayName = 'Splunk API';
|
|
documentationUrl = 'splunk';
|
|
properties: INodeProperties[] = [
|
|
{
|
|
displayName: 'Auth Token',
|
|
name: 'authToken',
|
|
type: 'string',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Base URL',
|
|
name: 'baseUrl',
|
|
type: 'string',
|
|
description: 'Protocol, domain and port',
|
|
placeholder: 'e.g. https://localhost:8089',
|
|
default: '',
|
|
},
|
|
{
|
|
displayName: 'Allow Self-Signed Certificates',
|
|
name: 'allowUnauthorizedCerts',
|
|
type: 'boolean',
|
|
default: false,
|
|
},
|
|
];
|
|
}
|