mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
refactor: Remove outdated publicly accessible warning (no-changelog) (#6657)
This commit is contained in:
parent
b701dcb8ef
commit
c35f2b97b3
|
@ -116,6 +116,4 @@ export const DB_QUERY_PARAMS_DOCS_URL =
|
||||||
|
|
||||||
export const COMMUNITY_NODES_RISKS_URL = 'https://docs.n8n.io/integrations/community-nodes/risks';
|
export const COMMUNITY_NODES_RISKS_URL = 'https://docs.n8n.io/integrations/community-nodes/risks';
|
||||||
|
|
||||||
export const SELF_HOSTED_AUTH_DOCS_URL = 'https://docs.n8n.io/hosting/authentication';
|
|
||||||
|
|
||||||
export const NPM_PACKAGE_URL = 'https://www.npmjs.com/package';
|
export const NPM_PACKAGE_URL = 'https://www.npmjs.com/package';
|
||||||
|
|
|
@ -4,7 +4,6 @@ import config from '@/config';
|
||||||
import { toFlaggedNode } from '@/audit/utils';
|
import { toFlaggedNode } from '@/audit/utils';
|
||||||
import { separate } from '@/utils';
|
import { separate } from '@/utils';
|
||||||
import {
|
import {
|
||||||
SELF_HOSTED_AUTH_DOCS_URL,
|
|
||||||
ENV_VARS_DOCS_URL,
|
ENV_VARS_DOCS_URL,
|
||||||
INSTANCE_REPORT,
|
INSTANCE_REPORT,
|
||||||
WEBHOOK_NODE_TYPE,
|
WEBHOOK_NODE_TYPE,
|
||||||
|
@ -193,12 +192,7 @@ export async function reportInstanceRisk(workflows: WorkflowEntity[]) {
|
||||||
report.sections.push({
|
report.sections.push({
|
||||||
title: INSTANCE_REPORT.SECTIONS.SECURITY_SETTINGS,
|
title: INSTANCE_REPORT.SECTIONS.SECURITY_SETTINGS,
|
||||||
description: 'This n8n instance has the following security settings.',
|
description: 'This n8n instance has the following security settings.',
|
||||||
recommendation: securitySettings.publiclyAccessibleInstance
|
recommendation: `Consider adjusting the security settings for your n8n instance based on your needs. See: ${ENV_VARS_DOCS_URL}`,
|
||||||
? [
|
|
||||||
'Important! Your n8n instance is publicly accessible. Set up user management or basic/JWT auth to protect access to your n8n instance.'.toUpperCase(),
|
|
||||||
`See: ${SELF_HOSTED_AUTH_DOCS_URL}`,
|
|
||||||
].join(' ')
|
|
||||||
: `Consider adjusting the security settings for your n8n instance based on your needs. See: ${ENV_VARS_DOCS_URL}`,
|
|
||||||
settings: securitySettings,
|
settings: securitySettings,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue