mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-14 00:24:07 -08:00
31 lines
550 B
TypeScript
31 lines
550 B
TypeScript
|
import {
|
||
|
ICredentialType,
|
||
|
INodeProperties,
|
||
|
} from 'n8n-workflow';
|
||
|
|
||
|
export class MispApi implements ICredentialType {
|
||
|
name = 'mispApi';
|
||
|
displayName = 'MISP API';
|
||
|
documentationUrl = 'misp';
|
||
|
properties: INodeProperties[] = [
|
||
|
{
|
||
|
displayName: 'API Key',
|
||
|
name: 'apiKey',
|
||
|
type: 'string',
|
||
|
default: '',
|
||
|
},
|
||
|
{
|
||
|
displayName: 'Base URL',
|
||
|
name: 'baseUrl',
|
||
|
type: 'string',
|
||
|
default: '',
|
||
|
},
|
||
|
{
|
||
|
displayName: 'Allow Unauthorized Certificates',
|
||
|
name: 'allowUnauthorizedCerts',
|
||
|
type: 'boolean',
|
||
|
default: false,
|
||
|
},
|
||
|
];
|
||
|
}
|