refactor: Enforce expanded sensitive inputs rules (no-changelog) (#6815)

* refactor: Enforce expanded sensitive inputs rules (no-changelog)

* refactor: Add extra exemption

* fix: Add setting to `sessionToken` fields

* fix: Restore for `hidden` fields

* fix: More edge case exemptions

* fix: One more
This commit is contained in:
Iván Ovejero
2023-08-01 13:08:25 +02:00
committed by GitHub
parent f5134adde5
commit dec19585bc
79 changed files with 101 additions and 91 deletions

View File

@@ -167,6 +167,7 @@ export const meetingFields: INodeProperties[] = [
{
displayName: 'Exclude Password',
name: 'excludePassword',
// eslint-disable-next-line n8n-nodes-base/node-param-type-options-password-missing
type: 'boolean',
default: false,
description: 'Whether or not to exclude password from the meeting email invitation',
@@ -746,6 +747,7 @@ export const meetingFields: INodeProperties[] = [
{
displayName: 'Exclude Password',
name: 'excludePassword',
// eslint-disable-next-line n8n-nodes-base/node-param-type-options-password-missing
type: 'boolean',
default: false,
description: 'Whether or not to exclude password from the meeting email invitation',

View File

@@ -277,6 +277,7 @@ export class Crypto implements INodeType {
},
},
type: 'string',
typeOptions: { password: true },
default: '',
required: true,
},

View File

@@ -104,6 +104,7 @@ export const connectorFields: INodeProperties[] = [
name: 'apiToken',
description: 'Jira API token',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
displayOptions: {
@@ -165,6 +166,7 @@ export const connectorFields: INodeProperties[] = [
name: 'apiKeyId',
description: 'IBM Resilient API key ID',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
displayOptions: {
@@ -180,6 +182,7 @@ export const connectorFields: INodeProperties[] = [
name: 'apiKeySecret',
description: 'IBM Resilient API key secret',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
displayOptions: {

View File

@@ -145,6 +145,7 @@ export const webinarFields: INodeProperties[] = [
{
displayName: 'Is Password Protected',
name: 'isPasswordProtected',
// eslint-disable-next-line n8n-nodes-base/node-param-type-options-password-missing
type: 'boolean',
default: false,
},
@@ -406,6 +407,7 @@ export const webinarFields: INodeProperties[] = [
{
displayName: 'Is Password Protected',
name: 'isPasswordProtected',
// eslint-disable-next-line n8n-nodes-base/node-param-type-options-password-missing
type: 'boolean',
default: false,
description: 'Whether the webinar requires a password for attendees to join',

View File

@@ -157,6 +157,7 @@ export const userFields: INodeProperties[] = [
{
displayName: 'Change Password At Next Login',
name: 'changePasswordAtNextLogin',
// eslint-disable-next-line n8n-nodes-base/node-param-type-options-password-missing
type: 'boolean',
default: false,
description: 'Whether the user is forced to change their password at next login',
@@ -682,6 +683,7 @@ export const userFields: INodeProperties[] = [
{
displayName: 'Change Password At Next Login',
name: 'changePasswordAtNextLogin',
// eslint-disable-next-line n8n-nodes-base/node-param-type-options-password-missing
type: 'boolean',
default: false,
description: 'Whether the user is forced to change their password at next login',

View File

@@ -184,6 +184,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'user_password',
type: 'string',
typeOptions: { password: true },
default: '',
description: "The user's password",
},
@@ -617,6 +618,7 @@ export const userFields: INodeProperties[] = [
displayName: 'Password',
name: 'user_password',
type: 'string',
typeOptions: { password: true },
default: '',
description: "The user's password",
},

View File

@@ -57,6 +57,7 @@ export const customerCardFields: INodeProperties[] = [
displayName: 'Card Token',
name: 'token',
type: 'string',
typeOptions: { password: true },
required: true,
default: '',
placeholder: 'tok_1IMfKdJhRTnqS5TKQVG1LI9o',

View File

@@ -385,6 +385,7 @@ export const monitorFields: INodeProperties[] = [
displayName: 'HTTP Password',
name: 'http_password',
type: 'string',
typeOptions: { password: true },
default: '',
description: 'The password used for password-protected web pages',
},

View File

@@ -654,6 +654,7 @@ export const certificateFields: INodeProperties[] = [
displayName: 'Keystore Password',
name: 'KeystorePassword',
type: 'string',
typeOptions: { password: true },
default: '',
},
],