n8n/packages/nodes-base/credentials/MicrosoftGraphSecurityOAuth2Api.credentials.ts
Iván Ovejero 77a05976ec
Add MS Graph Security node (#2307)
*  Create MS Graph Security node

*  General update

* 📦 Update package-lock.json

* 👕 Fix lint

* 🔥 Remove Reviewed field

*  Set max limit to 1000

*  Add limit to 1000 to second resource
2022-01-08 10:53:10 +01:00

22 lines
470 B
TypeScript

import {
ICredentialType,
INodeProperties,
} from 'n8n-workflow';
export class MicrosoftGraphSecurityOAuth2Api implements ICredentialType {
name = 'microsoftGraphSecurityOAuth2Api';
displayName = 'Microsoft Graph Security OAuth2 API';
extends = [
'microsoftOAuth2Api',
];
documentationUrl = 'microsoft';
properties: INodeProperties[] = [
{
displayName: 'Scope',
name: 'scope',
type: 'hidden',
default: 'SecurityEvents.ReadWrite.All',
},
];
}