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,45 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Create Group', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'CreateGroup',
Version: CURRENT_VERSION,
GroupName: 'NewGroupTest',
})
.reply(200, {
CreateGroupResponse: {
CreateGroupResult: {
Group: {
GroupName: 'NewGroupTest',
Arn: 'arn:aws:iam::130450532146:group/NewGroupTest',
GroupId: 'AGPAR4X3VE4ZI7H42C2XW',
Path: '/',
CreateDate: 1743409792,
},
},
ResponseMetadata: {
RequestId: '50bf4fdb-34b9-4c99-8da8-358d50783c8d',
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['create.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": {
"resource": "group",
"operation": "create",
"groupName": "NewGroupTest",
"additionalFields": {},
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [160, -120],
"id": "23fd4c79-516d-49dc-81c8-e68052a294d1",
"name": "createGroup",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"createGroup": [
{
"json": {
"CreateGroupResponse": {
"CreateGroupResult": {
"Group": {
"Arn": "arn:aws:iam::130450532146:group/NewGroupTest",
"CreateDate": 1743409792,
"GroupId": "AGPAR4X3VE4ZI7H42C2XW",
"GroupName": "NewGroupTest",
"Path": "/"
}
},
"ResponseMetadata": {
"RequestId": "50bf4fdb-34b9-4c99-8da8-358d50783c8d"
}
}
}
}
]
},
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "createGroup",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "da88fb89-6234-4eb3-b6fb-31a7a299c7ec",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}
@@ -0,0 +1,61 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Delete Group', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'GetGroup',
Version: CURRENT_VERSION,
GroupName: 'GroupForTest1',
})
.reply(200, {
GetGroupResponse: {
GetGroupResult: {
Users: [{ UserName: 'User1' }],
},
},
});
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'RemoveUserFromGroup',
Version: CURRENT_VERSION,
GroupName: 'GroupForTest1',
UserName: 'User1',
})
.reply(200, {});
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'DeleteGroup',
Version: CURRENT_VERSION,
GroupName: 'GroupForTest1',
})
.reply(200, {
DeleteGroupResponse: {
ResponseMetadata: {
RequestId: 'b9cc2642-db2c-4935-aaaf-eacf10e4f00a',
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['delete.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": {
"resource": "group",
"operation": "delete",
"group": {
"__rl": true,
"value": "GroupForTest1",
"mode": "list",
"cachedResultName": "GroupForTest1"
},
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [380, 120],
"id": "bba99f6d-ed9c-4603-95f0-4ecce6e6f976",
"name": "AWS IAM13",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "AWS IAM13",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {
"AWS IAM13": [
{
"json": {
"DeleteGroupResponse": {
"ResponseMetadata": {
"RequestId": "b9cc2642-db2c-4935-aaaf-eacf10e4f00a"
}
}
}
}
]
}
}
@@ -0,0 +1,54 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Get Group', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'GetGroup',
Version: CURRENT_VERSION,
GroupName: 'GroupNameUpdated2',
})
.reply(200, {
GetGroupResponse: {
GetGroupResult: {
Group: {
Arn: 'arn:aws:iam::130450532146:group/New/Path/GroupNameUpdated2',
CreateDate: 1739193696,
GroupId: 'AGPAR4X3VE4ZKHNKBQHBZ',
GroupName: 'GroupNameUpdated2',
Path: '/New/Path/',
},
Users: [
{
Arn: 'arn:aws:iam::130450532146:user/rhis/path/Jonas',
CreateDate: 1739198295,
PasswordLastUsed: null,
PermissionsBoundary: null,
Tags: null,
Path: '/rhis/path/',
UserId: 'AIDAR4X3VE4ZDJJFKI6OU',
UserName: 'Jonas',
},
],
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['get.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,86 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-80, -100],
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
"name": "When clicking Test workflow"
},
{
"parameters": {
"resource": "group",
"operation": "get",
"group": {
"__rl": true,
"value": "GroupNameUpdated2",
"mode": "list",
"cachedResultName": "GroupNameUpdated2"
},
"includeUsers": true,
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [160, -100],
"id": "7990c8f3-738e-4150-855e-a9c0a965b75d",
"name": "getGroup",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"getGroup": [
{
"json": {
"Arn": "arn:aws:iam::130450532146:group/New/Path/GroupNameUpdated2",
"CreateDate": 1739193696,
"GroupId": "AGPAR4X3VE4ZKHNKBQHBZ",
"GroupName": "GroupNameUpdated2",
"Path": "/New/Path/",
"Users": [
{
"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": "getGroup",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "47e9f15a-50b7-4f12-ac5b-c7b24bb9a400",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}
@@ -0,0 +1,58 @@
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 Groups', () => {
beforeEach(() => {
nock.cleanAll();
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'ListGroups',
Version: CURRENT_VERSION,
MaxItems: 100,
})
.reply(200, {
ListGroupsResponse: {
ListGroupsResult: {
Groups: [
{
Arn: 'arn:aws:iam::130450532146:group/test/Admin7',
CreateDate: 1733436631,
GroupId: 'AGPAR4X3VE4ZAFFY5EDUJ',
GroupName: 'Admin7',
Path: '/test/',
},
{
Arn: 'arn:aws:iam::130450532146:group/cognito',
CreateDate: 1730804196,
GroupId: 'AGPAR4X3VE4ZMVEFLBSRB',
GroupName: 'cognito',
Path: '/',
},
{
Arn: 'arn:aws:iam::130450532146:group/GroupCreatedAfter',
CreateDate: 1741589366,
GroupId: 'AGPAR4X3VE4ZF5VE6UF2U',
GroupName: 'GroupCreatedAfter',
Path: '/',
},
],
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['getAll.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,85 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-40, -220],
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
"name": "When clicking Test workflow"
},
{
"parameters": {
"resource": "group",
"includeUsers": false,
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [160, -220],
"id": "23fd4c79-516d-49dc-81c8-e68052a294d1",
"name": "getAllGroups",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"getAllGroups": [
{
"json": {
"Arn": "arn:aws:iam::130450532146:group/test/Admin7",
"CreateDate": 1733436631,
"GroupId": "AGPAR4X3VE4ZAFFY5EDUJ",
"GroupName": "Admin7",
"Path": "/test/"
}
},
{
"json": {
"Arn": "arn:aws:iam::130450532146:group/cognito",
"CreateDate": 1730804196,
"GroupId": "AGPAR4X3VE4ZMVEFLBSRB",
"GroupName": "cognito",
"Path": "/"
}
},
{
"json": {
"Arn": "arn:aws:iam::130450532146:group/GroupCreatedAfter",
"CreateDate": 1741589366,
"GroupId": "AGPAR4X3VE4ZF5VE6UF2U",
"GroupName": "GroupCreatedAfter",
"Path": "/"
}
}
]
},
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "getAllGroups",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "51beb4c0-4163-4c57-a715-6eb45f1ffb9b",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}
@@ -0,0 +1,36 @@
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
import nock from 'nock';
import { BASE_URL, CURRENT_VERSION } from '../../helpers/constants';
describe('AWS IAM - Update Group', () => {
beforeEach(() => {
nock(BASE_URL)
.persist()
.defaultReplyHeaders({ 'Content-Type': 'application/x-amz-json-1.1' })
.post('/', {
Action: 'UpdateGroup',
Version: CURRENT_VERSION,
GroupName: 'GroupNameUpdated',
NewGroupName: 'GroupNameUpdated2',
})
.reply(200, {
UpdateGroupResponse: {
ResponseMetadata: {
RequestId: '16ada465-a981-44ab-841f-3ca3247f7405',
},
},
});
});
new NodeTestHarness().setupTests({
workflowFiles: ['update.workflow.json'],
credentials: {
aws: {
region: 'eu-central-1',
accessKeyId: 'test',
secretAccessKey: 'test',
},
},
});
});
@@ -0,0 +1,74 @@
{
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [-40, -120],
"id": "7da2ce49-9a9d-4240-b082-ff1b12d101b1",
"name": "When clicking Test workflow"
},
{
"parameters": {
"resource": "group",
"operation": "update",
"group": {
"__rl": true,
"value": "GroupNameUpdated",
"mode": "list",
"cachedResultName": "GroupNameUpdated"
},
"groupName": "GroupNameUpdated2",
"requestOptions": {}
},
"type": "n8n-nodes-base.awsIam",
"typeVersion": 1,
"position": [140, -120],
"id": "6299cf80-7aea-4cf6-8604-368a42290da7",
"name": "updateGroup",
"credentials": {
"aws": {
"id": "exampleId",
"name": "AWS US EAST"
}
}
}
],
"pinData": {
"updateGroup": [
{
"json": {
"UpdateGroupResponse": {
"ResponseMetadata": {
"RequestId": "16ada465-a981-44ab-841f-3ca3247f7405"
}
}
}
}
]
},
"connections": {
"When clicking Test workflow": {
"main": [
[
{
"node": "updateGroup",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"versionId": "bce6ece0-c45a-4389-9e39-6edea3d2e0da",
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "26f38eb23ad84214537831cfef4032299ffac994ff18d5cb72e82d31ac4ceac4"
},
"id": "0qqycx08fTBpfbC9",
"tags": []
}