first commit
Security: Sync from Public / sync-from-public (push) Has been cancelled
Test: Benchmark Nightly / build (push) Has been cancelled
Test: Benchmark Nightly / Notify Cats on failure (push) Has been cancelled
CI: Python / Checks (push) Has been cancelled
Test: Evals Python / Workflow Comparison Python (push) Has been cancelled
Util: Check Docs URLs / check-docs-urls (push) Has been cancelled
Test: Visual Storybook / Cloudflare Pages (push) Has been cancelled
Test: E2E Performance / build-and-test-performance (push) Has been cancelled
Test: Workflows Nightly / Run Workflow Tests (push) Has been cancelled
Util: Cleanup CI Docker Images / Delete stale CI images (push) Has been cancelled
Test: Benchmark Destroy Env / build (push) Has been cancelled
Util: Update Node Popularity / update-popularity (push) Has been cancelled
Test: E2E Coverage Weekly / Coverage Tests (push) Has been cancelled

This commit is contained in:
2026-03-17 16:22:57 +03:30
commit 3d5eaf9445
15349 changed files with 2847338 additions and 0 deletions
@@ -0,0 +1,38 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Add User to Group', () => {
beforeEach(() => {
const baseUrl = 'https://iam.amazonaws.com/';
nock.cleanAll();
nock(baseUrl)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'AddUserToGroup',
Version: CURRENT_VERSION,
UserName: 'Jonas',
GroupName: 'GroupNameUpdated2',
})
.reply(200, {
AddUserToGroupResponse: {
ResponseMetadata: {
RequestId: '8192250c-9225-4903-af62-a521ce939968',
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['addToGroup.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,78 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-40, -120],
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
"name": "When clicking Test workflow"
},
{
"parameters": {
"operation": "addToGroup",
"user": {
"__rl": true,
"value": "Jonas",
"mode": "list",
"cachedResultName": "Jonas"
},
"group": {
"__rl": true,
"value": "GroupNameUpdated2",
"mode": "list",
"cachedResultName": "GroupNameUpdated2"
},
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [160, -120],
"id": "982d8c6e-e94a-414c-90ba-35743676eef8",
"name": "addToGroup",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"addToGroup": [
{
"json": {
"AddUserToGroupResponse": {
"ResponseMetadata": {
"RequestId": "8192250c-9225-4903-af62-a521ce939968"
}
}
}
}
]
},
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "addToGroup",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "2e9e5c7a-705f-49a7-83db-397f1bb48798",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}
@@ -0,0 +1,47 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Create user', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'CreateUser',
Version: CURRENT_VERSION,
UserName: 'UserTest1',
})
.reply(200, {
CreateUserResponse: {
CreateUserResult: {
User: {
Arn: 'arn:aws:iam::130450532146:user/UserTest1',
CreateDate: 1744115235,
PasswordLastUsed: null,
Path: '/',
PermissionsBoundary: null,
UserId: 'AIDAR4X3VE4ZHHMNF7NBB',
UserName: 'UserTest1',
},
},
ResponseMetadata: {
RequestId: 'ce14481c-5629-4ae4-9eae-3722f48bb3e0',
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['create.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,70 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [200, 120],
"id": "b4205abf-7102-4e53-8aed-7bd047acfaf4",
"name": "When clicking Test workflow"
},
{
"parameters": {
"operation": "create",
"userName": "UserTest1",
"additionalFields": {
"path": "/new/path/"
},
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [400, 120],
"id": "64bbfce7-cc7d-4e69-82d3-d4ecac5ad389",
"name": "AWS IAM12",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "AWS IAM12",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {
"AWS IAM12": [
{
"json": {
"CreateUserResponse": {
"CreateUserResult": {
"User": {
"Arn": "arn:aws:iam::130450532146:user/UserTest1",
"CreateDate": 1744115235,
"PasswordLastUsed": null,
"Path": "/",
"PermissionsBoundary": null,
"UserId": "AIDAR4X3VE4ZHHMNF7NBB",
"UserName": "UserTest1"
}
},
"ResponseMetadata": {
"RequestId": "ce14481c-5629-4ae4-9eae-3722f48bb3e0"
}
}
}
}
]
}
}
@@ -0,0 +1,96 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Delete user', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'GetUser',
Version: CURRENT_VERSION,
UserName: 'JohnThis10',
})
.reply(200, {
GetUserResponse: {
GetUserResult: {
User: {
UserName: 'JohnThis10',
},
},
},
});
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'ListGroups',
Version: CURRENT_VERSION,
})
.reply(200, {
ListGroupsResponse: {
ListGroupsResult: {
Groups: [{ GroupName: 'GroupA' }],
},
},
});
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'GetGroup',
Version: CURRENT_VERSION,
GroupName: 'GroupA',
})
.reply(200, {
GetGroupResponse: {
GetGroupResult: {
Users: [{ UserName: 'JohnThis10' }],
},
},
});
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'RemoveUserFromGroup',
Version: CURRENT_VERSION,
GroupName: 'GroupA',
UserName: 'JohnThis10',
})
.reply(200, {
ResponseMetadata: {
RequestId: 'remove-groupA-id',
},
});
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'DeleteUser',
Version: CURRENT_VERSION,
UserName: 'JohnThis10',
})
.reply(200, {
DeleteUserResponse: {
ResponseMetadata: {
RequestId: '44c7c6c0-260b-4dfd-beee-2cce8f05bed3',
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['delete.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,72 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-80, -100],
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
"name": "When clicking Test workflow"
},
{
"parameters": {
"operation": "delete",
"user": {
"__rl": true,
"value": "JohnThis10",
"mode": "list",
"cachedResultName": "JohnThis10"
},
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [180, -100],
"id": "f8bf0d9d-78aa-48e6-80bd-3018c0bac0ea",
"name": "deleteUser",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"deleteUser": [
{
"json": {
"DeleteUserResponse": {
"ResponseMetadata": {
"RequestId": "44c7c6c0-260b-4dfd-beee-2cce8f05bed3"
}
}
}
}
]
},
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "deleteUser",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "731b81df-c6a0-4074-a3f8-e0ad0e9c884a",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}
@@ -0,0 +1,49 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Get User', () => {
beforeEach(() => {
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'GetUser',
Version: CURRENT_VERSION,
UserName: 'accounts@this.de',
})
.reply(200, {
GetUserResponse: {
GetUserResult: {
User: {
UserName: 'accounts@this.de',
UserId: 'AIDAR4X3VE4ZANWXRN2L2',
Arn: 'arn:aws:iam::130450532146:user/accounts@this.de',
CreateDate: 1733911052,
Path: '/',
Tags: [
{
Key: 'AKIAR4X3VE4ZALQYFEMT',
Value: 'API dev',
},
],
PasswordLastUsed: null,
PermissionsBoundary: null,
},
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['get.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,79 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-40, -120],
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
"name": "When clicking Test workflow"
},
{
"parameters": {
"operation": "get",
"user": {
"__rl": true,
"mode": "list",
"value": "accounts@this.de"
},
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [140, -100],
"id": "982d8c6e-e94a-414c-90ba-35743676eef8",
"name": "getUser",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"getUser": [
{
"json": {
"Arn": "arn:aws:iam::130450532146:user/accounts@this.de",
"CreateDate": 1733911052,
"PasswordLastUsed": null,
"Path": "/",
"PermissionsBoundary": null,
"Tags": [
{
"Key": "AKIAR4X3VE4ZALQYFEMT",
"Value": "API dev"
}
],
"UserId": "AIDAR4X3VE4ZANWXRN2L2",
"UserName": "accounts@this.de"
}
}
]
},
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "getUser",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "5ce54c9d-de6e-499a-b042-0bb89c41208c",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}
@@ -0,0 +1,57 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Get All Users', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'ListUsers',
Version: CURRENT_VERSION,
MaxItems: 100,
})
.reply(200, {
ListUsersResponse: {
ListUsersResult: {
Users: [
{
Arn: 'arn:aws:iam::130450532146:user/Johnnn',
UserName: 'Johnnn',
UserId: 'AIDAR4X3VE4ZAJGXLCVOP',
Path: '/',
CreateDate: 1739198010,
PasswordLastUsed: null,
PermissionsBoundary: null,
Tags: null,
},
{
Arn: 'arn:aws:iam::130450532146:user/rhis/path/Jonas',
UserName: 'Jonas',
UserId: 'AIDAR4X3VE4ZDJJFKI6OU',
Path: '/rhis/path/',
CreateDate: 1739198295,
PasswordLastUsed: null,
PermissionsBoundary: null,
Tags: null,
},
],
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['getAll.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,81 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-40, -220],
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
"name": "When clicking Test workflow"
},
{
"parameters": {
"additionalFields": {},
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [160, -220],
"id": "23fd4c79-516d-49dc-81c8-e68052a294d1",
"name": "getAllUsers",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"getAllUsers": [
{
"json": {
"Arn": "arn:aws:iam::130450532146:user/Johnnn",
"CreateDate": 1739198010,
"PasswordLastUsed": null,
"Path": "/",
"PermissionsBoundary": null,
"Tags": null,
"UserId": "AIDAR4X3VE4ZAJGXLCVOP",
"UserName": "Johnnn"
}
},
{
"json": {
"Arn": "arn:aws:iam::130450532146:user/rhis/path/Jonas",
"CreateDate": 1739198295,
"PasswordLastUsed": null,
"Path": "/rhis/path/",
"PermissionsBoundary": null,
"Tags": null,
"UserId": "AIDAR4X3VE4ZDJJFKI6OU",
"UserName": "Jonas"
}
}
]
},
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "getAllUsers",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "c23e7348-6add-4711-b567-53922f951cbe",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}
@@ -0,0 +1,37 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Remove User From Group', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'RemoveUserFromGroup',
Version: CURRENT_VERSION,
UserName: 'UserTest1',
GroupName: 'GroupCreatedAfter',
})
.reply(200, {
RemoveUserFromGroupResponse: {
ResponseMetadata: {
RequestId: '48508b51-1506-496c-8455-7135269209f0',
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['removeFromGroup.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,78 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-40, -120],
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
"name": "When clicking Test workflow"
},
{
"parameters": {
"operation": "removeFromGroup",
"user": {
"__rl": true,
"value": "UserTest1",
"mode": "list",
"cachedResultName": "UserTest1"
},
"group": {
"__rl": true,
"value": "GroupCreatedAfter",
"mode": "list",
"cachedResultName": "GroupCreatedAfter"
},
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [140, -120],
"id": "5f05f1ad-aaae-49c1-b03d-c77c1442a0c9",
"name": "removeFromGroup",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"removeFromGroup": [
{
"json": {
"RemoveUserFromGroupResponse": {
"ResponseMetadata": {
"RequestId": "48508b51-1506-496c-8455-7135269209f0"
}
}
}
}
]
},
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "removeFromGroup",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "9cb635bc-9e0f-4903-8705-c0ec4495c39f",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}
@@ -0,0 +1,37 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Update User', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'UpdateUser',
Version: CURRENT_VERSION,
UserName: 'NewUser',
NewUserName: 'UserTest',
})
.reply(200, {
UpdateUserResponse: {
ResponseMetadata: {
RequestId: 'bdb4a8b5-627a-41a7-aba9-5733b7869c16',
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['update.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,62 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [200, 120],
"id": "b4205abf-7102-4e53-8aed-7bd047acfaf4",
"name": "When clicking Test workflow"
},
{
"parameters": {
"operation": "update",
"user": {
"__rl": true,
"value": "NewUser",
"mode": "list",
"cachedResultName": "NewUser"
},
"userName": "UserTest",
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [400, 120],
"id": "64bbfce7-cc7d-4e69-82d3-d4ecac5ad389",
"name": "AWS IAM12",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "AWS IAM12",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {
"AWS IAM12": [
{
"json": {
"UpdateUserResponse": {
"ResponseMetadata": {
"RequestId": "bdb4a8b5-627a-41a7-aba9-5733b7869c16"
}
}
}
}
]
}
}