chore(sts-endpoint): deprecate --sts-endpoint-region (#3046)

Co-authored-by: Pepe Fagoaga <pepe@verica.io>
This commit is contained in:
Sergio Garcia
2023-12-12 17:13:50 +01:00
committed by GitHub
co-authored by Pepe Fagoaga
parent f7248dfb1c
commit 6ee016e577
5 changed files with 1 additions and 30 deletions
-7
View File
@@ -998,13 +998,6 @@ class Test_Parser:
parsed = self.parser.parse(command)
assert parsed.config_file == config_file
def test_aws_parser_sts_endpoint_region(self):
argument = "--sts-endpoint-region"
sts_endpoint_region = "eu-west-1"
command = [prowler_command, argument, sts_endpoint_region]
parsed = self.parser.parse(command)
assert parsed.sts_endpoint_region == sts_endpoint_region
def test_parser_azure_auth_sp(self):
argument = "--sp-env-auth"
command = [prowler_command, "azure", argument]