From 02aa4cbc07c3fac058af37695875c3411f1d36d4 Mon Sep 17 00:00:00 2001 From: aeppling Date: Fri, 19 Jan 2024 14:45:31 +0100 Subject: [PATCH] update rules npm test --- Kexa/__tests__/rules/test1/rule-test.yaml | 10 +++++----- Kexa/__tests__/rules/test2/rule-test.yaml | 10 +++++----- Kexa/__tests__/rules/test2/rule-test2.yaml | 10 +++++----- Kexa/__tests__/rules/test3/rule-test.yaml | 10 +++++----- 4 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Kexa/__tests__/rules/test1/rule-test.yaml b/Kexa/__tests__/rules/test1/rule-test.yaml index 632539f7..236f0bf6 100644 --- a/Kexa/__tests__/rules/test1/rule-test.yaml +++ b/Kexa/__tests__/rules/test1/rule-test.yaml @@ -56,7 +56,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Instance + objectName: EC2Client.Instances conditions: - property: PublicIpAddress condition: EQUAL @@ -66,7 +66,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Volume + objectName: EC2Client.Volumes conditions: - property: Attachments condition: COUNT_SUP @@ -76,7 +76,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Instance + objectName: EC2Client.Instances conditions: - operator: NAND rules: @@ -91,7 +91,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2SG + objectName: EC2Client.SecurityGroups conditions: - property: IpPermissions condition: ALL @@ -104,7 +104,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2SG + objectName: EC2Client.SecurityGroups conditions: - property: IpPermissions condition: ALL diff --git a/Kexa/__tests__/rules/test2/rule-test.yaml b/Kexa/__tests__/rules/test2/rule-test.yaml index 0240d578..d612cb0b 100644 --- a/Kexa/__tests__/rules/test2/rule-test.yaml +++ b/Kexa/__tests__/rules/test2/rule-test.yaml @@ -56,7 +56,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Instance + objectName: EC2Client.Instances conditions: - property: PublicIpAddress condition: EQUAL @@ -66,7 +66,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Volume + objectName: EC2Client.Volumes conditions: - property: Attachments condition: COUNT_SUP @@ -76,7 +76,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Instance + objectName: EC2Client.Instances conditions: - operator: NAND criteria: @@ -91,7 +91,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2SG + objectName: EC2Client.SecurityGroups conditions: - property: IpPermissions condition: ALL @@ -104,7 +104,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2SG + objectName: EC2Client.SecurityGroups conditions: - property: IpPermissions condition: ALL diff --git a/Kexa/__tests__/rules/test2/rule-test2.yaml b/Kexa/__tests__/rules/test2/rule-test2.yaml index 0240d578..d612cb0b 100644 --- a/Kexa/__tests__/rules/test2/rule-test2.yaml +++ b/Kexa/__tests__/rules/test2/rule-test2.yaml @@ -56,7 +56,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Instance + objectName: EC2Client.Instances conditions: - property: PublicIpAddress condition: EQUAL @@ -66,7 +66,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Volume + objectName: EC2Client.Volumes conditions: - property: Attachments condition: COUNT_SUP @@ -76,7 +76,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Instance + objectName: EC2Client.Instances conditions: - operator: NAND criteria: @@ -91,7 +91,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2SG + objectName: EC2Client.SecurityGroups conditions: - property: IpPermissions condition: ALL @@ -104,7 +104,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2SG + objectName: EC2Client.SecurityGroups conditions: - property: IpPermissions condition: ALL diff --git a/Kexa/__tests__/rules/test3/rule-test.yaml b/Kexa/__tests__/rules/test3/rule-test.yaml index 1e5d430d..83c79b72 100644 --- a/Kexa/__tests__/rules/test3/rule-test.yaml +++ b/Kexa/__tests__/rules/test3/rule-test.yaml @@ -49,7 +49,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Instance + objectName: EC2Client.Instances conditions: - property: PublicIpAddress condition: EQUAL @@ -59,7 +59,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Volume + objectName: EC2Client.Volumes conditions: - property: Attachments condition: COUNT_SUP @@ -69,7 +69,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2Instance + objectName: EC2Client.Instances conditions: - operator: NAND rules: @@ -84,7 +84,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2SG + objectName: EC2Client.SecurityGroups conditions: - property: IpPermissions condition: ALL @@ -97,7 +97,7 @@ applied: false level: 1 cloudProvider: aws - objectName: ec2SG + objectName: EC2Client.SecurityGroups conditions: - property: IpPermissions condition: ALL