mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
✨ Add Splunk node (#2180)
* ✨ 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>
This commit is contained in:
32
packages/nodes-base/credentials/SplunkApi.credentials.ts
Normal file
32
packages/nodes-base/credentials/SplunkApi.credentials.ts
Normal file
@@ -0,0 +1,32 @@
|
||||
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,
|
||||
},
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user