fix(eks_endpoints_not_publicly_accessible): handle endpoint private access (#2825)

Co-authored-by: Pepe Fagoaga <pepe@verica.io>
This commit is contained in:
Fennerr
2023-09-22 11:19:56 +02:00
committed by GitHub
parent 50bc5309f5
commit 6204f6cdc8
2 changed files with 5 additions and 1 deletions

View File

@@ -58,6 +58,8 @@ class Test_eks_endpoints_not_publicly_accessible:
)
assert result[0].resource_id == cluster_name
assert result[0].resource_arn == cluster_arn
assert result[0].resource_tags == []
assert result[0].region == AWS_REGION
def test_endpoint_not_public_access(self):
eks_client = mock.MagicMock
@@ -91,3 +93,5 @@ class Test_eks_endpoints_not_publicly_accessible:
)
assert result[0].resource_id == cluster_name
assert result[0].resource_arn == cluster_arn
assert result[0].resource_tags == []
assert result[0].region == AWS_REGION