mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(core): Credentials for popular SecOps services, Part 1 (#6775)
This commit is contained in:
31
packages/nodes-base/credentials/QRadarApi.credentials.ts
Normal file
31
packages/nodes-base/credentials/QRadarApi.credentials.ts
Normal file
@@ -0,0 +1,31 @@
|
||||
import type { IAuthenticateGeneric, ICredentialType, INodeProperties } from 'n8n-workflow';
|
||||
|
||||
export class QRadarApi implements ICredentialType {
|
||||
name = 'qRadarApi';
|
||||
|
||||
displayName = 'QRadar API';
|
||||
|
||||
icon = 'file:icons/IBM.svg';
|
||||
|
||||
documentationUrl = 'qradar';
|
||||
|
||||
properties: INodeProperties[] = [
|
||||
{
|
||||
displayName: 'API Key',
|
||||
name: 'apiKey',
|
||||
type: 'string',
|
||||
typeOptions: { password: true },
|
||||
required: true,
|
||||
default: '',
|
||||
},
|
||||
];
|
||||
|
||||
authenticate: IAuthenticateGeneric = {
|
||||
type: 'generic',
|
||||
properties: {
|
||||
headers: {
|
||||
SEC: '={{$credentials.apiKey}}',
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user