n8n/packages/nodes-base/credentials/SecurityScorecardApi.credentials.ts
Ricardo Espinoza d0b896da38
Add SecurityScorecard node (#1371)
* Add SecurityScorecard node

* Move portfolio:edit fields to the main view.

The API request uses PUT so it will replace undefined fields if they are not set.

* Style improvements

*  Improvements to #1247

*  Improvements

*  Minor improvements on SecurityScorecard Node

Co-authored-by: Mika Luhta <12100880+mluhta@users.noreply.github.com>
Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com>
2021-01-28 18:31:37 +01:00

19 lines
358 B
TypeScript

import {
ICredentialType,
NodePropertyTypes,
} from 'n8n-workflow';
export class SecurityScorecardApi implements ICredentialType {
name = 'securityScorecardApi';
displayName = 'SecurityScorecard API';
properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string' as NodePropertyTypes,
default: '',
required: true,
},
];
}