mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-15 17:14:05 -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,
|
||
|
},
|
||
|
];
|
||
|
}
|