From 2b1b592c1b7cfac2cf6320ef070b76cfb2b79740 Mon Sep 17 00:00:00 2001 From: HugoPBrito Date: Mon, 11 Nov 2024 12:30:30 +0100 Subject: [PATCH 1/3] fix: provider docs typo --- docs/developer-guide/provider.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/developer-guide/provider.md b/docs/developer-guide/provider.md index 47b82c78c21..d004e95cea8 100644 --- a/docs/developer-guide/provider.md +++ b/docs/developer-guide/provider.md @@ -190,18 +190,18 @@ from prowler.providers.common.models import Audit_Metadata from prowler.providers.common.provider import Provider from prowler.providers..models import ( # All providers models needed - ProvierSessionModel, - ProvierIdentityModel, - ProvierOutputOptionsModel + ProviderSessionModel, + ProviderIdentityModel, + ProviderOutputOptionsModel ) class NewProvider(Provider): # All properties from the class, some of this are properties in the base class _type: str = "" - _session: - _identity: + _session: + _identity: _audit_config: dict - _output_options: ProvierOutputOptionsModel + _output_options: ProviderOutputOptionsModel _mutelist: dict audit_metadata: Audit_Metadata @@ -218,7 +218,7 @@ class NewProvider(Provider): self._session = self.setup_session(credentials_file) # Set the Identity class normaly the provider class give by Python provider library - self._identity = () + self._identity = () # Set the provider configuration self._audit_config = load_and_validate_config_file( From 6ee3e50fcf5dae1e5b03b39ba1e23b25e69315ff Mon Sep 17 00:00:00 2001 From: HugoPBrito Date: Mon, 11 Nov 2024 12:49:32 +0100 Subject: [PATCH 2/3] fix: other typo --- docs/developer-guide/provider.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/developer-guide/provider.md b/docs/developer-guide/provider.md index d004e95cea8..2558a0cd913 100644 --- a/docs/developer-guide/provider.md +++ b/docs/developer-guide/provider.md @@ -212,7 +212,7 @@ class NewProvider(Provider): arguments (dict): A dictionary containing configuration arguments. """ logger.info("Setting provider ...") - # First get from arguments the necesary from the cloud acount (subscriptions or projects or whatever the provider use for storing services) + # First get from arguments the necessary from the cloud acount (subscriptions or projects or whatever the provider use for storing services) # Set the session with the method enforced by parent class self._session = self.setup_session(credentials_file) @@ -254,7 +254,7 @@ class NewProvider(Provider): Can include all necessary arguments to setup the session Returns: - Credentials necesary to communicate with the provider. + Credentials necessary to communicate with the provider. """ pass From e4d280f99398fdc567149d4993f255aaad37cb40 Mon Sep 17 00:00:00 2001 From: HugoPBrito Date: Mon, 11 Nov 2024 12:59:02 +0100 Subject: [PATCH 3/3] fix: another one --- docs/developer-guide/provider.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/developer-guide/provider.md b/docs/developer-guide/provider.md index 2558a0cd913..ecc7c1493aa 100644 --- a/docs/developer-guide/provider.md +++ b/docs/developer-guide/provider.md @@ -212,7 +212,7 @@ class NewProvider(Provider): arguments (dict): A dictionary containing configuration arguments. """ logger.info("Setting provider ...") - # First get from arguments the necessary from the cloud acount (subscriptions or projects or whatever the provider use for storing services) + # First get from arguments the necessary from the cloud account (subscriptions or projects or whatever the provider use for storing services) # Set the session with the method enforced by parent class self._session = self.setup_session(credentials_file)